View Single Post
  #7  
Old 04-19-2005, 11:15 PM
cgjackson2001 cgjackson2001 is offline
 
Join Date: Feb 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

If i would want to add the adsense banner to my header where would i add it in the header template, this is my header template:

Code:
<a name="top"></a>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="tborder2">
  <tr>
    <td width="100%">    <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#EEF0F5">
      <tr>
        <td height="64" class="top_bg1"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="64" width="317"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
            <td width="100%"><img src="$stylevar[imgdir_misc]/top_bg1.gif" width="12" height="64" alt="" /></td>
            <td width="412" align="right"><img src="$stylevar[imgdir_misc]/top_slogan.gif" width="371" height="64" alt="" /></td>
          </tr>
        </table></td>
      </tr>
      <tr align="left" >
        <td height="22"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr align="left" >
            <td width="39" height="22"><a href="$vboptions[homeurl]"><img src="$stylevar[imgdir_misc]/top_home.gif" width="39" height="22" border="0" alt="$vboptions[hometitle]" /></a></td>
            <td width="48" height="22"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/top_forums.gif" width="48" height="22" border="0" alt="" /></a></td>
<if condition="$show['registerbutton']">
            <td width="98" height="22"><a href="register.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/top_register.gif" alt="$vbphrase[register]" width="98" height="22" border="0" /></a></td>
</if>
            <td width="70" height="22"><a href="memberlist.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/top_memberlist.gif" alt="$vbphrase[members_list]" width="70" height="22" border="0" /></a></td>
            <td width="60" height="22"><a href="calendar.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/top_calendar.gif" alt="$vbphrase[calendar]" width="60" height="22" border="0" /></a></td>
	<if condition="$show['popups']">
            <td id="navbar_search" width="48" height="22"><a href="search.php?$session[sessionurl]" accesskey="4"><img src="$stylevar[imgdir_misc]/top_search.gif" alt="$vbphrase[search]" width="48" height="22" border="0" /></a><script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
</if>
            <td width="30" height="22"><a href="faq.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/top_faq.gif" alt="$vbphrase[faq]" width="30" height="22" border="0" /></a></td>
<if condition="$bbuserinfo['userid']"><td width="52" class="top_bg" id="usercptools"><a href="#usercptools"><img src="$stylevar[imgdir_misc]/top_links.gif" alt="Quick Links" width="52" height="22" border="0" /></a><script type="text/javascript"> vbmenu_register("usercptools"); </script></td></if><if condition="$show['member']">
            <td width="52" height="22" class="top_bg"><a href="usercp.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/top_usercp.gif" alt="$vbphrase[user_cp]" width="52" height="22" border="0"></a></td>
            
</if>
            <td width="100%" height="22"class="top_bg"><img src="$stylevar[imgdir_misc]/menu_open.gif" alt="" /></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="42" class="top_bottom_bg"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="18" height="42"><img src="$stylevar[imgdir_misc]/top_left_vent.gif" width="18" height="42" alt="" /></td>
            <td width="100%" align="center" valign="top"><img src="$stylevar[imgdir_misc]/top_bottom_bg.gif"  height="42" alt="" /></td>
            <td width="57" align="right"><img src="$stylevar[imgdir_misc]/top_right_vent.gif" width="18" height="42" alt="" /></td>
          </tr>
        </table></td>
      </tr>
    </table>
      <table border="0" cellpadding="5" cellspacing="0" width="100%" bgcolor="#EEF0F5">
<tr>
        <td width="100%">
        <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#FFFFFF">
          <tr>
            <td width="50%">
            <img border="0" src="$stylevar[imgdir_misc]/topleft_c.gif" width="11" height="9" alt="" /></td>
            <td width="50%" align="right">
            <img border="0" src="$stylevar[imgdir_misc]/topright_c.gif" width="11" height="9" alt="" /></td>
          </tr>
          <tr>
            <td width="100%" colspan="2">
	<if condition="$show['quickchooser']">
<form action="$vboptions[forumhome].php" method="get">
	<center>
			<select name="styleid" id="ressel" onchange="switch_styleid(this)">
				<optgroup label="$vbphrase[quick_style_chooser]">
					$quickchooserbits
				</optgroup>
			</select>
</center>
</form>
	</if>

<!-- content table -->
$spacer_open

$_phpinclude_output
Thanks if anyone can help me with this.

Cheers,
Chris
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01286 seconds
  • Memory Usage 1,799KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete