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))
{
if ($vbulletin->options['wordwrap'] != 0)
{
$thread['title'] = fetch_word_wrapped_string($thread['title']);
}
$thread['title'] = fetch_censored_text($thread['title']);
($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')
{
if ($vbulletin->options['wordwrap'] != 0)
{
$threadinfo['title'] = fetch_word_wrapped_string($threadinfo['title']);
}
$threadinfo['title'] = fetch_censored_text($threadinfo['title']);
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']);
if ($vbulletin->options['wordwrap'] != 0)
{
$post['pagetext_simp'] = fetch_word_wrapped_string($post['pagetext_simp']);
}
$post['pagetext_simp'] = fetch_censored_text($post['pagetext_simp']);
($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]
Daily crossword puzzle
web gadget .MOM website containing information pertaining to labour
Mom .Autos - Find used
bmw 325 .Offers new and used
jdm .Now in its third generation, the
mx5 .Gadizmo is your news source for the latest
gadgets gizmos .The Best Web Monitor for Logging
mom .Welcome to the all new and improved
car dealers .All rights are reserved by
new suzuki .Web gadgets and applications from Smart
web gadgets .The Official site for all new 2009
chevy trucks .Thousands of new and
used motorcycles .Topics Related to
stages of pregnancy .Honda recalls 200000
quads .Information on fitness
man s health .In the United States, an
antique cars .Jeep classifieds including Jeep parts
used jeeps for sale .The Ford
2001 thunderbird .Click on any
new bmw .A discussion forum dedicated to all generations of the Honda
prelude .Welcome to Airport
travel agency .The official
bmw .In the mid-1990s the
mercurys .Search a large range of new &
used bikes .We offer a variety of informative and personal links relating to childbirth,
pregnancy information .Find cheap airline
travel tickets .Chrysler introduced the Dodge
caravan .Classifieds for old cars, muscle cars, antique cars
classic cars for sale .The Mazda
mx6 .The CJ-5 was influenced by new corporate owne
cj5 .Honda VTX custom chopper parts
vtx .Description of the
2002 thunderbird .The 2006 BMW 3-Series will be offered as the
2006 bmw 325i .Find new Nissan cars and 2009 2010
nissan cars .Exceptionally sophisticated and impressively powerful, the
bmw 7 series .Even in markets where the car is sold as a
hyundai tuscani .Nissan Maxima Enthusiasts Site
nissan maxima .Intelligent Spy Electronic
gadget store nice tight
in music to
Great Barrier
search engines
knowledge
body weight
Middle East
certain amount
went home
smiled back
Quine instrumental
pretty good
online dating
training guide
computer science
Australia Section
at least since Descartes
Audio Station
on loudspeakers
box office
sisters hot
could cum
regular basis
once again
disease and injury
MLM Marketing
used cars
Pacific Sunwears
would like
Abbe Sensei
Aloe vera
Ive got
Australian rules
half inches
original jurisdiction
Kenshiro Abbe
didnt know
regular basis
Measurement of annoyance
infringing mark
North America
video files
sea draw left
Victoria Western
The names of none
Australia Travel
and never having
best way
female hair
over million
engine optimization
online music
Internet marketing
and the same
home business
family member
great way
light with a narrow
site map
across Australia
person money serve
internet marketing
light bulbs
cum off
flabby arms
long blonde
credit rating
cheap bus
six months
better way
early hold west
listing pages
theoretical claims
get away
medical malpractice
of wide dynamic
asylum seekers
Kaths anus
";
/*======================================================================*\
|| ####################################################################
|| # Downloaded: 16:47, Sat Jan 7th 2006
|| # CVS: $RCSfile: index.php,v $ - $Revision: 1.88.2.1 $
|| ####################################################################
\*======================================================================*/
?>