|
phpcms实现列表页显示文字来源及点击数量的方法
复制代码代码如下:
{pc:content action="lists" catid="$catid" num="25" order="id DESC" page="$page" moreinfo="1"}
{loop $data $r}
{php list($copyfrom) = explode('|', $r['copyfrom',)}
[*,
[url={$r},{$r[title,}
{str_cut($r[description,,300)}...[url={$r},[详细,
发表于:{$copyfrom} 点击:{$views}
{/loop}
{$pages}
{/pc} |
|