Forum Moderators: open
Here is my code:
<!--header.tpl-->
<?php require("config.php"); if ($fullwidth==1){?><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0"><tr>
<?php }else{?><table width="780" border="0" align="center" cellpadding="0" cellspacing="0"><tr><?php }?>
<td width="15" rowspan="3"></td>
<?php if ($fullwidth==1){?>
<td width="92%" valign="top"><table width="92%" border="0" cellpadding="0" cellspacing="0" id="header1">
<?php }else{?>
<td width="750" valign="top"><table width="750" height="10" border="0" cellpadding="0" cellspacing="0" id="header1">
<?php }?>
<td width=78%><div align="right" class="nav"><a href="index.php?page=news" class="nav">» News & Announcements «</a> ¦ <a href="http://www.example.com/forum/" class="nav">Forum</a> ¦ <a href="index.php?page=memberlist" class="nav">Memberlist</a> ¦ <a href="index.php?page=about_us" class="nav">About Us</a> ¦ <a href="index.php?page=help" class="nav">Help</a> ¦
<a class="nav" href="mailto:<?php echo"$admin_address";?>">Contact Us</a> </div></td>
</tr></table>
<?php if ($fullwidth==1){?>
<table width="92%" border="0" cellpadding="0" cellspacing="0" id="header2">
<?php }else{?>
<table width="750" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000" id="header2">
<?php }?>
<tr>
ROLLOVER STARTS HERE -----------------------------------------------------
<table width="750" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="575"><TABLE WIDTH=575 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD COLSPAN=9> <a href="http://www.example.com"><IMG SRC="http://www.example.com/templates/default/images/header/images/examplelogo_01.jpg" ALT="" WIDTH=575 HEIGHT=92 border="0"></a></TD>
</TR>
<TR>
<TD> <a href="http://example.com/cat-1-p0.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('action','','http://www.example.com/templates/default/images/header/images/examplelogo_02_h.jpg',1)"><img src="http://www.example.com/templates/default/images/header/images/examplelogo_02.jpg" name="action" width="117" height="34" border="0"></a></TD>
<TD> <a href="http://example.com/cat-7-p0.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('classic','','http://www.example.com/templates/default/images/header/images/examplelogo_03_h.jpg',1)"><img src="http://www.example.com/templates/default/images/header/images/examplelogo_03.jpg" name="classic" width="52" height="34" border="0"></a></TD>
<TD> <a href="http://example.com/cat-8-p0.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('fight','','http://www.example.com/templates/default/images/header/images/examplelogo_04_h.jpg',1)"><img src="http://www.example.com/templates/default/images/header/images/examplelogo_04.jpg" name="fight" width="49" height="34" border="0"></a></TD>
<TD> <a href="http://example.com/cat-3-p0.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('puzzle','','http://www.example.com/templates/default/images/header/images/examplelogo_05_h.jpg',1)"><img src="http://www.example.com/templates/default/images/header/images/examplelogo_05.jpg" name="puzzle" width="52" height="34" border="0" id="puzzle"></a></TD>
<TD> <a href="http://example.com/cat-6-p0.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('racing','','http://www.example.com/templates/default/images/header/images/examplelogo_06_h.jpg',1)"><img src="http://www.example.com/templates/default/images/header/images/examplelogo_06.jpg" name="racing" width="52" height="34" border="0"></a></TD>
<TD> <a href="http://example.com/cat-4-p0.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('shooting','','http://www.example.com/templates/default/images/header/images/examplelogo_07_h.jpg',1)"><img src="http://www.example.com/templates/default/images/header/images/examplelogo_07.jpg" name="shooting" width="67" height="34" border="0"></a></TD>
<TD> <a href="http://example.com/cat-2-p0.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sports','','http://www.example.com/templates/default/images/header/images/examplelogo_08_h.jpg',1)"><img src="http://www.example.com/templates/default/images/header/images/examplelogo_08.jpg" name="sports" width="54" height="34" border="0"></a></TD>
<TD> <a href="http://example.com/cat-5-p0.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('other games','','http://www.example.com/templates/default/images/header/images/examplelogo_09_h.jpg',1)"><img src="http://www.example.com/templates/default/images/header/images/examplelogo_09.jpg" name="other games" width="55" height="34" border="0"></a></TD>
<TD> <IMG SRC="http://www.example.com/templates/default/images/header/images/examplelogo_10.jpg" WIDTH=77 HEIGHT=34 ALT=""></TD>
</TR>
</TABLE>
</td>
<td width="180" ><div align="right" class="headerlog">
<?=$stat_box?>
</tr>
</div></td>
</tr></table></td>
</tr>
<td valign="top">
<table width="750" border="0" cellpadding="0" cellspacing="0" bgcolor="">
<tr><td><table width="100%" border="0" cellpadding="0" cellspacing="1" id="main">
<tr><td valign="top" class="leftSideBox">
<?php if($dropdown_limit == "0"){ } else {?>
<table width="100%" height="0" border="0" cellpadding="0" cellspacing="2" background="" class="boxBorder">
<?php }?>
<!--END header.tpl-->
Any help would be greatly appreciated.
kz
[edited by: coopster at 12:42 pm (utc) on Mar. 7, 2006]
[edit reason] generalized url [/edit]