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

This is just a quick once over while half asleep so it's possible that I may have missed something. If it doesn't validate let me know and I'll take another look.

Code:
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
    <!-- no cache headers -->
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="-1" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <!-- end no cache headers -->
 
    $headinclude
<meta name="description" content="Writing forum dedicated to the entire spectrum of writing. Your ideal writing community." />
    <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar
     
<div class="tcat" align="center">View Writer's Club, Writer's Beat Monthly Publication. <a href="http://www.writersbeat.com/publications/september2006.pdf" alt="Writer's Club, Writer's Beat Monthly Publication. PDF Version" target="_blank"><u>(PDF)</u></a> or <a href="http://blog.writersbeat.com/2006/09/writers-beat-monthly-publication.html" alt="Writer's Club, Writer's Beat Monthly Publication. TEXT Version" target="_blank"><u>(Text)</u></a> Version</div>


<!-- content table -->
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<td valign="top">

<!-- main body -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
$forumbits
</table>
<br />
<!-- sand Time and Logout -->
<div class="sand_spacer"></div>
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
        <td align="$stylevar[left]" valign="top"><div class="smallfont">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div></td>
        <if condition="!$show['guest']">
        <td align="$stylevar[right]" valign="top">
            <a class="smallfont" href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
            <if condition="$vboptions['forumleaders']"> | 
            <a class="smallfont" href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
        | <a class="smallfont" href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
        </if>
</tr>
</table>
<!-- /sand Time and Logout -->
<!-- / main body -->
</td>
 
<td width="20%" valign="top">
<!-- column -->
 
<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100" align="right" style="margin-top:12px; margin-right:12px;">
<if condition="$show[member]">
<tr>
<td class="thead">
Welcome back, {$bbuserinfo['username']}
</td>
</tr>
<tr>
<td class="alt1" align="center" width="1%">
        <a href="profile.php?{$session[sessionurl]}do=editavatar">{$bbuserinfo['avatar_build']}</a>
    
<div style="font-size:85%">Your total forum posts: <b>{$bbuserinfo['posts']}</b></div>
<div style="font-size:85%">Average posts per day: <b>$bbuserinfo[postsperday]</b></div>
    </td>
</tr>
<tr>
        <td class="alt1">
            <strong>$vbphrase[threads]:</strong> $totalthreads<br />
                        <strong>$vbphrase[posts]:</strong> $totalposts <br />
                        <strong>$vbphrase[members]:</strong> $numbermembers<br />
<a href="online.php" rel="nofollow">Users Online: $totalonline </a><br />
        </td>
</tr>
<tr>
      <td class="alt1">
<div><a href="search.php?$session[sessionurl]do=getnew"><img src="$stylevar[imgdir_misc]/arrow.gif" border="0"> New Posts</a></div>
<div><a href="search.php?$session[sessionurl]do=getdaily"><img src="$stylevar[imgdir_misc]/arrow.gif" border="0"> Today's Posts</a></div>
<div><a href="search.php?$session[sessionurl]do=process&replyless=1"><img src="$stylevar[imgdir_misc]/arrow.gif" border="0"> Unanswered Posts</a></div>
<div><a href="usercp.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/arrow.gif" border="0"> UserCP</a></div>
<div><a href="profile.php?$session[sessionurl]do=editprofile"><img src="$stylevar[imgdir_misc]/arrow.gif" border="0"> Edit Profile</a></div>
<div><a href="profile.php?$session[sessionurl]do=editsignature"><img src="$stylevar[imgdir_misc]/arrow.gif" border="0"> Edit Signature</a></div>
<div><a href="profile.php?$session[sessionurl]do=editoptions"><img src="$stylevar[imgdir_misc]/arrow.gif" border="0"> Preferences</a></div>
<div><a href="profile.php?$session[sessionurl]do=editlist"><img src="$stylevar[imgdir_misc]/arrow.gif" border="0"> Buddy /Ignore List</a></div>
<div><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/arrow.gif" border="0"> Who's Online</a></div>
<div><img src="$stylevar[imgdir_misc]/arrow.gif" border="0"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$bbuserinfo[userid]" rel="nofollow"> View Your Posts</a></div>
<div><img src="$stylevar[imgdir_misc]/arrow.gif" border="0">
<a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$bbuserinfo[urlusername]" rel="nofollow"> View Your Threads</a>
</div>
<div><img src="$stylevar[imgdir_misc]/arrow.gif" border="0">
<a href="$vboptions[drupalurl]/user/$bbuserinfo[userid]">View Your Blog
</div>
<div><img src="$stylevar[imgdir_misc]/arrow.gif" border="0">
 <a class="smallfont" href="friends.php?$session[sessionurl]u=$bbuserinfo[userid]">View Your Friends</a></div>
