include ("./inc/config.php"); include ("./inc/db.php"); include ("./inc/funktion_lang.php"); session_start(); include ("./inc/secure.php"); /*if ( (!IsSet($_SESSION['UID'])) && (strstr ($_SERVER['PHP_SELF'], "nonpublic") !="" ) ) { header("Location: https://".$_SERVER['HTTP_HOST'].$ENGEL_ROOT); exit (); } // Ende Rechte f. Nonpublic'*/ if( !isset($_SESSION['IP'])) $_SESSION['IP'] = $_SERVER['REMOTE_ADDR']; if (IsSet($_SESSION['UID']) and ($_SESSION['IP'] <> $_SERVER['REMOTE_ADDR'])) { header("Location: https://".$_SERVER['HTTP_HOST'].$ENGEL_ROOT); } include ("./inc/UserCVS.php"); //UPdate LASTlogin if( isset($_SESSION['UID'])) { $SQLlastLogIn = "UPDATE `User` SET ". "`lastLogIn` = '". gmdate("Y-m-j H:i:s", time()). "'". " WHERE `UID` = '". $_SESSION['UID']. "' LIMIT 1;"; mysql_query ($SQLlastLogIn, $con); } echo "\n"; ?>
echo "
|