WARNING: You installation is not secure, please delete the 'setup' directory"); exit; } include("../inc/config.php"); include("../inc/database.php"); include("../inc/isoperator.php"); if($ADMIN_isoperator == 1){ header("Location: ".$URL_maindir."/cp/index.php"); exit; } if(isset($_POST["submit"])){ $LOGIN_username = $_POST["username"]; $LOGIN_password = $_POST["password"]; $LOGIN_password = md5($LOGIN_password); $result = DATABASE_query("SELECT * FROM ".$DB_prefix."operators WHERE operator='$LOGIN_username' AND password='$LOGIN_password'"); if(DATABASE_fetch($result)){ $time = time() + 60*60*24*7; setcookie("HelpCenterLiveOperator", $LOGIN_username, $time, $URL_dir, $URL_site, $URL_secure); setcookie("HelpCenterLivePassword", $LOGIN_password, $time, $URL_dir, $URL_site, $URL_secure); header("Location: ".$URL_maindir."/cp/index.php"); exit; }else{ $LOGIN_error = "Username or password incorrect\n"; } } ?> <?php echo($COMPANY_name); ?> Help Desk System
image  
image
Username
Password
 
 
 
Powered by Help Center Live