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/user_search_show.tpl

52 lines
1.6 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} -->
{$method->exe($meth.0,$meth.1)}
{if ($method->result == false)}
{$block->display('core:method_error')}
{else}
2009-08-03 04:10:16 +00:00
{$method->exe('invoice','has_unpaid')}
2009-08-03 04:10:16 +00:00
{include file='file:../core/user_search_show_pre.tpl'}
2009-08-03 04:10:16 +00:00
<!-- BEGIN THE RESULTS CONTENT AREA -->
<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/user_search_show_tr_record.tpl'}
<td>{$list->date($record.date_orig)}</td>
<td>{$record.sku} ({t}{$record.type}{/t})</td>
<td>
{if $record.queue != '' && $record.queue!= 'none'}
{t}{$record.queue}{/t}
{else}
{t}queue_none{/t}
{/if}
</td>
<td style="text-align: center">{$list->format_currency($record.price,'')}</td>
<td style="text-align: center">
{if $record.active == '1'}
<img src="themes/{$THEME_NAME}/images/icons/go_16.gif" alt="Active" style="border: 0px;"/>
{else}
<img src="themes/{$THEME_NAME}/images/icons/stop_16.gif" alt="Suspended/Inactive" style="border: 0px;"/>
{/if}
</td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
2009-08-03 04:10:16 +00:00
</form>
</div>
2009-08-03 04:10:16 +00:00
<div>
<br/>
<input type="submit" name="Submit" value="{t}View{/t}" onclick="mass_do('',module+':user_view',limit,module);"/>
</div>
{/if}