التكرار في القوالب

التكرار

<lezaz:for/>
  AttributeDescription        Default
  --------------------------------------------
  id         referance for this syntax use like lezaz#id             Null
  condition  condition for syntax you can use $i as primary          $i<=to
  from       start count for from                                    1
  to         end count for                                           10
  step       number of step jump                                     0
  print        print result attr if value = any pass like 1,true,yes 0

  inside code you can use lezaz#id to print for value repete

  Example
  --------
<lezaz:forid='idfor'from="5"to="100"step="5"/>

  <lezaz:for id="idfor" from='3' condition='$i<lezaz:get(bass)' to='27' step='1' print='false'>
  lezaz#idfor <br>
</lezaz:for>
  the result syntax is lezaz#idfor as last value for this variable