'; } } else { // $user_id == 0 echo Global_19; } } else { echo '

'.Global_17.'
'; } } if($_REQUEST['id'] == "logout"){ // Sprachänderungen werden übernommen if ($_SESSION['profile']['language']=='DE'){ $sql="UPDATE user SET lang='DE' WHERE user_id='".mysql_real_escape_string ($_SESSION['profile']['id'])."'"; $query = mysql_query($sql); } else if ($_SESSION['profile']['language']=='EN'){ $sql="UPDATE user SET lang='EN' WHERE user_id='".mysql_real_escape_string ($_SESSION['profile']['id'])."'"; $query = mysql_query($sql); } $_SESSION['profile']['loggedin'] = 0; $_SESSION['profile'] = ""; unset($_SESSION); unset($_SESSION ['values']); unset($_SESSION ['profile']); session_destroy(); echo" "; exit; } ?>