2009-08-03 04:10:16 +00:00
|
|
|
{assign var=meth value=':'|explode:$VAR._page}
|
|
|
|
<!-- {$meth.0}:{$meth.1} -->
|
2008-11-26 22:50:40 +00:00
|
|
|
|
2009-08-03 04:10:16 +00:00
|
|
|
{$method->exe($meth.0,$meth.1)}
|
|
|
|
{if ($method->result == false)}
|
|
|
|
{$block->display('core:method_error')}
|
2008-11-26 22:50:40 +00:00
|
|
|
{else}
|
2009-08-03 04:10:16 +00:00
|
|
|
{include file='file:../core/search_show_pre.tpl'}
|
2008-11-26 22:50:40 +00:00
|
|
|
|
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">
|
2008-11-26 22:50:40 +00:00
|
|
|
|
2009-08-03 04:10:16 +00:00
|
|
|
<!-- DISPLAY THE SEARCH HEADING -->
|
|
|
|
<tr valign="middle" align="center" class="table_heading">
|
|
|
|
<td width="5%" class="table_heading"> </td>
|
|
|
|
<td width="9.5%" class="table_heading">
|
|
|
|
{literal}
|
|
|
|
<script type="text/javascript" language="javascript">document.write(search_heading('{/literal}{translate module=invoice_item}field_sku{/translate}{literal}','sku'));</script>
|
|
|
|
{/literal}
|
|
|
|
</td>
|
|
|
|
<td width="9.5%" class="table_heading">
|
|
|
|
{literal}
|
|
|
|
<script type="text/javascript" language="javascript">document.write(search_heading('{/literal}{translate module=invoice_item}field_item_type{/translate}{literal}','item_type'));</script>
|
|
|
|
{/literal}
|
|
|
|
</td>
|
|
|
|
<td width="9.5%" class="table_heading">
|
|
|
|
{literal}
|
|
|
|
<script type="text/javascript" language="javascript">document.write(search_heading('{/literal}{translate module=invoice_item}field_product_attr{/translate}{literal}','product_attr'));</script>
|
|
|
|
{/literal}
|
|
|
|
</td>
|
|
|
|
<td width="9.5%" class="table_heading">
|
|
|
|
{literal}
|
|
|
|
<script type="text/javascript" language="javascript">document.write(search_heading('{/literal}{translate module=invoice_item}field_price_base{/translate}{literal}','price_base'));</script>
|
|
|
|
{/literal}
|
|
|
|
</td>
|
|
|
|
<td width="9.5%" class="table_heading">
|
|
|
|
{literal}
|
|
|
|
<script type="text/javascript" language="javascript">document.write(search_heading('{/literal}{translate module=invoice_item}field_price_setup{/translate}{literal}','price_setup'));</script>
|
|
|
|
{/literal}
|
|
|
|
</td>
|
|
|
|
<td width="9.5%" class="table_heading">
|
|
|
|
{literal}
|
|
|
|
<script type="text/javascript" language="javascript">document.write(search_heading('{/literal}{translate module=invoice_item}field_recurring_schedule{/translate}{literal}','recurring_schedule'));</script>
|
|
|
|
{/literal}
|
|
|
|
</td>
|
|
|
|
<td width="9.5%" class="table_heading">
|
|
|
|
{literal}
|
|
|
|
<script type="text/javascript" language="javascript">document.write(search_heading('{/literal}{translate module=invoice_item}field_domain_name{/translate}{literal}','domain_name'));</script>
|
|
|
|
{/literal}
|
|
|
|
</td>
|
|
|
|
<td width="9.5%" class="table_heading">
|
|
|
|
{literal}
|
|
|
|
<script type="text/javascript" language="javascript">document.write(search_heading('{/literal}{translate module=invoice_item}field_domain_tld{/translate}{literal}','domain_tld'));</script>
|
|
|
|
{/literal}
|
|
|
|
</td>
|
|
|
|
<td width="9.5%" class="table_heading">
|
|
|
|
{literal}
|
|
|
|
<script type="text/javascript" language="javascript">document.write(search_heading('{/literal}{translate module=invoice_item}field_domain_term{/translate}{literal}','domain_term'));</script>
|
|
|
|
{/literal}
|
|
|
|
</td>
|
|
|
|
<td width="9.5%" class="table_heading">
|
|
|
|
{literal}
|
|
|
|
<script type="text/javascript" language="javascript">document.write(search_heading('{/literal}{translate module=invoice_item}field_domain_type{/translate}{literal}','domain_type'));</script>
|
|
|
|
{/literal}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2008-11-26 22:50:40 +00:00
|
|
|
|
2009-08-03 04:10:16 +00:00
|
|
|
<!-- LOOP THROUGH EACH RECORD -->
|
|
|
|
{foreach from=$invoice_item item=record}
|
|
|
|
<tr id="row{$record.id}" onClick="row_sel('{$record.id}',1);" onDblClick="window.location='?_page=invoice_item:view&id={$record.id},';" onMouseOver="row_mouseover('{$record.id}', 'row_mouse_over_select', 'row_mouse_over');" onMouseOut="row_mouseout('{$record.id}', '{$record._C}', 'row_select');" class="{$record._C}">
|
|
|
|
<td align="center" width="5%">
|
|
|
|
<input type="checkbox" name="record{$record.id}" value="{$record.id}" onClick="row_sel('{$record.id}',1,'{$record._C}');"/>
|
|
|
|
{literal}
|
|
|
|
<script type="text/javascript" language="javascript">row_sel('{/literal}{$record.id}{literal}', 0, '{/literal}{$record._C}{literal}'); record_arr[i] = '{/literal}{$record.id}{literal}'; i++; </script>
|
|
|
|
{/literal}
|
|
|
|
</td>
|
|
|
|
<td> {$record.sku}</td>
|
|
|
|
<td> {if $record.item_type == "1"}{translate}true{/translate}{else}{translate}false{/translate}{/if}</td>
|
|
|
|
<td> {$record.product_attr}</td>
|
|
|
|
<td> {$record.price_base}</td>
|
|
|
|
<td> {$record.price_setup}</td>
|
|
|
|
<td> {$record.recurring_schedule}</td>
|
|
|
|
<td> {$record.domain_name}</td>
|
|
|
|
<td> {$record.domain_tld}</td>
|
|
|
|
<td> {$record.domain_term}</td>
|
|
|
|
<td> {$record.domain_type}</td>
|
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
<!-- END OF RESULT LOOP -->
|
2008-11-26 22:50:40 +00:00
|
|
|
|
2009-08-03 04:10:16 +00:00
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2008-11-26 22:50:40 +00:00
|
|
|
|
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'}
|
2008-11-26 22:50:40 +00:00
|
|
|
{/if}
|