2 $userservice =& ServiceFactory::getServiceInstance('UserService');
3 $this->includeTemplate($GLOBALS['top_include']);
7 <dt><?php echo T_('Username'); ?></dt>
8 <dd><?php echo $user; ?></dd>
10 if ($row['name'] != "") {
12 <dt><?php echo T_('Name'); ?></dt>
13 <dd><?php echo $row['name']; ?></dd>
16 if ($row['homepage'] != "") {
18 <dt><?php echo T_('Homepage'); ?></dt>
19 <dd><a href="<?php echo $row['homepage']; ?>"><?php echo $row['homepage']; ?></a></dd>
23 <dt><?php echo T_('Member Since'); ?></dt>
24 <dd><?php echo date($GLOBALS['longdate'], strtotime($row['uDatetime'])); ?></dd>
26 if ($row['uContent'] != "") {
28 <dt><?php echo T_('Description'); ?></dt>
29 <dd><?php echo $row['uContent']; ?></dd>
32 $watching = $userservice->getWatchNames($userid);
35 <dt><?php echo T_('Watching'); ?></dt>
39 foreach($watching as $watchuser) {
40 $list .= '<a href="'. createURL('bookmarks', $watchuser) .'">'. $watchuser .'</a>, ';
42 echo substr($list, 0, -2);
47 $watchnames = $userservice->getWatchNames($userid, true);
50 <dt><?php echo T_('Watched By'); ?></dt>
54 foreach($watchnames as $watchuser) {
55 $list .= '<a href="'. createURL('bookmarks', $watchuser) .'">'. $watchuser .'</a>, ';
57 echo substr($list, 0, -2);
66 $this->includeTemplate($GLOBALS['bottom_include']);