-
Notifications
You must be signed in to change notification settings - Fork 0
/
bulkdomainchecker.tpl
115 lines (93 loc) · 4.46 KB
/
bulkdomainchecker.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{include file="$template/pageheader.tpl" title=$LANG.domaintitle desc=$LANG.domaincheckerintro}
{if $inccode}
<div class="alert alert-error textcenter">
{$LANG.captchaverifyincorrect}
</div>
{/if}
{if $bulkdomainsearchenabled}<p align="right"><a href="domainchecker.php">{$LANG.domainsimplesearch}</a> | <a href="domainchecker.php?search=bulktransfer">{$LANG.domainbulktransfersearch}</a></p>{/if}
<form method="post" action="domainchecker.php?search=bulk">
<div class="well">
<p>{$LANG.domainbulksearchintro}</p>
<br />
<div class="textcenter">
<textarea name="bulkdomains" rows="8" style="width:60%;">{$bulkdomains}</textarea>
</div>
<div class="textcenter">
{if $capatacha}
<div class="captchainput">
<p>{$LANG.captchaverify}</p>
{if $capatacha eq "recaptcha"}
<p>{$recapatchahtml}</p>
{else}
<p><img src="includes/verifyimage.php" align="middle" /> <input type="text" name="code" class="input-small" maxlength="5" /></p>
{/if}
</div>
{/if}
<div class="internalpadding"><input type="submit" value="{$LANG.checkavailability}" class="btn btn-primary btn-large" /></div>
</div>
</div>
</form>
{if $invalid}
<p class="fontsize3 domcheckererror textcenter">{$LANG.domaincheckerbulkinvaliddomain}</p>
{/if}
{if $availabilityresults}
<br />
<div class="center80">
<form method="post" action="{$systemsslurl}cart.php?a=add&domain=register">
<table class="table table-striped table-framed">
<thead>
<tr>
<th></th>
<th>{$LANG.domainname}</th>
<th class="textcenter">{$LANG.domainstatus}</th>
<th class="textcenter">{$LANG.domainmoreinfo}</th>
</tr>
</thead>
<tbody>
{foreach from=$availabilityresults key=num item=result}
<tr>
<td class="textcenter">{if $result.status eq "available"}<input type="checkbox" name="domains[]" value="{$result.domain}" {if $num eq "0" && $available}checked {/if}/><input type="hidden" name="domainsregperiod[{$result.domain}]" value="{$result.period}" />{else}X{/if}</td>
<td>{$result.domain}</td>
<td class="textcenter {if $result.status eq "available"}domcheckersuccess{else}domcheckererror{/if}">{if $result.status eq "available"}{$LANG.domainavailable}{else}{$LANG.domainunavailable}{/if}</td>
<td class="textcenter">{if $result.status eq "unavailable"}<a href="http://{$result.domain}" target="_blank">WWW</a> <a href="#" onclick="popupWindow('whois.php?domain={$result.domain}','whois',650,420);return false">WHOIS</a>{else}<select name="domainsregperiod[{$result.domain}]">{foreach key=period item=regoption from=$result.regoptions}<option value="{$period}">{$period} {$LANG.orderyears} @ {$regoption.register}</option>{/foreach}</select>{/if}</td>
</tr>
{/foreach}
</table>
<p align="center"><input type="submit" value="{$LANG.ordernowbutton} »" class="btn btn-danger" /></p>
</form>
</div>
{else}
{include file="$template/subheader.tpl" title=$LANG.domainspricing}
<div class="center80">
<table class="table table-striped table-framed">
<thead>
<tr>
<th class="textcenter">{$LANG.domaintld}</th>
<th class="textcenter">{$LANG.domainminyears}</th>
<th class="textcenter">{$LANG.domainsregister}</th>
<th class="textcenter">{$LANG.domainstransfer}</th>
<th class="textcenter">{$LANG.domainsrenew}</th>
</tr>
</thead>
<tbody>
{foreach from=$tldpricelist item=tldpricelist}
<tr>
<td>{$tldpricelist.tld}</td>
<td class="textcenter">{$tldpricelist.period}</td>
<td class="textcenter">{if $tldpricelist.register}{$tldpricelist.register}{else}{$LANG.domainregnotavailable}{/if}</td>
<td class="textcenter">{if $tldpricelist.transfer}{$tldpricelist.transfer}{else}{$LANG.domainregnotavailable}{/if}</td>
<td class="textcenter">{if $tldpricelist.renew}{$tldpricelist.renew}{else}{$LANG.domainregnotavailable}{/if}</td>
</tr>
{/foreach}
</tbody>
</table>
{if !$loggedin && $currencies}
<form method="post" action="domainchecker.php">
<p align="right">{$LANG.choosecurrency}: <select name="currency" onchange="submit()">{foreach from=$currencies item=curr}
<option value="{$curr.id}"{if $curr.id eq $currency.id} selected{/if}>{$curr.code}</option>
{/foreach}</select> <input type="submit" value="{$LANG.go}" /></p>
</form>
{/if}
</div>
{/if}
<br /><br />