- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 65 guest(s) and 1 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - No footer displaying :( [ ]
Author
Message
Paul_k
Nuke Soldier
Joined: Jul 07, 2003
Posts: 31
Location: England
Posted:
Fri Feb 02, 2007 2:52 pm
Hi,
Bit of background first, running Nuke 7.6 with 3.3 patch added.
Ok, so I bought and downloaded a theme, had some initial problems making it wider but got over that! The problem I know have is that the footer won't show This is the offending code...
Code:
function themefooter() {
global $index, $foot1, $foot2, $foot3, $copyright, $totaltime;
if (defined('INDEX_FILE')) {
$tmpl_file = "themes/DiveTheme/center_right.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
blocks(right);
}
$footer_message = "$foot1<br>$foot2<br>$foot3<br>$copyright<br>$totaltime";
$tmpl_file = "themes/DiveTheme/footer.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
Anyone got any ideas? Or need any more info at all?
Cheers, Paul K
Evaders99
Site Admin
Joined: Aug 17, 2003
Posts: 12397
Posted:
Fri Feb 02, 2007 10:52 pm
Paul_k
Nuke Soldier
Joined: Jul 07, 2003
Posts: 31
Location: England
Posted:
Sat Feb 03, 2007 2:59 am
Hi,
Sure, here is the header.html...
Code:
</td></tr></table></td><td width="50%" align="left" valign="bottom" style="border-left:0px solid #C7C7C7; background-repeat:repeat-y; background-position:top left"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" valign="top" width="100%">
<table width="100%" height="64" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="50%" align="right" valign="bottom" style="border-right:0px solid #C7C7C7; background-repeat:repeat-y; background-position:top right"> </td>
<td width="723px" style="border-bottom:0px solid #C7C7C7"><table width="723" height="64" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle" background="themes/DiveTheme/images/bottom.jpg"><div style="padding-left:0px; padding-top:0px; font-family:tahoma; font-size:11px; color:#A5A5A5"><a href="index.php" style="text-decoration:none; color:#2B5E7E; font-size:11px; font-weight:bold ">Home </a> | <a href="modules.php?name=AvantGo" style="text-decoration:none; color:#2B5E7E; font-size:11px; font-weight:bold ">AvantGo </a> | <a href="modules.php?name=Downloads" style="text-decoration:none; color:#2B5E7E; font-size:11px; font-weight:bold ">Downloads</a> | <a href="modules.php?name=Feedback" style="text-decoration:none; color:#2B5E7E; font-size:11px; font-weight:bold ">Feedback </a> | <a href="modules.php?name=Journal" style="text-decoration:none; color:#2B5E7E; font-size:11px; font-weight:bold ">Journal</a> | <a href="modules.php?name=Search" style="text-decoration:none; color:#2B5E7E; font-size:11px; font-weight:bold ">Search</a> | <a href="modules.php?name=Statistics" style="text-decoration:none; color:#2B5E7E; font-size:11px; font-weight:bold ">Statistics</a></div></td>
</tr>
</table></td>
<td width="50%" align="left" valign="bottom" style="border-left:0px solid #C7C7C7; background-repeat:repeat-y; background-position:top left"> </td>
</tr>
</table>
The site is at if you need to see the source at all. It's by no means a finished site though!
Cheers, Paul K
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum