/*
# 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 Groupee, Inc., 2005.
# For more info on UBB.threads and other Groupee Services
# visit http://www.groupee.com/ & http://www.ubbcentral.com/
# Program Author: Rick Baker.
# File Version 6.5.5
# You may not distribute this program in any manner, modified or otherwise,
# without the express, written written consent from Groupee, Inc..
# Note: if you modify ANY code within UBB.threads, we at Groupee, Inc.
# 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","cat");
$myhome = get_input("myhome","get","int");
// --------------------------------
// require the proper language file
require "languages/{$_SESSION['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();
?>