I figured it was about time I updated my mod_rewrite tutorial for vBulletin. Therefore, I decided to provide you guys with the exact, full mod_rewrite that I use here at DaniWeb. It's written for a clean install of vB 3.0.7. This version is not for the faint of heart!

Some new features you can expect to find in this version, that aren't in previous versions, included multi-page support, support for linear, hybrid, and threaded thread modes, full support in the who's online (no more Unknown Locations!), previous / next thread links, and much more!

Attached is my massive .htaccess file. Rename it .htaccess and upload it to your forum directory. Also attached is an .xml file that contains all of the templates that need to be changed. They are already fully edited. Use the vB Admin Panel to create a new style out of the attached XML file. Then, simply edit it as you'd like. :) However, for the most part, CSS customizations will do - most of what I accomlish at DaniWeb is mere changing the CSS and the header and footer templates.

Below are the PHP files that need to be edited. You will notice two lines at a time. The first line represents what to search for, and the second line represents what to replace it with.

<< update >>

This hack is now obsolete! Please visit the new version:

http://www.daniweb.com/techtalkforums/thread35147.html


<< end update >>

So without further ado ...

forumdisplay.php

$navbits["forumdisplay.php?$session[sessionurl]f=$forumID"] = $forumTitle;
$navbits["forum$forumID.html"] = $forumTitle; // edited by Dani
 
$announcementidlink = iif(!$vboptions['oneannounce'] , "&amp;announcementid=$announcement[announcementid]");
$announcementidlink = iif(!$vboptions['oneannounce'] , "-$announcement[announcementid]");
 
$pagenav = construct_page_nav($totalthreads, "forumdisplay.php?$session[sessionurl]f=$forumid", "&amp;sort=$sortfield&amp;order=$sortorder&amp;pp=$perpage&amp;daysprune=$daysprune");
$pagenav = construct_page_nav($totalthreads, "forum$forumid", "-$sortfield-$sortorder-$perpage-$daysprune.html");

search.php

$highlightwords = '&amp;highlight=' . urlencode(implode(' ', $display['highlight']));
$highlightwords = '-' . urlencode(implode(' ', $display['highlight']));
 
$display['forums']["$key"] = "<a href=\"forumdisplay.php?$session[sessionurl]f=$forumid\"><b><u>" . $forumcache["$forumid"]['title'] . '</u></b></a>';
$display['forums']["$key"] = "<a href=\"forum$forumid.html\"><b><u>" . $forumcache["$forumid"]['title'] . '</u></b></a>';

showthread.php

$highlightwords = iif($goto, '&', '&amp;') . 'highlight=' . urlencode($_GET['highlight']);
$highlightwords = '-' . urlencode($_GET['highlight']);
 
	 exec_header_redirect("showthread.php?$session[sessionurl_js]p=$getlastpost[postid]$highlightwords#post$getlastpost[postid]");
	 exec_header_redirect("threadedpost$getlastpost[postid]$highlightwords.html#post$getlastpost[postid]");
 
exec_header_redirect("showthread.php?$session[sessionurl_js]p=$posts[postid]$highlightwords#post$posts[postid]");
exec_header_redirect("threadedpost$posts[postid]$highlightwords.html#post$posts[postid]");
 
exec_header_redirect("showthread.php?$session[sessionurl_js]t=$threadinfo[threadid]&goto=lastpost$highlightwords");
exec_header_redirect("lastpostinthread$threadinfo[threadid]$highlightwords.html");
 
exec_header_redirect("showthread.php?$session[sessionurl_js]t=$thread[pollid]");
exec_header_redirect("thread$thread[pollid].html");
 
$pagenav = construct_page_nav($totalposts, "showthread.php?$session[sessionurl]t=$threadid", "&amp;pp=$perpage$highlightwords");
$pagenav = construct_page_nav($totalposts, "threadnav$threadid", "-$perpage$highlightwords.html");
 
$firstunread = 'showthread.php?' . $session['sessionurl'] . 't=' . $threadid . '&goto=newpost';
$firstunread = 'newpostinthread' . $threadid . '.html';
 
$pagenav = construct_page_nav($numhybrids, "showthread.php?$session[sessionurl]p=$_REQUEST[postid]", "&amp;pp=$perpage$highlightwords");
$pagenav = construct_page_nav($numhybrids, "post$_REQUEST[postid]", "-$perpage$highlightwords.html");
 
$navbits["forumdisplay.php?$session[sessionurl]f=$forumID"] = $forumTitle;
$navbits["forum$forumID.html"] = $forumTitle;

clientscript/vbulletin_thrdpostlist.js

window.location = "showthread.php?" + SESSIONURL + "postid=" + postid + "#poststop";
window.location = "post" + postid + ".html#poststop";
 
document.write('<a href="showthread.php?postid=' + postid + highlightwords + '#post' + postid + '" id="link' + postid + '"><i>' + morephrase + '</i></a></div>\n');
document.write('<a href="threadedpost' + postid + highlightwords + '.html#post' + postid + '" id="link' + postid + '"><i>' + morephrase + '</i></a></div>\n');
 
document.write('<a href="showthread.php?postid=' + postid + highlightwords + '#post' + postid + '" onclick="return showPost(' + postid + ')" id="link' + postid + '"' + titlestyle + '>' + title + '</a> ');
document.write('<a href="threadedpost' + postid + highlightwords + '.html#post' + postid + '" onclick="return showPost(' + postid + ')" id="link' + postid + '"' + titlestyle + '>' + title + '</a> ');

includes/functions_forumdisplay.php

$address = "showthread.php?$session[sessionurl]t=$thread[threadid]";
$address = "threadnav$thread[threadid]";
 
$address2 = "$thread[highlight]";
$address2 = "-$vboptions[maxposts]$thread[highlight].html";

includes/functions_online.php

$userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>";
	$userinfo['where'] = "<a href=\"thread$threadid.html\" title=\"$threadpreview\">$threadtitle</a>";
 
	$userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]p=$postid#postid=$postid\" title=\"$threadpreview\">$threadtitle</a>";
	$userinfo['where'] = "<a href=\"post$postid.html#post$postid\" title=\"$threadpreview\">$threadtitle</a>";
 
$userinfo['where'] = "<a href=\"forumdisplay.php?$session[sessionurl]f=$forumid\">$forumtitle</a>";
$userinfo['where'] = "<a href=\"forum$forumid.html\">$forumtitle</a>";

Also, in functions_online.php, after

$userinfo['values'] = $values;

insert

// added by dani for seo hack
if (eregi("thread([0-9]+).html$", $filename, $tmatch)) 
{ 
$filename = 'showthread.php'; 
$values['threadid'] = $tmatch[1];
} 
 
if (eregi("forum([0-9]+).html$", $filename, $fmatch)) 
{ 
$filename = 'forumdisplay.php'; 
$values['forumid'] = $fmatch[1];
} 
 
if (eregi("post([0-9]+).html$", $filename, $pmatch)) 
{ 
$filename = 'showthread.php'; 
$values['postid'] = $pmatch[1];
} 
if (eregi("post([0-9]+).html#post([0-9]+)$", $filename, $pmatch)) 
{ 
$filename = 'showthread.php'; 
$values['postid'] = $pmatch[1];
} 
// added by dani for seo hack

Thanks for everyone's support with this hack over the last months. Keep in mind, as always, please don't redistribute my code in any way, shape, or form, on other websites, or in print. While I am offering use of this code for free, I put many hours into figuring out the algorithm, coding it, and publishing it, and it is still my intellectual property, and I would like the display of the code, itself, it to stay on DaniWeb only. I appreciate your cooperation. This also ensures that everyone can get support all in one place. :)

And as always, a link back is much appreciated but not necessary!;)

Don't worry - it turns out that is actually a bug I had on DaniWeb where some forums displayed correctly and others didn't. I'll fix it right now. But it's actually the correct way in the tutorial and should work with no problems :)

I recently realized that you must be a logged in member in order to download the above attachments. And I do understand that not everyone wishes to register on DaniWeb (tear). The reason I attached the files is because they're rather lengthy and it's easy to just download them and then upload them to your web-server as is. However, for those of you who are unable to do that because you are not registered, the code is available here:

The first is the .htaccess file

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^forum([0-9]+).html$		forumdisplay.php?f=$1		  [L]
RewriteRule ^forum([0-9]+)-([0-9]+)-(.*)-(.*)-([0-9]+)-(.*).html$   forumdisplay.php?f=$1&page=$2&sort=$3&order=$4&pp=$5&daysprune=$6   [L]
RewriteRule ^announcement([0-9]+).html$	  announcement.php?f=$1	  [L]
RewriteRule ^announcement([0-9]+)-([0-9]+).html$	announcement.php?f=$1&announcementid=$2   [L]
RewriteRule ^thread([0-9]+).html$	  showthread.php?t=$1	  [L]
RewriteRule ^thread([0-9]+)-(.*).html$	 showthread.php?t=$1&highlight=$2	[L]
RewriteRule ^nextnewesttothread([0-9]+).html$	showthread.php?t=$1&goto=nextnewest	[L]
RewriteRule ^nextoldesttothread([0-9]+).html$	showthread.php?t=$1&goto=nextoldest	[L]
RewriteRule ^threadnav([0-9]+)-([0-9]+).html$	showthread.php?t=$1&page=$2&pp=$3	[L]
RewriteRule ^threadnav([0-9]+)-([0-9]+)-([0-9]+).html$  showthread.php?t=$1&page=$2&pp=$3	[L]
RewriteRule ^threadnav([0-9]+)-([0-9]+)-([0-9]+)-(.*).html$  showthread.php?t=$1&page=$2&pp=$3&highlight=$4  [L]
RewriteRule ^threadmode([0-9]+)-linear.html$  showthread.php?t=$1&mode=linear	[L]
RewriteRule ^threadmode([0-9]+)-hybrid.html$  showthread.php?t=$1&mode=hybrid	[L]
RewriteRule ^threadmode([0-9]+)-threaded.html$  showthread.php?t=$1&mode=threaded	[L]
RewriteRule ^threadmode([0-9]+)-linear-(.*).html$ showthread.php?t=$1&highlight=$2&mode=linear  [L]
RewriteRule ^threadmode([0-9]+)-hybrid-(.*).html$ showthread.php?t=$1&highlight=$2&mode=hybrid  [L]
RewriteRule ^threadmode([0-9]+)-threaded-(.*).html$ showthread.php?t=$1&highlight=$2&mode=threaded  [L]
RewriteRule ^post([0-9]+).html$	 showthread.php?p=$1 
RewriteRule ^post([0-9]+)-([0-9]+).html$	showpost.php?p=$1&postcount=$2	[L]
RewriteRule ^post([0-9]+)-([0-9]+)-([0-9]+)-(.*).html$ showthread.php?p=$1&page=$2&pp=$3&highlight=$4  [L]
RewriteRule ^threadedpost([0-9]+).html$	showthread.php?p=$1	  [L] 
RewriteRule ^threadedpost([0-9]+)-(.*).html$   showthread.php?p=$1&highlight=$2	[L]
RewriteRule ^postmode([0-9]+)-linear-(.*).html$  showthread.php?p=$1&highlight=$2&mode=linear [L]
RewriteRule ^postmode([0-9]+)-hybrid-(.*).html$  showthread.php?p=$1&highlight=$2&mode=hybrid [L]
RewriteRule ^postmode([0-9]+)-threaded-(.*).html$ showthread.php?p=$1&highlight=$2&mode=threaded [L]
RewriteRule ^postmode([0-9]+)-(.*).html$   showthread.php?p=$1&mode=$2	[L]
RewriteRule ^lastpostinthread([0-9]+).html$  showthread.php?goto=lastpost&t=$1   [L]
RewriteRule ^lastpostinthread([0-9]+)-(.*).html$ showthread.php?goto=lastpost&t=$1&highlight=$2 [L]
RewriteRule ^newpostinthread([0-9]+).html$  showthread.php?goto=newpost&t=$1   [L]

