×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Smarty
Posted by: Gábor Papp
Added: Jan 14, 2017 8:02 PM
Views: 7
Tags: no tags
  1. {assign var="oszl" value=1}
  2. {foreach from=$lista item=a}
  3.     ...
  4. {if $oszl==3}<div class="c"></div>{assign var="oszl" value=1}{else}{assign var="oszl" value=$oszl+1}{/if}