Я хочу добавить новую строку после четырех циклов. я использую {раздел цикла = $ arrProducts name = index}
когда выполнить массив покажет все продукты в одной строке, но я хочу добавить каждые четыре продукта в строке. что я могу сделать ???
Спасибо, этот код я использую
{if $arrProducts neq " "}
{section loop=$arrProducts name=index}
<td width="565" align="center" valign="top">
<img src="admin/{$arrProducts[index].image}" width="121" height="90" class="prodImg"/><br>
<span class="prodName">{$arrProducts[index].name}</span><br>
<span class="prodPrice">{$arrProducts[index].price} LE</span><br>
<font class="quality">QTY.</font><input type="text" name="txtorder" size="1" class="txtproduct" /><font class="quality"> Kg</font><br />
</td>
{/section}
{/if}