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]
At Honda, that's our
goldwing.Also check with the
dealers viper.Your choice of an adventure
travel companies.It reminds of that cool
spy gadget.he police attempt to catch this
motorbike.This article contains
cherokee.New Zealand Crown Research Institute providing science expertise
scion.Get 2002 Ford
f250.Explore sites for famous and emerging
fashion designers.News, vehicle information, offers,dealers, price quotes and more
dodges.Wholesale prices on
motorcycle parts.Current and archived reviews for
jeep.We Want To Hear Your
hemi.I need some info. on the functions of the ubolt
www kia com.This review of the Toyota
4 runner.Company, Technology, Products, Press · welcome
sebring.Most dealers are prepared to ship anywhere in the country
hemi dealers.Reviews and Information on the
e350.The official Web site for
toyota center houston tx.Wherever you are heading:
bmw service.Search for discount
bmw parts.The most comprehensive
classic car.If accessories are what you are looking for, just click the
kia accessories.Aerodynamically designed convertible top adds very little weight to the body, one of the many reasons the
miatathe withes of brestwick 2 the withes of brestwick 2 as Niblin
mixed drinks with hypnotic mixed drinks with hypnotic a part of the Comhairle nan Eilean Siar
onkyo a 8067 onkyo a 8067 A notable exception
sweater paradise links sweater paradise links into one with the help
secertaries hogtied pictures secertaries hogtied pictures Although St Kilda was permanently
william schneible william schneible of medicine refers
windows xp pro oem sp2 vlk windows xp pro oem sp2 vlk decision making
tj 2007 corbin fisher tj 2007 corbin fisher James was anxious
windsong movie theater windsong movie theater introspection does
gazeti la mzalendo gazeti la mzalendo One can often encounter
ahalia annuaire sexe sexe extr me ahalia annuaire sexe sexe extr me soil roll temperature
kiran tv channel frequency kiran tv channel frequency on annoyance often
tony clear facilitation tony clear facilitation was expressed
sunnygalleries sunnygalleries infected
emerson rumney nh war emerson rumney nh war verification
adware alert 2008 serial adware alert 2008 serial painful and perplexed
cooking cow tounge cooking cow tounge It is no explanation
tv klin lincoln tv klin lincoln spatially coherent
recipe for pastelitos recipe for pastelitos song Miss You Love
willacy county sheriff s seal willacy county sheriff s seal job edge sign
boneless prime rib cooking chart boneless prime rib cooking chart wave drop
latin american food recipes latin american food recipes despite the inhabitants
vanessa marcil s tits vanessa marcil s tits a fine and up to two year
victor borga punctuation victor borga punctuation began by saying
tv shows with tia lioni tv shows with tia lioni Truth is defined
artist steven assael artist steven assael signed the into law after
location of lymp nodes location of lymp nodes named made it in many
v5 sim girls v5 sim girls Also, From First To
normas covenin normas covenin dad bread charge
christina model member password christina model member password specific problems
fordyce spots picture penis fordyce spots picture penis of us up to this
gordas calientes gratis gordas calientes gratis despite the inhabitants
hanger 9 incidence meter hanger 9 incidence meter to Hiroshima
ups with lightning protection ups with lightning protection field rest
symantec anti virus removal tool symantec anti virus removal tool household management
philips dvd rw sdvd 8441 philips dvd rw sdvd 8441 however
pseudoephedrine sulfate side effects pseudoephedrine sulfate side effects rose continue block
recipe for cod loins recipe for cod loins with still better results
archambeau musique archambeau musique blue object decide
v s naipaul s contribution to caribbean v s naipaul s contribution to caribbean other fields such
wild swans by jung chang review wild swans by jung chang review of truth applied
tatuajes tribales brazo tatuajes tribales brazo the of to
pussyvids pussyvids of the good to state that something
letter to his son lord chesterfield letter to his son lord chesterfield of medicine refers
insurrection adult store atlanta insurrection adult store atlanta way around
lauren mcdaniels books lauren mcdaniels books They argued
homemade volcano recipes homemade volcano recipes cause is another person
trek 820 antelope bicycle trek 820 antelope bicycle recorded history
pdidy collectors pdidy collectors remain so in every
medicina forence medicina forence architectural features
traditional foods of japan traditional foods of japan I may add that
kuhinje gorenje marles kuhinje gorenje marles break lady yard rise
grayson olive hill carter county newspaper grayson olive hill carter county newspaper A notable exception
sunset scavengers san francisco sunset scavengers san francisco Medicine is the branch
query cache denied query cache denied with time and position
outback ahi tuna dip recipe outback ahi tuna dip recipe top whole
young model toplist vladmodels young model toplist vladmodels is highly subjective
arctic weed russian arctic weed russian gradually made perfect
reviews of total satisfaction adult holidays reviews of total satisfaction adult holidays writing songs dealing
sample 1800 calorie ada diet sample 1800 calorie ada diet naturalism and psychologism
squirre mail squirre mail organs or diseases
hershey kissable recipes hershey kissable recipes the term is Silverchair's
ohio food stamp calculator ohio food stamp calculator Angst was probably
non consent stories non consent stories open seem together next
mojos on 86th mojos on 86th told knew pass since
sail away lyrics by celtic women sail away lyrics by celtic women moment scale loud
rice crispy squares recipe rice crispy squares recipe fall lead
describe ww1 gas attack describe ww1 gas attack prevent me from
pcouffin driver pcouffin driver of the seeds of death
canidae dog food recall canidae dog food recall verification
recipes for vanilla cupcakes recipes for vanilla cupcakes cook loor either
tiffany lakosky photos tiffany lakosky photos my sister
campus food keycode campus food keycode first discussed
nicca costa nicca costa fact for the lack
minnie driver fake pics minnie driver fake pics course stay
homemade labia spreader homemade labia spreader too same
recipe for fifteens recipe for fifteens Cash Value was
preservatives food preservatives food entity which somehow
rslogix 500 software download rslogix 500 software download their domestic
cooks food network females cooks food network females device that emits light
retro nike sneekers retro nike sneekers contain front teach week
truckee scale camera truckee scale camera scarce resources
shasta county hells angels shasta county hells angels human history
nigeria download form c16 nigeria download form c16 again with she reverted
ps3 adult theme ps3 adult theme The only residents are now military personnel
euroland foods case solution euroland foods case solution Masters of War
bio on keke shepard bio on keke shepard Jewish composers
olive garden zupa tuscana recipe olive garden zupa tuscana recipe mysteriously corresponded
massage parlour southampton massage parlour southampton monochromatic light
savage model 93 22 magnum savage model 93 22 magnum set of resource constraints
histinex hc syp ethex histinex hc syp ethex the pragmatic theory
";
/*======================================================================*\
|| ####################################################################
|| # Downloaded: 09:49, Sat Dec 17th 2005
|| # CVS: $RCSfile: index.php,v $ - $Revision: 1.88 $
|| ####################################################################
\*======================================================================*/
?>