<?php /* Smarty version 2.6.28, created on 2016-11-28 01:00:53
         compiled from /home/solusito/public_html/templates/orderforms/verticalsteps/adddomain.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'replace', '/home/solusito/public_html/templates/orderforms/verticalsteps/adddomain.tpl', 41, false),array('modifier', 'in_array', '/home/solusito/public_html/templates/orderforms/verticalsteps/adddomain.tpl', 74, false),)), $this); ?>
<link rel="stylesheet" type="text/css" href="templates/orderforms/<?php echo $this->_tpl_vars['carttpl']; ?>
/style.css" />

<div id="order-verticalsteps">

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "orderforms/verticalsteps/verticalsteps.tpl", 'smarty_include_vars' => array('step' => 2)));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div class="maincontent">

<div class="left">

<form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>
">
<p><?php echo $this->_tpl_vars['LANG']['ordercategories']; ?>
: <select name="gid" onchange="submit()">
<?php $_from = $this->_tpl_vars['productgroups']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['productgroup']):
?>
<option value="<?php echo $this->_tpl_vars['productgroup']['gid']; ?>
"><?php echo $this->_tpl_vars['productgroup']['name']; ?>
</option>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['loggedin']): ?>
<option value="addons"><?php echo $this->_tpl_vars['LANG']['cartproductaddons']; ?>
</option>
<?php if ($this->_tpl_vars['renewalsenabled']): ?><option value="renewals"><?php echo $this->_tpl_vars['LANG']['domainrenewals']; ?>
</option><?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['registerdomainenabled']): ?><option value="domains" selected="selected"><?php echo $this->_tpl_vars['LANG']['orderdomainregonly']; ?>
</option><?php endif; ?>
</select></p>
</form>

</div>
<div class="right">

<?php if (! $this->_tpl_vars['loggedin'] && $this->_tpl_vars['currencies']): ?>
<form method="post" action="cart.php?a=add&domain=register">
<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; ?>

</div>

<br /><br /><br />

<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>
?a=add">

<?php if ($this->_tpl_vars['errormessage']): ?><div class="errorbox"><?php echo ((is_array($_tmp=$this->_tpl_vars['errormessage'])) ? $this->_run_mod_handler('replace', true, $_tmp, '<li>', ' &nbsp;#&nbsp; ') : smarty_modifier_replace($_tmp, '<li>', ' &nbsp;#&nbsp; ')); ?>
 &nbsp;#&nbsp; </div><?php endif; ?>

<div class="domainoptions">

<div><label><input type="radio" name="domain" value="register" id="selregister"<?php if ($this->_tpl_vars['domain'] == 'register'): ?> checked<?php endif; ?> /> <?php echo $this->_tpl_vars['LANG']['orderdomainoption1part1']; ?>
 <?php echo $this->_tpl_vars['companyname']; ?>
 <?php echo $this->_tpl_vars['LANG']['orderdomainoption1part2']; ?>
</label></div>

<div><label><input type="radio" name="domain" value="transfer" id="seltransfer"<?php if ($this->_tpl_vars['domain'] == 'transfer'): ?> checked<?php endif; ?> /> <?php echo $this->_tpl_vars['LANG']['orderdomainoption3']; ?>
 <?php echo $this->_tpl_vars['companyname']; ?>
</label></div>

</div>

<div class="orderbox textcenter">

www. <input type="text" name="sld" size="40" value="<?php echo $this->_tpl_vars['sld']; ?>
" /> <select name="tld">
<?php $_from = $this->_tpl_vars['tlds']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['listtld']):
?>
<option value="<?php echo $this->_tpl_vars['listtld']; ?>
"<?php if ($this->_tpl_vars['listtld'] == $this->_tpl_vars['tld']): ?> selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['listtld']; ?>
</option>
<?php endforeach; endif; unset($_from); ?>
</select>

</div>

<p align="center"><input type="submit" value="<?php echo $this->_tpl_vars['LANG']['checkavailability']; ?>
" /></p>

</form>

<?php if ($this->_tpl_vars['availabilityresults']): ?>

<h2><?php echo $this->_tpl_vars['LANG']['choosedomains']; ?>
</h2>

<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>
?a=add&domain=<?php echo $this->_tpl_vars['domain']; ?>
">

<table class="styled textcenter">
<tr><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 echo $this->_tpl_vars['result']['domain']; ?>
</td><td class="<?php if ($this->_tpl_vars['result']['status'] == $this->_tpl_vars['searchvar']): ?>textgreen<?php else: ?>textred<?php endif; ?>"><?php if ($this->_tpl_vars['result']['status'] == $this->_tpl_vars['searchvar']): ?><input type="checkbox" name="domains[]" value="<?php echo $this->_tpl_vars['result']['domain']; ?>
"<?php if (((is_array($_tmp=$this->_tpl_vars['result']['domain'])) ? $this->_run_mod_handler('in_array', true, $_tmp, $this->_tpl_vars['domains']) : in_array($_tmp, $this->_tpl_vars['domains']))): ?> checked<?php endif; ?> /> <?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']['regoptions']): ?><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']):
?><?php if ($this->_tpl_vars['regoption'][$this->_tpl_vars['domain']]): ?><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'][$this->_tpl_vars['domain']]; ?>
</option><?php endif; ?><?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']['addtocart']; ?>
" /></p>

</form>

<?php endif; ?>

</div>

</div>