phpcms 一级导航的二级页面()

<DIV class=col-left>

{php $j=1;}
 {loop subcat($catid) $v}
 {php if($v['type']!=0) continue;}
        <div class="box cat-area" {if $j%2==1}style="margin-right:10px"{/if}>
        <DIV class=cat_title> 
          <DIV class=txt>{$v[catname]}</DIV><SPAN class=more><a href="{$v[url]}" class="more">更多>></a></SPAN></DIV>
             <DIV class=catlis>




                <ul >
                {pc:content action="lists" catid="$v[catid]" num="5" order="id DESC"}
     {loop $data $r}
      <li><SPAN class=time>{date('Y-m-d ',$r[inputtime])}</SPAN><a href="{$r[url]}" target="_blank">{$r[title]}</a>
     {/loop}
    </li>{/pc}
                </ul>
            </div> 
        </div>
        {if $j%2==0}<div class="bk10"></div>{/if}
 {$j++}
 {/loop}


 

本文出自 “霍治晓博客” 博客,转载请与作者联系!

你可能感兴趣的:(continue,action,phpcms,v)