autoindex隔列


     <table cellSpacing="1" cellPadding="7" border="0">
      <tbody>
       <tr class="rigContent">
       {dede:arclist typeid='35' row='100' limit="0,100"  orderby='pubdate'}
        <td>
         <a class="thickbox" href='[field:arcurl/]?modal=false'>[field:title/]</a>
        </td>        
        [field:global.autoindex runphp='yes']
         if((@me % 6) == 0 ){
          @me = '</tr><tr class="rigContent">';
         }
         else{
          @me = '';
         }
        [/field:global.autoindex] 
       {/dede:arclist} 
       </tr>           
      </tbody>
     </table>
posted @ 2011-12-30 22:11  Rice wheat  阅读(150)  评论(0编辑  收藏  举报