View Single Post
  #366  
Old 03-18-2009, 03:03 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I modified the 'Themes' myself to make the validate at http://validator.w3.org/

Here's mine. The only changes are those required to make them validate - layout etc should be identical

Default Basic Theme
HTML Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] $WT_PageName</title>
$headinclude
</head>
<body>
$header
$navbar
$nowbrowsing
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td valign="top">
			<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
				<tr>
					<td class="tcat" align="left">
						&raquo; $WT_PageName
					</td>
				</tr>
				<tr> 
					<td class="alt1" align="center">
						<div class="normalfont"><h2> $WT_PageName</h2></div>
					</td>
				</tr>
				<tr>
					<td class="alt2" align="left">
						<div class="normalfont"> 
							$includedtemplate
						</div> 
					</td>
				</tr>
				<tr> 
					<td class="thead" align="left">Page 
						Visitors: <b>$count</b>, Last Visitor was $WT[lastvisitorname] 
						at $WT[lastvisitdate]. $WT_Editor_link<br />
						Page Created at <b>$creationdate</b>, Last Modified 
						: <b>$lasteditdate</b>.
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>

$footer

</body>
</html>

Standard Error Theme
HTML Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$pagetitle</title>
$headinclude
$headinsert
</head>
<body>
$header
$navbar
$nowbrowsing
<br />


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center">
<tr>
	<td class="tcat">&raquo; $WT_PageName</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">
	
		$includedtemplate
		
		</div>
	</div>
		</td>
</tr>
</table>

<br />

<!-- forum jump -->
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
	<td>$forumjump</td>
</tr>
</table>
<!-- / forum jump -->

<br />
<br />

$footer
</body>
</html>
Two Column Theme

HTML Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] $WT_PageName</title>
$headinclude
</head>
<body>
$header
$navbar
$nowbrowsing
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="225" valign="top"> 
			<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
				<tr>
					<td class="tcat" align="center">Stats</td>
				</tr>
				<tr>
					<td class="alt1">
						<div class="smallfont">
							Member count : <b>$numbermembers</b>,<br />
							Thread Count: <b>$totalthreads</b>,<br />
							Post Count : <b>$totalposts</b><br />
							<br />
							Welcome to our newest member <a href='member.php?$session[sessionurl]u=$newuserid'>$newusername</a>
						</div>
					</td>
				</tr>
			</table>
			$WT_Login 		
			<br />
			<br />
		</td>
		<td width="20">
			<img src="$vboptions[cleargifurl]" width="20" height="1" alt="spacer" />
		</td>
		<td valign="top">
			<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
				<tr>
					<td class="tcat" align="left">
						&raquo; $WT_PageName
					</td>
				</tr>
				<tr> 
					<td class="alt2" align="left"> 
						<div class="normalfont">
							$includedtemplate
						</div> 
					</td>
				</tr>
				<tr> 
					<td class="thead" align="left">
						Page Visitors: <b>$count</b>, Last Visitor was $WT[lastvisitorname] at $WT[lastvisitdate]. $WT_Editor_link<br />
						Page Created at <b>$creationdate</b>, Last Modified : <b>$lasteditdate</b>.
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
$footer
</body>
</html>
Site Information Pages Template
HTML Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title> $WT_PageName</title>
$headinclude 
</head> 
<body>
$header 
$navbar
<h2 align="center">$WT_PageName </h2>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr> 
		<td width="225" valign="top"> 
			<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
				<tr> 
					<td class="tcat" align="center"> 
						Site Help Pages
					</td>
				</tr>
				<tr> 
					<td class="alt2" height="400" valign="top"> 
						<div class="smallfont">
							$WQ_siteinformationitems
						</div>
					</td>
				</tr> 
			</table>
		</td>
		<td width="10">
			<img src="$vboptions[cleargifurl]" width="10" height="1" name="image" alt="Spacer" />
		</td>
		<td valign="top"> 
			<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
				<tr> 
					<td class="alt1" align="left" height="400" valign="top"> 
						<div class="normalfont">
							$includedtemplate
						</div>
					</td>
				</tr>
				<tr> 
					<td class="alt1" > 
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr> 
								<td align="left" nowrap="nowrap"> 
									<div class="smallfont">
										<a href='sendmessage.php'>Still Have A Question?</a>
									</div>
								</td>
								<td align="right"> 
									<div class="smallfont"><b>$count</b><i> times visited.
										<if condition="$bbuserinfo[usergroupid]==6"><br />
											Last Visitor was $WT[lastvisitorname] at $WT[lastvisitdate].
											$WT_Editor_link
										</if></i>
									</div>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<br />
<if condition="$bbuserinfo[usergroupid]==6">$nowbrowsing</if>
$footer
</body>
</html>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01164 seconds
  • Memory Usage 1,845KB
  • 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
  • (4)bbcode_html
  • (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