DjLuki 0 Report post Posted July 18, 2005 (edited) hey can somebody put this script into my footer.php file? because i don't know how. the script has to go between the </body> and </hmtl?ok this is the script... <!-- Clicksor.com Advertising Code Begin --><script type='text/javascript'><!--clicksor_layer_border_color = '#B4D0DC';clicksor_layer_ad_bg = '#ECF8FF';clicksor_layer_ad_link_color = '#0000CC';clicksor_layer_ad_text_color = '#000000';clicksor_text_link_bg = '';clicksor_text_link_color = '#000FFF';clicksor_enable_pop = false;//--></script><script type='text/javascript' src='http://ads.clicksor.com/clicksor.php?pid=11273&sid=20461'></script><!-- Clicksor.com Advertising Code End --> and here is the fotter.php ....<?php/************************************************************************//* PHP-NUKE: Advanced Content Management System *//* ============================================ *//* *//* Copyright (c) 2002 by Francisco Burzi *//* http://phpnuke.org *//* *//* This program is free software. You can redistribute it and/or modify *//* it under the terms of the GNU General Public License as published by *//* the Free Software Foundation; either version 2 of the License. *//************************************************************************/if (eregi("footer.php",$_SERVER['PHP_SELF'])) { Header("Location: index.php"); die();}$footer = 1;function footmsg() { global $foot1, $foot2, $foot3, $copyright, $total_time, $start_time; $mtime = microtime(); $mtime = explode(" ",$mtime); $mtime = $mtime[1] + $mtime[0]; $end_time = $mtime; $total_time = ($end_time - $start_time); $total_time = ""._PAGEGENERATION." ".substr($total_time,0,4)." "._SECONDS.""; echo "<font class=\"footmsg\">\n"; if ($foot1 != "") { echo "$foot1<br>\n"; } if ($foot2 != "") { echo "$foot2<br>\n"; } if ($foot3 != "") { echo "$foot3<br>\n"; } // DO NOT REMOVE THE FOLLOWING COPYRIGHT LINE. YOU'RE NOT ALLOWED TO REMOVE NOR EDIT THIS. // IF YOU REALLY NEED TO REMOVE IT AND HAVE MY WRITTEN AUTHORIZATION CHECK: http://phpnuke.org/modules.php?name=Commercial_License // PLAY FAIR AND SUPPORT THE DEVELOPMENT, PLEASE! echo "$copyright<br>$total_time<br>\n</font>\n";}function foot() { global $prefix, $user_prefix, $db, $index, $user, $cookie, $storynum, $user, $cookie, $Default_Theme, $foot1, $foot2, $foot3, $foot4, $home, $module, $name; if ($home == 1) { blocks(Down); } if ($module == 1 AND file_exists("modules/$name/copyright.php")) { $cpname = ereg_replace("_", " ", $name); echo "<div align=\"right\"><a href=\"javascript:openwindow()\">$cpname ©</a></div>"; } if ($module == 1 AND file_exists("modules/$name/admin/panel.php")) { echo "<br>"; OpenTable(); include("modules/$name/admin/panel.php"); CloseTable(); } themefooter(); echo "</body>\n" ."</html>"; die();}foot();?> Notice from BuffaloHELP: Corrected title's spelling. Edited July 18, 2005 by BuffaloHELP (see edit history) Share this post Link to post Share on other sites
electriic ink 1 Report post Posted July 18, 2005 Here's the new script. <?php/************************************************************************//* PHP-NUKE: Advanced Content Management System *//* ============================================ *//* *//* Copyright (c) 2002 by Francisco Burzi *//* http://phpnuke.org *//* *//* This program is free software. You can redistribute it and/or modify *//* it under the terms of the GNU General Public License as published by *//* the Free Software Foundation; either version 2 of the License. *//************************************************************************/if (eregi("footer.php",$_SERVER['PHP_SELF'])) { Header("Location: index.php"); die();}$footer = 1;function footmsg() { global $foot1, $foot2, $foot3, $copyright, $total_time, $start_time; $mtime = microtime(); $mtime = explode(" ",$mtime); $mtime = $mtime[1] + $mtime[0]; $end_time = $mtime; $total_time = ($end_time - $start_time); $total_time = ""._PAGEGENERATION." ".substr($total_time,0,4)." "._SECONDS.""; echo "<font class=\"footmsg\">\n"; if ($foot1 != "") { echo "$foot1<br>\n"; } if ($foot2 != "") { echo "$foot2<br>\n"; } if ($foot3 != "") { echo "$foot3<br>\n"; } // DO NOT REMOVE THE FOLLOWING COPYRIGHT LINE. YOU'RE NOT ALLOWED TO REMOVE NOR EDIT THIS. // IF YOU REALLY NEED TO REMOVE IT AND HAVE MY WRITTEN AUTHORIZATION CHECK: http://phpnuke.org/modules.php?name=Commercial_License // PLAY FAIR AND SUPPORT THE DEVELOPMENT, PLEASE! echo "$copyright<br>$total_time<br>\n</font>\n";}function foot() { global $prefix, $user_prefix, $db, $index, $user, $cookie, $storynum, $user, $cookie, $Default_Theme, $foot1, $foot2, $foot3, $foot4, $home, $module, $name; if ($home == 1) { blocks(Down); } if ($module == 1 AND file_exists("modules/$name/copyright.php")) { $cpname = ereg_replace("_", " ", $name); echo "<div align=\"right\"><a href=\"javascript:openwindow()\">$cpname ©</a></div>"; } if ($module == 1 AND file_exists("modules/$name/admin/panel.php")) { echo "<br>"; OpenTable(); include("modules/$name/admin/panel.php"); CloseTable(); } themefooter(); echo "</body>\n"; echo "<!-- Clicksor.com Advertising Code Begin --><script type='text/javascript'><!--clicksor_layer_border_color = '#B4D0DC';clicksor_layer_ad_bg = '#ECF8FF';clicksor_layer_ad_link_color = '#0000CC';clicksor_layer_ad_text_color = '#000000';clicksor_text_link_bg = '';clicksor_text_link_color = '#000FFF';clicksor_enable_pop = false;//--></script><script type='text/javascript' src='http://ads.clicksor.com/clicksor.php?pid=11273&sid=20461'></script><!-- Clicksor.com Advertising Code End --> ";echo "</html>"; die();}foot();?> This should work... Share this post Link to post Share on other sites
DjLuki 0 Report post Posted July 18, 2005 thank you very much.. Share this post Link to post Share on other sites