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/service/search_show.tpl

57 lines
1.9 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}
{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.last_name}, {$record.first_name}</td>
<td>{$record.sku}&nbsp;&gt;&nbsp;
{if $record.type == 'domain'}
<u>{$record.domain_name|upper|trim:16}.{$record.domain_tld|upper}</u>
{elseif ($record.type == 'host' || $record.type == 'host_group') && trim($record.server_name)}
<i>{$record.server_name|trim:25}</i>
{else}
2010-11-29 22:41:08 +00:00
{if $record.type == 'product' && $record.prod_plugin_name == 'ADSL'}
{$list->unserial($record.prod_attr,'prod_attr')}
{$prod_attr.service_number}
{else}
{t}{$record.type}{/t}
{/if}
2009-08-03 04:10:16 +00:00
{/if}
</td>
<td>
{if $record.queue != '' && $record.queue!= 'none'}
{t}{$record.queue}{/t}
{else}
{t}None{/t}
{/if}
</td>
<td style="text-align: right;">{$list->format_currency_num($record.price,'')}</div></td>
<td style="text-align: center;">
{if $record.active == '1'}
<img title=Active src="themes/{$THEME_NAME}/images/icons/go_16.gif" border="0"/>
{else}
<img title=Suspended/Inactive src="themes/{$THEME_NAME}/images/icons/stop_16.gif" border="0"/>
{/if}
</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}