View Single Post
  #34  
Old 10-21-2006, 05:24 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ophelia
Hello and thank you for this hack

In my template header, I do not have a line <!--logo> This is what I have...

Code:
<div align="center">
  <center>
  <table border="0" width="90%" background="http://mywebsite.com/forum/mywebsitestyle/misc/head_fllr.jpg" cellspacing="0" cellpadding="0">
    <tr>
      <td width="100%" align="center"><img src="http://mywebsite.com/forum/mywebsitestyle/misc/header.jpg" width="790" height="130"></td>
    </tr>
  </table>
  </center>
</div>
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="90%" align="center">
	<tr>
		<td class="alt2" width="41" align="center"><a href="http://www.mywebsite.net/"><font size="1"><b>HOME</b></font></a></td>
		<td class="alt1" width="59" align="center"><a href="http://www.mywebsite.net/forum/"><font size="1"><b>FORUMS</b></font></a></td>
		<td class="alt2" width="65" align="center"><a href="http://www.mywebsite.net/gallery/"><font size="1"><b>GALLERY</b></font></a></td>
		<td class="alt1" width="76" align="center"><a href="http://www.mywebsite.net/forum/forumdisplay.php?f=11"><font size="1"><b>TUTORIALS</b></font></a></td>
		<td class="alt2" width="89" align="center"><a href="http://www.mywebsite.com/chat.htm"><font size="1"><b>CHAT/CROPS</b></font></a></td>
		<td class="alt1" width="65" align="center"><a href="http://www.mywebsite.net/forum/local_links.php"><font size="1"><b>FREEBIES</b></font></a></td>
		<td class="alt2" width="139" align="center"><a href="http://www.mywebsite.net/blog/"><font size="1"><b>DAILY
          LAYOUT PICK</b></font></a></td>
		<td class="alt2" width="48" align="center"><a href="http://www.mywebsite.net/forum/showthread.php?p=29200/"><font size="1"><b>STORE</b></font></a></td>
		<td class="alt1" width="73" align="center"><a href="http://www.mywebsite.net/forum/calendar.php"><font size="1"><b>CALENDAR</b></font></a></td>
		<td class="alt1" width="143" align="center"><a href="http://www.mywebsite.net/forum/forumdisplay.php?f=39"><font size="1"><b>GAMES
          &amp; CONTESTS</b></font></a></td>
	</tr>
	</table>
<center>
<div align="center">
  <center>
<table border="0" cellspacing="0" cellpadding="0" width="90%">
  <tr>
    <td width="468" align="center">
<script language='JavaScript' type='text/javascript' src='http://www.mywebsite.net/ads/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
   if (!document.phpAds_used) document.phpAds_used = ',';
   phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
   
   document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
   document.write ("http://www.mywebsite.net/ads/adjs.php?n=" + phpAds_random);
   document.write ("&amp;clientid=4");
   document.write ("&amp;exclude=" + document.phpAds_used);
   if (document.referrer)
      document.write ("&amp;referer=" + escape(document.referrer));
   document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://www.mywebsite.net/ads/adclick.php?n=ac25869b' target='_blank'><img src='http://www.mywebsite.net/ads/adview.php?clientid=4&amp;n=ac25869b' border='0' alt=''></a></noscript>
</td>
    <td width="234" align="center">
      <p align="center">
      
      <!--Start Google Adsense -->
      <script type="text/javascript"><!--
google_ad_client = "pub-1385091252132549";
google_ad_width = 234;
google_ad_height = 60;
google_ad_format = "234x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "3E4F27";
google_color_bg = "FFFFFF";
google_color_link = "3E4F27";
google_color_text = "000000";
google_color_url = "3E4F27";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<!-- End Google Adsense-->

</td>
    <td width="150" align="center"><script language='JavaScript' type='text/javascript' src='http://www.mywebsite.net/ads/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
   if (!document.phpAds_used) document.phpAds_used = ',';
   phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
   
   document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
   document.write ("http://www.mywebsite.net/ads/adjs.php?n=" + phpAds_random);
   document.write ("&amp;clientid=2");
   document.write ("&amp;exclude=" + document.phpAds_used);
   if (document.referrer)
      document.write ("&amp;referer=" + escape(document.referrer));
   document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://www.mywebsite.net/ads/adclick.php?n=a24108a6' target='_blank'><img src='http://www.mywebsite.net/ads/adview.php?clientid=2&amp;n=a24108a6' border='0' alt=''></a></noscript>

</td>
  </tr>
</table>
  </center>
</div>
<!-- START header image -->
<table align="center" border="0" width="90%" cellpadding="0" cellspacing="0" class="border">
<tr><td>
<!-- END header image -->
	
<!-- begin main inner table area-->

<!-- content table -->
<div class="page">


$spacer_open $_phpinclude_output
Where abouts would I put the header info in this? Thank you
Put it above
Code:
<!-- START header image -->
if that doesn't display correctly then put it above
Code:
<!-- content table-->
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01149 seconds
  • Memory Usage 1,800KB
  • 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
  • (3)bbcode_code
  • (1)bbcode_quote
  • (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