. */ if(!defined("SECURECHECK")) {die("Error: The file can not be executed alone");} $error=''; if($serverstatus===false) { $debuglog=$ts3->getDebugLog(); foreach($debuglog AS $value) { $error .= $value."
"; } } elseif($hoststatus===false AND isset($_POST['sendloginhost'])) { $error .= $lang['loginerror']."
"; } elseif($hoststatus===true AND $loginstatus===false AND isset($_POST['sendlogin'])) { $debuglog=$ts3->getDebugLog(); foreach($debuglog AS $value) { $error .= $value."
"; } } elseif($hoststatus===true AND $loginstatus===true AND isset($_POST['sendlogin'])) { header("Location: index.php?site=server"); exit; } elseif($hoststatus===true AND $loginstatus===true) { $error .= $lang['alreadylogin']."
"; } if(!empty($error)) { $smarty->assign("error", $error); } ?>