0)) {
echo "
" . $SystemDisableMessage . "";
echo "" . $SystemDisableMessage . "\n";
die();
}
if (!isset ($_SESSION))
session_start();
include "secure.php";
if (!isset ($_SESSION['IP']))
$_SESSION['IP'] = $_SERVER['REMOTE_ADDR'];
if (isset ($_SESSION['UID']) && ($_SESSION['IP'] <> $_SERVER['REMOTE_ADDR'])) {
session_destroy();
header("Location: " . $url . $ENGEL_ROOT);
}
include "UserCVS.php";
// update LASTlogin
if (isset ($_SESSION['UID'])) {
$SQLlastLogIn = "UPDATE `User` SET " .
"`lastLogIn` = '" . time() . "'" .
" WHERE `UID` = '" . $_SESSION['UID'] . "' LIMIT 1;";
mysql_query($SQLlastLogIn, $con);
}
?>