Furry stuff, oekaki stuff, and other stuff.
You are not logged in.
Hi, i added the code of a banner, but i don't want the banner shows at the register page, what can i do for that?
thanks!
Offline
In header.php, search for this code:
<!-- Banner --> <? if (file_not_empty($cfg['res_path'].'/banner.php')) { echo "<div id=\"banner\">\n"; include($cfg['res_path'].'/banner.php'); echo "\n</div>\n"; } ?> <!-- /Banner -->
...and replace it with this:
<!-- Banner --> <? if (!strstr ($_SERVER['PHP_SELF'], 'register') && file_not_empty($cfg['res_path'].'/banner.php') ) { echo "<div id=\"banner\">\n"; include($cfg['res_path'].'/banner.php'); echo "\n</div>\n"; } ?> <!-- /Banner -->
Offline