| 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-12-05 16:47:12
from "/home/meusitei/public_html/central/templates/orderforms/modern/addons.tpl" */
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
'has_nocache_code' => false,
'version' => '3.1.29',
'unifunc' => 'content_638e2090d9b617_50105309',
'file_dependency' =>
array (
'185125c2e06e8e81639170a21e56f09431f575fd' =>
array (
0 => '/home/meusitei/public_html/central/templates/orderforms/modern/addons.tpl',
1 => 1531218804,
2 => 'file',
),
),
'includes' =>
array (
'file:templates/orderforms/".((string)$_smarty_tpl->tpl_vars[\'carttpl\']->value)."/category-chooser.tpl' => 1,
),
),false)) {
function content_638e2090d9b617_50105309 ($_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['cartproductaddons'];?>
</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>
<div class="row">
<?php
$_from = $_smarty_tpl->tpl_vars['addons']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_addon_0_saved_item = isset($_smarty_tpl->tpl_vars['addon']) ? $_smarty_tpl->tpl_vars['addon'] : false;
$__foreach_addon_0_saved_key = isset($_smarty_tpl->tpl_vars['num']) ? $_smarty_tpl->tpl_vars['num'] : false;
$_smarty_tpl->tpl_vars['addon'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['num'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['addon']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['addon']->value) {
$_smarty_tpl->tpl_vars['addon']->_loop = true;
$__foreach_addon_0_saved_local_item = $_smarty_tpl->tpl_vars['addon'];
?>
<div class="col-md-6">
<div id="addon<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
" class="product">
<div class="pricing">
<?php if ($_smarty_tpl->tpl_vars['addon']->value['free']) {?>
<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderfree'];?>
<?php } else { ?>
<span class="pricing"><?php echo $_smarty_tpl->tpl_vars['addon']->value['recurringamount'];?>
<?php echo $_smarty_tpl->tpl_vars['addon']->value['billingcycle'];?>
</span>
<?php if ($_smarty_tpl->tpl_vars['addon']->value['setupfee']) {?><br />+ <?php echo $_smarty_tpl->tpl_vars['addon']->value['setupfee'];?>
<?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordersetupfee'];
}?>
<?php }?>
</div>
<div class="name">
<?php echo $_smarty_tpl->tpl_vars['addon']->value['name'];?>
</div>
<div class="description"><?php echo $_smarty_tpl->tpl_vars['addon']->value['description'];?>
</div>
<form method="post" action="<?php echo $_SERVER['PHP_SELF'];?>
?a=add" class="form-inline">
<input type="hidden" name="aid" value="<?php echo $_smarty_tpl->tpl_vars['addon']->value['id'];?>
" />
<div class="text-center">
<label for="inputProductId<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartproductaddonschoosepackage'];?>
</label><br />
<div class="form-group">
<select name="productid" id="inputProductId<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
" class="form-control">
<?php
$_from = $_smarty_tpl->tpl_vars['addon']->value['productids'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_product_1_saved_item = isset($_smarty_tpl->tpl_vars['product']) ? $_smarty_tpl->tpl_vars['product'] : false;
$_smarty_tpl->tpl_vars['product'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['product']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['product']->value) {
$_smarty_tpl->tpl_vars['product']->_loop = true;
$__foreach_product_1_saved_local_item = $_smarty_tpl->tpl_vars['product'];
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['product']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['product']->value['product'];
if ($_smarty_tpl->tpl_vars['product']->value['domain']) {?> - <?php echo $_smarty_tpl->tpl_vars['product']->value['domain'];
}?></option>
<?php
$_smarty_tpl->tpl_vars['product'] = $__foreach_product_1_saved_local_item;
}
if ($__foreach_product_1_saved_item) {
$_smarty_tpl->tpl_vars['product'] = $__foreach_product_1_saved_item;
}
?>
</select>
</div>
<button type="submit" class="btn btn-success">
<i class="fa fa-shopping-cart"></i>
<?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordernowbutton'];?>
</button>
</div>
</form>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['num']->value%2) {?>
</div>
<div class="row">
<?php }?>
<?php
$_smarty_tpl->tpl_vars['addon'] = $__foreach_addon_0_saved_local_item;
}
if ($__foreach_addon_0_saved_item) {
$_smarty_tpl->tpl_vars['addon'] = $__foreach_addon_0_saved_item;
}
if ($__foreach_addon_0_saved_key) {
$_smarty_tpl->tpl_vars['num'] = $__foreach_addon_0_saved_key;
}
?>
</div>
<?php if ($_smarty_tpl->tpl_vars['noaddons']->value) {?>
<div class="errorbox" style="display:block;"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartproductaddonsnone'];?>
</div>
<?php }?>
</div>
<?php }
}