session_start();
include "./../info.php";
require $path."/cgi/profile.php";
// first thing in this page make the generated random numbers invalid
if(isset($_SESSION['user5237Id'])){
// get the user name, from user name you can get the user id.
$user_id = $_SESSION['user5237Id'];
$array = getExtendedProfile($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
$about=$array["about"];
$what_like=$array["what_like"];
$interest=$array["interest"];
$book=$array["book"];
$movie=$array["movie"];
$tv=$array["tv"];
$people=$array["people"];
$celebrity=$array["celebrity"];
$money_or_science=$array["money_or_science"];
$politic=$array["politic"];
$education=$array["education"];
$job=$array["job"];
$line=$array["line"];
$music=$array["music"];
$age=$array["age"];
$first_name=$array["first_name"];
$last_name=$array["last_name"];
$city=$array["city"];
$province=$array["province"];
$country=$array["country"];
$privacy=$array["privacy"];
$last_logged_in=$array["last_logged_in"];
$counter=$array["counter"];
$user_id=$array["user_id"];
//$middle_name=$array["middle_name"];
$address=$array["address"];
$postal_code=$array["postal_code"];
$home_phone=$array["home_phone"];
$work_phone=$array["work_phone"];
$email=$array["email"];
$year=$array["year"];
$month=$array["month"];
$day=$array["day"];
?>
Profile Update
Edit your profile and then click on the save button to save your updates.
You can talk about yourself, your interests, things you like or don't like, people you like to meet, your favorite
movies, etc. You can upload new pictures or edit your profile picture using the menu to your left.