* @package user * @version $Id: index.html.php 3830 2016-05-18 09:34:17Z liugang $ * @link http://www.zentao.net */ ?> id}&period=today"), $lang->action->dynamic->today); echo html::a(inLink('dynamic', "userID={$user->id}&period=yesterday"), $lang->action->dynamic->yesterday); echo html::a(inLink('dynamic', "userID={$user->id}&period=twodaysago"), $lang->action->dynamic->twoDaysAgo); echo html::a(inLink('dynamic', "userID={$user->id}&period=thisweek"), $lang->action->dynamic->thisWeek); echo html::a(inLink('dynamic', "userID={$user->id}&period=lastweek"), $lang->action->dynamic->lastWeek); echo html::a(inLink('dynamic', "userID={$user->id}&period=thismonth"), $lang->action->dynamic->thisMonth); echo html::a(inLink('dynamic', "userID={$user->id}&period=lastmonth"), $lang->action->dynamic->lastMonth); echo html::a(inLink('dynamic', "userID={$user->id}&period=all"), $lang->action->dynamic->all); ?> more;?> id}&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}&pageID={$pager->pageID}"); ?>'> actor);?> actionLabel;?> action,") === false):?> objectLabel;?> objectName ?> date ?> originalDate) + 24 * 3600); $lastDate = substr($action->originalDate, 0, 10); $hasPre = $this->action->hasPreOrNext($firstDate, 'pre'); $hasNext = $this->action->hasPreOrNext($lastDate, 'next'); $preLink = $hasPre ? inlink('dynamic', "userID={$user->id}&type=$type&recTotal={$pager->recTotal}&date=" . strtotime($firstDate) . '&direction=pre') : 'javascript:;'; $nextLink = $hasNext ? inlink('dynamic', "userID={$user->id}&type=$type&recTotal={$pager->recTotal}&date=" . strtotime($lastDate) . '&direction=next') : 'javascript:;'; ?> '> '>