menu_sub.php
789 Bytes
<?php
header("Content-type: text/html; charset=EUC-JP");
require_once "jcode.phps";
?>
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; cahrset=EUC-JP">
<script type="text/javascript">
function LinkJamp(fName){
parent.location.href=fName;
}
</script>
</HEAD>
<BODY>
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<?php
for($i=0;$i<count($URL);$i++){
?>
<tr bgcolor="#CCCCCC" onClick="javascript:LinkJamp('<?php echo $URL[$i]; ?>')" onmouseover="this.style.backgroundColor='#6666CC'" onmouseout="this.style.backgroundColor='#CCCCCC'">
<td>
<?php
// echo '<a href=javascript:LinkJamp(\''.$URL[$i].'\')>'.JCodeConvert($NAME[$i],0,0).'</a><BR>';
echo JCodeConvert($NAME[$i],0,0).'<BR>';
?>
</td>
</tr>
<?php
}
?>
</table>
</BODY>
</HTML>