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_form.tpl

138 lines
6.7 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 class="table_heading">{osb f=tt}</td>
</tr>
<tr valign="top">
<td class="row1">
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=id}</td>
<td style="width: 65%;"><input type="text" name="service_id" value="{$VAR.service_id}" {if $service_parent_id == true}class="form_field_error"{/if}/>&nbsp;&nbsp;{t}"%" for partial match{/t}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=invoice_id}</td>
<td style="width: 65%;"><input type="text" name="service_invoice_id" value="{$VAR.service_invoice_id}" {if $service_invoice_id == true}class="form_field_error"{/if}/>&nbsp;&nbsp;{t}"%" for partial match{/t}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=sku}</td>
<td style="width: 65%;"><input type="text" name="service_sku" value="{$VAR.service_sku}" {if $service_sku == true}class="form_field_error"{/if}/>&nbsp;&nbsp;{t}"%" for partial match{/t}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=account_id}</td>
<td style="width: 65%;">{osb f=autoselect module=account return=id field=service_account_id default=$VAR.service_account_id}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=active}</td>
<td style="width: 65%;">{$list->bool('service_active','all','form_field')}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=type}</td>
<td style="width: 65%;">{$list->menu_staticlist('servicetype','service_type','service_type','','form_menu',true)}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=queue}</td>
<td style="width: 65%;">{$list->menu_staticlist('servicequeue','select','select','','form_menu',true)}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=recur_type}</td>
<td style="width: 65%;">{$list->menu_staticlist('recur_type','service_recur_type','service_recur_type','','form_menu',true)}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=recur_schedule}</td>
<td style="width: 65%;">{$list->menu_staticlist('recur_schedule','service_recur_schedule','service_recur_schedule','','form_menu',true)}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=date_orig}</td>
<td style="width: 65%;">{$list->calender_search('service_date_orig',$VAR.service_date_orig,'form_field','')}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=date_last_invoice}</td>
<td style="width: 65%;">{$list->calender_search('service_date_last_invoice',$VAR.service_date_last_invoice,'form_field','')}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=date_next_invoice}</td>
<td style="width: 65%;">{$list->calender_search('service_date_next_invoice',$VAR.service_date_next_invoice,'form_field','')}</td>
</tr>
{include file='file:../core/search_post.tpl'}
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
{if $list->is_installed('host_server')}
<div><br/></div>
<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 class="table_heading">{t}Hosting Details{/t} + {t}Domain Details{/t}</td>
</tr>
<tr valign="top">
<td style="width: 65%;" class="row1">
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=host_server_id}</td>
<td style="width: 65%;">{$list->menu('no','service_host_server_id','host_server','name','','form_menu',true)}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=host_ip}</td>
<td style="width: 65%;"><input type="text" name="service_host_ip" value="{$VAR.service_host_ip}" {if $service_host_ip == true}class="form_field_error"{/if}/>&nbsp;&nbsp;{t}"%" for partial match{/t}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=host_username}</td>
<td style="width: 65%;"><input type="text" name="service_host_username" value="{$VAR.service_host_username}" {if $service_host_username == true}class="form_field_error"{/if}/>&nbsp;&nbsp;{t}"%" for partial match{/t}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=domain_name}</td>
<td style="width: 65%;">
<input type="text" name="service_domain_name" value="{$VAR.service_domain_name}" {if $service_domain_name == true}class="form_field_error"{/if}/>
.
{$list->menu('no','service_domain_host_tld_id','host_tld','name','','form_menu',true)}
</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=domain_type}</td>
<td style="width: 65%;">{$list->menu_staticlist('domaintype','service_domain_type','service_domain_type','','form_menu',true)}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=domain_host_registrar_id}</td>
<td style="width: 65%;">{$list->menu('','service_domain_host_registrar_id','host_registrar_plugin','name','','form_menu',true)}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=domain_date_expire}</td>
<td style="width: 65%;">{$list->calender_search('service_domain_date_expire',$VAR.service_domain_date_expire,'form_field','')}</td>
</tr>
{include file='file:../core/search_post.tpl'}
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
{/if}
</form>
{$block->display('core:saved_searches')}
{$block->display('core:recent_searches')}
{/if}