krot

smarty цикл foreach

Jun 16th, 2016
80
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {foreach from=$MMenu item=label name=foo}
  2.  
  3. {$label.NAME}
  4. {$smarty.foreach.foo.iteration}
  5. {/foreach}
  6. http://www.smarty.net/docsv2/ru/language.function.foreach.tpl
RAW Paste Data