The vbulletin-seo.xml file is broken down into multiple parts because it's way too long to be handled by the forum system. Be sure to copy and paste it all into one XML file and save it to your local computer. Then, go into the vB Admin Panel, and upload and import it into a new style.

<?xml version="1.0" encoding="ISO-8859-1"?>
 
<style name="SEO Friendly" vbversion="3.0.7" type="custom">
 
<templategroup name="Forum Display">
<template name="FORUMDISPLAY" templatetype="template" date="1114833497" username="cscgal" version="3.0.7"><![CDATA[$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<meta name="description" content="$foruminfo[description]" />
<title>$foruminfo[title]</title>
$headinclude
</head>
<body>
$header
$navbar
 
<if condition="$show['forumslist']">
<!-- sub-forum list -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">$vbphrase[subforums]<span class="normal">: $foruminfo[title]</span></td>
<if condition="$show['forumsearch']">
<td class="vbmenu_control" id="forumsearch.subforums"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></td>
</if>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
</table>
<br />
<!-- / sub-forum list -->
</if>
 
<if condition="$show['threadslist']">
<!-- threads list -->
 
<!-- controls above thread list -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above thread list -->
 
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">$vbphrase[threads_in_forum]<span class="normal">: $foruminfo[title]</span></td>
<td class="vbmenu_control" id="forumtools"><a href="#goto_forumtools">$vbphrase[forum_tools]</a> <script type="text/javascript"> vbmenu_register("forumtools"); </script></td>
<if condition="$show['forumsearch']">
<td class="vbmenu_control" id="forumsearch"><a href="#goto_forumsearch">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch"); </script></td>
</if>
</tr>
</table>
 
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
$announcebits
<tr>
<if condition="$show['threadicons']">
<td class="thead" colspan="2">&nbsp;</td>
<else />
<td class="thead">&nbsp;</td>
</if> 
<td class="thead" width="100%">
<if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
<a href="$sorturl&amp;order=asc&amp;sort=title">$vbphrase[thread]</a> $sortarrow[title] /
<a href="$sorturl&amp;order=asc&amp;sort=postusername">$vbphrase[thread_starter]</a> $sortarrow[postusername]
</td>
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount">$vbphrase[replies]</a> $sortarrow[replycount]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views">$vbphrase[views]</a> $sortarrow[views]</span></td>
</tr>
<if condition="$show['threads']">
<!-- show threads -->
<if condition="$show['stickies']">
$threadbits_sticky
<!-- <tr><td class="thead" colspan="<if condition="$show['threadicons']">6<else />5</if>">&nbsp;</td></tr>-->
</if>
$threadbits 
<!-- end show threads -->
<else />
<!-- show no threads message -->
<tr>
<td class="alt1" colspan="$foruminfo[bottomcolspan]" align="center">
<div style="padding: 16px">
	<if condition="$show['noposts']"><strong>$vbphrase[no_posts_in_this_forum]</strong><else /><strong><phrase 1="$daysprune">$vbphrase[no_posts_last_x_days_forum]</phrase></strong><br />
	<span class="smallfont">$vbphrase[try_controls_below_for_older_posts]</span></if>
</div>
</td>
</tr>
<!-- end show no threads message -->
</if>
</table>
 
 
 
<!-- controls below thread list -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls below thread list -->
 
 
<br />
 
 
 
 
 
 
<!-- Active Users in this Forum (and sub-forums) and Moderators -->
 
<form action="forumdisplay.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="f" value="$forumid" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="hidden" name="pp" value="$perpage" />
 
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[display_options]</td>
<if condition="$show['activeusers']">
<td class="tcat">$vbphrase[currently_active_users]</td>
</if>
<if condition="$show['moderators']">
<td class="tcat">$vbphrase[moderators]</td>
</if>
</tr>
<tr>
<td class="thead"><phrase 1="$limitlower" 2="$limitupper" 3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td>
<if condition="$show['activeusers']">
<td class="thead">$totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_y_guests]</phrase>)</td>
</if>
<if condition="$show['moderators']">
<td class="thead">$vbphrase[moderators]: $totalmods</td>
</if>
</tr>
<tr valign="top">
<td class="alt1">
 
<table cellpadding="0" cellspacing="1" border="0" width="auto">
<tr>
<td class="smallfont" style="padding-right:6px">$vbphrase[sorted_by]</td>
<td><select name="sort">
	<option value="title" $sort[title]>$vbphrase[thread_title]</option>
	<option value="lastpost" $sort[lastpost]>$vbphrase[last_post_time]</option>
	<option value="replycount" $sort[replycount]>$vbphrase[number_of_replies]</option>
	<option value="views" $sort[views]>$vbphrase[number_of_views]</option>
	<option value="postusername" $sort[postusername]>$vbphrase[thread_starter]</option>
	<if condition="$show['threadratings']"><option value="voteavg" $sort[voteavg]>$vbphrase[thread_rating]</option></if>
</select></td>
<td class="smallfont" style="padding-right:6px; padding-left:12px">$vbphrase[sort_order]</td>
<td><select name="order">
	<option value="asc" $order[asc]>$vbphrase[ascending]</option>
	<option value="desc" $order[desc]>$vbphrase[descending]</option>
</select></td>
</tr>
<tr>
<td class="smallfont" style="padding-right:6px">$vbphrase[from_the]</td>
<td><select name="daysprune">
	<option value="1" $daysprunesel[1]>$vbphrase[last_day]</option>
	<option value="2" $daysprunesel[2]>$vbphrase[last_2_days]</option>
	<option value="7" $daysprunesel[7]>$vbphrase[last_week]</option>
	<option value="10" $daysprunesel[10]>$vbphrase[last_10_days]</option>
	<option value="14" $daysprunesel[14]>$vbphrase[last_2_weeks]</option>
	<option value="30" $daysprunesel[30]>$vbphrase[last_month]</option>
	<option value="45" $daysprunesel[45]>$vbphrase[last_45_days]</option>
	<option value="60" $daysprunesel[60]>$vbphrase[last_2_months]</option>
	<option value="75" $daysprunesel[75]>$vbphrase[last_75_days]</option>
	<option value="100" $daysprunesel[100]>$vbphrase[last_100_days]</option>
	<option value="365" $daysprunesel[365]>$vbphrase[last_year]</option>
	<option value="-1" $daysprunesel[all]>$vbphrase[beginning]</option>
</select></td>
<td colspan="2" align="$stylevar[right]"><input type="submit" class="button" value="$vbphrase[show_threads]" /></td>
</tr>
</table>
 
</td>
<if condition="$show['activeusers']">
<td class="alt1"><div class="smallfont">$activeusers</div></td>
</if>
<if condition="$show['moderators']">
<td class="alt1"><div class="smallfont">$moderatorslist&nbsp;</div></td>
</if>
</tr>
</table>
 
</form>
<!-- End Active Users in this Forum (and sub-forums) and Moderators -->
 
<if condition="$show['popups']">
<br />
<!-- popup menu contents -->
 
 
<!-- forum tools menu -->
<div class="vbmenu_popup" id="forumtools_menu" style="display:none">
<form action="moderator.php" method="post" name="forumadminform">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td></tr>
<if condition="$show['newthreadlink']"><tr><td class="vbmenu_option"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]">$vbphrase[post_a_new_thread]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread&amp;f=$foruminfo[forumid]">$vbphrase[mark_this_forum_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]">$vbphrase[subscribe_to_this_forum]</a></td></tr>
<tr><td class="vbmenu_option"><a href="forum$foruminfo[parentid].html">$vbphrase[view_parent_forum]</a></td></tr>
<if condition="$show['adminoptions']">
<tr>
<td class="thead">$vbphrase[admin_tools]<a name="goto_forumadmin"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite"> 
<div><label for="fa_mpo"><input type="radio" name="do" id="fa_mpo" value="modposts" checked="checked" />$vbphrase[view_posts_queue]</label></div>
<div><label for="fa_mat"><input type="radio" name="do" id="fa_mat" value="modattach" />$vbphrase[view_attachment_queue]</label></div>
<div><label for="fa_mov"><input type="radio" name="do" id="fa_mov" value="move" />$vbphrase[massmove_threads]</label></div>
<div><label for="fa_prn"><input type="radio" name="do" id="fa_prn" value="prune" />$vbphrase[massprune_threads]</label></div>
<if condition="$show['addmoderator']">
<div><label for="fa_amd"><input type="radio" name="do" id="fa_amd" value="addmoderator" />$vbphrase[add_moderator]</label></div>
</if> 
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center"> 
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="f" value="$forumid" />
<input type="submit" class="button" value="$vbphrase[perform_action]" />
</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / forum tools menu -->
 
<!-- / popup menu contents -->
<else />
<!-- controls for non-popup browsers -->
 
 
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width:0px">
<tr>
<td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td>
<td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td>
</tr>
<tr valign="top">
<!-- forum tools -->
<td class="alt1">
<div class="smallfont">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[mark_this_forum_read]" vspace="1" /> <a href="forumdisplay.php?$session[sessionurl]do=markread&amp;f=$foruminfo[forumid]">$vbphrase[mark_this_forum_read]</a></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" /> <a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]">$vbphrase[subscribe_to_this_forum]</a></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[view_parent_forum]" vspace="1" /> <a href="forum$foruminfo[parentid].html">$vbphrase[view_parent_forum]</a></div>
</div>
</td>
<!-- / forum tools -->
 
<!-- search this forum -->
<td class="alt1">
<form action="search.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="forumchoice" value="$forumid" />
<input type="hidden" name="childforums" value="1" />
<strong>$vbphrase[search_this_forum]</strong>:<br />
<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
<a href="search.php?$session[sessionurl]forumid=$forumid">$vbphrase[advanced_search]</a>
</div>
</form>
</td>
<!-- / search this forum --> 
</tr>
</table>
<br />
 
 
<!-- / controls for non-popup browsers -->
</if>
 
 
<!-- ############## END THREADS LIST ############## -->
</if>
 
