<?php /* Smarty version 2.6.28, created on 2014-05-30 14:46:02
         compiled from /home/vinhostm/public_html/order/templates/portal/bulkdomainchecker.tpl */ ?>
<?php if ($this->_tpl_vars['bulkdomainsearchenabled']): ?>
<p align="center"><a href="domainchecker.php"><?php echo $this->_tpl_vars['LANG']['domainsimplesearch']; ?>
</a> | <strong><?php echo $this->_tpl_vars['LANG']['domainbulksearch']; ?>
</strong> | <a href="domainchecker.php?search=bulktransfer"><?php echo $this->_tpl_vars['LANG']['domainbulktransfersearch']; ?>
</a></p>
<?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']['domainbulksearchintro']; ?>
</p>
<form method="post" action="domainchecker.php?search=bulk">
  <div class="contentbox" align="center">
    <p align="center">
      <textarea name="bulkdomains" cols="60" rows="8"><?php echo $this->_tpl_vars['bulkdomains']; ?>
</textarea>
      <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']; ?>
">
    </p>
  </div>
</form>
<br />
<?php if ($this->_tpl_vars['invalid']): ?>
<p align="center" class="textred" style="font-size:18px;"><?php echo $this->_tpl_vars['LANG']['ordererrordomaininvalid']; ?>
</p>
<?php endif; ?>
<?php if ($this->_tpl_vars['availabilityresults']): ?>
<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"></th>
      <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 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 />