View Single Post
  #1  
Old 11-03-2006, 08:03 PM
ChavMagnet's Avatar
ChavMagnet ChavMagnet is offline
 
Join Date: Sep 2006
Location: Leeds - England
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Getting Adsense In My Header

Can someone tell me how i can get adsense to display in my header here is my header template code of the skin im using.

Code:
<center>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="15" background="$stylevar[imgdir_misc]/border_left.gif"><img src="$stylevar[imgdir_misc]/border_left.gif" width="15" height="6"></td>
    <td>


<table width="100%" border="0" cellpadding="0" cellspacing="8" bgcolor="#FFFFFF">
  <tr>
    <td>
	<table style="border: 1px solid #8ca5ae;" width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>
		<table style="border: 1px solid #FFFFFF;" width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="322"><a href="index.php"><img src="$stylevar[imgdir_misc]/header_left.jpg" border="0" width="322" height="98"></a></td>
                <td width="26"><img src="$stylevar[imgdir_misc]/header_right_bg.gif" width="26" height="98"></td>
                <td bgcolor="#aac2cb"><div align="left"><img src="$stylevar[imgdir_misc]/forumstats_image.gif" width="163" height="36"><br>
                  <span class="headerstats"><strong>Members:</strong> $numbermembers<br>
                  <strong>Threads:</strong> $totalthreads<br>
                  <strong>Posts:</strong> $totalposts<br>
                  <strong>Newest Member:</strong> <a href="$vboptions[bburl]/member.php?u=$newuserid"> 
        $newusername</a></span></div></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table>
	</td>
  </tr>

  <tr>
    <td><table style="border: 1px solid #8ca5ae;" width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table style="border: 1px solid #FFFFFF;" width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td background="$stylevar[imgdir_misc]/links_bg.gif"><a href="index.php"><img src="$stylevar[imgdir_misc]/links_home.gif" width="71" height="33" border="0"></a><a href="usercp.php"><img src="$stylevar[imgdir_misc]/links_usercp.gif" width="75" height="33" border="0"></a><a href="register.php"><img src="$stylevar[imgdir_misc]/links_register.gif" width="88" height="33" border="0"></a><a href="memberlist.php"><img src="$stylevar[imgdir_misc]/links_members.gif" width="89" height="33" border="0"></a><a href="search.php"><img src="$stylevar[imgdir_misc]/links_search.gif" width="73" height="33" border="0"></a><a href="faq.php"><img src="$stylevar[imgdir_misc]/links_faq.gif" width="59" height="33" border="0"></a></td>
                </tr>
              </table></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table style="border: 1px solid #8ca5ae;" width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table style="border: 1px solid #FFFFFF;" width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="79"><img src="$stylevar[imgdir_misc]/topad_left.gif" width="79" height="79"></td>
                  <td background="$stylevar[imgdir_misc]/topad_bg.gif"><table width="474" height="66" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td background="$stylevar[imgdir_misc]/topad_adbg.gif"><div align="center"><a href="#"><img src="$stylevar[imgdir_misc]/adbanner.gif" width="468" height="60" border="0"></a></div></td>
                    </tr>
                  </table></td>
                  <td width="79"><img src="$stylevar[imgdir_misc]/topad_right.gif" width="79" height="79"></td>
                </tr>
              </table></td>
            </tr>
        </table></td>
      </tr>
    </table>
      <table style="border: 1px solid #8ca5ae;" width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><table style="border: 1px solid #FFFFFF;" width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td background="$stylevar[imgdir_misc]/topad_advertise_bg.gif"><div align="center"><a href="#"><img src="$stylevar[imgdir_misc]/topad_advertise.gif" width="318" height="27" border="0"></a></div></td>
                    </tr>
                </table></td>
              </tr>
          </table></td>
        </tr>
      </table></td>
  </tr>
</table>





<!-- content table -->
$spacer_open

$_phpinclude_output
Live Example Here : http://www.chavmagnet.com
Attached Images
File Type: gif adsense.gif (24.5 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01868 seconds
  • Memory Usage 1,814KB
  • Queries Executed 12 (?)
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_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete