session_start(); include("config.php"); include("header.php"); $menu_type = "normal"; include("menu.php"); if(isset($_SESSION['name'])){ $query = mysql_query("SELECT * FROM users WHERE name='".$_SESSION['name']."'"); $row = mysql_fetch_assoc($query); $hcDays = $row['clubDays']; $sex = $row['sex']; $figure = $row['figure']; ?> if($_SERVER['REMOTE_ADDR'] == "127.0.0.1"){ $IP = "127.0.0.1"; }else{ $IP = "87.210.125.64"; } ?>