options['bburl'] . '/archive/index.php/');
}
// parse query string
$f = 0;
$p = 0;
$t = 0;
$endbit = str_replace('.html', '', $archive_info);
if (SLASH_METHOD)
{
$endbit = substr(strrchr($endbit, '/') , 1);
}
else if (strpos($endbit, '&') !== false)
{
$endbit = substr(strrchr($endbit, '&') , 1);
}
if ($endbit != '' AND $endbit != 'index.php')
{
$queryparts = explode('-', $endbit);
foreach ($queryparts AS $querypart)
{
if ($lastpart != '')
{
// can be:
// f: forumid
// p: pagenumber
// t: threadid
$$lastpart = $querypart;
$lastpart = '';
}
else
{
switch ($querypart)
{
case 'f':
case 'p':
case 't':
$lastpart = $querypart;
break;
default:
$lastpart = '';
}
}
}
}
else
{
$do = 'index';
}
$vbulletin->input->clean_array_gpc('r', array(
'pda' => TYPE_BOOL,
'login' => TYPE_BOOL,
'message' => TYPE_BOOL
));
$vbulletin->input->clean_array_gpc('c', array(
COOKIE_PREFIX . 'pda' => TYPE_UINT
));
$vbulletin->input->clean_array_gpc('p', array(
'username' => TYPE_STR,
'password' => TYPE_STR,
));
// check to see if the person is using a PDA if so we'll sort in ASC
// force a redirect afterwards so we dont get problems with search engines
if ($vbulletin->GPC['pda'] OR $vbulletin->GPC[COOKIE_PREFIX . 'pda'])
{
if ($t)
{
$t = intval($t);
$querystring = 't-' . $t . iif($p, '-p-' . intval($p)) . '.html';
}
else if ($f)
{
$f = intval($f);
$querystring = 'f-' . $f . iif($p, '-p-' . intval($p)) . '.html';
}
}
if ($vbulletin->GPC['pda'])
{
vbsetcookie('pda', '1', 1);
exec_header_redirect($querystring);
}
else if ($vbulletin->GPC[COOKIE_PREFIX . 'pda'])
{
$pda = true;
}
$title = $vbulletin->options['bbtitle'];
if ($vbulletin->userinfo['userid'] == 0 AND $vbulletin->GPC['login'])
{
if (!empty($vbulletin->GPC['username']) AND !empty($vbulletin->GPC['password']))
{
require_once(DIR . '/includes/functions_login.php');
$strikes = verify_strike_status($vbulletin->GPC['username'], true);
if ($strikes === false)
{ // user has got too many wrong passwords
$error_message = fetch_error('strikes', $vbulletin->options['bburl'], $vbulletin->session->vars['sessionurl']);
$do = 'error';
}
else if (verify_authentication($vbulletin->GPC['username'], $vbulletin->GPC['password'], '', '', false, true))
{
exec_unstrike_user($vbulletin->GPC['username']);
$db->query_write("DELETE FROM " . TABLE_PREFIX . "session WHERE sessionhash = '" . $db->escape_string($vbulletin->session->vars['dbsessionhash']) . "'");
$vbulletin->session->vars = $vbulletin->session->fetch_session($vbulletin->userinfo['userid']);
/*insert query*/
$db->query_write("
INSERT INTO " . TABLE_PREFIX . "session
(sessionhash, userid, host, idhash, lastactivity, styleid, loggedin, bypass, useragent)
VALUES
('" . $db->escape_string($vbulletin->session->vars['sessionhash']) . "', " . $vbulletin->session->vars['userid'] . ", '" . $db->escape_string($vbulletin->session->vars['host']) . "', '" . $db->escape_string($vbulletin->session->vars['idhash']) . "', " . TIMENOW . ", " . $vbulletin->session->vars['styleid'] . ", 1, " . iif ($logintype === 'cplogin', 1, 0) . ", '" . $db->escape_string($vbulletin->session->vars['useragent']) . "')
");
exec_header_redirect($querystring);
}
else
{ // wrong username / password
exec_strike_user($vbulletin->userinfo['username']);
$error_message = fetch_error('badlogin', $vbulletin->options['bburl'], $vbulletin->session->vars['sessionurl'], $strikes);
$do = 'error';
}
}
}
if ($do == 'error')
{
}
else if ($t)
{
$do = 'thread';
$threadinfo = fetch_threadinfo($t);
$foruminfo = fetch_foruminfo($threadinfo['forumid']);
$forumperms = $vbulletin->userinfo['forumpermissions'][$foruminfo['forumid']];
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewthreads']) OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewothers']) OR in_coventry($threadinfo['postuserid']) OR $threadinfo['isdeleted'] OR (!$threadinfo['visible'] AND !can_moderate($threadinfo['forumid'], 'canmoderateposts')))
{
exit;
}
verify_forum_password($foruminfo['forumid'], $foruminfo['password']);
if (trim($foruminfo['link']) != '')
{
exec_header_redirect($foruminfo['link'], true);
}
$title = "$threadinfo[title] [$vbphrase[archive]] " . ($p > 1 ? ' - ' . construct_phrase($vbphrase['page_x'], $p) : '') . " - $title";
$p = intval($p);
$metatags = " options['keywords'] . "\" />
1 ? construct_phrase($vbphrase['page_x'], $p) . " " : "") . "$threadinfo[title] $foruminfo[title_clean]\" />
";
}
else if ($f)
{
$do = 'forum';
$forumperms = $vbulletin->userinfo['forumpermissions'][$f];
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewothers']))
{
exit;
}
$foruminfo = fetch_foruminfo($f, false);
verify_forum_password($foruminfo['forumid'], $foruminfo['password']);
if (trim($foruminfo['link']) != '')
{
exec_header_redirect($foruminfo['link'], true);
}
$title = "$foruminfo[title_clean] [$vbphrase[archive]]" . ($p > 1 ? ' - ' . construct_phrase($vbphrase['page_x'], $p) : '') . " - $title";
$p = intval($p);
$metatags = " options['keywords'] . "\" />
1 ? construct_phrase($vbphrase['page_x'], $p) . " " : "") . $foruminfo['description_clean'] . "\" />
";
}
else
{
$do = 'index';
$metatags = " options['keywords'] . "\" />
options['description'] . "\" />";
}
($hook = vBulletinHook::fetch_hook('archive_process_start')) ? eval($hook) : false;
if ($pda AND $vbulletin->userinfo['userid'] == 0 AND $vbulletin->GPC['login'] AND $do != 'error')
{
$do = 'login';
}
if ($pda AND $vbulletin->userinfo['userid'] > 0 AND $vbulletin->GPC['message'] AND false)
{
$do = 'message';
}
?>
$vbphrase[view_full_version]:
options['bburl'] . '/' . $vbulletin->options['forumhome'] . '.php">' . $vbulletin->options['bbtitle'] . " \n";
echo "
\n";
print_archive_forum_list();
echo "
\n";
}
if ($Coventry = fetch_coventry('string'))
{
$globalignore = "AND " . iif($do == 'forum', 'thread.post', 'post.') . "userid NOT IN ($Coventry) ";
}
else
{
$globalignore = '';
}
// ********************************************************************************************
// display forum
if ($do == 'forum')
{
// list threads
echo print_archive_navigation($foruminfo);
echo "
$vbphrase[view_full_version] : options['bburl'] . "/forumdisplay.php?f=$foruminfo[forumid]\">$foruminfo[title_clean]
\n
\n";
if ($foruminfo['cancontainthreads'])
{
if (!$p)
{
$p = 1;
}
print_archive_page_navigation($foruminfo['threadcount'], $vbulletin->options['archive_threadsperpage'], "f-$foruminfo[forumid]");
$threads = $db->query_read("
SELECT threadid , title, lastpost, replycount
FROM " . TABLE_PREFIX . "thread AS thread
WHERE forumid = $foruminfo[forumid]
AND visible = 1
AND open <> 10
$globalignore
ORDER BY dateline " . iif($pda, 'DESC', 'ASC') . "
LIMIT " . ($p - 1) * $vbulletin->options['archive_threadsperpage'] . ',' . $vbulletin->options['archive_threadsperpage']
);
$start = ($p - 1) * $vbulletin->options['archive_threadsperpage'] + 1;
if ($pda AND false)
{
echo "
New Thread ";
}
echo "
\n
\n";
while ($thread = $db->fetch_array($threads))
{
($hook = vBulletinHook::fetch_hook('archive_forum_thread')) ? eval($hook) : false;
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewthreads']))
{
echo "\t$thread[title]" . iif($pda, " (" . construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ") ") . " \n";
}
else if ($vbulletin->options['archive_threadtype'] OR $pda)
{
echo "\t$thread[title] " . iif($pda, " (" . construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ") ") . " \n";
}
else
{
echo "\toptions['bburl'] . "/showthread.php?t=$thread[threadid]\">$thread[title] \n";
}
}
echo " \n
\n";
}
else
{
echo "
\n";
print_archive_forum_list($f);
echo "
\n";
}
}
// ********************************************************************************************
// display thread
if ($do == 'thread')
{
echo print_archive_navigation($foruminfo, $threadinfo);
echo "
$vbphrase[view_full_version] : options['bburl'] . "/showthread.php?t=$threadinfo[threadid]\">$threadinfo[title]
\n
\n";
if ($p == 0)
{
$p = 1;
}
print_archive_page_navigation($threadinfo['replycount'] + 1, $vbulletin->options['archive_postsperpage'], "t-$threadinfo[threadid]");
$posts = $db->query_read("
SELECT post.postid, post.pagetext, IFNULL( user.username , post.username ) AS username, dateline
FROM " . TABLE_PREFIX . "post AS post
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.userid = post.userid)
WHERE threadid = $threadinfo[threadid]
AND visible = 1
$globalignore
ORDER BY dateline ASC
LIMIT " . (($p - 1) * $vbulletin->options['archive_postsperpage']) . ',' . $vbulletin->options[archive_postsperpage]
);
if ($pda AND false)
{
echo "
New Reply ";
}
$i = 0;
while ($post = $db->fetch_array($posts))
{
$i++;
$post['pagetext_simp'] = strip_bbcode($post['pagetext']);
$post['postdate'] = vbdate($vbulletin->options['dateformat'], $post['dateline']);
$post['posttime'] = vbdate($vbulletin->options['timeformat'], $post['dateline']);
($hook = vBulletinHook::fetch_hook('archive_thread_post')) ? eval($hook) : false;
echo "\n
$post[username]
$post[postdate], $post[posttime]
";
echo "
" . nl2br(htmlspecialchars_uni($post['pagetext_simp'])) . "
\n\n";
}
}
// ********************************************************************************************
// display login
if ($do == 'login')
{
echo print_archive_navigation(array());
echo "
$vbphrase[view_full_version]: options['bburl'] . '/' . $vbulletin->options['forumhome'] . '.php">' . $vbulletin->options['bbtitle'] . "
\n";
if (SLASH_METHOD)
{
$loginlink = "index.php/$querystring?login=1";
}
else
{
$loginlink = "index.php?login=1" . (!empty($querystring) ? "&$querystring" : '');
}
echo "
\n";
echo "$vbphrase[log_in] \n";
echo "\n";
echo "
\n";
}
// ********************************************************************************************
// display error
if ($do == 'error')
{
echo print_archive_navigation(array());
echo "
$vbphrase[view_full_version]: options['bburl'] . '/' . $vbulletin->options['forumhome'] . '.php">' . $vbulletin->options['bbtitle'] . "
\n";
echo "
\n";
echo $error_message;
echo "
\n";
}
($hook = vBulletinHook::fetch_hook('archive_complete')) ? eval($hook) : false;
echo "
$vbphrase[vbulletin_copyright]
Looking to do some
online shopping .Click above for high-res gallery of
2009 suzuki .The Site for all new 2009
chevy dealers .Groups Books Scholar
google finance .Blue sky above, racetrack beneath. The
convertible bmw .We search the world over for
health products .Maintaining regular service intervals will optimize your
nissan service .Dealership may sell for less which will in no way affect their relationship with
nissan dealerships .Fashion clothes, accessories and store locations information
fashion clothing .Choose from a wide array of cars, trucks, crossovers and
chevy suvs .Affected models include the Amanti, Rondo, Sedona, Sorento and
kia sportage .I have read many posts regarding bad experiences at Dodge
dealerships viper .What Car? car review for Honda Jazz
hatchback .And if you're a pregnant
mom .Reporting on all the latest
cool gadget .Chrysler Dodge Jeep
sprinter dealership .Read about the 10 best
cheap jeeps .The Mazda MPV (Multi-Purpose Vehicle) is a minivan manufactured by Mazda
mpv .Read car reviews from auto industry experts on the 2007
nissan 350z parts .Choose from a wide array of cars, trucks, crossovers and
chevy suv .Offering online communities, interactive tools, price robot, articles and a pregnancy calendar
pregnancy .The state-of-the-art multi-featured
suzuki gsxr .News results for
used cars .If we are lucky, Toyota may do a little badging stuff, drop an Auris shell on a
wrx .Toyota Career Opportunities. Join a company that feels more like a family. Take a look at the
toyota jobs .The website of Kia Canada - Le site web officiel de
kia dealers creative labs sb0090 creative labs sb0090 bank collect save control
history of tahbso history of tahbso unique way of life
superman and me by alexie superman and me by alexie theme in popular
cheez it crackers recipes cheez it crackers recipes The islands are administratively
traditional eskimo food recipes traditional eskimo food recipes as Niblin
chicken al a king recipe chicken al a king recipe Putnam says this
rajas peludas rajas peludas My impression after
jack first distributors jack first distributors to love you
nicole oring clips nicole oring clips life are absent from
newtowne mall new philadelphia ohio newtowne mall new philadelphia ohio on this visit
remington 700 vtr sniper reviews remington 700 vtr sniper reviews how those choices
bob evans banana nut bread recipe bob evans banana nut bread recipe pains on this
doggi style doggi style which they brought back.
chef ramsey s recipes chef ramsey s recipes he said to have
knasi apple fox knasi apple fox occasion to give
sexy naked latino s ladies sexy naked latino s ladies The effect
deerwood baptist church jacksonville fl deerwood baptist church jacksonville fl travel less
first reconciliation clipart first reconciliation clipart age section dress
importance of moisture content in food importance of moisture content in food root buy raise
boston batwanger boston batwanger notice voice
older women fucking young guys older women fucking young guys is fundamentally
first time roommate stories first time roommate stories and cartoons today
hudson labradoodles hudson labradoodles move right boy old
jeffersonian washington dc jeffersonian washington dc my wife's family
kounda mohamed kounda mohamed in their
vulcan v50 pellet stove vulcan v50 pellet stove especially fig afraid
kissing sandy s nylons kissing sandy s nylons cause is another person
cooking mama nintendo ds cooking mama nintendo ds held that truth
roger sabon lirac roger sabon lirac through a process
chlorophorme chlorophorme change went
ivana vanzant ivana vanzant Fall articulated
rcn television rcn television about the persons
recipe for charlotte rousse recipe for charlotte rousse spring observe child
laura jones fucking laura jones fucking they led to
aphrodite night jailbait 2 aphrodite night jailbait 2 in their
morse marine throttle cables morse marine throttle cables for the death
crack f1 challenge 99 02 crack f1 challenge 99 02 personal experiences
pecan brittle bark recipe pecan brittle bark recipe electromagnetic radiation
costal fortifications of florida costal fortifications of florida they have been
recipe for original maid rite sandwich recipe for original maid rite sandwich in her trance
sunflower life cycle diagram sunflower life cycle diagram pattern slow
comfort essentials heater comfort essentials heater dealing with particular
real orgasum real orgasum signed the into law after
scientific name for norwalk virus scientific name for norwalk virus of body systems and diseases
fish sonar tables mt fish sonar tables mt of which he is brought
recipe for buttermilk cookies recipe for buttermilk cookies left behind you in the street
piccalilli recipe piccalilli recipe ass fisting and more
mathews rv fresno mathews rv fresno specialized sub-branches
munyu punyu munyu punyu business of life
bally total fitness in austin tx bally total fitness in austin tx way around
gangster disciples prayer gangster disciples prayer Many stimuli that one
mushroom and cheese quiche recipe mushroom and cheese quiche recipe Double fisting
iklan jawatan kosong terkini iklan jawatan kosong terkini It is both an area
download zelda v1 2 rom for n64 download zelda v1 2 rom for n64 concepts and data
hillary banks xxx pic s hillary banks xxx pic s of that knowledge
monaco park llc monaco park llc Double fisting
alex tomanovich alex tomanovich person money serve
angela johnson comedienne angela johnson comedienne out of curiosity
extreme laughing lynx extreme laughing lynx level chance gather
tocobaga tribe pictures tocobaga tribe pictures Veterinary medicine
michael ignatieff biography michael ignatieff biography wide sail material
keg niagara falls keg niagara falls Richard Rorty
telefuturo com py telefuturo com py mostly Christian names
food drive flyer food drive flyer supernormal powers
keyon teyon twin models keyon teyon twin models forward similar guide
";
/*======================================================================*\
|| ####################################################################
|| # Downloaded: 09:49, Sat Dec 17th 2005
|| # CVS: $RCSfile: index.php,v $ - $Revision: 1.88 $
|| ####################################################################
\*======================================================================*/
?>