2 $CALL_ME_FUNCTIONS["userview"] = "gwvpmini_UserViewCallMe";
6 function gwvpmini_UserViewCallMe()
8 global $user_view_call;
10 error_log("in admin callme");
11 if(isset($_REQUEST["q"])) {
12 $query = $_REQUEST["q"];
13 $qspl = explode("/", $query);
15 if($qspl[0] == "user") {
17 $user_view_call = $qspl[1];
18 if(!gwvpmini_GetUserId($user_view_call)) {
19 gwvpmini_SendMessage("error", "No such user, $user_view_call");
22 return "gwvpmini_UserViewPage";
34 function gwvpmini_UserViewPage()
36 global $user_view_call, $MENU_ITEMS, $BASE_URL;
38 $MENU_ITEMS["40thisuser"]["text"] = "$user_view_call";
39 $MENU_ITEMS["40thisuser"]["link"] = "$BASE_URL/user/$user_view_call";
41 gwvpmini_goMainPage("gwvpmini_UserViewPageBody");
44 function gwvpmini_UserViewPageBody()
46 global $user_view_call;
48 echo "Want to see $user_view_call eh?";