ZBLOG Reviews judging method

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}

Guess you like

Origin www.cnblogs.com/app574/p/11755742.html