The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Adding Google Ads To Header
Hi is it possible to add google ads to my header here is a screenshot the top part of my header template code could someone please edit it to where google ads should go thanks.
my site http://www.errorz-inc.net Code:
<script type="text/javascript"> <!-- function log_out() { ht = document.getElementsByTagName("html"); ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)"; if (confirm('$vbphrase[sure_you_want_to_log_out]')) { return true; } else { ht[0].style.filter = ""; return false; } } //--> </script> <!-- logo --> <a name="top"></a> <div align="center"> <table width="$stylevar[outertablewidth]" border="0" cellspacing="0" cellpadding="1"> <tr> <td bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100%" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#FFFFFF"> <table cellpadding="1" width="100%"> <tr> <td bgcolor="#304157"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" background="images/satellite/header/header_bg.gif" bgcolor="#F2F4F6"><a href="index.php"><img src="images/satellite/header/logo.gif" border="0"></a></td> </tr> </table> <!-- /logo --> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="22" background="images/satellite/gradients/nav_top_blue.gif"> </td> </tr> </table> </div> <!-- nav buttons bar --> <div align="left"> <table class="tborder" cellpadding="100%" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> <!--<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>--> </if> <if condition="$show['registerbutton']"> <td class="vbmenu_control"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></td> </if> <td class="vbmenu_control"><a href="index.php">Home</a></td> <td class="vbmenu_control"><a href="forums.php">Forums</a></td> <td class="vbmenu_control"><a href="/toplist/index.php">Top Sites</a></td> <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> <td id="navbar_search" class="vbmenu_control"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td> </if> <if condition="$bbuserinfo['userid']"> <td id="usercptools" class="vbmenu_control"><a href="#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td> </if> <else /> <if condition="$show['searchbuttons']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a></td> <if condition="$show['member']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> </if> <td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td> <if condition="$bbuserinfo['userid']"> <td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td> </if> </if> <if condition="$bbuserinfo['userid']"> <td class="vbmenu_control"><a href="http://www.errorz-inc.net/login.php?do=logout&logouthash=13986987a8042bf95bd02d1dfade17de" onclick="return log_out()">$vbphrase[log_out]</a></td> </if> </tr> </table> </div> <!-- / nav buttons bar --> <if condition="$show['popups']"> <!-- NAVBAR POPUP MENUS --> <if condition="$show['searchbuttons']"> <!-- header quick search form --> <div class="vbmenu_popup" id="navbar_search_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">Quick Search</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <form action="search.php" method="post"> <input type="hidden" name="do" value="process" /> <input type="hidden" name="showposts" value="0" /> <input type="text" class="bginput" name="query" size="20" />$gobutton<br /> </form> </td> </tr> <tr> <td class="thead">Other Search Options</td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[advanced_search]</a></td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?do=getnew">Find New Posts</a></td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?do=getdaily">Find Today's Posts</a></td> </tr> <tr> <td class="vbmenu_option"><a href="memberlist.php?do=search">Advanced Members Search</a></td> </tr> </table> </div> <!-- / header quick search form --> </if> <if condition="$show['member']"> <!-- user cp tools menu --> <div class="vbmenu_popup" id="usercptools_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <div align="left"> <tr><td class="thead">$vbphrase[quick_links]</td></tr> <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr> <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr> <tr><td class="thead"><a href="usercp.php?$session[sessionurl]">User CP</a></td></tr> <if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if> <if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr> <tr><td class="thead">$vbphrase[miscellaneous]</td></tr> <if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr> <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr> <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if> </div> </table> </div> <!-- / user cp tools menu --> </if> <!-- / NAVBAR POPUP MENUS --> </if> <div align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="19" background="images/satellite/gradients/nav_bottom_bg.gif"> </td> </tr> </table> </div> <!-- content table --> $spacer_open $_phpinclude_output </script> <center><script language="javascript" type="text/javascript"> <!-- function banner() { }; banner = new banner(); number = 0; // bannerArray banner[number++] = "<a href='mailto:errorz@errorz-inc.net' target='_blank'><img src='/images/adhere.gif' alt='Advertise Here!' border='0' /></a>" banner[number++] = "<a href='mailto:errorz@errorz-inc.net'target='_blank'><img src='/images/adhere.gif' alt='Advertise Here!' border='0' /></a>" banner[number++] = "<a href='mailto:errorz@errorz-inc.net' target='_blank'><img src='/images/adhere.gif' alt='Advertise Here!' border='0' /></a>" // keep adding items above here... increment = Math.floor(Math.random() * number); document.write(banner[increment]); //--> </script><br><br><center> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|