Posted By

genseric on 02/24/11


Tagged

textmate border top foreach bottom


Versions (?)

top-bottom bordering


 / Published in: Other
 

  1. {foreach from=$cats key=cid item=cna name=catne}
  2. {if $smarty.foreach.catne.index % 4 == 0 || $smarty.foreach.catne.index==0}
  3. {if $smarty.foreach.catne.index>1}
  4. </ul>
  5. {/if}
  6. <ul>
  7. {/if}
  8. <li><a href="#">{$smarty.foreach.catne.index}</a></li>
  9.  
  10. {/foreach}
  11.  

Report this snippet  

You need to login to post a comment.