This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/themes/default/blocks/discount/search_show.tpl

33 lines
1.1 KiB
Smarty
Raw Normal View History

2009-08-03 04:10:16 +00:00
{assign var=meth value=':'|explode:$VAR._page}
<!-- {$meth.0}:{$meth.1} -->
2009-08-03 04:10:16 +00:00
{$method->exe($meth.0,$meth.1)}
{if ($method->result == false)}
{$block->display('core:method_error')}
{else}
2009-08-03 04:10:16 +00:00
{include file='file:../core/search_show_pre.tpl'}
2009-08-03 04:10:16 +00:00
<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>
2009-08-03 04:10:16 +00:00
{include file='file:../core/search_show_post-1.tpl'}
{include file='file:../core/search_show_post-2.tpl'}
{/if}