View Single Post
  #5 (permalink)  
Old 11-15-2002, 05:16 PM
Nemesco Nemesco is offline
Junior Member
 
Join Date: Nov 2002
Location: Netherlands
Posts: 12
Send a message via ICQ to Nemesco Send a message via MSN to Nemesco
I tryed to work it out, but I think I need to see an example, I'll send a little pies of the script, maybey it's easyer to explain then.... I hope I'ts not to much asked. It's not the meaning that you do all the work, but I really like to learn and only need an example...


Quote:
function themefooter() {
global $time_start, $blockpos1, $index, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $sepcolor;

//Global variable scope issue
$blockpos1 ="R";

$browser = getenv("HTTP_USER_AGENT");
echo "</TD>\n";
echo "<TD HEIGHT=\"100%\" background=\"themes/CyberNuke/images/mainnav_rm.gif\" WIDTH=26></TD>\n"
."</TR><TR>\n"
."<TD><IMG HEIGHT=19 SRC=\"themes/CyberNuke/images/mainnav_bl.gif\" WIDTH=22 alt=\"\"></TD>\n"
."<TD HEIGHT=19 background=\"themes/CyberNuke/images/mainnav_bot.gif.gif\" WIDTH=\"100%\"></TD>\n";
if (ereg("Gecko", "$browser")) {echo "<spacer type=\"block\" WIDTH=\"100%\" HEIGHT=\"19\">";}
echo "<TD><IMG HEIGHT=19 SRC=\"themes/CyberNuke/images/mainnav_br.gif\" WIDTH=26 alt=\"\"></TD>\n"
."</TR></tbody></TABLE>\n\n";
echo"<TD><IMG SRC=\"themes/CyberNuke/images/pix-t.gif\" WIDTH=\"4\" HEIGHT=\"4\" alt=\"\">\n"
."</TD>\n";
if ($index == 1) {
echo "<TD ALIGN=\"right\" WIDTH=\"200\">"
."";
// BLOCKS DISPLAY FOR RIGHT PANE
blocks('right');
} else {
echo "<TD ALIGN=\"right\" WIDTH=\"15\">"
."<IMG SRC=\"themes/CyberNuke/images/pix-t.gif\" WIDTH=\"15\" HEIGHT=\"1\" alt=\"\">
";
}
echo "</TD>\n</TR>\n</TABLE>\n\n";
// footer add-on
echo "
<div ALIGN=center>";
include ("themes/CyberNuke/marqueurs.php");
marqueur();
include("themes/CyberNuke/bottom_links.php");
if (ereg("MSIE", "$browser")) {
echo "

U gebruikt Microsoft Internet Explorer.
"
."Browser data : $browser"
."
<A HREF=\"#top\">Terug naar boven...</a>
\n";
}
if (ereg("Gecko", "$browser")) {
echo "

U gebruikt Netscape Navigator.
"
."Browser data : $browser";
}
echo "

<div ALIGN=\"center\">\n"
."\n"
."</div>\n";
footmsg();
echo "</div>";
// end of footer add-on (footer can be placed elsewhere if block cut)
I hope you can help me...

nemesco
Reply With Quote