o0slowpaul0o said:Just place it in the footer.
Dark.Cobra said:o0slowpaul0o said:Just place it in the footer.
Hast to be at the top of every page.
In both nuke's (like with most CMS) there's banner options. I cant remember which one of the two, (i think its PHP-Nuke) it allows you to use your own coding for a banner. Go to the admin control and look under "Banners". If my memory is correct, it should place it at the top of every page.
If you're still developing the site and its not functional yet, you could try e107 which allows easy set-up of the ads.
<?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("header.php", $_SERVER['SCRIPT_NAME'])) {
Header("Location: index.php");
die();
}
require_once("mainfile.php");
##################################################
# Include some common header for HTML generation #
##################################################
<?php
echo "<center><script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'> </script>\n"; echo "<script language='JavaScript' type='text/javascript'>\n"; echo "<!--\n"; echo "if (!document.phpAds_used) document.phpAds_used = ',';\n"; echo "phpAds_random = new String (Math.random());\n"; echo "phpAds_random = phpAds_random.substring(2,11);\n"; echo "document.write (\"<\" + \"script language='JavaScript' type='text/javascript' src='\");\n"; echo "document.write (\"http://x10hosting.com/advert/adjs.php?n=\" + phpAds_random);\n"; echo "document.write (\"&what=zone:1&target=_blank\");\n"; echo "document.write (\"&exclude=\" + document.phpAds_used);\n"; echo "if (document.referrer)\n"; echo "document.write (\"&referer=\" + escape(document.referrer));\n"; echo "document.write (\"'><\" + \"/script>\");\n"; echo "//-->\n"; echo "</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'> <img src='http://x10hosting.com/advert/adview.php?what=zone:1&n=a7fb3e9d' border='0' alt=''></a> </noscript></center>\n";
/************************************************************************/
/* 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("header.php", $_SERVER['SCRIPT_NAME'])) {
Header("Location: index.php");
die();
}
require_once("mainfile.php");
##################################################
# Include some common header for HTML generation #
##################################################
online();
head();
include("includes/counter.php");
global $home;
if ($home == 1) {
message_box();
blocks(Center);
}
?>
online();
head();
include("includes/counter.php");
global $home;
if ($home == 1) {
message_box();
blocks(Center);
}
echo "<center><script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'> </script>\n"; echo "<script language='JavaScript' type='text/javascript'>\n"; echo "<!--\n"; echo "if (!document.phpAds_used) document.phpAds_used = ',';\n"; echo "phpAds_random = new String (Math.random());\n"; echo "phpAds_random = phpAds_random.substring(2,11);\n"; echo "document.write (\"<\" + \"script language='JavaScript' type='text/javascript' src='\");\n"; echo "document.write (\"http://x10hosting.com/advert/adjs.php?n=\" + phpAds_random);\n"; echo "document.write (\"&what=zone:1&target=_blank\");\n"; echo "document.write (\"&exclude=\" + document.phpAds_used);\n"; echo "if (document.referrer)\n"; echo "document.write (\"&referer=\" + escape(document.referrer));\n"; echo "document.write (\"'><\" + \"/script>\");\n"; echo "//-->\n"; echo "</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'> <img src='http://x10hosting.com/advert/adview.php?what=zone:1&n=a7fb3e9d' border='0' alt=''></a> </noscript></center>\n";
?>