/* Decoded by unphp.net */ check($_POST["captcha_code"])!=false){$vnddkytc="result";${${"GLOBALS"}["xttvskcnrrmy"]}=mysql_query("SELECT password FROM users WHERE username = '".mysql_real_escape_string(trim($_POST["username"]))."' LIMIT 1;");if(${$vnddkytc}){${${"GLOBALS"}["jmpnpmwsnz"]}=mysql_fetch_array(${${"GLOBALS"}["xttvskcnrrmy"]});if(${${"GLOBALS"}["jmpnpmwsnz"]}["password"]==hash("sha512",trim($_POST["password"])."|".trim($_POST["password"]))){$_SESSION["username"]=trim($_POST["username"]);$_SESSION["password"]=hash("sha512",trim($_POST["password"])."|".trim($_POST["password"]));${${"GLOBALS"}["fcyrirbae"]}=true;}else session_unset();}else session_unset();}else session_unset();}if(${$fmjxoy}==false){require_once"../include/tpl_login.php";print${${"GLOBALS"}["psnfmcpuq"]};}else header("Location: ../index.php");function IsCorrectKey($key){$nqksupxj="correctkey";${"GLOBALS"}["ilwscmt"]="RETURN";${${"GLOBALS"}["issluwor"]}=FALSE;$gtugrx="key";$fmfyegjp="correctkey";${$nqksupxj}=mysql_fetch_array(mysql_query("SELECT `key` FROM config WHERE value = 'loginpagekey';"));if(${$gtugrx}==${$fmfyegjp}["key"])${${"GLOBALS"}["ilwscmt"]}=TRUE;return${${"GLOBALS"}["issluwor"]};} ?>