<?php /* Smarty version 2.6.28, created on 2014-05-23 05:51:53
         compiled from /home/vinhostm/public_html/order/templates/portal/domainchecker.tpl */ ?>
<?php if ($this->_tpl_vars['bulkdomainsearchenabled']): ?>
<p align="center"><strong><?php echo $this->_tpl_vars['LANG']['domainsimplesearch']; ?>
</strong> | <a href="domainchecker.php?search=bulkregister"><?php echo $this->_tpl_vars['LANG']['domainbulksearch']; ?>
</a> | <a href="domainchecker.php?search=bulktransfer"><?php echo $this->_tpl_vars['LANG']['domainbulktransfersearch']; ?>
</a></p>
<?php endif; ?>

<?php if (! $this->_tpl_vars['loggedin'] && $this->_tpl_vars['currencies']): ?>
<form method="post" action="domainchecker.php">
  <p align="right"><?php echo $this->_tpl_vars['LANG']['choosecurrency']; ?>
:
    <select name="currency" onchange="submit()">
      <?php $_from = $this->_tpl_vars['currencies']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['curr']):
?>

      <option value="<?php echo $this->_tpl_vars['curr']['id']; ?>
"<?php if ($this->_tpl_vars['curr']['id'] == $this->_tpl_vars['currency']['id']): ?> selected<?php endif; ?>><?php echo $this->_tpl_vars['curr']['code']; ?>
</option>
      
<?php endforeach; endif; unset($_from); ?>
    </select>
    <input type="submit" value="<?php echo $this->_tpl_vars['LANG']['go']; ?>
" />
  </p>
</form>
<?php endif; ?>
<?php if ($this->_tpl_vars['inccode']): ?>
  <div class="errorbox"><?php echo $this->_tpl_vars['LANG']['captchaverifyincorrect']; ?>
</div>
<?php endif; ?>
<p><?php echo $this->_tpl_vars['LANG']['domainintrotext']; ?>
</p>
<form method="post" action="domainchecker.php">
  <div class="contentbox" align="center"> www.
    <input type="text" name="domain" value="<?php echo $this->_tpl_vars['domain']; ?>
" size="40">
    <br />
    <br />
    <table border="0" align="center" cellpadding="10" cellspacing="0">
      <tr> <?php $_from = $this->_tpl_vars['tldslist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['listtld']):
?>
        <td align="left"><input type="checkbox" name="tlds[]" value="<?php echo $this->_tpl_vars['listtld']; ?>
"<?php if (in_array ( $this->_tpl_vars['listtld'] , $this->_tpl_vars['tlds'] )): ?> checked<?php endif; ?>>
          <?php echo $this->_tpl_vars['listtld']; ?>
</td>
        <?php if ($this->_tpl_vars['num'] % 5 == 0): ?></tr>
      <tr><?php endif; ?><?php endforeach; endif; unset($_from); ?> </tr>
    </table>
    <br />
    <?php if ($this->_tpl_vars['capatacha']): ?>
    <?php if ($this->_tpl_vars['capatacha'] == 'recaptcha'): ?>
    <p><?php echo $this->_tpl_vars['LANG']['captchaverify']; ?>
</p>
    <div align="center"><?php echo $this->_tpl_vars['recapatchahtml']; ?>
</div>
    <br />
    <?php else: ?>
    <img src="includes/verifyimage.php" align="middle" /> <input type="text" name="code" size="10" maxlength="5" /> &nbsp;&nbsp;&nbsp;
    <?php endif; ?>
    <?php endif; ?>
    <input type="submit" id="Submit" value="<?php echo $this->_tpl_vars['LANG']['domainlookupbutton']; ?>
">
  </div>
</form>
<br />
<?php if ($this->_tpl_vars['lookup']): ?>

<?php if ($this->_tpl_vars['available']): ?>
<p align="center" class="textgreen" style="font-size:18px;"><?php echo $this->_tpl_vars['LANG']['domainavailable1']; ?>
 <strong><?php echo $this->_tpl_vars['domain']; ?>
<?php echo $this->_tpl_vars['ext']; ?>
</strong> <?php echo $this->_tpl_vars['LANG']['domainavailable2']; ?>
</p>
<?php elseif ($this->_tpl_vars['invalid']): ?>
<p align="center" class="textred" style="font-size:18px;"><?php echo $this->_tpl_vars['LANG']['ordererrordomaininvalid']; ?>
</p>
<?php elseif ($this->_tpl_vars['error']): ?>
<p align="center" class="textred" style="font-size:18px;"><?php echo $this->_tpl_vars['LANG']['domainerror']; ?>
</p>
<?php else: ?>
<p align="center" class="textred" style="font-size:18px;"><?php echo $this->_tpl_vars['LANG']['domainunavailable1']; ?>
 <strong><?php echo $this->_tpl_vars['domain']; ?>
<?php echo $this->_tpl_vars['ext']; ?>
</strong> <?php echo $this->_tpl_vars['LANG']['domainunavailable2']; ?>
</p>
<?php endif; ?>

<?php if (! $this->_tpl_vars['invalid']): ?>
<h2><?php echo $this->_tpl_vars['LANG']['morechoices']; ?>
</h2>
<form method="post" action="<?php echo $this->_tpl_vars['systemsslurl']; ?>
cart.php?a=add&domain=register">
  <table width="100%" border="0" cellpadding="10" cellspacing="0" class="data">
    <tr>
      <th width="20"></td>
      <th><?php echo $this->_tpl_vars['LANG']['domainname']; ?>
</th>
      <th><?php echo $this->_tpl_vars['LANG']['domainstatus']; ?>
</th>
      <th><?php echo $this->_tpl_vars['LANG']['domainmoreinfo']; ?>
</th>
    </tr>
    <?php $_from = $this->_tpl_vars['availabilityresults']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['result']):
