/*
# UBB.threads, Version 6
# Official Release Date for UBB.threads Version6: 06/05/2002
# First version of UBB.threads created July 30, 1996 (by Rick Baker).
# This entire program is copyright Infopop Corporation, 2002.
# For more info on the UBB.threads and other Infopop
# Products/Services, visit: http://www.infopop.com
# Program Author: Rick Baker.
# File Version 6.5.1.1
# You may not distribute this program in any manner, modified or otherwise,
# without the express, written written consent from Infopop Corporation.
# Note: if you modify ANY code within UBB.threads, we at Infopop Corporation
# cannot offer you support-- thus modify at your own peril :)
# ---------------------------------------------------------------------------
*/
// Require the library
require ("./includes/main.inc.php");
// -------------
// Get the input
$Cat = get_input("Cat","get");
$myhome = get_input("myhome","get");
$form = get_input("from","get");
// --------------------------------
// require the proper language file
require "languages/{$myprefs['language']}/login.php";
// Send a html header
$html = new html;
// Generate any content island feeds for recent visitors
define('visitors','1');
define('CI_BUILDER','1');
include("ci_builder.php");
// ----------------------------------------------------------------
// If we already have a username and password, go to the start page
if ( (isset(${$config['cookieprefix']."w3t_myid"}) && isset(${$config['cookieprefix']."w3t_mysess"})) && (${$config['cookieprefix']."w3t_myid"} != "deleted") ){
$html -> start_page($Cat,'0','0','0',$myhome);
exit;
}
// ----------------------------------
// Otherwise, give them the login box
$html -> send_header($ubbt_lang['LOGIN_PROMPT'],$Cat,0,0,0,0);
if ($config['tracking'] == "cookies") {
$rememberme = " {$ubbt_lang['REMEMBER_ME']}
";
}
// ---------------------
// Grab the tablewrapper
list($tbopen,$tbclose) = $html -> table_wrapper();
if (!$debug) {
include ("$thispath/templates/$tempstyle/login.tmpl");
}
// Send the footer
$html -> send_footer();
?>