<if condition="$show['popups'] AND $show['forumsearch']">
<!-- forum search menu -->
<div class="vbmenu_popup" id="forumsearch_menu" style="display:none">
<form action="search.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="forumchoice" value="$forumid" />
<input type="hidden" name="childforums" value="1" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]forumid=$forumid">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / forum search menu -->
</if>
 
<!-- icon key -->
<if condition="$show['threadslist']">
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/thread_new.gif" alt="$vbphrase[new_posts]" border="0" /></td>
<td class="smallfont">$vbphrase[new_posts]</td>
<if condition="$vboptions['usehotthreads']">
<td><img src="$stylevar[imgdir_statusicon]/thread_hot_new.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td>
<td class="smallfont">$vbphrase[hot_thread_with_new_posts]</td>
<else />
<td colspan="2">&nbsp;</td>
</if>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/thread.gif" alt="$vbphrase[no_new_posts]" border="0" /></td>
<td class="smallfont">$vbphrase[no_new_posts]</td>
<if condition="$vboptions['usehotthreads']">
<td><img src="$stylevar[imgdir_statusicon]/thread_hot.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td>
<td class="smallfont">$vbphrase[hot_thread_with_no_new_posts]</td>
<else />
<td colspan="2">&nbsp;</td>
</if>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/thread_lock.gif" alt="$vbphrase[closed_thread]" border="0" /></td>
<td class="smallfont">$vbphrase[thread_is_closed]</td>
<if condition="$show['dotthreads']">
<td><img src="$stylevar[imgdir_statusicon]/thread_dot.gif" alt="$vbphrase[thread_contains_a_message_written_by_you]" border="0" /></td>
<td class="smallfont">$vbphrase[you_have_posted_in_this_thread]</td>
<else />
<td colspan="2">&nbsp;</td>
</if>
</tr>
</table>
<else />
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
<td>
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
</tr>
</table>
</td>
</tr>
</table>
</if>
<!-- / icon key -->
 
<!-- forum rules & forum jump -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
<td width="100%">
<div class="smallfont">&nbsp;</div>
<if condition="$show['threadslist']">$forumrules</if>
</td>
<td>
$forumjump
<if condition="!$show['popups'] AND $show['adminoptions']">
<br />
<form action="moderator.php" method="get"> 
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="f" value="$forumid" />
<div class="smallfont"><strong>$vbphrase[admin_tools]</strong>:</div>
<select name="do" onchange="this.form.submit();">
	<optgroup label="$vbphrase[admin_tools]">
	 <option value="modposts" selected="selected">$vbphrase[view_posts_queue]</option>
	 <option value="modattach">$vbphrase[view_attachment_queue]</option>
	 <option value="move">$vbphrase[mass_move]</option>
	 <option value="prune">$vbphrase[mass_prune]</option>
	 <if condition="$show['addmoderator']">
	 <option value="addmoderator">$vbphrase[add_moderator]</option>
	 </if>
	</optgroup>
</select>$gobutton 
</form>
</if>
</td>
</tr>
</table>
<!-- / forum rules & forum jump -->
 
$footer
</body>
</html>
]]></template>
<template name="forumdisplay_announcement" templatetype="template" date="1114833523" username="cscgal" version="3.0.7"><![CDATA[<tr>

<td class="alt1"><img src="$stylevar[imgdir_statusicon]/announcement_$announcement[statusicon].gif" border="0" alt="$vbphrase[announcement]" /></td>

<td class="alt2" colspan="<if condition="$show['threadicons']">5<else />4</if>">

<div>

<span class="smallfont" style="float:$stylevar[right]">$vbphrase[views]: <strong>$announcement[views]</strong> <a href="announcement$foruminfo[forumid]$announcementidlink.html"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="" border="0" /></a></span>

<strong>$vbphrase[announcement]</strong>: <a href="announcement$foruminfo[forumid]$announcementidlink.html">$announcement[title]</a>

</div>

<div>

<span class="smallfont" style="float:$stylevar[right]">$announcement[postdate]</span>

<span class="smallfont"><a href="member.php?$session[sessionurl]u=$announcement[userid]" target="_blank">$announcement[username]</a> ($announcement[usertitle])</span>

</div>

</td>

</tr>]]></template>

</templategroup>

 

<templategroup name="Forum Home">

<template name="FORUMHOME" templatetype="template" date="1114833616" username="cscgal" version="3.0.7"><![CDATA[$stylevar[htmldoctype]

<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 -->

<title>$vboptions[bbtitle]</title>

$headinclude

</head>

<body>

$header

$navbar

 

<!-- main -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<thead>

<if condition="$show['guest']">

<!-- guest welcome message -->

<tr>

<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>

</tr>

<tr>

<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">

<phrase 1="faq.php?$session[sessionurl]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase>

</td>

</tr>

<!-- / guest welcome message -->

</if>

<tr align="center">

<td class="thead">&nbsp;</td>

<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>

<td class="thead" width="175">$vbphrase[last_post]</td>

<td class="thead">$vbphrase[threads]</td>

<td class="thead">$vbphrase[posts]</td>

<if condition="$vboptions['showmoderatorcolumn']">

<td class="thead">$vbphrase[moderator]</td>

</if>

</tr>

</thead>

$forumbits

<tbody>

<tr>

<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>

<a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>

&nbsp; &nbsp;

<a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a>

</strong></div></td>

</tr>

</tbody>

</table>

<!-- /main -->

 

<br />

<br />

 

<!-- what's going on box -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<thead>

<tr>

<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>

</tr>

</thead>

<if condition="$show['loggedinusers']">

<!-- logged-in users -->

<tbody>

<tr>

<td class="thead" colspan="2">

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>

<a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)

</td>

</tr>

</tbody>

<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">

<tr>

<td class="alt2"><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>

<td class="alt1" width="100%">

<div class="smallfont">

	<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>

	<div>$activeusers</div>

</div>

</td>

</tr>

</tbody>

<!-- end logged-in users -->

</if>

<tbody>

<tr>

<td class="thead" colspan="2">

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>

<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>

</td>

</tr>

</tbody>

<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">

<tr>

<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>

<td class="alt1" width="100%">

<div class="smallfont">

<div>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</div>

<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>

</div>

</td>

</tr>

</tbody>

<if condition="$show['birthdays']">

<!-- today's birthdays -->

<tbody>

<tr>

<td class="thead" colspan="2">

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>

$vbphrase[todays_birthdays]

</td>

</tr>

</tbody>

<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">

<tr>

<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>

<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>

</tr>

</tbody>

<!-- end today's birthdays -->

</if>

<if condition="$show['upcomingevents']">

<tbody>

<tr>

<td class="thead" colspan="2">

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>

<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>

</td>

</tr>

</tbody>

<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">

<tr>

<td class="alt2"><a href="calendar.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>

<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>

</tr>

</tbody>

</if>

</table>

<br />

<!-- end what's going on box -->

 

<!-- icons and login code -->

<table cellpadding="0" cellspacing="2" border="0" width="100%">

<tr valign="bottom">

<td>

<table cellpadding="2" cellspacing="0" border="0">

<tr>

<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>

<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>

</tr>

<tr>

<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>

<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>

</tr>

<tr>

<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>

<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>

</tr>

</table>

</td>

<if condition="!$show['guest']">

<!-- member logout -->

<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>

<!-- end member logout -->

</if>

</tr>

</table>

<!-- / icons and login code -->

 

$footer

</body>

</html>

]]></template>

<template name="forumhome_forumbit_level1_nopost" templatetype="template" date="1114833874" username="cscgal" version="3.0.7"><![CDATA[<tbody>

<tr>

<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>

 

<a href="forum$forum[forumid].html">$forum[title]</a>

<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>

<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>

</td>

</tr>

</tbody>

<if condition="$childforumbits">

<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">

$childforumbits

</tbody>

</if>

]]></template>

<template name="forumhome_forumbit_level1_post" templatetype="template" date="1114833927" username="cscgal" version="3.0.7"><![CDATA[<tbody>

<tr align="center">

<td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">

 

<table cellpadding="0" cellspacing="0" border="0">

<tr>

<td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>

<td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>

<td>

<div>

	<a href="forum$forum[forumid].html"><strong>$forum[title]</strong></a>

	<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>

</div>

<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>

<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>

<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>

</td>

</tr>

</table>

 

</td>

<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>

<td class="alt1">$forum[threadcount]</td>

<td class="alt2">$forum[replycount]</td>

<if condition="$vboptions['showmoderatorcolumn']">

<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>

</if>

</tr>

</tbody>

<if condition="$childforumbits">

<tbody>

$childforumbits

</tbody>

</if>

]]></template>

<template name="forumhome_forumbit_level2_nopost" templatetype="template" date="1114834009" username="cscgal" version="3.0.7"><![CDATA[<tr>

<td class="tcat"><span class="smallfont">&nbsp;</span></td>

<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">5<else />4</if>">

<a href="forum$forum[forumid].html">$forum[title]</a>

<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>

<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>

</td>

</tr>

$childforumbits

]]></template>

<template name="forumhome_forumbit_level2_post" templatetype="template" date="1114834049" username="cscgal" version="3.0.7"><![CDATA[<tr align="center">

<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>

<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">

<div>

<a href="forum$forum[forumid].html"><strong>$forum[title]</strong></a>

<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>

</div>

<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>

<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>

<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>

</td>

<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>

<td class="alt1">$forum[threadcount]</td>

<td class="alt2">$forum[replycount]</td>

<if condition="$vboptions['showmoderatorcolumn']">

<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>

</if>

</tr>

$childforumbits

]]></template>

<template name="forumhome_lastpostby" templatetype="template" date="1114834091" username="cscgal" version="3.0.7"><![CDATA[<if condition="$show['lastpostinfo']">

<div class="smallfont" align="$stylevar[left]">

<div style="clear:both">

<if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if>

<a href="newpostinthread$lastpostinfo[lastthreadid].html" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>

</div>

<div<if condition="is_browser('ie', 6)"> style="float:$stylevar[left]"</if>>

<phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>

</div>

<div align="$stylevar[right]">

$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>

<a href="lastpostinthread$lastpostinfo[lastthreadid].html"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>

</div>

</div>

<else />

<div class="smallfont" align="$stylevar[right]">

$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>

<a href="lastpostinthread$lastpostinfo[lastthreadid].html"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>

</div>

</if>

]]></template>

</templategroup>
<templategroup name="Navigation / Breadcrumb">

