From aaf0ad00ae0539a90f96458f18e01fb294add456 Mon Sep 17 00:00:00 2001 From: Paul J R Date: Mon, 24 Sep 2012 10:29:02 +1000 Subject: [PATCH] user page commits --- gwvpmini/gwvpmini_user.php | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/gwvpmini/gwvpmini_user.php b/gwvpmini/gwvpmini_user.php index 462d2a5..5def0ab 100644 --- a/gwvpmini/gwvpmini_user.php +++ b/gwvpmini/gwvpmini_user.php @@ -61,10 +61,17 @@ function gwvpmini_UserViewPageBody() $dets = gwvpmini_getUser($user_view_call); - error_log("show view of user with $user_view_call: ". print_r($dets, true)); + //error_log("show view of user with $user_view_call: ". print_r($dets, true)); echo "

".$dets["fullname"]."


"; echo gwvpmini_HtmlGravatar($dets["email"],80); + + $isme = false; + if(isset($_SESSION["id"])) { + if($_SESSION["id"] == $dets["id"]) { + echo "This is your page"; + } + } } ?> \ No newline at end of file -- 1.7.0.4