session_start(); include "./../info.php"; require $path."/cgi/profile.php"; if(isset($_SESSION['user5237Id'])){ $user_id = $_SESSION['user5237Id']; //echo $user_id; $array = getSomeInfo($user_id); // get the user information, including user's privacy. // privacy=2 can be viewed by every one, privacy=1 can be viewed by friends only $education=$array["education"]; $year=$array["year"]; $month=$array["month"]; $day=$array["day"]; $profile_privacy=$array["profile_privacy"]; $blog_privacy=$array["blog_privacy"]; $news_privacy=$array["news_privacy"]; $picture_privacy=$array["picture_privacy"]; //echo $year; } ?>
| include "$include_path/left_menu.include"; ?> | - |
if(!isset($_SESSION['user5237Id'])){
?>
You are not logged in.You should log in to edit your profile. } else{ // get the user name, from user name you can get the user id. ?>
|
. | include "$include_path/right.include"; ?> | |||||||||||||
| include "$include_path/bottom.include"; ?> | |||||||||||||||||