<template name="navbar" templatetype="template" date="1114834285" username="cscgal" version="3.0.7"><![CDATA[<script type="text/javascript">

<!--

function log_out()

{

ht = document.getElementsByTagName("html");

ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";

if (confirm('$vbphrase[sure_you_want_to_log_out]'))

{

return true;

}

else

{

ht[0].style.filter = "";

return false;

}

}

//-->

</script>

 

<br />

 

<!-- breadcrumb, login, pm info -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tr>

<td class="alt1" width="100%">

<if condition="is_array($navbits)">

<table cellpadding="0" cellspacing="0" border="0">

<tr valign="bottom">

	<td><a href="#" onclick="history.back(1)"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>

	<td>&nbsp;</td>

	<td width="100%"><span class="navbar"><a href="./" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>

</tr>

<tr>

	<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td>

</tr>

</table> 

<else />

<div class="navbar" style="font-size:10pt"><a href="./" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>

</if>

</td> 

 

<if condition="$bbuserinfo['userid']">

 

<td class="alt2" valign="top" nowrap="nowrap">

<div class="smallfont">

<!--<span style="float:$stylevar[right]">[<a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a>]</span>-->

<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />

<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>

<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>

</div>

</td>

 

<else />

 

<td class="alt2" nowrap="nowrap" style="padding:0px">

 

<!-- login form -->

<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)">

<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>

<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">

<tr>

<td class="smallfont">$vbphrase[username]</td>

<td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>

<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td>

</tr>

<tr>

<td class="smallfont">$vbphrase[password]</td>

<td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>

<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>

</tr>

</table>

<input type="hidden" name="s" value="$session[sessionhash]" />

<input type="hidden" name="do" value="login" />

<input type="hidden" name="forceredirect" value="1" /> 

<input type="hidden" name="vb_login_md5password" />

<input type="hidden" name="vb_login_md5password_utf" />

</form>

<!-- / login form -->

 

</td>

 

</if> 

 

</tr>

</table>

<!-- / breadcrumb, login, pm info -->

 

<!-- nav buttons bar -->

<div align="center">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">

<tr align="center"> 

<!--<td class="vbmenu_control"><a href="../">Home</a></td>-->

 

<if condition="$show['member']">

<td class="vbmenu_control"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_cp]</a></td>

</if>

<if condition="$show['registerbutton']">

<td class="vbmenu_control"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></td>

</if>

<td class="vbmenu_control"><a href="faq.php?$session[sessionurl]" accesskey="5">$vbphrase[faq]</a></td>

<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>

<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>

<if condition="$show['popups']"> 

<if condition="$show['searchbuttons']">

	<if condition="$show['member']">

	<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>

	<else />

	<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>

	</if>

	<td id="navbar_search" class="vbmenu_control"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>

</if>

<if condition="$bbuserinfo['userid']">

	<td id="usercptools" class="vbmenu_control"><a href="#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td> 

</if>

<else /> 

<if condition="$show['searchbuttons']">

	<td class="vbmenu_control"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a></td>

	<if condition="$show['member']">

	<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>

	<else />

	<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>

	</if>

</if>

<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>

<if condition="$bbuserinfo['userid']"> 

	<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td> 

</if> 

</if>

<if condition="$bbuserinfo['userid']">

<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a></td>

</if>

</tr>

</table>

</div>

<!-- / nav buttons bar -->

 

<br />

<br />

 

<if condition="$show['popups']">

<!-- NAVBAR POPUP MENUS -->

 

<if condition="$show['searchbuttons']">

<!-- header quick search form -->

<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">

<table cellpadding="4" cellspacing="1" border="0">

<tr>

<td class="thead">$vbphrase[search_forums]</td>

</tr>

<tr>

<td class="vbmenu_option" title="nohilite">

<form action="search.php" method="post">

	<input type="hidden" name="do" value="process" />

	<input type="hidden" name="showposts" value="0" />

	<input type="text" class="bginput" name="query" size="20" />$gobutton<br />

</form>

</td>

</tr>

<tr>

<td class="vbmenu_option"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[advanced_search]</a></td>

</tr>

</table>

</div>

<!-- / header quick search form -->

</if>

 

<if condition="$show['member']">

<!-- user cp tools menu -->

<div class="vbmenu_popup" id="usercptools_menu" style="display:none">

<table cellpadding="4" cellspacing="1" border="0">

 

<tr><td class="thead">$vbphrase[quick_links]</td></tr> 

<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr></if>

<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>

<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>

 

<tr><td class="thead"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_control_panel]</a></td></tr>

<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>

<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>

<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>

<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>

 

<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>

<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>

<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>

<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>

<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if>

 

</table>

</div>

<!-- / user cp tools menu -->

</if>

<!-- / NAVBAR POPUP MENUS -->

</if>]]></template>

</templategroup>

 

<templategroup name="Page Navigation">

<template name="pagenav" templatetype="template" date="1114834351" username="cscgal" version="3.0.7"><![CDATA[<div class="pagenav" align="$stylevar[right]">

<table class="tborder" cellpadding="3" cellspacing="$stylevar[cellspacing]" border="0">

<tr>

<td class="vbmenu_control" style="font-weight:normal"><!--<img src="$stylevar[imgdir_misc]/multipage.gif" alt="<phrase 1="$numbers[first]" 2="$numbers[last]" 3="$total" 4="$totalpages">$vbphrase[showing_results_x_to_y_of_z_xx]</phrase>" /> --><phrase 1="$pagenumber" 2="$totalpages">$vbphrase[page_x_of_y]</phrase></td>

 

<if condition="THIS_SCRIPT==forumdisplay OR THIS_SCRIPT==showthread">

 

<if condition="$show['first']"><td class="alt1"><a class="smallfont" href="$address-1$address2" title="$vbphrase[first_page] - <phrase 1="$firstnumbers[first]" 2="$firstnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>"><strong>&laquo;</strong> $vbphrase[first]</a></td></if>

<if condition="$show['prev']"><td class="alt1"><a class="smallfont" href="$address-$prevpage$address2" title="$vbphrase[prev_page] - <phrase 1="$prevnumbers[first]" 2="$prevnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>">&lt;</a></td></if>

$pagenav

<if condition="$show['next']"><td class="alt1"><a class="smallfont" href="$address-$nextpage$address2" title="$vbphrase[next_page] - <phrase 1="$nextnumbers[first]" 2="$nextnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>">&gt;</a></td></if>

<if condition="$show['last']"><td class="alt1"><a class="smallfont" href="$address-$totalpages$address2" title="$vbphrase[last_page] - <phrase 1="$lastnumbers[first]" 2="$lastnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>">$vbphrase[last] <strong>&raquo;</strong></a></td></if>

 

<else />

 

<if condition="$show['first']"><td class="alt1"><a class="smallfont" href="$address&amp;page=1$address2" title="$vbphrase[first_page] - <phrase 1="$firstnumbers[first]" 2="$firstnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>"><strong>&laquo;</strong> $vbphrase[first]</a></td></if>

<if condition="$show['prev']"><td class="alt1"><a class="smallfont" href="$address&amp;page=$prevpage$address2" title="$vbphrase[prev_page] - <phrase 1="$prevnumbers[first]" 2="$prevnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>">&lt;</a></td></if>

$pagenav

<if condition="$show['next']"><td class="alt1"><a class="smallfont" href="$address&amp;page=$nextpage$address2" title="$vbphrase[next_page] - <phrase 1="$nextnumbers[first]" 2="$nextnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>">&gt;</a></td></if>

<if condition="$show['last']"><td class="alt1"><a class="smallfont" href="$address&amp;page=$totalpages$address2" title="$vbphrase[last_page] - <phrase 1="$lastnumbers[first]" 2="$lastnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>">$vbphrase[last] <strong>&raquo;</strong></a></td></if>

 

</if>

 

</tr>

</table>

</div>

]]></template>

<template name="pagenav_pagelink" templatetype="template" date="1114834361" username="cscgal" version="3.0.7"><![CDATA[<if condition="THIS_SCRIPT==forumdisplay OR THIS_SCRIPT==showthread">

 

<td class="alt1"><a class="smallfont" href="$address-$curpage$address2" title="<phrase 1="$pagenumbers[first]" 2="$pagenumbers[last]" 3="$total">$vbphrase[show_results_x_to_y_of_z]</phrase>">$curpage</a></td>

 

<else />

 

<td class="alt1"><a class="smallfont" href="$address&amp;page=$curpage$address2" title="<phrase 1="$pagenumbers[first]" 2="$pagenumbers[last]" 3="$total">$vbphrase[show_results_x_to_y_of_z]</phrase>">$curpage</a></td>

 

 

</if>]]></template>

</templategroup>

 

<templategroup name="Postbit">

