<?php /* Smarty version 2.6.28, created on 2022-01-06 10:11:22
         compiled from /home/vinhostm/public_html/order/templates/portal/clientareacancelrequest.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'sprintf2', '/home/vinhostm/public_html/order/templates/portal/clientareacancelrequest.tpl', 31, false),)), $this); ?>
<h2><?php echo $this->_tpl_vars['LANG']['clientareacancelrequest']; ?>
</h2>

<?php if ($this->_tpl_vars['invalid']): ?>

<p><?php echo $this->_tpl_vars['LANG']['clientareacancelinvalid']; ?>
</p>

<?php else: ?>

<?php if ($this->_tpl_vars['requested']): ?>

<p><?php echo $this->_tpl_vars['LANG']['clientareacancelconfirmation']; ?>
</p>

<?php else: ?>

<p><?php echo $this->_tpl_vars['LANG']['clientareacancelproduct']; ?>
: <strong><?php echo $this->_tpl_vars['groupname']; ?>
 - <?php echo $this->_tpl_vars['productname']; ?>
</strong><?php if ($this->_tpl_vars['domain']): ?> (<?php echo $this->_tpl_vars['domain']; ?>
)<?php endif; ?></p>

<br />

<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>
?action=cancel&amp;id=<?php echo $this->_tpl_vars['id']; ?>
">
<input type="hidden" name="sub" value="submit" />
<table width=80% align="center">
<tr><td><?php if ($this->_tpl_vars['error']): ?><font style="color:#cc0000;font-weight:bold;"><?php endif; ?><?php echo $this->_tpl_vars['LANG']['clientareacancelreason']; ?>
:</td></tr>
<tr><td><textarea name="cancellationreason" rows="6" style="width:100%;"></textarea></td></tr>
<tr><td align="center"><?php echo $this->_tpl_vars['LANG']['clientareacancellationtype']; ?>
: <select name="type"><option value="Immediate"><?php echo $this->_tpl_vars['LANG']['clientareacancellationimmediate']; ?>
</option><option value="End of Billing Period"><?php echo $this->_tpl_vars['LANG']['clientareacancellationendofbillingperiod']; ?>
</option></select></td></tr>
</table>

<br />

<?php if ($this->_tpl_vars['domainid']): ?>
<p align="center"><strong><?php echo $this->_tpl_vars['LANG']['cancelrequestdomain']; ?>
</strong></p>
<p align="center"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG']['cancelrequestdomaindesc'])) ? $this->_run_mod_handler('sprintf2', true, $_tmp, $this->_tpl_vars['domainnextduedate'], $this->_tpl_vars['domainprice'], $this->_tpl_vars['domainregperiod']) : smarty_modifier_sprintf2($_tmp, $this->_tpl_vars['domainnextduedate'], $this->_tpl_vars['domainprice'], $this->_tpl_vars['domainregperiod'])); ?>
</p>
<p align="center"><input type="checkbox" name="canceldomain" id="canceldomain" /> <label for="canceldomain" class="textred"><?php echo $this->_tpl_vars['LANG']['cancelrequestdomainconfirm']; ?>
</label></p>
<br />
<?php endif; ?>

<p align="center"><input type="submit" value="<?php echo $this->_tpl_vars['LANG']['clientareacancelrequestbutton']; ?>
" class="button" /></p>
</form>

<?php endif; ?><?php endif; ?>

<br /><br />