| Server IP : 23.111.136.34 / Your IP : 216.73.216.136 Web Server : Apache System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : meusitei ( 1072) PHP Version : 5.6.40 Disable Function : show_source, system, shell_exec, passthru, proc_open MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/meusitei/templates_c/ |
Upload File : |
<?php
/* Smarty version 3.1.29, created on 2022-09-12 21:35:51
from "/home/meusitei/public_html/central/templates/orderforms/modern/domainrenewals.tpl" */
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
'has_nocache_code' => false,
'version' => '3.1.29',
'unifunc' => 'content_631fa6375fb433_33021605',
'file_dependency' =>
array (
'e0ccb9f80f7cbc18e65066a4181b67ae62cc292d' =>
array (
0 => '/home/meusitei/public_html/central/templates/orderforms/modern/domainrenewals.tpl',
1 => 1531218804,
2 => 'file',
),
),
'includes' =>
array (
'file:templates/orderforms/".((string)$_smarty_tpl->tpl_vars[\'carttpl\']->value)."/category-chooser.tpl' => 1,
),
),false)) {
function content_631fa6375fb433_33021605 ($_smarty_tpl) {
echo '<script'; ?>
type="text/javascript" src="templates/orderforms/<?php echo $_smarty_tpl->tpl_vars['carttpl']->value;?>
/js/main.js"><?php echo '</script'; ?>
>
<link rel="stylesheet" type="text/css" href="templates/orderforms/<?php echo $_smarty_tpl->tpl_vars['carttpl']->value;?>
/style.css" />
<div id="order-modern">
<div class="title-bar">
<h1><?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainrenewals'];?>
</h1>
<?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:templates/orderforms/".((string)$_smarty_tpl->tpl_vars['carttpl']->value)."/category-chooser.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
</div>
<p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainrenewdesc'];?>
</p>
<form method="post" action="cart.php?a=add&renewals=true">
<table class="table table-hover renewals">
<thead>
<tr>
<th width="20"></th>
<th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderdomain'];?>
</th>
<th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainstatus'];?>
</th>
<th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['domaindaysuntilexpiry'];?>
</th>
<th></th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->tpl_vars['renewals']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_renewal_0_saved_item = isset($_smarty_tpl->tpl_vars['renewal']) ? $_smarty_tpl->tpl_vars['renewal'] : false;
$_smarty_tpl->tpl_vars['renewal'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['renewal']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['renewal']->value) {
$_smarty_tpl->tpl_vars['renewal']->_loop = true;
$__foreach_renewal_0_saved_local_item = $_smarty_tpl->tpl_vars['renewal'];
?>
<tr>
<td>
<?php if (!$_smarty_tpl->tpl_vars['renewal']->value['pastgraceperiod'] && !$_smarty_tpl->tpl_vars['renewal']->value['beforerenewlimit']) {?>
<input type="checkbox" name="renewalids[]" value="<?php echo $_smarty_tpl->tpl_vars['renewal']->value['id'];?>
" />
<?php }?>
</td>
<td>
<?php echo $_smarty_tpl->tpl_vars['renewal']->value['domain'];?>
</td>
<td>
<?php echo $_smarty_tpl->tpl_vars['renewal']->value['status'];?>
</td>
<td>
<?php if ($_smarty_tpl->tpl_vars['renewal']->value['daysuntilexpiry'] > 30) {?>
<span class="textgreen">
<?php echo $_smarty_tpl->tpl_vars['renewal']->value['daysuntilexpiry'];?>
<?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainrenewalsdays'];?>
</span>
<?php } elseif ($_smarty_tpl->tpl_vars['renewal']->value['daysuntilexpiry'] > 0) {?>
<span class="textred">
<?php echo $_smarty_tpl->tpl_vars['renewal']->value['daysuntilexpiry'];?>
<?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainrenewalsdays'];?>
</span>
<?php } else { ?>
<span class="textblack">
<?php echo $_smarty_tpl->tpl_vars['renewal']->value['daysuntilexpiry']*-1;?>
<?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainrenewalsdaysago'];?>
</span>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['renewal']->value['ingraceperiod']) {?>
<br />
<span class="textred">
<?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainrenewalsingraceperiod'];?>
</span>
<?php }?>
</td>
<td>
<?php if ($_smarty_tpl->tpl_vars['renewal']->value['beforerenewlimit']) {?>
<span class="textred">
<?php echo WHMCS\Smarty::sprintf2Modifier($_smarty_tpl->tpl_vars['LANG']->value['domainrenewalsbeforerenewlimit'],$_smarty_tpl->tpl_vars['renewal']->value['beforerenewlimitdays']);?>
</span>
<?php } elseif ($_smarty_tpl->tpl_vars['renewal']->value['pastgraceperiod']) {?>
<span class="textred">
<?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainrenewalspastgraceperiod'];?>
</span>
<?php } else { ?>
<select name="renewalperiod[<?php echo $_smarty_tpl->tpl_vars['renewal']->value['id'];?>
]">
<?php
$_from = $_smarty_tpl->tpl_vars['renewal']->value['renewaloptions'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_renewaloption_1_saved_item = isset($_smarty_tpl->tpl_vars['renewaloption']) ? $_smarty_tpl->tpl_vars['renewaloption'] : false;
$_smarty_tpl->tpl_vars['renewaloption'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['renewaloption']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['renewaloption']->value) {
$_smarty_tpl->tpl_vars['renewaloption']->_loop = true;
$__foreach_renewaloption_1_saved_local_item = $_smarty_tpl->tpl_vars['renewaloption'];
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['renewaloption']->value['period'];?>
">
<?php echo $_smarty_tpl->tpl_vars['renewaloption']->value['period'];?>
<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderyears'];?>
@ <?php echo $_smarty_tpl->tpl_vars['renewaloption']->value['price'];?>
</option>
<?php
$_smarty_tpl->tpl_vars['renewaloption'] = $__foreach_renewaloption_1_saved_local_item;
}
if ($__foreach_renewaloption_1_saved_item) {
$_smarty_tpl->tpl_vars['renewaloption'] = $__foreach_renewaloption_1_saved_item;
}
?>
</select>
<?php }?>
</td>
</tr>
<?php
$_smarty_tpl->tpl_vars['renewal'] = $__foreach_renewal_0_saved_local_item;
}
if (!$_smarty_tpl->tpl_vars['renewal']->_loop) {
?>
<tr class="carttablerow">
<td colspan="5"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainrenewalsnoneavailable'];?>
</td>
</tr>
<?php
}
if ($__foreach_renewal_0_saved_item) {
$_smarty_tpl->tpl_vars['renewal'] = $__foreach_renewal_0_saved_item;
}
?>
</tbody>
</table>
<p class="text-center">
<button type="submit" class="btn btn-success btn-lg">
<i class="fa fa-shopping-cart"></i>
<?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordernowbutton'];?>
</button>
</p>
</form>
</div>
<?php }
}