Location: PHPKode > projects > WorkOrder TS > workorder-ts/include/logoff.php
<?PHP if( isset($_GET['SSID']) ) { $inc_dir='./';require $inc_dir.'config-user.inc.php';require $inc_dir.'conn-string-user.inc.php';require $inc_dir.'workorder_function_general.inc.php';require_once $inc_dir.'workorder_function_isuserauthenticated.inc.php';$CONF=_OFB10($inc_dir);$_Il6fL=Null;$_jJoO0=Null;$SSID=mysql_real_escape_string($_GET['SSID']);if( _L00CR($SSID,$inc_dir,$_Il6fL,$CONF)=="FAILED" ) { $_Ilo8J=mysql_real_escape_string($_SERVER['PHP_SELF']);$_IlC1t=$_SERVER['QUERY_STRING'];$TargetQueryPass=str_replace('=','\=',$_IlC1t);echo($_Ilo8J);echo("<br>");echo($_IlC1t);die('<html>    <head>    <meta http-equiv="refresh" content="0; url=../login.php">     </head>     <body>    Connecting ... now    </body>    </html>');} $_jJCfj=_OFOEF($inc_dir,$CONF['TableNameUsersLogin'],"Login_ssid='$SSID' LIMIT 1" );if($_jJCfj==True ) { $_jJoO0='Logout successful, returning to login....';} else { $_jJoO0='Logout failed, returning to login....';} die('<html>   <head>   <meta http-equiv="refresh" content="1; url=../login.php">    </head>    <body>   '.$_jJoO0.'   </body>   </html>');} else { die('Please Login before you can use this form');} ?>
Return current item: WorkOrder TS