{$article.Title}
{php}
$post_info = array(
'user' => ''.$article->Author->StaticName.'',
'date' => tpure_TimeAgo($article->Time(),$zbp->Config('tpure')->PostTIMESTYLE),
'cate' => ''.$article->Category->Name.'',
'view' => $article->ViewNums >= 10000 ? round($article->ViewNums / 10000,2).$lang['tpure']['viewunit']:$article->ViewNums,
'cmt' => $article->CommNums,
'edit' => ''.$lang['tpure']['edit'].'',
'del' => ''.$lang['tpure']['del'].'',
);
$article_info = json_decode($zbp->Config('tpure')->PostARTICLEINFO,true);
if(count((array)$article_info)){
foreach($article_info as $key => $info){
if($info == '1'){
if($user->Level == '1' && isset($post_info[$key])){
echo ''.$post_info[$key].'';
}else{
if($key == 'edit' || $key == 'del'){
echo '';
}else{
echo ''.$post_info[$key].'';
}
}
}
}
}else{
echo ''.$article->Author->StaticName.'
'.tpure_TimeAgo($article->Time(),$zbp->Config('tpure')->PostTIMESTYLE).'
'.$article->ViewNums.'';
}
{/php}
{$article.Content}
{if count($article.Tags)>0}
{/if}
{if $zbp->Config('tpure')->PostSHARE}
{$zbp->Config('tpure')->PostSHARE}
{/if}