{strip} {if $item.list_pages} {assign var='list_pages' value=$item.list_pages} {/if} {include file = "`$smarty.const.BASE_PATH`/class/DB/List/tpl/pager_options.tpl"} {include file = "`$smarty.const.BASE_PATH`/class/DB/List/tpl/pager.tpl"}
{if $item.column} {assign var='cols' value=0} {foreach from=$item.column item="header" name="header"} {math equation='x + 1' x=$cols assign='cols'} {/foreach} {/if} {foreach from=$item.items item="row" name="rowForeach"} {foreach from=$item.column item="row_format" } {list_parse_cell_params nums=$row_format.params data=$row} {/list_parse_cell_params} {/foreach} {foreachelse} {/foreach}
{if $header.order_by} {$header.title} {if preg_match("/^`$header.order_by`( DESC)?$/", $item.order_by)}    {/if} {else} {$header.title} {/if}
{include file=$row_format.tpl}
Empty list
{include file = "`$smarty.const.BASE_PATH`/class/DB/List/tpl/pager.tpl"} {include file = "`$smarty.const.BASE_PATH`/class/DB/List/tpl/pager_options.tpl"}
{/strip}