user page commits
authorPaul J R <me@pjr.cc>
Mon, 24 Sep 2012 00:29:02 +0000 (10:29 +1000)
committerPaul J R <me@pjr.cc>
Mon, 24 Sep 2012 00:29:02 +0000 (10:29 +1000)
gwvpmini/gwvpmini_user.php

index 462d2a5..5def0ab 100644 (file)
@@ -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));\r
+       //error_log("show view of user with $user_view_call: ". print_r($dets, true));\r
 
        echo "<h2>".$dets["fullname"]."</h2><br>";
        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