2 $sf = new ServiceFactory();
3 $userservice =& $sf->getServiceInstance('UserService');
4 $this->includeTemplate($GLOBALS['top_include']);
8 <dt><?php echo T_('Username'); ?></dt>
9 <dd><?php echo $user; ?></dd>
11 if ($row['name'] != "") {
13 <dt><?php echo T_('Name'); ?></dt>
14 <dd><?php echo $row['name']; ?></dd>
17 if ($row['homepage'] != "") {
19 <dt><?php echo T_('Homepage'); ?></dt>
20 <dd><a href="<?php echo $row['homepage']; ?>"><?php echo $row['homepage']; ?></a></dd>
24 <dt><?php echo T_('Member Since'); ?></dt>
25 <dd><?php echo date($GLOBALS['longdate'], strtotime($row['uDatetime'])); ?></dd>
27 if ($row['uContent'] != "") {
29 <dt><?php echo T_('Description'); ?></dt>
30 <dd><?php echo $row['uContent']; ?></dd>
33 $watching = $userservice->getWatchNames($userid);
36 <dt><?php echo T_('Watching'); ?></dt>
40 foreach($watching as $watchuser) {
41 $list .= '<a href="'. createURL('bookmarks', $watchuser) .'">'. $watchuser .'</a>, ';
43 echo substr($list, 0, -2);
48 $watchnames = $userservice->getWatchNames($userid, true);
51 <dt><?php echo T_('Watched By'); ?></dt>
55 foreach($watchnames as $watchuser) {
56 $list .= '<a href="'. createURL('bookmarks', $watchuser) .'">'. $watchuser .'</a>, ';
58 echo substr($list, 0, -2);
67 $this->includeTemplate($GLOBALS['bottom_include']);