Hi i have a website filekeepers.net its a free file shareing site well i got adbrite full page ads and see my website host is coded in php if someone will please add them please.... <? include_once("header.php"); include_once("m_menu.php"); /* Copyright Notice Web Site URL: http://www.ezonelink.co.uk Script Owner eMail: webmaster@ezonelink.co.uk Date: April, 2006 Script Name: eZonelink Image Hosting Script Copyright Details: This is not a free Script. You must pay cost of this script and then use it. Do not Remove this Copy Right notice. */ if (isset($_SESSION["member_sid"]) && $_SESSION["member_sid"] != "") { $template->set_filenames(array("index" => "index.html")); $template->assign_vars(array( 'ERROR' => $error != ""?"<tr><td class='txt_red'>".$error."</td></tr>":"", 'INTRO' => $intro, 'USERNAME'=> $_POST['username'] )); $template->pparse("index"); } else { $template->set_filenames(array("login" => "login.html")); $template->assign_vars(array( 'ERROR' => $error != ""?"<tr><td class='txt_red'>".$error."</td></tr>":"", 'INTRO' => $intro, 'USERNAME'=> $_POST['username'] )); $template->pparse("login"); } include_once ("right.php"); include_once ("footer.php"); ?> Code (markup): thats my index.html now my ad code <!-- Begin: AdBrite, Generated: 2009-07-16 10:27:00 --> <script type="text/javascript" src="http://ads.adbrite.com/mb/text_group.php?sid=1261893&br=1"></script> <!-- End: AdBrite --> Code (markup): if this is wong place please move i need help asap thanks if i can rep i will
I'm kind of guessing because I don't know anything about your template system, or adbright, but I'd figure you need to open your footer.php file, and put that code after the last php closing tag at the very end of the file.
Create file adbrite.php with content: <!-- Begin: AdBrite, Generated: 2009-07-16 10:27:00 --> <script type="text/javascript" src="http://ads.adbrite.com/mb/text_group.php?sid=1261893&br=1"></script> <!-- End: AdBrite --> PHP: include this file everywhere you want. <? include_once("header.php"); include_once("m_menu.php"); /* Copyright Notice Web Site URL: http://www.ezonelink.co.uk Script Owner eMail: webmaster@ezonelink.co.uk Date: April, 2006 Script Name: eZonelink Image Hosting Script Copyright Details: This is not a free Script. You must pay cost of this script and then use it. Do not Remove this Copy Right notice. */ if (isset($_SESSION["member_sid"]) && $_SESSION["member_sid"] != "") { $template->set_filenames(array("index" => "index.html")); $template->assign_vars(array( 'ERROR' => $error != ""?"<tr><td class='txt_red'>".$error."</td></tr>":"", 'INTRO' => $intro, 'USERNAME'=> $_POST['username'] )); $template->pparse("index"); } else { $template->set_filenames(array("login" => "login.html")); $template->assign_vars(array( 'ERROR' => $error != ""?"<tr><td class='txt_red'>".$error."</td></tr>":"", 'INTRO' => $intro, 'USERNAME'=> $_POST['username'] )); $template->pparse("login"); } include_once("adbrite.php"); include_once ("right.php"); include_once ("footer.php"); ?> PHP: