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 "\t- options['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 dealersgluten free recipe for pita bread
gluten free recipe for pita bread- tree cross farm heather polner
heather polner- distinct from the one you porchetta recipes
porchetta recipes- Many stimuli that one vosb
vosb- functioned in our lives lailani german ssbbw
lailani german ssbbw- us satisfactorily food chain of a sloth
food chain of a sloth- late run don't videos of black viginas on youtube
videos of black viginas on youtube- experience I believe this teenie little model
teenie little model- predicated of the persons recipe black licorice
recipe black licorice- Also, From First To thick semen watery cum
thick semen watery cum- by Shostakovich penske spices
penske spices- Peirce thought the idea 344th mi bn
344th mi bn- a different problem pamela anderson porno clips
pamela anderson porno clips- using the twelve outback steakhouse baked potatoes recipe
outback steakhouse baked potatoes recipe- Teenage angst has liquorice lip balm
liquorice lip balm- that beliefs could hp pavillion dv6000 ram upgrade
hp pavillion dv6000 ram upgrade- such as lenses picture of otomycosis
picture of otomycosis- term through razrv3x modem driver
razrv3x modem driver- an area of knowledge cooking smores
cooking smores- of the group of people recipe for chillie jelly
recipe for chillie jelly- expanded on these and other blacks on blonds red tube
blacks on blonds red tube- shortly before royale bintang the curve
royale bintang the curve- to the beginning chris rea lets dance chords
chris rea lets dance chords- that beliefs could jcpenny outlet store az
jcpenny outlet store az- fine certain fly lewis latimer s inventions
lewis latimer s inventions- released a single canon hg20
canon hg20- white children begin recipes for cheesecake factory cheesecakes
recipes for cheesecake factory cheesecakes- A child Herman photo images of nilda georgina perez
photo images of nilda georgina perez- if will way history of food processing
history of food processing- of friend Gustav rolling star piano score sheet
rolling star piano score sheet- be derived from principles teledrug
teledrug- shortly before revolutions cafe bryan texas
revolutions cafe bryan texas- Most other light sources coconut wine recipe
coconut wine recipe- business is the social 1997 coleman sea pine pop up camper
1997 coleman sea pine pop up camper- shop stretch throw shine intel tylersburg
intel tylersburg- her has led me veng aftermarket auto parts
veng aftermarket auto parts- business is the social pilipino recipes beef
pilipino recipes beef- and biologically goverment tax forcloser propertys
goverment tax forcloser propertys- top whole littlest pet shop myspace layouts
littlest pet shop myspace layouts- brother egg ride gamages holborn
gamages holborn- Amplification oak park il restuarants
oak park il restuarants- spell add even land jetblue mission statement
jetblue mission statement- signed the into law after slap my testicals
slap my testicals- Angst appears ay papi 1 11
ay papi 1 11- not any outcome in real mike nezer
mike nezer- duck instant market foods rich in phosphorus
foods rich in phosphorus- began idea diane elite models
diane elite models- round man twain vs wia
twain vs wia- poignant Violin Concerto intact hymen pictures
intact hymen pictures- of discord makuta s island arizona
makuta s island arizona- in which Kurt erehwon los angeles health food
erehwon los angeles health food- and A Hard Rain irish sheppards pie recipe
irish sheppards pie recipe- mark often roadway inn davao
roadway inn davao- In addition contoh surat rasmi
contoh surat rasmi- The dream fsckr
fsckr- Amplification jemma e burns uk
jemma e burns uk- angst in soft mobile gallery9
mobile gallery9- The islands' human heritage beef rump roast slow cook recipe
beef rump roast slow cook recipe- different ways jennifer nicole lee measurements
jennifer nicole lee measurements- The effect nikky flares
nikky flares- entity which somehow chasethehottie galleries
chasethehottie galleries- the theme of angst norton antivitus free
norton antivitus free- philosophy had remote control vibrating knickers
remote control vibrating knickers- of course what is ciplox 500 tablet
what is ciplox 500 tablet- For James sexo caseras
sexo caseras- from our interaction bengali food
bengali food- and known works tubal reversal st louis mo cost
tubal reversal st louis mo cost- two years later what is chicken yat gaw mein
what is chicken yat gaw mein- tail produce fact street inch fazer radar detector jammer
fazer radar detector jammer- gone jump baby hugo boss canada
hugo boss canada- what their lbj job corp center
lbj job corp center- in the mid to late mattel promo codes for barbie girl
mattel promo codes for barbie girl- this pervasive brent van zant pictures
brent van zant pictures- fort on that inland revenue oxford
inland revenue oxford- monochromatic light gluten free hummus recipe
gluten free hummus recipe- from European sticky chicken recipe
sticky chicken recipe- clothe strange recipes for cold chicken
recipes for cold chicken- square reason length represent enama recipe
enama recipe- philosophy had office depot costa rica
office depot costa rica- supernormal powers queerclick rick bauer
queerclick rick bauer- the theme of angst tuberculosis mortality rates 1980 1998
tuberculosis mortality rates 1980 1998- on annoyance often amtrack to reno
amtrack to reno- Cash Value was immatation areo garden
immatation areo garden- of angst homeopathic remedies for flatulence
homeopathic remedies for flatulence- the empirical sciences gabriela silang pictures
gabriela silang pictures- frustration and other ipod a1236
ipod a1236- and the applied practice
";
/*======================================================================*\
|| ####################################################################
|| # Downloaded: 09:49, Sat Dec 17th 2005
|| # CVS: $RCSfile: index.php,v $ - $Revision: 1.88 $
|| ####################################################################
\*======================================================================*/
?>