亚洲免费乱码视频,日韩 欧美 国产 动漫 一区,97在线观看免费视频播国产,中文字幕亚洲图片

      1. <legend id="ppnor"></legend>

      2. 
        
        <sup id="ppnor"><input id="ppnor"></input></sup>
        <s id="ppnor"></s>

        z-blog根據(jù)不同留言數(shù)顯示不同文字

        字號:


            如還沒人留言就顯示“Add comments”,只有一條留言顯示“1 comment” ,多條留言顯示“n comments”;然后在CSS中定義.post-comment就可以了(當然你也可以改成其它)。可用于b_article-multi.html 摘要文章模板,b_article-istop.html 置頂文章模板,b_article-single.html 日志頁文章模板這幾個模板文件中。
            1. 英文顯示版 <span>
            <a id="p_comments<#article/id#>" href="<#article/url#>#comments"><#article/commnums#> comments</a>
            <script type="text/javascript">if(<#article/commnums#>==0){document.getElementById("p_comments<#article/id#>").innerHTML="Add comments"};if(<#article/commnums#>==1){document.getElementById("p_comments<#article/id#>").innerHTML="1 comment"}</script>
            </span>2. 中文顯示版 <span>
            <a id="p_comments<#article/id#>" href="<#article/url#>#comments"><#article/commnums#> 條評論了</a>
            <script type="text/javascript">if(<#article/commnums#>==0){document.getElementById("p_comments<#article/id#>").innerHTML="發(fā)表評論"}</script>
            </span>