Hi! I have a .php site (
http://hackylive.exofire.net) and I know I have the ads on the site, but it is in a banner at the bottom of hte page. I don't have to scroll down at all to see it, but maybe I am just using a computer with better screen resolution. If this is no all right, how do I move it up to the top? The php code I am using is:
<?php
function ads_getmoduleinfo(){
$info = array(
"name"=>"Ads",
"author"=>"`%Simon Welsh",
"version"=>"1.0.0",
"category"=>"General",
);
return $info;
}
function ads_install(){
debug("Installing module.");
module_addhook("footer-home");
return true;
}
function ads_uninstall(){
debug("Uninstalling module.");
return true;
}
function ads_dohook($hookname, $args){
global $session;
switch($hookname){
case "footer-home":
rawoutput("<div align='center' ><script type=\"text/javascript\" src=\"http://x10hosting.com/adserve.js?Hacky\"></script></div>");
break;
}
return $args;
}
?>