/*
vbSpiderFriend v1.1b by ~shabang~
** Free License: YOU MUST LEAVE THE FOOTER INTACT **
*/
$privateForums="|1|16|"; // Hidden forumids, enclosed by | pipes
$firstPost="11/01/2003"; // MM/DD/YYYY of your forum's first post
$spacer=" "; // The characters or spaces to use as one indent
$forumURL="http://www.mcse.ms"; // Base URL of your forum
$refresh=0; // Change this to 1 if you want the archive to automatically
// forward the user if they come in from a search engine.
// This option is initially turned off because Google considers
// this to be 'cloaking.'
$homeURL="http://www.mcse.ms"; // The link URL for the top of the page
$homeLink="Home"; // The link text for the top of the page
$keywords="MCSE, Software forum"; // SET META INFORMATION HERE
$description="MCSE, Certification forum"; // The script will add to these fields
$pagetitle="MCSE braindumps"; // with the info from the thread
include("class.mysql.php");
// NOTHING MORE TO EDIT BELOW /////////////////////////////////////////////////////////////
$baseURL=$forumURL."/archive";
$dateSplit = split("/",$firstPost);
$firstMonth = preg_replace("/^0/","",$dateSplit[0]);
$firstYear = $dateSplit[2];
$currentYear=date("Y",time());
$currentMonth=preg_replace("/^0/","",date("m",time()));
$fullHomeLink= "$homeLink";
// parse query string
if (ereg("/archive/[0-9]",getenv('REQUEST_URI'))) {
$urlArray=explode("/",getenv('REQUEST_URI')); //split the URL path
$a=0;
while($urlArray[$a] != "archive") {
$a++;
}
$forumID=$urlArray[($a+1)];
$year=$urlArray[($a+2)];
$month=$urlArray[($a+3)];
$week=$urlArray[($a+4)];
$threadID=$urlArray[($a+5)];
if (eregi("[a-z]",$forumID) or $forumID < 1 or strstr($privateForums,"|".$forumID."|"))
$forumID=1;
}
if ( ($refresh==1) and ( (!empty($forumID)) and (!empty($year)) and (!empty($month)) and (!empty($threadID)) ) ) {
if ((!stristr(getenv(HTTP_REFERER),$homeURL)) or (strlen(getenv(HTTP_REFERER)) < 1)) {
$forward= "";
$metas="