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/product/search_form.tpl

62 lines
2.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} -->
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
<form id="search_form" method="post" action="" enctype="multipart/form-data">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr valign="top">
<td width="65%" class="table_heading"><center>{translate module=product}title_search{/translate}</center></td>
</tr>
<tr valign="top">
<td width="65%" class="row1">
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
<tr valign="top">
<td width="49%">{translate module=product}field_date_orig{/translate}</td>
<td width="51%">{$list->calender_search('product_date_orig',$VAR.product_date_orig,'form_field','')}</td>
</tr>
<tr valign="top">
<td width="49%">{translate module=product}field_sku{/translate}</td>
<td width="51%"><input type="text" name="product_sku" value="{$VAR.product_sku}" {if $product_sku == true}class="form_field_error"{/if}/>&nbsp;&nbsp;{t}"%" for partial match{/t}</td>
</tr>
<tr valign="top">
<td width="49%">{translate module=product}field_taxable{/translate}</td>
<td width="51%">{$list->bool('product_taxable','all')}</td>
</tr>
<tr valign="top">
<td width="49%">{translate module=product}field_active{/translate}</td>
<td width="51%">{$list->bool('product_active','all')}</td>
</tr>
<tr valign="top">
<td width="49%">{translate module=product}field_price_type{/translate}</td>
<td width="51%">
<input type="radio" name="product_price_type" value="0" {if $VAR.product_price_type == "0" }checked{/if} />
{translate module=product}price_type_one{/translate}<br/>
<input type="radio" name="product_price_type" value="1" {if $VAR.product_price_type == "1"}checked{/if} />
{translate module=product}price_type_recurr{/translate}<br/>
<input type="radio" name="product_price_type" value="2" {if $VAR.product_price_type == "2"}checked{/if} />
{translate module=product}price_type_trial{/translate}
</td>
</tr>
{include file='file:../core/search_post.tpl'}
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
{$block->display('core:saved_searches')}
{$block->display('core:recent_searches')}
{/if}