<?php /* Smarty version 2.6.28, created on 2017-02-08 12:01:36
         compiled from /home/solusito/public_html/templates/orderforms/cart/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/cart/adddomain.tpl', 34, false),array('modifier', 'in_array', '/home/solusito/public_html/templates/orderforms/cart/adddomain.tpl', 57, false),)), $this); ?>
<link rel="stylesheet" type="text/css" href="templates/orderforms/<?php echo $this->_tpl_vars['carttpl']; ?>
/style.css" />

<div id="order-cart">

<h1><?php if ($this->_tpl_vars['domain'] == 'register'): ?><?php echo $this->_tpl_vars['LANG']['registerdomainname']; ?>
<?php else: ?><?php echo $this->_tpl_vars['LANG']['transferdomainname']; ?>
<?php endif; ?></h1>

<?php if (! $this->_tpl_vars['loggedin'] && $this->_tpl_vars['currencies']): ?>
<form method="post" action="cart.php?a=add&domain=<?php echo $this->_tpl_vars['domain']; ?>
">
<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 class="cartbox" align="center"><strong>
<?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']):
?>
<?php if ($this->_tpl_vars['gid'] == $this->_tpl_vars['productgroup']['gid']): ?>
<?php echo $this->_tpl_vars['productgroup']['name']; ?>
 | 
<?php else: ?>
<a href="<?php echo $_SERVER['PHP_SELF']; ?>
?gid=<?php echo $this->_tpl_vars['productgroup']['gid']; ?>
"><?php echo $this->_tpl_vars['productgroup']['name']; ?>
</a> | 
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['loggedin']): ?>
<a href="<?php echo $_SERVER['PHP_SELF']; ?>
?gid=addons"><?php echo $this->_tpl_vars['LANG']['cartproductaddons']; ?>
</a> |
<?php if ($this->_tpl_vars['renewalsenabled']): ?><a href="<?php echo $_SERVER['PHP_SELF']; ?>
?gid=renewals"><?php echo $this->_tpl_vars['LANG']['domainrenewals']; ?>
</a> | <?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['registerdomainenabled']): ?><?php if ($this->_tpl_vars['domain'] != 'register'): ?><a href="<?php echo $_SERVER['PHP_SELF']; ?>
?a=add&domain=register"><?php endif; ?><?php echo $this->_tpl_vars['LANG']['registerdomain']; ?>
</a> | <?php endif; ?>
<?php if ($this->_tpl_vars['transferdomainenabled']): ?><?php if ($this->_tpl_vars['domain'] != 'transfer'): ?><a href="<?php echo $_SERVER['PHP_SELF']; ?>
?a=add&domain=transfer"><?php endif; ?><?php echo $this->_tpl_vars['LANG']['transferdomain']; ?>
</a> | <?php endif; ?>
<a href="<?php echo $_SERVER['PHP_SELF']; ?>
?a=view"><?php echo $this->_tpl_vars['LANG']['viewcart']; ?>
</a>
</strong></div>

<p><?php if ($this->_tpl_vars['domain'] == 'register'): ?><?php echo $this->_tpl_vars['LANG']['registerdomaindesc']; ?>
<?php else: ?><?php echo $this->_tpl_vars['LANG']['transferdomaindesc']; ?>
<?php endif; ?></p>

<?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><br /><?php endif; ?>

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

<div class="cartbox" align="center">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> <input type="submit" value="<?php echo $this->_tpl_vars['LANG']['checkavailability']; ?>
" /></div>

<p align="center"></p>

</form>

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

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

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

<table class="domains">
<tr class="carttableheading"><td><?php echo $this->_tpl_vars['LANG']['domainname']; ?>
</td><td><?php echo $this->_tpl_vars['LANG']['domainstatus']; ?>
</td><td><?php echo $this->_tpl_vars['LANG']['domainmoreinfo']; ?>
</td></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 class="carttablerow"><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; ?>

<p align="right"><input type="button" value="<?php echo $this->_tpl_vars['LANG']['viewcart']; ?>
" onclick="window.location='cart.php?a=view'" /></p>

</div>