From: Paul J R Date: Mon, 24 Sep 2012 00:29:02 +0000 (+1000) Subject: user page commits X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=aaf0ad00ae0539a90f96458f18e01fb294add456;p=gwvp-mini.git user page commits --- 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