getServiceInstance('UserService'); $bookmarkservice =& $sf->getServiceInstance('BookmarkService'); $logged_on_userid = $userservice->getCurrentUserId(); $this->includeTemplate($GLOBALS['top_include']); # define variables if (!isset($currenttag)) { $currenttag = NULL; } if (!isset($user)) { $user = NULL; } if (!isset($userid)) { $userid = NULL; } include 'search.inc.php'; if (count($bookmarks) > 0) { ?>
'. $bfirst .' / '. $bprev .' / '. $bnext .' / '. $blast .' / '. sprintf(T_('Page %d of %d'), $page, $totalpages) .'
'; } else { ?>.
includeTemplate('sidebar.tpl'); $this->includeTemplate($GLOBALS['bottom_include']); ?>