View Single Post
  #1  
Old 05-22-2006, 08:40 AM
Svenna Svenna is offline
 
Join Date: May 2005
Location: Hamburg, Germany
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [vB 3.5.4] Defect in advertisement of the header

I try to announce the advertisement at the header besides my logo for some information but it somehow does not work!

Quote:
Mitglieder: => $numbermembers
Themen: => $totalthreads
Beitr?ge: => $totalposts
Online: => $totalonline

Neustes Mitglied: => $newusername
1. are these variable ones right?


important to here this one:
PHP Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td width="499"><img src="$stylevar[imgdir_misc]/header_mid_left.jpg" alt="" width="499" height="105"></td>
    <
td style="background-image:url($stylevar[imgdir_misc]/header_mid_bg.jpg);"><div align="right">
      <
p><span class="statstext1"><span class="statstext2"><span class="statstext4"><strong>Mitglieder:</strong$numbermembers<br>
            <
strong>Themen:</strong$totalthreads<br>
            <
strong>Beitr&auml;ge:</strong$totalposts<br>
            <
strong>Online:</strong$totalonline</p>
      <
class="statstext3"><strong>Neustes Mitglied:</strong> <a href="$vboptions[bburl]/member.php?u=$newuserid"
        
$newusername</p>
    </
div></td

this is the complete template:
PHP Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td style="background-image:url($stylevar[imgdir_misc]/border_left_bg.gif); background-repeat:repeat-y;" width="69" valign="top"><img src="$stylevar[imgdir_misc]/border_left.gif" alt="" width="69" height="260"></td>
    <
td>




<
style type="text/css">
<!--
.
statstext1 {font-familyTahoma}
.
statstext2 {font-size10px}
.
statstext3 {
    
font-familyTahoma;
    
font-size10px;
    
color#FFFFFF;
}
.
statstext4 {color#FFFFFF}
-->
</
style>

<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td width="223"><img src="$stylevar[imgdir_misc]/header_top_left.gif" alt="" width="233" height="24"></td>
    <
td style="background-image:url($stylevar[imgdir_misc]/header_top_bg.gif);">&nbsp;</td>
    <
td width="51"><img src="$stylevar[imgdir_misc]/header_top_right.gif" alt="" width="51" height="24"></td>
  </
tr>
</
table>
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td width="499"><img src="$stylevar[imgdir_misc]/header_mid_left.jpg" alt="" width="499" height="105"></td>
    <
td style="background-image:url($stylevar[imgdir_misc]/header_mid_bg.jpg);"><div align="right">
      <
p><span class="statstext1"><span class="statstext2"><span class="statstext4"><strong>Mitglieder:</strong$numbermembers<br>
            <
strong>Themen:</strong$totalthreads<br>
            <
strong>Beitr&auml;ge:</strong$totalposts<br>
            <
strong>Online:</strong$totalonline</p>
      <
class="statstext3"><strong>Neustes Mitglied:</strong> <a href="$vboptions[bburl]/member.php?u=$newuserid"
        
$newusername</p>
    </
div></td>
    <
td width="49"><img src="$stylevar[imgdir_misc]/header_mid_right.jpg" alt="" width="49" height="105"></td>
  </
tr>
</
table>
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td width="199"><img src="$stylevar[imgdir_misc]/header_bot_left.jpg" alt="" width="199" height="64"></td>
    <
td style="background-image:url($stylevar[imgdir_misc]/header_bot_bg.jpg);">&nbsp;</td>
    <
td width="27"><img src="$stylevar[imgdir_misc]/header_bot_right.jpg" alt="" width="27" height="64"></td>
  </
tr>
</
table>
<
table style="background-image:url($stylevar[imgdir_misc]/links_bg.gif);" width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td width="93"><img src="$stylevar[imgdir_misc]/links_left.gif" width="93" height="53"></td>
    <
td width="57"><a href="index.php"><img src="$stylevar[imgdir_misc]/links_home.gif" width="57" height="53" border="0"></a></td>
    <
td width="79"><a href="usercp.php"><img src="$stylevar[imgdir_misc]/links_usercp.gif" width="79" height="53" border="0"></a></td>
    <
td width="91"><a href="register.php"><img src="$stylevar[imgdir_misc]/links_register.gif" width="91" height="53" border="0"></a></td>
    <
td width="91"><a href="memberlist.php"><img src="$stylevar[imgdir_misc]/links_members.gif" width="91" height="53" border="0"></a></td>
    <
td width="53"><a href="faq.php"><img src="$stylevar[imgdir_misc]/links_faq.gif" width="53" height="53" border="0"></a></td>
    <
td width="78"><a href="search.php"><img src="$stylevar[imgdir_misc]/links_search.gif" width="78" height="53" border="0"></a></td>
    <
td><div align="right"><img src="$stylevar[imgdir_misc]/links_right.gif" width="64" height="53"></div></td>
  </
tr>
</
table>




<!-- 
content table -->
$spacer_open

$_phpinclude_output 

has added a screenshot, so that one also sees where once again the problem lies.
Attached Images
File Type: jpg headererror.JPG (9.8 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01278 seconds
  • Memory Usage 1,916KB
  • 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
  • (2)bbcode_php
  • (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_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