ZBLOG number of comments on the article page judgment code as follows:
PHP
{if $article.CommNums==0} 暂无留言 {elseif $article.CommNums==1} 仅有1条留言 {else} 已有{$article.CommNums}条留言 {/if}
ZBLOG number of comments on the article page judgment code as follows:
{if $article.CommNums==0} 暂无留言 {elseif $article.CommNums==1} 仅有1条留言 {else} 已有{$article.CommNums}条留言 {/if}