PHPCMS序号叠加

功能不多说,就这样一个功能!!!!

20150514113615

 

{pc:content action="position" posid="1" order="id desc" num="10"}
     <ul class="look_list">				
		{loop $data $r}
			<li>
			<div class="intro"><em class="cur_num {if $n <=3}bgyellow{else}gray_1{/if} ">{$n}</em><a class="this_title " href="{$r[url]}" target='_blank' title="{$r[title]}">{$r[title]}</a></div>
		        </li>
		{/loop}				
	</ul>
{/pc}

 

赞(0) 打赏