?>
    <tr>
      <td><?php if ($this->_tpl_vars['result']['status'] == 'available'): ?>
        <input type="checkbox" name="domains[]" value="<?php echo $this->_tpl_vars['result']['domain']; ?>
" <?php if ($this->_tpl_vars['num'] == '0' && $this->_tpl_vars['available']): ?>checked <?php endif; ?>/>
        <input type="hidden" name="domainsregperiod[<?php echo $this->_tpl_vars['result']['domain']; ?>
]" value="<?php echo $this->_tpl_vars['result']['period']; ?>
" />
        <?php else: ?>X<?php endif; ?></td>
      <td><?php echo $this->_tpl_vars['result']['domain']; ?>
</td>
      <td class="<?php if ($this->_tpl_vars['result']['status'] == 'available'): ?>textgreen<?php else: ?>textred<?php endif; ?>"><?php if ($this->_tpl_vars['result']['status'] == 'available'): ?><?php echo $this->_tpl_vars['LANG']['domainavailable']; ?>
<?php else: ?><?php echo $this->_tpl_vars['LANG']['domainunavailable']; ?>
<?php endif; ?></td>
      <td><?php if ($this->_tpl_vars['result']['status'] == 'unavailable'): ?><a href="http://<?php echo $this->_tpl_vars['result']['domain']; ?>
" target="_blank">WWW</a> <a href="#" onclick="window.open('whois.php?domain=<?php echo $this->_tpl_vars['result']['domain']; ?>
','whois','width=500,height=400,scrollbars=yes');return false">WHOIS</a><?php else: ?>
        <select name="domainsregperiod[<?php echo $this->_tpl_vars['result']['domain']; ?>
]">
          <?php $_from = $this->_tpl_vars['result']['regoptions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['period'] => $this->_tpl_vars['regoption']):
?>
          <option value="<?php echo $this->_tpl_vars['period']; ?>
"><?php echo $this->_tpl_vars['period']; ?>
 <?php echo $this->_tpl_vars['LANG']['orderyears']; ?>
 @ <?php echo $this->_tpl_vars['regoption']['register']; ?>
</option>
          <?php endforeach; endif; unset($_from); ?>
        </select>
        <?php endif; ?></td>
    </tr>
    <?php endforeach; endif; unset($_from); ?>
  </table>
  <p align="center">
    <input type="submit" value="<?php echo $this->_tpl_vars['LANG']['ordernowbutton']; ?>
 >>" />
  </p>
</form>
<?php endif; ?>

<?php else: ?>
<h2><?php echo $this->_tpl_vars['LANG']['domainspricing']; ?>
</h2>
<table width="100%" border="0" cellpadding="10" cellspacing="0" class="data">
  <tr>
    <th><?php echo $this->_tpl_vars['LANG']['domaintld']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['domainminyears']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['domainsregister']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['domainstransfer']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['domainsrenew']; ?>
</th>
  </tr>
  <?php $_from = $this->_tpl_vars['tldpricelist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['tldpricelist']):
?>
  <tr>
    <td><?php echo $this->_tpl_vars['tldpricelist']['tld']; ?>
</td>
    <td><?php echo $this->_tpl_vars['tldpricelist']['period']; ?>
</td>
    <td><?php if ($this->_tpl_vars['tldpricelist']['register']): ?><?php echo $this->_tpl_vars['tldpricelist']['register']; ?>
<?php else: ?><?php echo $this->_tpl_vars['LANG']['domainregnotavailable']; ?>
<?php endif; ?></td>
    <td><?php if ($this->_tpl_vars['tldpricelist']['transfer']): ?><?php echo $this->_tpl_vars['tldpricelist']['transfer']; ?>
<?php else: ?><?php echo $this->_tpl_vars['LANG']['domainregnotavailable']; ?>
<?php endif; ?></td>
    <td><?php if ($this->_tpl_vars['tldpricelist']['renew']): ?><?php echo $this->_tpl_vars['tldpricelist']['renew']; ?>
<?php else: ?><?php echo $this->_tpl_vars['LANG']['domainregnotavailable']; ?>
<?php endif; ?></td>
  </tr>
  <?php endforeach; endif; unset($_from); ?>
</table>
<?php endif; ?><br />