$slauthor = isset ($_GET['author']) ? addslashes($_GET['author']) : '';
if(!empty($slauthor)){
$sqlSegment = "and author=$slauthor order by date desc";
$sta_cache = $CACHE->readCache('sta');
$lognum = $Log_Model->getLogNum('n', $sqlSegment);
$pageurl = "./?author=$slauthor&page=";
$Log_Model = new Log_Model();
$logs = $Log_Model->getLogsForHome($sqlSegment, $page, $index_lognum);
$page_url = pagination($lognum, $index_lognum, $page, $pageurl);
}
End
温馨提示:如果您对本文有疑问,请在本页留言即可!!!
留言/评论:◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。