随机文章
{php}
$articles=$zbp->GetArticleList(
array('*'),
array(array('=','log_Type',0),
array('=','log_Status',0)),
array('rand()'=>' '),
array(5),
null
);
{/php}
{foreach $articles as $article}
rel="bookmark" title="{$article.Title}">
/";$content = $article->Content;
preg_match_all($pattern,$content,$matchContent);
if(isset($matchContent[1][0]))
$clsjtp=$matchContent[1][0];
else
$clsjtp="$host/zb_users/theme/$theme/style/img/suiji/$clsjtp.jpg";{/php}{$clsjtp}"class="thumb" width="60" height="60" title="{$article.Title}"
alt="{$article.Title}" />
{$article.Title}
{$article.Time('Y-m-d')}
阅读({$article.ViewNums})
{/foreach}