<template name="postbit" templatetype="template" date="1114834505" username="cscgal" version="3.0.7"><![CDATA[<!-- post #$post[postid] -->

<if condition="$show['spacer']">

$spacer_open

<div style="padding:0px 0px $stylevar[cellpadding]px 0px">

<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if> 

</if>

 

 

<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tr>

<td class="thead" $scrolltothis>

<div class="normal" style="float:$stylevar[right]">

&nbsp;

<if condition="$show['postcount']">#<a href="post$post[postid]-$post[postcount].html" target="new"><strong>$post[postcount]</strong></a> &nbsp;</if>

<if condition="$show['reputationlink']"><a href="#" onclick="return reputation($post[postid])"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a> &nbsp;</if>

<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>

$post[iplogged]

</div>

 

<div class="normal">

<!-- status icon and date -->

<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>

<if condition="!$show['announcement']">

	$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>

<else />

	<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>

</if>

$post[firstnewinsert]

<!-- / status icon and date -->

</div>

</td>

</tr>

<tr>

<td class="alt2" style="padding:0px">

<!-- user info -->

<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">

<tr>

<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>

<td nowrap="nowrap">

 

	<div id="postmenu_$post[postid]">

	 <if condition="$show['profile']">

	 <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>

	 $post[onlinestatus]

	 <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>

	 <else />

	 $post[musername]

	 </if>

	</div>

 

	<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>

	<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>

 

</td>

<td width="100%">&nbsp;</td>

<td valign="top" nowrap="nowrap">

 

	<div class="smallfont">

	 <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>

	 <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>

	 <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>

	 <div>

	 $vbphrase[posts]: $post[posts]

	 </div>

	 <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if><div>$post[reputationdisplay]</div></if>

	 <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>

	</div>

 

</td>

</tr>

</table>

<!-- / user info -->

</td>

</tr>

<tr>

<td class="alt1">

<!-- message, attachments, sig -->

 

<if condition="$show['messageicon'] OR $post['title']">

<!-- icon and title -->

<div class="smallfont">

	<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>

	<if condition="$post['title']"><strong>$post[title]</strong></if>

</div>

<hr size="1" style="color:$stylevar[tborder_bgcolor]" />

<!-- / icon and title -->

</if>

 

<!-- message -->

<div>$post[message]</div>

<!-- / message -->

 

<if condition="$show['attachments']">

<!-- attachments -->

<div style="padding:$stylevar[cellpadding]px">

 

<if condition="$show['thumbnailattachment']">

	<fieldset class="fieldset">

	 <legend>$vbphrase[attached_thumbnails]</legend>

	 <div style="padding:$stylevar[formspacer]px">

	 $post[thumbnailattachments]

	 </div>

	</fieldset>

</if>

 

<if condition="$show['imageattachment']">

	<fieldset class="fieldset">

	 <legend>$vbphrase[attached_images]</legend>

	 <div style="padding:$stylevar[formspacer]px">

	 $post[imageattachments]

	 </div>

	</fieldset>

</if>

 

<if condition="$show['imageattachmentlink']">

	<fieldset class="fieldset">

	 <legend>$vbphrase[attached_images]</legend>

	 <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">

	 $post[imageattachmentlinks]

	 </table>

	 </fieldset>

</if>

 

<if condition="$show['otherattachment']">

	<fieldset class="fieldset">

	 <legend>$vbphrase[attached_files]</legend>

	 <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">

	 $post[otherattachments]

	 </table>

	</fieldset>

</if>

 

<if condition="$show['moderatedattachment']">

	<fieldset class="fieldset">

	 <legend>$vbphrase[attachments_pending_approval]</legend>

	 <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">

	 $post[moderatedattachments]

	 </table>

	</fieldset> 

</if>

 

</div>

<!-- / attachments -->

</if>

 

<if condition="$post['signature']">

<!-- sig -->

<div>

	__________________<br />

	$post[signature]

</div>

<!-- / sig -->

</if>

 

<if condition="$show['postedited']">

<!-- edit note -->

<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />

	<em>

	<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.

	<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>

	</em>

</div>

<!-- / edit note -->

</if>

 

<div align="$stylevar[right]">

<!-- controls -->

<if condition="$post['editlink']">

	<a href="$post[editlink]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>

</if>

<if condition="$post['forwardlink']">

	<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>

</if>

<if condition="$post['replylink']">

	<a href="$post[replylink]"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>

</if>

<if condition="$SHOWQUICKREPLY AND !$show['threadedmode']">

	<a href="$post[replylink]" onclick="return qr($post[postid]);"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>

</if>

<!-- / controls -->

</div>

 

<!-- message, attachments, sig -->

 

</td>

</tr>

</table>

 

<!-- post $post[postid] popup menu -->

<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">

<table cellpadding="4" cellspacing="1" border="0">

<tr>

<td class="thead">$post[username]</td>

</tr>

<if condition="$show['profile']">

<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]userid=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>

</if>

<if condition="$show['pmlink']">

<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>

</if>

<if condition="$show['emaillink']">

<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>

</if>

<if condition="$show['homepage']">

<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>

</if>

<if condition="$show['search']">

<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>

</if>

<if condition="$post['userid']">

<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>

</if>

</table>

</div>

<!-- / post $post[postid] popup menu -->

 

 

 

 

<if condition="$show['spacer']">

</div>

$spacer_close

</if>

<!-- / post #$post[postid] -->

]]></template>

</templategroup>
<templategroup name="Search">

<template name="search_results_postbit" templatetype="template" date="1114849004" username="cscgal" version="3.0.7"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="margin:$stylevar[cellpadding]px 0px $stylevar[cellpadding]px 0px">

<tr>

<td class="thead" style="font-weight:normal">

<span style="float:$stylevar[right]">

$vbphrase[forum]: <a href="forum$post[forumid].html">$post[forumtitle]</a>

</span>

<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[post_statusicon].gif" alt="" border="0" />

$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>

</td>

</tr>

<tr>

<td class="alt1">

<div class="smallfont" style="float:$stylevar[right]">

$vbphrase[replies]: <strong>$post[replycount]</strong>

</div>

<div>

<img class="inlineimg" src="$stylevar[imgdir_statusicon]/thread$post[statusicon].gif" alt="" border="0" />

$post[typeprefix] <a href="thread$post[threadid]$post[highlight].html"><strong>$post[threadtitle]</strong></a>

</div>

<div class="smallfont" style="float:$stylevar[right]">

$vbphrase[views]: <strong>$post[views]</strong>

</div>

<div class="smallfont">

$vbphrase[posted_by]

<if condition="$post[userid]"><a href="member.php?$session[sessionurl]u=$post[userid]" target="_blank">$post[username]</a><else />$post[username]</if>

</div>

 

<div class="alt2" style="margin:$stylevar[cellpadding]px 0px $stylevar[cellpadding]px 0px; padding:$stylevar[cellpadding]px; border:2px groove">

<div class="smallfont"><em>

	<if condition="$post[posticon]"><img class="inlineimg" src="$post[posticonpath]" alt="$post[posticontitle]" border="0" /></if>

	<a href="threadedpost$post[postid]$post[highlight].html#post$post[postid]">$post[posttitle]</a><br />

	<br />

	$post[pagetext]

</em></div>

</div>

</td>

</tr>

</table>]]></template>

</templategroup>

 

<templategroup name="Show Thread">