</td>
</tr>
 </if>
     <tr>
        <td class="thead">
            Search The Forum
        </td>
    </tr>
  <tr>  
        <td class="alt1" width="100%">   
            <div class="smallfont" style="padding: 1px 1px 1px 1px;">   
<form action="search.php" method="post">
 <input type="hidden" name="do" value="process" />
 <input type="hidden" name="showposts" value="0" />
 <input type="hidden" name="quicksearch" value="1" />
 <input type="hidden" name="s" value="$session[sessionhash]" />
 <input type="text" class="bginput" name="query" size="20" />&nbsp;$gobutton<br />
</form><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a>
            </div>   
        </td>  
  </tr>
      <tr>
        <td class="thead">
            Selected News/Threads
        </td>
    </tr>
  <tr>  
           <td class="alt1">
            <div><img src="$stylevar[imgdir_misc]/arrow.gif"><a href="http://www.writersbeat.com/publications/september2006.pdf"> <strong><i>NEW!</i></strong> September Publication(PDF)</a></div>
           <div><img src="$stylevar[imgdir_misc]/arrow.gif"> <a href="http://www.writersbeat.com/writers-beat-monthly-publication-link-e-mail-september-2006-t5784.html">Monthly Updates</a></div>
           <div><img src="$stylevar[imgdir_misc]/arrow.gif"> <a href="http://www.writersbeat.com/tip-day-t1009.html">Tip of the Day</a></div>
           <div><img src="$stylevar[imgdir_misc]/arrow.gif"> <a href="http://www.writersbeat.com/word-day-t847.html?t=847">Word of the Day</a></div>
            
           </td>
  </tr>     
<tr>
<td class="thead">
Help Promote Us!</td>
</tr>
<tr>
<td class="alt1">
<div><img src="wb.png" alt="Writer's Beat"></div>
<div><img src="wf.png" alt="Writing Forums"></div>
<div><img src="lw.png" alt="Love Writing"></div>
<div><img src="wb1.png" alt="Writer's Beat"></div>
</td>
</tr> 
<tr>
<td class="thead">
Latest Threads</td>
</tr> 
<if condition="$show['latestthreads']">
<tr>
<td class="alt1">
<div class="smallfont">$threadbits</div>
</td>
</tr>
</if>
<tr>
<td class="thead">
Official Affiliates</td>
</tr>
<tr>
<td class="alt1">
<a href="http://www.reviewcave.com">ReviewCave.com</a><br />
<span style="font: 0.5em">contact for placement</span>
</td>
</tr>
<tr>
<td class="thead">
Write for WB</td>
</tr>
<tr>
<td class="alt1"> 
WritersBeat.com is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, <a href="sendmessage.php?$session[sessionurl]">let us know</a>.
</td>
</tr>
<tr>
<td class="thead">&nbsp;
</td>
</tr>
<tr>
<td class="alt1">
 
<script type="text/javascript"><!--
google_ad_client = "pub-7673173405079303";
google_ad_width = 120;
google_ad_height = 90;
google_ad_format = "120x90_0ads_al_s";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "006699";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
<tr>
<td class="alt1">Subscribe WB Feed<br />
<a href="http://feeds.feedburner.com/writersbeat" title="Subscribe to writersbeat.com feed" rel="alternate" type="application/rss+xml"><img src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="border:0"/></a>
</td>
</tr>


<tr>
<td class="alt1" style="padding-right: 30px">
<strong>$vbphrase[vbTags_popular_tag]</strong><br />
$popular_tags
</td>
</tr>
</table>

<!-- / column -->

</td>
</tr>
 </table>

<!-- / main content table -->

 <br />
 <center>
 <script type="text/javascript"><!--
google_ad_client = "pub-7673173405079303";
google_ad_output = "textlink";
google_ad_format = "ref_text";
google_cpa_choice = "CAAQhaT2_gEaCAS0i9mxCgAgKLGsuIEB";
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center> 

$footer
 
</body>
</html>
It should have knocked all the bugs, but like I said, I've just done this here in the reply page without being logged into a test site or anything so let me know if it doesn't validate correctly or work correctly.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04418 seconds
  • Memory Usage 1,838KB
  • 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