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/host_tld/admin_search.tpl

106 lines
4.4 KiB
Smarty
Raw Normal View History

{literal}
<script language="JavaScript">
var type='register';
function cartAdminAdd(type) {
document.location = '?_page=cart:admin_view&do[]=cart:admin_add&host_type='+type+'&domain_name='+domain+'&domain_tld='+tld+'&account_id={/literal}{$VAR.account_id}{literal}';
}
</script>
<script src="themes/default/blocks/host_tld/ajax.js" type="text/javascript"></script>
{/literal}
<table width=100% border="0" cellspacing="1" cellpadding="0" class="table_background">
<tr valign="middle" class="row2">
<td width="96%">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_heading" height="25">
<tr valign="top">
<td>
{translate module=host_tld}
domain_register
{/translate}
</td>
</tr>
</table>
</td>
</tr>
<tr valign="top" class="row2">
<td width="96%">
<form name="domain" method="post" action="javascript:void(0);" onSubmit="domainSearch();">
<table width="100%" border="0" cellspacing="0" cellpadding="3" class="row1">
<tr>
<td width="95%">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="15%">
<input type="text" id="domainName" name="domainName" maxlength="128" size="22">
</td>
<td width="6%">
<select id="domainTLD" name="domainTLD">
{ if $list->smarty_array("host_tld", "name", "", "tld") }
{foreach from=$tld item=tld}
<option value="{$tld.name}" {if $tld.name == $VAR.tld}selected{/if}>
{$tld.name}
</option>
{/foreach}
{/if}
</select>
</td>
<td width="20"><a href="javascript:domainSearch();"><img src="themes/{$THEME_NAME}/images/icons/srch_16.gif" border="0" width="16" height="16"></a><b></b></td>
<td width="68%" class="body"><a href="javascript:domainSearch();"><b><u>{translate}search{/translate}</u></b></a></td>
<td width="68%"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3" class="row1">
<tr>
<td>
<div id="search" style="display:none"><b>
{translate module=host_tld}
searching
{/translate}
</b></div>
<div id="unavailable" style="display:none"><b>
{translate module=host_tld}
domain_unavail
{/translate}
</b></div>
<div id="available" style="display:none">
<b>
{translate module=host_tld}
domain_avail_s
{/translate}
<br>
<br>
<a href="javascript:cartAdminAdd('register')"><img src="themes/{$THEME_NAME}/images/icons/cart_16.gif" border="0">
{translate module=host_tld}
register_cart
{/translate}
</a></b>
</div>
<div id="park_available" style="display:none">
<br><b>
<a href="javascript:cartAdminAdd('park')"><img src="themes/{$THEME_NAME}/images/icons/cart_16.gif" border="0">
{translate module=host_tld}
park_cart
{/translate}
</a></b>
</div>
<div id="instructions"> <b>
{translate module=host_tld}
register_instructions_s
{/translate}
</b> </div>
</td>
</tr>
<tr>
<td width="13%"> </td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
{literal}<script language="JavaScript"> try{ document.getElementById('domain').focus(); } catch(e) {} </script>{/literal}
<br>
<div class=select> <a href="?_page=host_tld:admin_search_transfer&account_id={$VAR.account_id}"><b>Domain Transfer Form</b></a> </div>