33 lines
1.1 KiB
Smarty
33 lines
1.1 KiB
Smarty
{assign var=meth value=':'|explode:$VAR._page}
|
|
<!-- {$meth.0}:{$meth.1} -->
|
|
|
|
{$method->exe($meth.0,$meth.1)}
|
|
{if ($method->result == false)}
|
|
{$block->display('core:method_error')}
|
|
{else}
|
|
{include file='file:../core/search_show_pre.tpl'}
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
|
<tr>
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
{$method->exe_noauth($meth.0,'tpl_search_show')}
|
|
{foreach from=$search_show item=record}
|
|
{include file='file:../core/search_show_tr_record.tpl'}
|
|
<td>{$record.name}</td>
|
|
<td>{$list->bool('',$record.status,'')}</td>
|
|
<td>{$record.orders}</td>
|
|
<td>{$list->format_currency($record.revenue,'')}</td>
|
|
<td>{$list->format_currency($record.savings,'')}</td>
|
|
<td>{$list->menu_staticlist('discounttype','','',$record.new_type,'')}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
{include file='file:../core/search_show_post-1.tpl'}
|
|
{include file='file:../core/search_show_post-2.tpl'}
|
|
{/if}
|