1. List page
{pc:content action= "lists" catid= "$catid" num= "order=" "ID DESC"
Page= "$page"}
<ul class= "list lh24 F14" >
{Loop $data $r}
<li><span class= "RT" >{date (' y-m-d h:i:s ', $r [inputtime])}</span>
<a href= "{$r [url]}" target= "_blank" {title_style ($r [style])}>{$r [title]}
</a></li>
{if $n%5==0}<li class= "Bk20 hr" ></li>{/if}
{/loop}
</ul>
<div id= "pages" class= "text-c" >{$pages}</div>
{/PC}
Date format: {date (' y-m-d h:i:s ', $r [Inputtime])}
2.
{if $n%5==0}<li class= "Bk20 hr" ></li>{/if}: $n is the order of the current data, input 5 lines
<li class= "Bk20 hr" >.
3. Current Location: {Catpos ($catid)} (Home > New Add Model Column > List).
You can display the parameter {catpos ($catid, ')} in {Catpos ($catid)} as (Home > new add
List of model columns)
4.page= "$page": Pagination
{$pages}: Calling Paging
5. Monthly ranking:
{pc:content action= "hits" catid= "$catid" num= "8" order= "Monthviews DESC"
Cache= "3600"}
<ul class= "Content rank" >
{Loop $data $r}
<li><span>{number_format ($r
[Monthviews])} </span><a href= "{$r [url]}" {Title_style ($r [style])}
class= "title" title= "{$r [title]}" >{str_cut ($r [title],56, ' ... ')}</a></li>
{/loop}
</ul>
{/PC}
Phpcms: Seven, list.html