<template name="SHOWTHREAD" templatetype="template" date="1114834822" username="cscgal" version="3.0.7"><![CDATA[$stylevar[htmldoctype]

<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">

<head>

<title>$thread[title]</title>

$headinclude

 

</head>

<body onload="$onload">

$header

$navbar

 

$poll

 

<a name="poststop" id="poststop"></a>

 

<!-- controls above postbits -->

<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">

<tr valign="bottom">

<if condition="$show['largereplybutton']">

<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>

<else />

<td class="smallfont">&nbsp;</td>

</if>

<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>

</tr>

</table>

<!-- / controls above postbits -->

 

<!-- toolbar -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">

<tr>

<td class="tcat" width="100%">

<div class="smallfont">

<if condition="$show['firstunreadlink']">

<a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>

<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>

</if>

&nbsp;

</div>

</td>

<td class="vbmenu_control" id="threadtools">

<a href="#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>

<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>

</td>

<if condition="$show['search']">

<td class="vbmenu_control" id="threadsearch">

<a href="#goto_threadsearch">$vbphrase[search_this_thread]</a>

<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>

</td>

</if>

<if condition="$show['threadrating']">

<td class="vbmenu_control" id="threadrating">

<a href="#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>

<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>

</td>

</if>

<if condition="$vboptions['allowthreadedmode']">

<td class="vbmenu_control" id="displaymodes">

<a href="#goto_displaymodes">$vbphrase[display_modes]</a>

<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>

</td>

</if>

</tr>

</table>

<!-- / toolbar -->

 

<!-- end content table -->

$spacer_close

<!-- / end content table -->

 

<if condition="$show['threadedmode'] OR $show['hybridmode']">

<!-- thread posts list -->

$threadlist

<!-- /thread posts list -->

</if>

 

<div id="posts">$postbits</div>

 

<!-- start content table -->

$spacer_open

<!-- / start content table -->

 

<!-- controls below postbits -->

<table cellpadding="0" cellspacing="0" border="0" width="100%"<if condition="$vboptions['legacypostbit']"> style="margin-top:3px"</if>>

<tr valign="top">

<if condition="$show['largereplybutton']">

<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>

<else />

<td class="smallfont">&nbsp;</td>

</if> 

<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>

</tr>

</table>

<!-- / controls below postbits -->

 

<br />

 

<div class="smallfont" align="center">

<strong>&laquo;</strong>

<a href="nextoldesttothread$threadid.html">$vbphrase[prev_thread]</a>

|

<a href="nextnewesttothread$threadid.html">$vbphrase[next_thread]</a>

<strong>&raquo;</strong>

</div>

 

<br />

 

$quickreply

 

<!-- currently active users -->

<if condition="$show['activeusers']">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tr>

<td class="tcat" colspan="2">

<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>

</td>

</tr>

<tr>

<td class="alt1" colspan="2">

<span class="smallfont">$activeusers</span>

</td>

</tr>

</table>

</if>

<!-- currently active users -->

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<if condition="$show['popups']">

<!-- popup menu contents -->

<br />

 

<!-- thread tools menu -->

<div class="vbmenu_popup" id="threadtools_menu" style="display:none">

<form action="postings.php" method="post" name="threadadminform">

<table cellpadding="4" cellspacing="1" border="0">

<tr>

<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>

</tr>

<tr>

<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="3">$vbphrase[show_printable_version]</a></td>

</tr>

<tr>

<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$threadid">$vbphrase[email_this_page]</a></td>

</tr>

<if condition="$show['member']">

<tr>

<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />

<if condition="$show['subscribed']">

<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>

<else />

<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>

</if>

</td>

</tr>

</if>

<if condition="$show['addpoll']">

<tr>

<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>

</tr>

</if>

<if condition="$show['adminoptions']">

<tr>

<td class="thead">$vbphrase[admin_tools]<a name="goto_threadadmin"></a></td>

</tr>

<tr>

<td class="vbmenu_option" title="nohilite">

<div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div>

<div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_copy_thread]</label></div>

<div><label for="ao_sut"><input type="radio" name="do" id="ao_sut" value="stick" /><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></label></div>

<div><label for="ao_edt"><input type="radio" name="do" id="ao_edt" value="editthread" />$vbphrase[edit_thread]</label></div>

<div><label for="ao_dlt"><input type="radio" name="do" id="ao_dlt" value="deletethread" />$vbphrase[delete_thread]</label></div>

<div><label for="ao_dlp"><input type="radio" name="do" id="ao_dlp" value="deleteposts" />$vbphrase[delete_posts]</label></div>

<div><label for="ao_mgt"><input type="radio" name="do" id="ao_mgt" value="mergethread" />$vbphrase[merge_threads]</label></div>

<div><label for="ao_spt"><input type="radio" name="do" id="ao_spt" value="splitthread" />$vbphrase[split_thread]</label></div>

<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>

<if condition="$show['editpoll']"><div><label for="ao_edp"><input type="radio" name="do" id="ao_edp" value="editpoll" />$vbphrase[edit_poll]</label></div></if>

</td>

</tr>

<tr>

<td class="vbmenu_option" title="nohilite" align="center">

<input type="hidden" name="s" value="$session[sessionhash]" />

<input type="hidden" name="t" value="$threadid" />

<input type="hidden" name="pollid" value="$pollid" />

<input type="submit" class="button" value="$vbphrase[perform_action]" />

</td>

</tr>

</if>

</table>

</form>

</div>

<!-- / thread tools menu -->

 

<!-- **************************************************** -->

 

<!-- thread display mode menu -->

<div class="vbmenu_popup" id="displaymodes_menu" style="display:none">

<table cellpadding="4" cellspacing="1" border="0">

<tr>

<td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>

</tr>

<tr>

<if condition="$show['linearmode']">

<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <strong>$vbphrase[linear_mode]</strong></td>

<else />

<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <a href="postmode$FIRSTPOSTID-linear$highlightwords.html#post$FIRSTPOSTID">$vbphrase[switch_to_linear_mode]</a></td>

</if>

</tr>

<tr>

<if condition="$show['hybridmode']">

<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <strong>$vbphrase[hybrid_mode]</strong></td>

<else />

<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <a href="threadmode$thread[threadid]-hybrid$highlightwords.html">$vbphrase[switch_to_hybrid_mode]</a></td>

</if>

</tr>

<tr>

<if condition="$show['threadedmode']">

<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <strong>$vbphrase[threaded_mode]</strong></td>

<else />

<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <a href="postmode$FIRSTPOSTID-threaded$highlightwords.html#post$FIRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></td>

</if>

</tr>

</table>

</div>

<!-- / thread display mode menu -->

 

<!-- **************************************************** -->

 

<if condition="$show['search']">

<!-- thread search menu -->

<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">

<form action="search.php" method="post">

<table cellpadding="4" cellspacing="1" border="0">

<tr>

<td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>

</tr>

<tr>

<td class="vbmenu_option" title="nohilite">

<input type="hidden" name="s" value="$session[sessionhash]" />

<input type="hidden" name="do" value="process" />

<input type="hidden" name="searchthread" value="1" />

<input type="hidden" name="showposts" value="1" />

<input type="hidden" name="searchthreadid" value="$threadid" />

<input type="text" class="bginput" name="query" size="20" />$gobutton<br />

</td>

</tr>

<tr>

<td class="vbmenu_option"><a href="search.php?$session[sessionurl]">$vbphrase[advanced_search]</a></td>

</tr>

</table>

</form>

</div>

<!-- / thread search menu -->

</if>

 

<!-- **************************************************** -->

 

<!-- thread rating menu -->

<div class="vbmenu_popup" id="threadrating_menu" style="display:none">

<form action="threadrate.php" method="post">

<table cellpadding="4" cellspacing="1" border="0">

<tr>

<td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>

</tr>

<if condition="$show['ratethread']">

<tr>

<td class="vbmenu_option" title="nohilite">

<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>

<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>

<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>

<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>

<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>

</td>

</tr>

<tr>

<td class="vbmenu_option" title="nohilite" align="center">

<input type="hidden" name="s" value="$session[dbsessionhash]" />

<input type="hidden" name="t" value="$threadid" />

<input type="hidden" name="pp" value="$perpage" />

<input type="hidden" name="page" value="$pagenumber" />

<input type="submit" class="button" value="$vbphrase[vote_now]" />

</td>

</tr>

<else />

<tr>

<td>$vbphrase[already_rated_this_thread]</td>

</tr>

</if>

</table>

</form>

</div>

<!-- / thread rating menu -->

 

 

<!-- / popup menu contents -->

<else />

<!-- controls for non-popup browsers -->

 

 

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width:0px">

<tr>

<td class="thead" <if condition="!$show['search']">colspan="2"</if>>$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>

<if condition="$show['search']"><td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td></if>

</tr>

<tr valign="top">

<td class="alt1" <if condition="!$show['search']">colspan="2"</if>>

 

<!-- thread tools -->

<div class="smallfont">

<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p">$vbphrase[show_printable_version]</a></div>

<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$threadid">$vbphrase[email_this_page]</a></div>

<if condition="$show['member']">

<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />

	<if condition="$show['subscribed']">

	 <a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>

	<else />

	 <a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>

	</if>

</div>

</if>

<if condition="$show['addpoll']">

<div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>

</if>

</div>

<!-- / thread tools -->

 

</td>

<if condition="$show['search']">

<td class="alt1">

 

<!-- search this thread -->

<form action="search.php" method="post">

<div class="smallfont">

<input type="hidden" name="s" value="$session[sessionhash]" />

<input type="hidden" name="do" value="process" />

<input type="hidden" name="searchthread" value="1" />

<input type="hidden" name="showposts" value="1" />

<input type="hidden" name="searchthreadid" value="$threadid" />

<strong>$vbphrase[search_this_thread]</strong>:<br />

<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />

<a href="search.php?$session[sessionurl]">$vbphrase[advanced_search]</a>

</div>

</form>

<!-- / search this thread -->

 

</td>

</if>

</tr>

<if condition="$vboptions['allowthreadedmode'] OR $show['threadrating']">

<tr>

<if condition="$vboptions['allowthreadedmode']"><td class="thead" $nodhtmlcolspan>$vbphrase[display_modes]<a name="goto_displaymodes"></a></td></if>

<if condition="$show['threadrating']"><td class="thead" $nodhtmlcolspan>$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td></if>

</tr>

<tr valign="top">

<if condition="$vboptions['allowthreadedmode']">

<td class="alt2" $nodhtmlcolspan>

 

<!-- thread display modes -->

 

<div class="smallfont">

<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" vspace="1" /> <if condition="$show['linearmode']"><strong>$vbphrase[linear_mode]</strong><else /><a href="postmode$FIRSTPOSTID-linear$highlightwords.html#post$FIRSTPOSTID">$vbphrase[switch_to_linear_mode]</a></if></div>

<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" vspace="1" /> <if condition="$show['hybridmode']"><strong>$vbphrase[hybrid_mode]</strong><else /><a href="threadmode$thread[threadid]-hybrid$highlightwords.html">$vbphrase[switch_to_hybrid_mode]</a></if></div>

<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" vspace="1" /> <if condition="$show['threadedmode']"><strong>$vbphrase[threaded_mode]</strong><else /><a href="postmode$FIRSTPOSTID-threaded$highlightwords.html#post$FIRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></if></div>

</div>

 

<!-- / thread display modes -->

 

</td>

</if>

<if condition="$show['threadrating']">

<td class="alt2" $nodhtmlcolspan>

 

<!-- rate this thread -->

<form action="threadrate.php" method="post">

<div class="smallfont">

<input type="hidden" name="s" value="$session[dbsessionhash]" />

<input type="hidden" name="t" value="$threadid" />

<input type="hidden" name="pp" value="$perpage" />

<input type="hidden" name="page" value="$pagenumber" />

<strong>$vbphrase[rate_this_thread]</strong>:<br />

<select name="vote" onchange="this.form.submit()" style="width:175px">

<optgroup label="$vbphrase[choose_a_rating]">

	<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>

	<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>

	<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>

	<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>

	<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>

</optgroup>

</select>$gobutton

</div>

</form>

<!-- / rate this thread -->

 

</td>

</if>

</tr>

</if>

</table>

<br />

 

 

<!-- / controls for non-popup browsers -->

</if>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<!-- forum rules and admin links -->

<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">

<tr valign="bottom">

<td class="smallfont" align="$stylevar[left]">

$forumrules

</td>

<td class="smallfont" align="$stylevar[right]">

<table cellpadding="0" cellspacing="0" border="0">

<if condition="!$show['popups'] AND $show['adminoptions']">

<tr>

<td>

<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">

<form action="postings.php" method="post" name="adminoptionsform">

<input type="hidden" name="s" value="$session[sessionhash]" />

<input type="hidden" name="t" value="$threadid" />

<strong>$vbphrase[admin_tools]</strong>:<br />

<select name="do" onchange="this.form.submit()">

	<optgroup label="$vbphrase[thread_admin_tools]">

	 <option value="openclosethread" selected="selected"><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></option>

	 <option value="movethread">$vbphrase[move_copy_thread]</option>

	 <option value="stick"><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></option>

	 <option value="editthread">$vbphrase[edit_thread]</option>

	 <option value="deletethread">$vbphrase[delete_thread]</option>

	 <option value="deleteposts">$vbphrase[delete_posts]</option>

	 <option value="mergethread">$vbphrase[merge_threads]</option>

	 <option value="splitthread">$vbphrase[split_thread]</option>

	 <option value="removeredirect">$vbphrase[remove_redirects]</option>

	</optgroup>

</select>$gobutton

</form>

</div>

</td>

</tr>

<br />

</if>

<tr>

<td>

$forumjump

</td>

</tr> 

</table>

</td>

</tr>

</table>

<!-- /forum rules and admin links -->

 

<br />

 

$similarthreads

 

<br />

 

$footer

 

<!-- temp -->

<div style="display:none">

<!-- thread rate -->

<if condition="$show['ratethread']">

<!-- thread ratings form here -->

<else />

<if condition="$show['threadrating']">

$vbphrase[you_rated_this_thread]: <b>$threadinfo[vote]</b>

</if>

</if>

<!-- / thread rate -->

</div>

 

</body>

</html>

]]></template>

<template name="SHOWTHREAD_SHOWPOST" templatetype="template" date="1114837831" username="cscgal" version="3.0.7"><![CDATA[$stylevar[htmldoctype]

<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">

<head>

<title>$vboptions[bbtitle] - $vbphrase[view_single_post] - $threadinfo[title]</title>

$headinclude

</head>

<body style="margin:0px" onload="self.focus()">

 

<form action="showpost.php">

 

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="border-bottom-width:0px">

<tr>

<td class="tcat">

<div class="smallfont" style="float:$stylevar[right]">

<strong>$vbphrase[thread]</strong>: <a href="thread$threadinfo[threadid].html">$threadinfo[title]</a>

</div>

$vbphrase[view_single_post]

</td>

</tr>

</table>

 

$postbits

 

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="border-top-width:0px">

<tr>

<td class="tfoot" align="center"><input type="button" class="button" value="$vbphrase[close_this_window]" onclick="self.close()" /></td>

</tr>

</table>

 

</form>

 

</body>

</html>]]></template>

<template name="showthread_similarthreadbit" templatetype="template" date="1114837819" username="cscgal" version="3.0.7"><![CDATA[<tr>

<td class="alt1" align="$stylevar[left]"><if condition="$simthread['issubscribed']"><img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="" title="$vbphrase[you_are_subscribed_to_this_thread]" />&nbsp;</if><span class="smallfont"><a href="thread$simthread[threadid].html" title="$simthread[preview]">$simthread[title]</a></span></td>

<td class="alt2" nowrap="nowrap"><span class="smallfont">$simthread[postusername]</span></td>

<td class="alt1" nowrap="nowrap"><span class="smallfont">$simthread[forumtitle]</span></td>

<td class="alt2" align="center"><span class="smallfont">$simthread[replycount]</span></td>

<td class="alt1" align="$stylevar[right]"><span class="smallfont">$simthread[lastreplydate] <span class="time">$simthread[lastreplytime]</span></span></td>

</tr>

]]></template>

</templategroup>

 

<templategroup name="Threadbit">

