485 lines
23 KiB
Smarty
485 lines
23 KiB
Smarty
{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}
|
|
{include file='file:../core/view_pre.tpl'}
|
|
<script type="text/javascript">
|
|
<!--
|
|
var elements = new Array();
|
|
elements[0] = 'recurring';
|
|
elements[1] = 'group';
|
|
elements[2] = 'domain';
|
|
elements[3] = 'hosting';
|
|
elements[4] = 'product';
|
|
|
|
{literal}
|
|
function statusUpdate(obj) {
|
|
document.location = '?_page=service:view&id={/literal}{$record.id}{literal}&do[]=service:update&do[]=service:queue&service_status='+obj.value;
|
|
}
|
|
function adminChangeSchedule(obj) {
|
|
document.location = '?_page=service:view&id={/literal}{$record.id}{literal}&do[]=service:admin_changeschedule&service_recur_schedule='+obj.value;
|
|
}
|
|
{/literal}
|
|
//-->
|
|
</script>
|
|
<script type="text/javascript" src="themes/{$THEME_NAME}/view-advanced.js"></script>
|
|
|
|
<!-- Display the field validation -->
|
|
{if $form_validation}
|
|
{$block->display('core:alert_fields')}
|
|
{/if}
|
|
|
|
<!-- Display each record -->
|
|
<form id="view" 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} {$record.id}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td class="row1">
|
|
<table width="100%" border="0" cellspacing="6" cellpadding="0" class="body">
|
|
<tr class="row1">
|
|
<td style="width: 33%; text-align: left;">
|
|
<select name="Jump" id="Jump" onchange="view_Jump('{$record.account_id}','{$record.id}')">
|
|
<option value="">---- {t}QUICK ACTIONS{/t} ----</option>
|
|
<option value="refresh">{t}Refresh View{/t}</option>
|
|
{if $smarty.const.SESS_ACCOUNT != $record.account_id}<option value="become">{t}Become User{/t}</option>{/if}
|
|
{if $record.type == 'host' || $record.type == 'host_group'}<option value="resend_email">{t}Resend hosting details e-mail{/t}</option>{/if}
|
|
{if $record.recur_modify == 1}<option value="modify">{t}Modify Service to Another Product{/t}</option>{/if}
|
|
{if $record.queue != '' && $record.queue != 'none'}<option value="force_queue">{t}Force Current Queue{/t}</option>{/if}
|
|
{if $record.generate_invoice}<option value="generate_invoice">{t}Generate Invoice{/t}</option>{/if}
|
|
<option value="email">{t}Send Email to User{/t}</option>
|
|
</select>
|
|
</td>
|
|
<td style="width: 33%; text-align: center;">
|
|
<select name="JumpView" id="JumpView" onchange="view_JumpView('{$record.account_id}')">
|
|
<option value="">---- {t}QUICK VIEW{/t} ----</option>
|
|
<option value="invoice">{t}Invoices{/t}</option>
|
|
<option value="service">{t}Services{/t}</option>
|
|
<option value="login_log">{t}Login Logs{/t}</option>
|
|
<option value="session">{t}Sessions{/t}</option>
|
|
<option value="account_billing">{t}Billing Details{/t}</option>
|
|
<option value="discount">{t}Discounts{/t}</option>
|
|
</select>
|
|
</td>
|
|
<td style="width: 33%; text-align: right;">
|
|
<select name="JumpAdd" id="JumpAdd" onchange="view_JumpAdd('{$record.account_id}')">
|
|
<option value="">---- {t}QUICK ADD{/t} ----</option>
|
|
<option value="invoice">{t}Invoice{/t}</option>
|
|
<option value="service">{t}Service{/t}</option>
|
|
<option value="account_billing">{t}Billing Details{/t}</option>
|
|
<option value="discount">{t}Discount{/t}</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td class="table_heading">
|
|
{if $record.date_next_invoice > 0}<a href="javascript:view_show('recurring');" style="color: #FFFFFF;">{t}Recurring Details{/t}</a> |{/if}
|
|
{if $record.type == 'group' || $record.type == 'host_group' || $record.type == 'product_group'}<a href="javascript:view_show('group');">{t}Group Details{/t}</a> |{/if}
|
|
{if $record.type == 'domain'}<a href="javascript:view_show('domain');" style="color: #FFFFFF;">{t}Domain Details{/t}</a> |{/if}
|
|
{if $record.type == 'host' || $record.type == 'host_group'}<a href="javascript:view_show('hosting');" style="color: #FFFFFF;">{t}Hosting Details{/t}</a> |{/if}
|
|
{if $record.type == 'product' || $record.type == 'product_group'}<a href="javascript:view_show('product');" style="color: #FFFFFF;">{t}Product Plugin{/t}</a> |{/if}
|
|
<a href="javascript:view_Memos();" style="color: #FFFFFF;">{t}Memos{/t}</a>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td class="row1">
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="1">
|
|
<tr>
|
|
<td valign="top">
|
|
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
|
<tr valign="top" class="row1">
|
|
<td colspan="2"><b>{osb f=tf field=account_id}</b></td>
|
|
<td colspan="2"><b>{osb f=tf field=sku}</b></td>
|
|
</tr>
|
|
<tr valign="top" class="row1">
|
|
<td style="width: 5px;"> </td>
|
|
<td>{osb f=html_select_account name='service_account_id' default=$record.account_id}</td>
|
|
<td style="width: 5px;"> </td>
|
|
<td><input type="text" name="service_sku" value="{$record.sku}"/></td>
|
|
</tr>
|
|
<tr valign="top" class="row1">
|
|
<td colspan="2"><b>{osb f=tf field=date_orig}</b></td>
|
|
<td colspan="2"><b>{osb f=tf field=active}</b></td>
|
|
</tr>
|
|
<tr valign="top" class="row1">
|
|
<td style="width: 5px;"> </td>
|
|
<td>{$list->date_time($record.date_orig)}</td>
|
|
<td style="width: 5px;"> </td>
|
|
<td>{$list->bool('service_active',$record.active,'" onchange="submit()')}</td>
|
|
</tr>
|
|
<tr valign="top" class="row1">
|
|
<td colspan="2"><b>{osb f=tf field=date_last}</b></td>
|
|
<td colspan="2"><b>{osb f=tf field=queue}</b></td>
|
|
</tr>
|
|
<tr valign="top" class="row1">
|
|
<td style="width: 5px;"> </td>
|
|
<td>{$list->date_time($record.date_last)}<input type="hidden" name="service_date_last" value="{$smarty.now}"/></td>
|
|
<td> </td>
|
|
<td>
|
|
{$list->menu_staticlist('servicequeue','service_queue','service_queue',$record.queue,'form_menu',true)}
|
|
<input type="hidden" id="queue_force" name="queue_force" value="0"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
|
|
<!-- Invoice History for this service -->
|
|
{if $record.invoice}
|
|
<td width="40%" valign="top">
|
|
<table width="100%" border="0" cellspacing="4" cellpadding="0" class="body">
|
|
<tr>
|
|
<td colspan="5"><b>{t}Invoice Overview{/t}</b></td>
|
|
</tr>
|
|
{foreach from=$record.invoice item=invoice}
|
|
<tr valign="middle">
|
|
<td width="6"> </td>
|
|
<td width="24">
|
|
{if $invoice.process_status == '1'}
|
|
<img src="themes/{$THEME_NAME}/images/icons/go_16.gif" border="0"/>
|
|
{else}
|
|
<img src="themes/{$THEME_NAME}/images/icons/stop_16.gif" border="0"/>
|
|
{/if}
|
|
</td>
|
|
<td width="50"><a href="?_page=invoice:view&id={$invoice.id}">{$invoice.id}</a></td>
|
|
<td width="50">{$list->date($invoice.date_orig)}</td>
|
|
<td width="80" align="right">
|
|
{if $invoice.due > 0}
|
|
<font color="#666666">{$list->format_currency_num($invoice.total_amt,'')}</font>
|
|
{else}
|
|
<font color="#006600"><b>{$list->format_currency_num($invoice.total_amt,'')}</b></font>
|
|
{/if}
|
|
</td>
|
|
<td width="80" align="right">
|
|
{if $invoice.due > 0}
|
|
<font color="#CC0000"><b>{$list->format_currency_num($invoice.due,'')}</b></font>
|
|
{else}
|
|
<font color="#999999">{$list->format_currency_num('0','')}</font>
|
|
{/if}
|
|
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
<tr valign="middle">
|
|
<td colspan="5"><a href="?_page=core:search&module=invoice&join[service][invoice_item]={$record.id}">{t}All invoices for this service{/t}</a></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
{/if}
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
{include file='file:../core/view_tr_submit_delete.tpl'}
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div id="recurring" {osb f=style_hide}>
|
|
{if $record.date_next_invoice > 0}
|
|
<br/>
|
|
<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}Recurring Details{/t}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td class="row1">
|
|
<table width="100%" border="0" cellspacing="5" cellpadding="1" class="row1">
|
|
<tr class="row1">
|
|
<td style="width: 50%;" valign="top"><b>{osb f=tf field=date_last_invoice}</b></td>
|
|
<td style="width: 50%;" valign="top"><b>{osb f=tf field=date_next_invoice}</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 50%;" valign="top">{$list->calender_view('service_date_last_invoice',$record.date_last_invoice,'form_field')}</td>
|
|
<td style="width: 50%;" valign="top">{$list->calender_view('service_date_next_invoice',$record.date_next_invoice,'form_field')}</td>
|
|
</tr>
|
|
<tr class="row1">
|
|
<td style="width: 50%;" valign="top"><b>{osb f=tf field=recur_schedule}</b></td>
|
|
<td style="width: 50%;" valign="top"><b>{osb f=tf field=taxable}</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 50%;" valign="top">
|
|
{if $recur_price}
|
|
<select name="service_recur_schedule" onchange="adminChangeSchedule(this)">
|
|
{foreach from=$recur_price item=price_recurr key=key}
|
|
<option value="{$key}" {if $record.recur_schedule == $key} selected{/if}>
|
|
{$list->format_currency($price_recurr.base,$smarty.const.SESS_CURRENCY)}
|
|
|
|
{if $key == '0'}{translate module=cart}recurr_week{/translate}{/if}
|
|
{if $key == '1'}{translate module=cart}recurr_month{/translate}{/if}
|
|
{if $key == '2'}{translate module=cart}recurr_quarter{/translate}{/if}
|
|
{if $key == '3'}{translate module=cart}recurr_semianual{/translate}{/if}
|
|
{if $key == '4'}{translate module=cart}recurr_anual{/translate}{/if}
|
|
{if $key == '5'}{translate module=cart}recurr_twoyear{/translate}{/if}
|
|
{if $key == '6'}{translate module=cart}recurr_threeyear{/translate}{/if}
|
|
</option>
|
|
{/foreach}
|
|
</select>
|
|
{else}
|
|
{$list->menu_staticlist('recur_schedule','service_recur_schedule','service_recur_schedule',$record.recur_schedule,'form_menu" onchange="adminChangeSchedule(this)')}
|
|
{/if}
|
|
</td>
|
|
<td style="width: 50%;" valign="top">{$list->bool('service_taxable',$record.taxable,'" onchange="document.getElementById(\'view\').submit()')}</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 50%;" valign="top"><b>{osb f=tf field=price}</b></td>
|
|
<td style="width: 50%;" valign="top"><b>{osb f=tf field=recur_type}</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 50%;" valign="top"><input type="text" name="service_price" value="{$record.price}" size="5"/>{$list->currency_iso('')}</td>
|
|
<td style="width: 50%;" valign="top">{$list->menu_staticlist('recur_type','','service_recur_type',$record.recur_type,'form_menu',true)}</td>
|
|
</tr>
|
|
{if $record.recur_type == 1}
|
|
<tr>
|
|
<td style="width: 50%;" valign="top"><b>{osb f=tf field=recur_weekday}</b></td>
|
|
<td style="width: 50%;" valign="top"><input type="text" name="service_recur_weekday" value="{$record.recur_weekday}" size="2" maxlength="2"/>(1-28)</td>
|
|
</tr>
|
|
{/if}
|
|
<tr>
|
|
<td style="width: 50%;" valign="top"><b>{osb f=tf field=recur_schedule_change}</b></td>
|
|
<td style="width: 50%;"><b>{$list->bool('service_recur_schedule_change',$record.recur_schedule_change,'" onchange="document.getElementById(\'view\').submit()')}</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 50%;" valign="top"><b>{osb f=tf field=recur_cancel}</b></td>
|
|
<td style="width: 50%;" valign="top">{$list->bool('service_recur_cancel',$record.recur_cancel,'" onchange="document.getElementById(\'view\').submit()')}</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 50%;" valign="top"><b>{osb f=tf field=recur_modify}</b></td>
|
|
<td style="width: 50%;" valign="top">{$list->bool('service_recur_modify',$record.recur_modify,'" onchange="document.getElementById(\'view\').submit()')}</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 50%;" valign="top"><b>{osb f=tf field=suspend_billing}</b></td>
|
|
<td style="width: 50%;" valign="top">{$list->bool('service_suspend_billing',$record.suspend_billing,'" onchange="document.getElementById(\'view\').submit()')}</td>
|
|
</tr>
|
|
|
|
{if $record.account_billing_id > 0}
|
|
<tr>
|
|
<td style="width: 50%;" valign="top"><b>{osb f=tf field=account_billing_id}</b></td>
|
|
<td style="width: 50%;" valign="top">{$list->menu_cc_admin('service_account_billing_id',$record.account_id,$record.account_billing_id,'form_menu')}</td>
|
|
</tr>
|
|
{/if}
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{/if}
|
|
</div>
|
|
|
|
<div id="group" {osb f=style_hide}>
|
|
{if $record.type == 'group' || $record.type == 'host_group' || $record.type == 'product_group'}
|
|
<br/>
|
|
<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}Group Details{/t}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td class="row1">
|
|
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row1">
|
|
<tr>
|
|
<td>
|
|
<input type="radio" name="service_group_type" value="0" {if $record.group_type == "0"}checked="checked"{/if}/>{t}Grant access for specified amount of days:{/t}<input type="text" name="service_group_days" value="{$record.group_days}" size="3"/><br/>
|
|
<input type="radio" name="service_group_type" value="1" {if $record.group_type == "1"}checked="checked"{/if}/>{t}Grant access while associated subscription is active{/t}<br/>
|
|
<input type="radio" name="service_group_type" value="2" {if $record.group_type == "2"}checked="checked"{/if}/>{t}Grant access forerver{/t}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{/if}
|
|
</div>
|
|
|
|
<div id="domain" {osb f=style_hide}>
|
|
{if $record.type == 'domain'}
|
|
<br/>
|
|
<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}Domain Details{/t}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td class="row1">
|
|
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
|
<tr valign="top" class="row1">
|
|
<td width="30%"><b>{osb f=tf field=domain_name}</b></td>
|
|
<td width="40%"><b>{osb f=tf field=domain_term}</b></td>
|
|
<td width="30%"><b>{osb f=tf field=domain_date_expire}</b></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="30%">{$record.domain_name|upper}.{$record.domain_tld|upper}<b> <a href="?_page=core:search&module=service&service_domain_name={$record.domain_name}&service_domain_tld={$record.domain_tld}"><img src="themes/{$THEME_NAME}/images/icons/zoomi_16.gif" alt="Resend Invoice" style="border: 0px; width: 16px; height: 16px;"/></a></b></td>
|
|
<td width="40%">{$record.domain_term} Year(s) <a href="?_page=service:view&id={$record.id}&do%5B%5D=invoice:generatedomaininvoice">{translate module=cart}renew{/translate}</a></td>
|
|
<td width="30%">{$list->calender_view('service_domain_date_expire',$record.domain_date_expire,'form_field',$record.id)}</td>
|
|
</tr>
|
|
<tr valign="top" class="row1">
|
|
<td width="30%"><b>{osb f=tf field=domain_type}</b></td>
|
|
<td width="40%"><b>{osb f=tf field=domain_host_registrar_id}</b></td>
|
|
<td width="30%"><b>{osb f=tf field=domain_host_tld_id}</b></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="30%">{translate module=cart}{$record.domain_type}{/translate}</td>
|
|
<td width="40%">{$list->menu('','service_domain_host_registrar_id','host_registrar_plugin','name',$record.domain_host_registrar_id,'form_menu')}</td>
|
|
<td width="30%">{$list->menu('','service_domain_host_tld_id','host_tld','name',$record.domain_host_tld_id,'form_menu')}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{/if}
|
|
</div>
|
|
|
|
<div id="hosting" {osb f=style_hide}>
|
|
{if $record.type == 'host' || $record.type == 'host_group'}
|
|
<br/>
|
|
<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}</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: 50%;">{osb f=tf field=domain_name}</td>
|
|
<td style="width: 50%;"><b>{$record.domain_name|upper}.{$record.domain_tld|upper} <a href="?_page=core:search&module=service&service_domain_name={$record.domain_name}&service_domain_tld={$record.domain_tld}"><img src="themes/{$THEME_NAME}/images/icons/zoomi_16.gif" alt="Resend Invoice" style="border: 0px; width: 16px; height: 16px;"/></a></b></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 50%;">{osb f=tf field=host_server_id}</td>
|
|
<td style="width: 50%;">{$list->menu('','disabled','host_server','name',$record.host_server_id,'" disabled')}</td>
|
|
</tr>
|
|
{if $record.host_ip != ''}
|
|
<tr valign="top">
|
|
<td style="width: 50%;">{osb f=tf field=host_ip}</td>
|
|
<td style="width: 50%;">{$record.host_ip}</td>
|
|
</tr>
|
|
{/if}
|
|
<tr valign="top">
|
|
<td style="width: 50%;">{osb f=tf field=host_username}</td>
|
|
<td style="width: 50%;"><input type="text" name="service_host_username" value="{$record.host_username}" size="24"/></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 50%;">{osb f=tf field=host_password}</td>
|
|
<td style="width: 50%;"><input type="text" name="service_host_password" value="{$record.host_password}" size="24"/></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="65%" class="row1">
|
|
{if ($list->smarty_array('host_server','provision_plugin','','plugin'))}
|
|
{foreach from=$plugin item=arr}
|
|
{if $record.host_server_id == $arr.id}
|
|
{assign var='product' value=$service}
|
|
{assign var='afile' value=$arr.provision_plugin}
|
|
{assign var='ablock' value='host_provision_plugin:plugin_prod_'}
|
|
{assign var='blockfile' value="$ablock$afile"}
|
|
{$block->display($blockfile)}
|
|
{/if}
|
|
{/foreach}
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{/if}
|
|
</div>
|
|
|
|
<div id="product" {osb f=style_hide}>
|
|
{if $record.type == 'product' || $record.type == 'product_group'}
|
|
<br/>
|
|
<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}Product Plugin{/t}</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: 50%;">{translate module=service}product_plugin{/translate}</td>
|
|
<td style="width: 50%;"><b>{$record.prod_plugin_name}</b></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td class="row1">
|
|
{assign var='product' value=$service}
|
|
{assign var='afile' value=$record.prod_plugin_name}
|
|
{assign var='ablock' value='product_plugin:plugin_prod_'}
|
|
{assign var='blockfile' value="$ablock$afile"}
|
|
{$block->display($blockfile)}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{/if}
|
|
</div>
|
|
|
|
{include file='file:../core/view_post.tpl'}
|
|
<div>
|
|
<input type="hidden" name="service_account_id" value="{$record.account_id}"/>
|
|
<input type="hidden" name="tab" id="tab" value="{$VAR.tab}"/>
|
|
<input type="hidden" name="service_type" value="{$record.type}"/>
|
|
<input type="hidden" name="service_price_type" value="{$record.price_type}"/>
|
|
</div>
|
|
</form>
|
|
|
|
<iframe name="iframe" id="iframe" style="border:0px; width:0px; height:0px;" scrolling="auto" allowtransparency="true" frameborder="0" src="themes/{$THEME_NAME}/IEFrameWarningBypass.htm"></iframe>
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
{if $VAR.tab == ''}
|
|
{if $record.date_next_invoice > 0}
|
|
view_show('recurring');
|
|
{elseif $record.type == 'group' || $record.type == 'host_group' || $record.type == 'product_group'}
|
|
view_show('group');
|
|
{elseif $record.type == 'host' || $record.type == 'host_group'}
|
|
view_show('hosting');
|
|
{elseif $record.type == 'product' || $record.type == 'product_group'}
|
|
view_show('product');
|
|
{elseif $record.type == 'domain'}
|
|
view_show('domain');
|
|
{/if}
|
|
{else}
|
|
view_show('{$VAR.tab}');
|
|
{/if}
|
|
//-->
|
|
</script>
|
|
{/if}
|