天天看點

phpcms v9内容頁調用标簽

标題

釋出日期

點選量

<span>點選:<span id="hits"></span>次</span>(需加載{app_path}jquery.min.js)
<script language="JavaScript" src="{APP_PATH}api.php?op=count&id={$id}&modelid={$modelid}"></script>
           

相關文章

{pc:content action="relation" relation="$relation" id="$id" catid="$catid" num="5" keywords="$rs[keywords]"}
{if $data}
{loop $data $r}
<a href="{$r[url]}" target="_blank">{$r[title]}</a>{date('Y-m-d',$r[inputtime])}
{/loop}
{/if}
{/pc}{$inputtime}
           

頻道排行

{pc:content  action="hits" catid="$catid" num="10" order="views DESC" cache="3600"}
{loop $data $r}
<a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 28, '')}</a>
{/loop}
{/pc}
           

目前位置

内容分頁

目前欄目

文章内容

文章來源

上一篇

下一篇

文章投票

文章評論

{if $allow_comment}
<iframe src="{APP_PATH}index.php?m=comment&c=index&a=init&commentid={id_encode("content_$catid",$id,$siteid)}&iframe=1" width="100%" height="100%" id="comment_iframe" frameborder="0" scrolling="no"></iframe>
<h5>評論排行</h5>
{pc:comment action="bang" siteid="$siteid" cache="3600"}
{loop $data $r}
<a href="{$r[url]}" target="_blank">{str_cut($r[title], 40)}</a><span>({$r[total]})</span>
{/loop}
{/pc}
{/if}
           

加入收藏

檔案/多檔案下載下傳位址  【$自定義字段名】

{loop $downfile $r}
<li>{$r}</li>
{/loop}
{loop $downfiles $r}
<li>{$r}</li>
{/loop}