<template name="threadbit" templatetype="template" date="1114837777" username="cscgal" version="3.0.7"><![CDATA[<tr>

<td class="alt1"><img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" /></td>

<if condition="$show['threadicons']">

<td class="alt2"><if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else />&nbsp;</if></td>

</if>

<td class="alt1Active" id="t$thread[threadid]" title="$thread[preview]">

 

<div>

<span style="float:$stylevar[right]">

	<if condition="$show['paperclip']"><img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /></if>

	<if condition="$show['subscribed']"><img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]" /></if>

	<if condition="$show['sticky']"><img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" alt="$vbphrase[sticky_thread]" /></if>

</span>

<if condition="$show['gotonewpost']"><a href="newpostinthread$thread[threadid].html"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>

$thread[movedprefix]

$thread[typeprefix]

 

<a href="thread$thread[threadid]$thread[highlight].html"><if condition="$show['gotonewpost']"><strong>$thread[threadtitle]</strong><else />$thread[threadtitle]</if></a>

<if condition="$thread['pagenav']"><span class="smallfont" style="white-space:nowrap">( <img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" alt="$vbphrase[multipage_thread]" border="0" /> $thread[pagenav] <if condition="$show[pagenavmore]">... <a href="lastpostinthread$thread[threadid]$thread[highlight].html">$vbphrase[last_page]</a></if> )</span></if>

</div>

 

<div class="smallfont">

<if condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if>

<if condition="$show['guestuser']">

	$thread[postusername]

<else />

	<span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span>

</if>

</div>

 

<if condition="$show['unsubscribe']">

<div class="smallfont">

	<a href="newreply.php?$session[sessionurl]do=newreply&amp;t=$thread[threadid]">$vbphrase[reply]</a> |

	<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;return=ucp&amp;t=$thread[threadid]">$vbphrase[unsubscribe]</a>

</div>

</if>

 

</td>

 

<if condition="$show['threadmoved']">

<td class="alt2" align="center">-</td>

<else />

<td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">

<div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap">

$thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if><br />

<phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase> <a href="lastpostinthread$thread[threadid].html"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>

</div>

</td>

</if>

 

<if condition="$show['notificationtype']">

<td class="alt1"><div class="smallfont">

<label for="sub$subscribethread[$threadid]">$thread[notification]</label>

<input type="hidden" name="oldemailupdate[$subscribethread[$threadid]]" id="oe_$subscribethread[$threadid]" value="$emailupdate[$threadid]" />

</div></td>

<td class="alt2"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]" value="yes" /></td>

<else />

<td class="alt1" align="center"><if condition="$show['threadmoved']">-<else /><a href="#" onclick="who($thread[threadid]); return false;">$thread[replycount]</a></if></td>

<td class="alt2" align="center">$thread[views]</td>

 

<if condition="$show['forumlink']">

<td class="alt1"><a href="forum$thread[forumid].html">$thread[forumtitle]</a></td>

</if>

</if>

</tr>

]]></template>

<template name="threadbit_deleted" templatetype="template" date="1114837724" username="cscgal" version="3.0.7"><![CDATA[<tr>

<td class="alt1"><img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" alt="" /></td>

 

<if condition="$show['threadicons']">

<td class="alt2"><if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else />&nbsp;</if></td>

</if>

 

<td class="alt1">

 

<div>

<if condition="$show['viewthread']"><span style="float:$stylevar[right]" class="smallfont"><a href="thread$thread[threadid].html">$vbphrase[view]</a></span></if> 

$thread[typeprefix]

<if condition="$show['threadtitle']"><em>$thread[threadtitle]</em></if>

</div>

 

<div class="smallfont">

<if condition="$show['managethread']"><span style="float:$stylevar[right]"><a href="postings.php?$session[sessionurl]do=editthread&amp;t=$thread[threadid]">$vbphrase[manage]</a></span></if>

<if condition="$show['guestuser']">

	$thread[postusername]

<else />

	<span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span>

</if>

</div>

</td>

 

<td class="alt2" colspan="3" align="center">

<div class="smallfont"><phrase 1="member.php?$session[sessionurl]u=$thread[del_userid]" 2="$thread[del_username]">$vbphrase[thread_deleted_by_x]</phrase></div>

<if condition="$show['deletereason']">

<div class="smallfont">$vbphrase[reason]: <em>$thread[del_reason]</em></div>

</if>

</td>

</tr>

]]></template>

<template name="threadbit_pagelink" templatetype="template" date="1114837694" username="cscgal" version="3.0.7"><![CDATA[ <a href="$address-$curpage$address2">$curpage</a> 

]]></template>

</templategroup>

 

<templategroup name="Who Posted?">

<template name="WHOPOSTED" templatetype="template" date="1114852592" username="cscgal" version="3.0.7"><![CDATA[$stylevar[htmldoctype]

<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">

<head>

<title>$vbphrase[who_posted] - $vboptions[bbtitle]</title>

$headinclude

</head>

<body onload="self.focus()" style="margin:0px">

 

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">

<tr>

<td class="tcat" colspan="2">

$vbphrase[who_posted]

<div class="smallfont"><phrase 1="$totalposts">$vbphrase[total_posts_x]</phrase></div>

</td>

</tr>

<tr>

<td class="thead" width="100%">$vbphrase[username]</td>

<td class="thead">$vbphrase[posts]</td>

</tr>

$posters

<tr>

<td class="tfoot" colspan="2" align="center"><div class="smallfont">

<a href="#" onclick="opener.location=('thread$threadid.html'); self.close();"><strong>$vbphrase[show_thread_and_close_window]</strong></a>

</div></td>

</tr>

</table>

 

</body>

</html>]]></template>

</templategroup>
<templategroup name="Ungrouped Templates">

<template name="announcement" templatetype="template" date="1114833209" username="cscgal" version="3.0.7"><![CDATA[$stylevar[htmldoctype]

<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">

<head>

<title>$vboptions[bbtitle] - $vbphrase[announcements_in_forum]: $foruminfo[title]</title>

$headinclude

</head>

<body>

$header

$navbar

 

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tr>

<td class="tcat"> 

<if condition="$show['viewall']">

<span class="smallfont" style="float:$stylevar[right]">

	<a href="announcement$foruminfo[forumid].html">$vbphrase[view_all_announcements]</a> ($anncount[total])

</span>

</if> 

 

$vbphrase[announcements_in_forum]<span class="normal">: <a href="forum$foruminfo[forumid].html">$foruminfo[title]</a></span> 

</td>

</tr>

</table>

 

<!-- end content table -->

$spacer_close

<!-- / end content table -->

 

<div id="posts">$announcebits</div>

 

<!-- start content table -->

$spacer_open

<!-- / start content table -->

 

<br />

 

<table cellpadding="0" cellspacing="0" border="0" width="100%">

<tr>

<td width="100%">&nbsp;</td>

<td>$forumjump</td>

</tr>

</table>

 

$footer

 

</body>

</html>]]></template>

<template name="header" templatetype="template" date="1114834145" username="cscgal" version="3.0.7"><![CDATA[<!-- logo -->

<a name="top"></a>

<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">

<tr>

<td align="$stylevar[left]"><a href="./"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

<td align="$stylevar[right]">

&nbsp;

<!--

NEW HEADER &amp; NAVBAR

 

Now that the nav buttons are in the

navbar template, you can stick whatever

you like into this space.

 

This makes it much easier for novice

admins to customize their header

template without affecting important

navigation elements.

-->

</td>

</tr>

</table>

<!-- /logo -->

 

<!-- content table -->

$spacer_open

 

$_phpinclude_output]]></template>

</templategroup>

 

</style>

I was asked on another forum why I did not use keyword-rich URLs for my hack. The reason to use forum#.html as opposed to my-forum-title.html being:

They're cleaner, easier to type in, don't look as messy, shorter, and, in my opinion, really aren't worth the overhead. It takes processing time to parse every forum title into its URL counterpart throughout the forums. I feel that by simly putting the forum title into CSS'ed H1 and H2 tags, you can accomplish just as much SEO as keyword-rich URLs (which I don't even think weigh very much anyways) without the overhead.

Hey there fellas. I just want to give you an update on the DaniWeb mod_rewrite hack - I've updated it to what DaniWeb is currently using, in a whole new tutorial. There is support for multiple pages, Who's Online (no more Unknown locations!), previous / next threads, linear / hybrid / threaded modes, and much more! Enjoy

http://www.daniweb.com/tutorials/tutorial22840.html

Great hack !!!

Hey I just followed here from theadminzone.com to ask you a couple of questions.


2 questions are:

1. The xml file ( the style file vbulletin-seo.xml ) you posted in your tutorial, is it a fresh install of VB 3.0.7 also? Can I just import the style and all the style changes to reflect the mod_rewrite is alreade done there?

2. How did you have the archive post links to go to the actual forum thread links?

3. What do you mean by the following quote you mentioned in your thread at daniweb.com and how do you accomlish it. I am a not good at the web stuff yet. Can you please give me a step by step of what to do to get it done?

I feel that by simly putting the forum title into CSS'ed H1 and H2 tags, you can accomplish just as much SEO as keyword-rich URLs (which I don't even think weigh very much anyways) without the overhead.

Answers to your questions:

(1) Yes! It's a fresh vB 3.0.7 with only mod_rewrite applied to it. In addition, it only contains templates that were changed. That means that if you have your own style with a custom CSS, and header and footer templates edited, you can merge it right in there, and it will work.

(2) To make your archive work like a sitemap, where the links to the threads redirect to your *real* forum threads (mod_rewritten versions, of course!) then make the following two changes to your archive/index.php file. (Just as in the above tutorial, replace the first line with the second line)

echo "<p class=\"largefont\">$vbphrase[view_full_version] : <a href=\"$vboptions[bburl]/forumdisplay.php?f=$foruminfo[forumid]\">$foruminfo[title]</a></p>\n<hr />\n";
 echo "<p class=\"largefont\">$vbphrase[view_full_version] : <a href=\"../../forum$foruminfo[forumid].html\">$foruminfo[title]</a></p>\n<hr />\n";
 
   echo "\t<li><a href=\"" . (!SLASH_METHOD ? 'index.php?' : '') . "t-$thread[threadid].html\">$thread[title]</a>" . iif($pda, " <i>(" . construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")</i>") . "</li>\n";
   echo "\t<li><a href=\"../../thread$thread[threadid].html\">$thread[title]</a>" . iif($pda, " <i>(" . construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")</i>") . "</li>\n";

