2004-09-10 00:14:37 +00:00
|
|
|
<?php
|
|
|
|
require_once("../inc/util.inc");
|
|
|
|
require_once("../inc/userw.inc");
|
|
|
|
require_once("../inc/db.inc");
|
|
|
|
require_once("../inc/wap.inc");
|
2007-07-06 17:26:26 +00:00
|
|
|
require_once("../inc/cache.inc");
|
|
|
|
|
2005-02-15 22:29:32 +00:00
|
|
|
$userid = get_int('id');
|
2007-07-06 17:26:26 +00:00
|
|
|
|
|
|
|
$cache_args = "userid=".$userid;
|
|
|
|
start_cache(USER_PAGE_TTL, $cache_args);
|
|
|
|
|
2005-02-15 22:29:32 +00:00
|
|
|
db_init();
|
2007-07-06 17:26:26 +00:00
|
|
|
|
2005-02-15 22:29:32 +00:00
|
|
|
$user = lookup_user_id($userid);
|
|
|
|
if (!$user) {
|
|
|
|
error_page("No such user");
|
2004-09-10 00:14:37 +00:00
|
|
|
}
|
|
|
|
show_user_wap($user);
|
2007-07-06 17:26:26 +00:00
|
|
|
|
|
|
|
end_cache(USER_PAGE_TTL, $cache_args);
|
2004-09-10 00:14:37 +00:00
|
|
|
?>
|