(3) There is another version of this hack (also in the Web Hosting Tutorials section of this site) that uses keyword-rich URLs such as my-forum-name.html as opposed to forum123.html. (It's an older version, however, from 3.03 I believe). In any case, what I choose to do instead, is somewhere in the navbar template, add the code:

<h1>$foruminfo[title]</h1>

and then use CSS to make h1 { } look anyway that I want (so that it's not enormous.) You see, Google puts weight on text emphasized in header h1 and h2 tags.

Hi

I have just added the hack but my pagenav is screwed up

I see your forum points to pages OK, but I seem to have an additional "&page" within the URL which of course points to a 404, eg :

forum4&page=2-lastpost--10--1.html

when browsing the forums and

threadnav913&page=2-10.html

I believe it should be simply without the "&page="

any ideas ??

This would be from the pagenav and pagenav_pagelink templates. Are you sure that you correctly applied the template modifications for those two templates? Double check.

That's great ! Thanks for your quick answer.

Just one last question : is it possible, just for forums names to customize them ? I'd like to change forumid.html into forum_name.html ?

yakusasci,

Because of the reasons posted at http://www.daniweb.com/techtalkforums/post117002-10.html, I do not do this myself. Once I ensure that this hack is perfected and bug-free, I may expand it to work that way. In the meantime, there is an existing tutorial on how to do this at http://www.daniweb.com/tutorials/tutorial12725.html although it is optimized for an earlier version of vB3. You may wish to take a look at it.

Ok perfect tks again :) !

Ah I've tested it on an intern forum and I've found something forgotten dani superstar :cool: :

when viewing an annoucement (announcementxxx.html), in the nav bar at the top there are dynamic links :

forum > subforum
>>announcement

Other bug :

when I read a subject for example :

threadedpost262465.html#post262465

if I try to change the forum style (box at the bottom left) it doesn't work; I get an url like threadedpost262465.html?styleid=3#post262465 but with the same style;

same thing on a forum : forum70.html?styleid=3; doesn't work.

hope this helps

Oops! Sory I missed the announcements. In the announcement.php file:

$navbits["forumdisplay.php?$session[sessionurl]f=$forumID"] = $forumTitle;
$navbits["forum$forumID.html"] = $forumTitle;
 
$navbits["$vboptions[forumhome].php"] = $vbphrase['announcements'];
$navbits[""] = $vbphrase['announcements'];

As far as the style chooser is concerned, it will take a bit of work, but I'll get that working as soon as I can. I don't have much experience with it because I don't offer my members the ability to switch styles.

Pff how quick u are ! Perfect for announcement.php ! Thanks dani!

A quick idea : the top of the top of the top - because now it's the top of the top ;) - would be for old indexed pages like showthread.php?t=23 ... to redirect to new urls with a 301 (moved permanently) header; is it possible ?

This is unfortunately not possible. Remember, behind the scenes, the .html pages are really just aliases for their php counterparts. If we do a 301 redirect on the php pages to redirect to the html pages, and then tell Apache that the html pages are aliases for the php pages, we're going to end up in an infinite loop, and no real page will ever be loaded.

Hi Dani. This is a very wicked tutorial, it looks like it took a lot of time and energy to create so thank you for sharing it with the rest of us lowely peons. :)

I have a question for you though... I noticed that the archive already makes use of more search engine friendly urls and I currently have the spiders redirected there with the spiders file. I was wondering what your thoughts were about keeping the spiders to the archive versus letting them crawl a mod_rewritten friendly url? Thanks!

PS: I had a bonus question since your the guru! I was thinking of useing mod_rewrite or something similar to include the thread names in the archive's url. I understand there is a performance hit but I'm trying to gauge what the trade off might be. Thanks again.

This is unfortunately not possible. Remember, behind the scenes, the .html pages are really just aliases for their php counterparts. If we do a 301 redirect on the php pages to redirect to the html pages, and then tell Apache that the html pages are aliases for the php pages, we're going to end up in an infinite loop, and no real page will ever be loaded.

ok tks dani; that's what I thought. I've got a problem with showpost : dynamic link : showpost.php?p=262630&postcount=11 something I forgot ? tks !

This link would be in the postbit template - ensure it looks like the one posted in this tutorial.

Answers to your questions:

(2) To make your archive work like a sitemap, where the links to the threads redirect to your *real* forum threads (mod_rewritten versions, of course!) then make the following two changes to your archive/index.php file. (Just as in the above tutorial, replace the first line with the second line)

echo "<p class=\"largefont\">$vbphrase[view_full_version] : <a href=\"$vboptions[bburl]/forumdisplay.php?f=$foruminfo[forumid]\">$foruminfo[title]</a></p>\n<hr />\n";
 echo "<p class=\"largefont\">$vbphrase[view_full_version] : <a href=\"../../forum$foruminfo[forumid].html\">$foruminfo[title]</a></p>\n<hr />\n";
 
   echo "\t<li><a href=\"" . (!SLASH_METHOD ? 'index.php?' : '') . "t-$thread[threadid].html\">$thread[title]</a>" . iif($pda, " <i>(" . construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")</i>") . "</li>\n";
   echo "\t<li><a href=\"../../thread$thread[threadid].html\">$thread[title]</a>" . iif($pda, " <i>(" . construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")</i>") . "</li>\n";

I tried these 2 line modification to my archive file. The index page would not even load. Is there anything need to be added in the .htaccess file also?

This link would be in the postbit template - ensure it looks like the one posted in this tutorial.

ok it's perfect now. tks :) !

sorry but another problem : on online.php I get some

unknown place
/forum84-2-lastpost--25--1.html
unknown place
/post163310-3.html
unknown place
/thread13032-painter.html

for many lines it's ok.

By default, the hack only fixes the generic forum and thread URLs in Who's Online. It doesn't handle multiple pages or when search queries are used, etc. For a completely mod_rewritten Who's Online, make the following changes to the includes/functions_online.php file. In each instance, replace the commented out line (the line with the //) with the non-commented line that appears below it. The lines will appear in the same order within the file as noted below.

// $userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>";
	$userinfo['where'] = "<a href=\"thread$threadid.html\" title=\"$threadpreview\">$threadtitle</a>";
 
	// $userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]p=$postid#postid=$postid\" title=\"$threadpreview\">$threadtitle</a>";
	$userinfo['where'] = "<a href=\"threadedpost$postid.html#post$postid\" title=\"$threadpreview\">$threadtitle</a>";
 
	// $userinfo['where'] = "<a href=\"forumdisplay.php?$session[sessionurl]f=$forumid\">$forumtitle</a>";
	$userinfo['where'] = "<a href=\"forum$forumid.html\">$forumtitle</a>";
 
	// $userinfo['where'] = "<a href=\"forumdisplay.php?$session[sessionurl]f=$forumid\">$forumtitle</a>";
	$userinfo['where'] = "<a href=\"forum$forumid.html\">$forumtitle</a>";
 
	// $userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>";
	$userinfo['where'] = "<a href=\"thread$threadid.html\" title=\"$threadpreview\">$threadtitle</a>";
 
	// $userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]p=$postid#postid=$postid\" title=\"$threadpreview\">$threadtitle</a>";
	$userinfo['where'] = "<a href=\"threadedpost$postid.html#postid=$postid\" title=\"$threadpreview\">$threadtitle</a>";
 
// $userinfo['where'] = "<a href=\"$vboptions[forumhome].php?$session[sessionurl]\">$vboptions[bbtitle]</a>";
$userinfo['where'] = "<a href=\"\">$vboptions[bbtitle]</a>";
 
	// $userinfo['where'] = "<a href=\"forumdisplay.php?$session[sessionurl]f=$forumid\">$forumtitle</a>";
	$userinfo['where'] = "<a href=\"forum$forumid.html\">$forumtitle</a>";
 
	// $userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>";
	$userinfo['where'] = "<a href=\"thread$threadid.html\" title=\"$threadpreview\">$threadtitle</a>";
 
	// $userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>";
	$userinfo['where'] = "<a href=\"thread$threadid.html\" title=\"$threadpreview\">$threadtitle</a>";
 
	 // edited by dani
	 /* $userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a><br />" .
		 "<a href=\"forumdisplay.php?$session[sessionurl]f=$forumid\">$forumtitle</a>"; */
	 $userinfo['where'] = "<a href=\"thread$threadid.html\" title=\"$threadpreview\">$threadtitle</a><br />" .
		 "<a href=\"forum$forumid.html\">$forumtitle</a>";
 
	// $userinfo['where'] = "<a href=\"announcement.php?$session[sessionurl]f=$forumid\">$forumtitle</a>";
	$userinfo['where'] = "<a href=\"announcement$forumid.html\">$forumtitle</a>";
 
	 // $userinfo['where'] = "<a href=\"forumdisplay.php?$session[sessionurl]f=$forumid\">$forumtitle</a>";
	 $userinfo['where'] = "<a href=\"forumd$forumid.html\">$forumtitle</a>";
 
	// $userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]p=$postid#postid=$postid\" title=\"$threadpreview\">$threadtitle</a>";
	$userinfo['where'] = "<a href=\"threadedpost$postid.html#postid=$postid\" title=\"$threadpreview\">$threadtitle</a>";
 
	// $userinfo['where'] = "<a href=\"printthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>";
	$userinfo['where'] = "<a href=\"printthread$threadid.html\" title=\"$threadpreview\">$threadtitle</a>";
 
	// $userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]p=$postid#postid=$postid\" title=\"$threadpreview\">$threadtitle</a>";
	$userinfo['where'] = "<a href=\"threadedpost$postid.html#postid=$postid\" title=\"$threadpreview\">$threadtitle</a>";
 
	// $userinfo['where'] = "<a href=\"printthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>";
	$userinfo['where'] = "<a href=\"printthread$threadid.html\" title=\"$threadpreview\">$threadtitle</a>";
 
	// $userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>";
	$userinfo['where'] = "<a href=\"thread$threadid.html\" title=\"$threadpreview\">$threadtitle</a>"; }
 
	// $userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>";
	$userinfo['where'] = "<a href=\"thread$threadid.html\" title=\"$threadpreview\">$threadtitle</a>";
 
	// $userinfo['where'] = "<a href=\"$vboptions[forumhome].php?$session[sessionurl]\">$vboptions[bbtitle]</a>";
	$userinfo['where'] = "<a href=\"\">$vboptions[bbtitle]</a>";
 
// $userinfo['where'] = "<a href=\"$vboptions[forumhome].php?$session[sessionurl]\">$vboptions[bbtitle]</a>";
$userinfo['where'] = "<a href=\"\">$vboptions[bbtitle]</a>";
 
// $userinfo['where'] = "<a href=\"$vboptions[forumhome].php?$session[sessionurl]\">$vboptions[bbtitle]</a>";
$userinfo['where'] = "<a href=\"\">$vboptions[bbtitle]</a>";

And then, below

convert_short_varnames($values);
$userinfo['values'] = $values;

add

// added by dani for seo hack
if (eregi("forum([0-9]+)", $filename, $fmatch)) 
{ 
$filename = 'forumdisplay.php'; 
$values['forumid'] = $fmatch[1];
} 
if (eregi("thread([0-9]+)", $filename, $tmatch)) 
{ 
$filename = 'showthread.php'; 
$values['threadid'] = $tmatch[1];
} 
if (eregi("threadnav([0-9]+)-([0-9]+)", $filename, $tmatch)) 
{ 
$filename = 'showthread.php'; 
$values['threadid'] = $tmatch[1];
} 
if (eregi("threadmode([0-9]+)-(.*).html$", $filename, $tmatch)) 
{ 
$filename = 'showthread.php'; 
$values['threadid'] = $tmatch[1];
} 
if (eregi("post([0-9]+)", $filename, $pmatch)) 
{ 
$filename = 'showthread.php'; 
$values['postid'] = $pmatch[1];
} 
if (eregi("posted([0-9]+).html$", $filename, $pmatch)) 
{ 
$filename = 'showthread.php'; 
$values['postid'] = $pmatch[1];
} 
if (eregi("postmode([0-9]+)-(.*).html$", $filename, $pmatch)) 
{ 
$filename = 'showthread.php'; 
$values['postid'] = $pmatch[1];
} 
// added by dani for seo hack
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.