Server IP : 213.176.29.180 / Your IP : 52.15.209.178 Web Server : Apache System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64 User : webtaragh ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home/webtaragh/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
public_html/whmcs/templates_c/66ba4fb0ccf38dabfc8b4074adf4fd35012a5688_0.file.viewcart.tpl.php 0000644 00000202736 14736265405 0027553 0 ustar 00 home/webtaragh <?php /* Smarty version 3.1.36, created on 2024-10-24 15:56:21 from '/home/webtaragh/public_html/mamad/templates/orderforms/standard_cart/viewcart.tpl' */ /* @var Smarty_Internal_Template $_smarty_tpl */ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.36', 'unifunc' => 'content_671a6e2588a807_83621286', 'has_nocache_code' => false, 'file_dependency' => array ( '66ba4fb0ccf38dabfc8b4074adf4fd35012a5688' => array ( 0 => '/home/webtaragh/public_html/mamad/templates/orderforms/standard_cart/viewcart.tpl', 1 => 1695537215, 2 => 'file', ), ), 'includes' => array ( 'file:orderforms/".((string)$_smarty_tpl->tpl_vars[\'carttpl\']->value)."/checkout.tpl' => 1, 'file:orderforms/standard_cart/common.tpl' => 1, 'file:orderforms/standard_cart/sidebar-categories.tpl' => 1, 'file:orderforms/standard_cart/sidebar-categories-collapsed.tpl' => 1, 'file:orderforms/standard_cart/recommendations-modal.tpl' => 1, ), ),false)) { function content_671a6e2588a807_83621286 (Smarty_Internal_Template $_smarty_tpl) { if ($_smarty_tpl->tpl_vars['checkout']->value) {?> <?php $_smarty_tpl->_subTemplateRender("file:orderforms/".((string)$_smarty_tpl->tpl_vars['carttpl']->value)."/checkout.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true); ?> <?php } else { ?> <?php echo '<script'; ?> > // Define state tab index value var statesTab = 10; var stateNotRequired = true; <?php echo '</script'; ?> > <?php $_smarty_tpl->_subTemplateRender("file:orderforms/standard_cart/common.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); ?> <?php echo '<script'; ?> type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['BASE_PATH_JS']->value;?> /StatesDropdown.js"><?php echo '</script'; ?> > <div id="order-standard_cart"> <div class="row"> <div class="cart-sidebar"> <?php $_smarty_tpl->_subTemplateRender("file:orderforms/standard_cart/sidebar-categories.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); ?> </div> <div class="cart-body"> <div class="header-lined"> <h1 class="font-size-36"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartreviewcheckout'];?> </h1> </div> <?php $_smarty_tpl->_subTemplateRender("file:orderforms/standard_cart/sidebar-categories-collapsed.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); ?> <div class="row"> <div class="secondary-cart-body"> <?php if ($_smarty_tpl->tpl_vars['promoerrormessage']->value) {?> <div class="alert alert-warning text-center" role="alert"> <?php echo $_smarty_tpl->tpl_vars['promoerrormessage']->value;?> </div> <?php } elseif ($_smarty_tpl->tpl_vars['errormessage']->value) {?> <div class="alert alert-danger" role="alert"> <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['correctErrors'];?> :</p> <ul> <?php echo $_smarty_tpl->tpl_vars['errormessage']->value;?> </ul> </div> <?php } elseif ($_smarty_tpl->tpl_vars['promotioncode']->value && $_smarty_tpl->tpl_vars['rawdiscount']->value == "0.00") {?> <div class="alert alert-info text-center" role="alert"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['promoappliedbutnodiscount'];?> </div> <?php } elseif ($_smarty_tpl->tpl_vars['promoaddedsuccess']->value) {?> <div class="alert alert-success text-center" role="alert"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['promotionAccepted'];?> </div> <?php }?> <?php if ($_smarty_tpl->tpl_vars['bundlewarnings']->value) {?> <div class="alert alert-warning" role="alert"> <strong><?php echo $_smarty_tpl->tpl_vars['LANG']->value['bundlereqsnotmet'];?> </strong><br /> <ul> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['bundlewarnings']->value, 'warning'); $_smarty_tpl->tpl_vars['warning']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['warning']->value) { $_smarty_tpl->tpl_vars['warning']->do_else = false; ?> <li><?php echo $_smarty_tpl->tpl_vars['warning']->value;?> </li> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> </ul> </div> <?php }?> <form method="post" action="<?php echo $_SERVER['PHP_SELF'];?> ?a=view"> <div class="view-cart-items-header"> <div class="row"> <div class="<?php if ($_smarty_tpl->tpl_vars['showqtyoptions']->value) {?>col-sm-5<?php } else { ?>col-sm-7<?php }?> col-xs-7 col-7"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['productOptions'];?> </div> <?php if ($_smarty_tpl->tpl_vars['showqtyoptions']->value) {?> <div class="col-sm-2 hidden-xs text-center d-none d-sm-block"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['qty'];?> </div> <?php }?> <div class="col-sm-4 col-xs-5 col-5 text-right"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['priceCycle'];?> </div> </div> </div> <div class="view-cart-items"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['products']->value, 'product', false, 'num'); $_smarty_tpl->tpl_vars['product']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['product']->value) { $_smarty_tpl->tpl_vars['product']->do_else = false; ?> <div class="item"> <div class="row"> <div class="<?php if ($_smarty_tpl->tpl_vars['showqtyoptions']->value) {?>col-sm-5<?php } else { ?>col-sm-7<?php }?>"> <span class="item-title"> <?php echo $_smarty_tpl->tpl_vars['product']->value['productinfo']['name'];?> <a href="<?php echo $_smarty_tpl->tpl_vars['WEB_ROOT']->value;?> /cart.php?a=confproduct&i=<?php echo $_smarty_tpl->tpl_vars['num']->value;?> " class="btn btn-link btn-xs"> <i class="fas fa-pencil-alt"></i> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['edit'];?> </a> <span class="visible-xs-inline d-inline d-sm-none"> <button type="button" class="btn btn-link btn-xs btn-remove-from-cart" onclick="removeItem('p','<?php echo $_smarty_tpl->tpl_vars['num']->value;?> ')"> <i class="fas fa-times"></i> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['remove'];?> </button> </span> </span> <span class="item-group"> <?php echo $_smarty_tpl->tpl_vars['product']->value['productinfo']['groupname'];?> </span> <?php if ($_smarty_tpl->tpl_vars['product']->value['domain']) {?> <span class="item-domain"> <?php echo $_smarty_tpl->tpl_vars['product']->value['domain'];?> </span> <?php }?> <?php if ($_smarty_tpl->tpl_vars['product']->value['configoptions']) {?> <small> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['configoptions'], 'configoption', false, 'confnum'); $_smarty_tpl->tpl_vars['configoption']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['confnum']->value => $_smarty_tpl->tpl_vars['configoption']->value) { $_smarty_tpl->tpl_vars['configoption']->do_else = false; ?> » <?php echo $_smarty_tpl->tpl_vars['configoption']->value['name'];?> : <?php if ($_smarty_tpl->tpl_vars['configoption']->value['type'] == 1 || $_smarty_tpl->tpl_vars['configoption']->value['type'] == 2) { echo $_smarty_tpl->tpl_vars['configoption']->value['option']; } elseif ($_smarty_tpl->tpl_vars['configoption']->value['type'] == 3) { if ($_smarty_tpl->tpl_vars['configoption']->value['qty']) { echo $_smarty_tpl->tpl_vars['configoption']->value['option']; } else { echo $_smarty_tpl->tpl_vars['LANG']->value['no']; } } elseif ($_smarty_tpl->tpl_vars['configoption']->value['type'] == 4) { echo $_smarty_tpl->tpl_vars['configoption']->value['qty'];?> x <?php echo $_smarty_tpl->tpl_vars['configoption']->value['option']; }?><br /> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> </small> <?php }?> </div> <?php if ($_smarty_tpl->tpl_vars['showqtyoptions']->value) {?> <div class="col-sm-2 item-qty"> <?php if ($_smarty_tpl->tpl_vars['product']->value['allowqty']) {?> <input type="number" name="qty[<?php echo $_smarty_tpl->tpl_vars['num']->value;?> ]" value="<?php echo $_smarty_tpl->tpl_vars['product']->value['qty'];?> " class="form-control text-center" min="0" /> <button type="submit" class="btn btn-xs"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['update'];?> </button> <?php }?> </div> <?php }?> <div class="col-sm-4 item-price"> <span><?php echo $_smarty_tpl->tpl_vars['product']->value['pricing']['totalTodayExcludingTaxSetup'];?> </span> <span class="cycle"><?php echo $_smarty_tpl->tpl_vars['product']->value['billingcyclefriendly'];?> </span> <?php if ($_smarty_tpl->tpl_vars['product']->value['pricing']['productonlysetup']) {?> <?php echo $_smarty_tpl->tpl_vars['product']->value['pricing']['productonlysetup']->toPrefixed();?> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordersetupfee'];?> <?php }?> <?php if ($_smarty_tpl->tpl_vars['product']->value['proratadate']) {?><br />(<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderprorata'];?> <?php echo $_smarty_tpl->tpl_vars['product']->value['proratadate'];?> )<?php }?> </div> <div class="col-sm-1 hidden-xs d-none d-sm-block"> <button type="button" class="btn btn-link btn-xs btn-remove-from-cart" onclick="removeItem('p','<?php echo $_smarty_tpl->tpl_vars['num']->value;?> ')"> <i class="fas fa-times"></i> </button> </div> </div> </div> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['addons'], 'addon', false, 'addonnum'); $_smarty_tpl->tpl_vars['addon']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['addonnum']->value => $_smarty_tpl->tpl_vars['addon']->value) { $_smarty_tpl->tpl_vars['addon']->do_else = false; ?> <div class="item"> <div class="row"> <div class="<?php if ($_smarty_tpl->tpl_vars['showAddonQtyOptions']->value) {?>col-sm-5<?php } else { ?>col-sm-7<?php }?>"> <span class="item-title"> <?php echo $_smarty_tpl->tpl_vars['addon']->value['name'];?> </span> <span class="item-group"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderaddon'];?> </span> </div> <?php if ($_smarty_tpl->tpl_vars['showAddonQtyOptions']->value) {?> <div class="col-sm-2 item-qty"> <?php if ($_smarty_tpl->tpl_vars['addon']->value['allowqty'] === 2) {?> <input type="number" name="paddonqty[<?php echo $_smarty_tpl->tpl_vars['num']->value;?> ][<?php echo $_smarty_tpl->tpl_vars['addonnum']->value;?> ]" value="<?php echo $_smarty_tpl->tpl_vars['addon']->value['qty'];?> " class="form-control text-center" min="0" /> <button type="submit" class="btn btn-xs"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['update'];?> </button> <?php }?> </div> <?php }?> <div class="col-sm-4 item-price"> <span><?php echo $_smarty_tpl->tpl_vars['addon']->value['totaltoday'];?> </span> <span class="cycle"><?php echo $_smarty_tpl->tpl_vars['addon']->value['billingcyclefriendly'];?> </span> <?php if ($_smarty_tpl->tpl_vars['addon']->value['setup']) { echo $_smarty_tpl->tpl_vars['addon']->value['setup']->toPrefixed();?> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordersetupfee']; }?> <?php if ($_smarty_tpl->tpl_vars['addon']->value['isProrated']) {?><br />(<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderprorata'];?> <?php echo $_smarty_tpl->tpl_vars['addon']->value['prorataDate'];?> )<?php }?> </div> </div> </div> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['addons']->value, 'addon', false, 'num'); $_smarty_tpl->tpl_vars['addon']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['addon']->value) { $_smarty_tpl->tpl_vars['addon']->do_else = false; ?> <div class="item"> <div class="row"> <div class="<?php if ($_smarty_tpl->tpl_vars['showAddonQtyOptions']->value) {?>col-sm-5<?php } else { ?>col-sm-7<?php }?>"> <span class="item-title"> <?php echo $_smarty_tpl->tpl_vars['addon']->value['name'];?> <span class="visible-xs-inline d-inline d-sm-none"> <button type="button" class="btn btn-link btn-xs btn-remove-from-cart" onclick="removeItem('a','<?php echo $_smarty_tpl->tpl_vars['num']->value;?> ')"> <i class="fas fa-times"></i> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['remove'];?> </button> </span> </span> <span class="item-group"> <?php echo $_smarty_tpl->tpl_vars['addon']->value['productname'];?> </span> <?php if ($_smarty_tpl->tpl_vars['addon']->value['domainname']) {?> <span class="item-domain"> <?php echo $_smarty_tpl->tpl_vars['addon']->value['domainname'];?> </span> <?php }?> </div> <?php if ($_smarty_tpl->tpl_vars['showAddonQtyOptions']->value) {?> <div class="col-sm-2 item-qty"> <?php if ($_smarty_tpl->tpl_vars['addon']->value['allowqty'] === 2) {?> <input type="number" name="addonqty[<?php echo $_smarty_tpl->tpl_vars['num']->value;?> ]" value="<?php echo $_smarty_tpl->tpl_vars['addon']->value['qty'];?> " class="form-control text-center" min="0" /> <button type="submit" class="btn btn-xs"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['update'];?> </button> <?php }?> </div> <?php }?> <div class="col-sm-4 item-price"> <span><?php echo $_smarty_tpl->tpl_vars['addon']->value['totaltoday'];?> </span> <span class="cycle"><?php echo $_smarty_tpl->tpl_vars['addon']->value['billingcyclefriendly'];?> </span> <?php if ($_smarty_tpl->tpl_vars['addon']->value['setup']) { echo $_smarty_tpl->tpl_vars['addon']->value['setup']->toPrefixed();?> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordersetupfee']; }?> <?php if ($_smarty_tpl->tpl_vars['addon']->value['isProrated']) {?><br />(<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderprorata'];?> <?php echo $_smarty_tpl->tpl_vars['addon']->value['prorataDate'];?> )<?php }?> </div> <div class="col-sm-1 hidden-xs d-none d-sm-block"> <button type="button" class="btn btn-link btn-xs btn-remove-from-cart" onclick="removeItem('a','<?php echo $_smarty_tpl->tpl_vars['num']->value;?> ')"> <i class="fas fa-times"></i> </button> </div> </div> </div> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['domains']->value, 'domain', false, 'num'); $_smarty_tpl->tpl_vars['domain']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['domain']->value) { $_smarty_tpl->tpl_vars['domain']->do_else = false; ?> <div class="item"> <div class="row"> <div class="col-sm-7"> <span class="item-title"> <?php if ($_smarty_tpl->tpl_vars['domain']->value['type'] == "register") { echo $_smarty_tpl->tpl_vars['LANG']->value['orderdomainregistration']; } else { echo $_smarty_tpl->tpl_vars['LANG']->value['orderdomaintransfer']; }?> <a href="<?php echo $_smarty_tpl->tpl_vars['WEB_ROOT']->value;?> /cart.php?a=confdomains" class="btn btn-link btn-xs"> <i class="fas fa-pencil-alt"></i> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['edit'];?> </a> <span class="visible-xs-inline d-inline d-sm-none"> <button type="button" class="btn btn-link btn-xs btn-remove-from-cart" onclick="removeItem('d','<?php echo $_smarty_tpl->tpl_vars['num']->value;?> ')"> <i class="fas fa-times"></i> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['remove'];?> </button> </span> </span> <?php if ($_smarty_tpl->tpl_vars['domain']->value['domain']) {?> <span class="item-domain"> <?php echo $_smarty_tpl->tpl_vars['domain']->value['domain'];?> </span> <?php }?> <?php if ($_smarty_tpl->tpl_vars['domain']->value['dnsmanagement']) {?> » <?php echo $_smarty_tpl->tpl_vars['LANG']->value['domaindnsmanagement'];?> <br /><?php }?> <?php if ($_smarty_tpl->tpl_vars['domain']->value['emailforwarding']) {?> » <?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainemailforwarding'];?> <br /><?php }?> <?php if ($_smarty_tpl->tpl_vars['domain']->value['idprotection']) {?> » <?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainidprotection'];?> <br /><?php }?> </div> <div class="col-sm-4 item-price"> <?php if (count($_smarty_tpl->tpl_vars['domain']->value['pricing']) == 1 || $_smarty_tpl->tpl_vars['domain']->value['type'] == 'transfer') {?> <span name="<?php echo $_smarty_tpl->tpl_vars['domain']->value['domain'];?> Price"><?php echo $_smarty_tpl->tpl_vars['domain']->value['price'];?> </span> <span class="cycle"><?php echo $_smarty_tpl->tpl_vars['domain']->value['regperiod'];?> <?php echo $_smarty_tpl->tpl_vars['domain']->value['yearsLanguage'];?> </span> <span class="renewal cycle"> <?php if ((isset($_smarty_tpl->tpl_vars['domain']->value['renewprice']))) { echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'domainrenewalprice'),$_smarty_tpl ) );?> <span class="renewal-price cycle"><?php echo $_smarty_tpl->tpl_vars['domain']->value['renewprice']->toPrefixed(); echo $_smarty_tpl->tpl_vars['domain']->value['shortRenewalYearsLanguage']; }?></span> </span> <?php } else { ?> <span name="<?php echo $_smarty_tpl->tpl_vars['domain']->value['domain'];?> Price"><?php echo $_smarty_tpl->tpl_vars['domain']->value['price'];?> </span> <div class="dropdown"> <button class="btn btn-default btn-default btn-xs dropdown-toggle" type="button" id="<?php echo $_smarty_tpl->tpl_vars['domain']->value['domain'];?> Pricing" name="<?php echo $_smarty_tpl->tpl_vars['domain']->value['domain'];?> Pricing" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <?php echo $_smarty_tpl->tpl_vars['domain']->value['regperiod'];?> <?php echo $_smarty_tpl->tpl_vars['domain']->value['yearsLanguage'];?> <span class="caret"></span> </button> <ul class="dropdown-menu" aria-labelledby="<?php echo $_smarty_tpl->tpl_vars['domain']->value['domain'];?> Pricing"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['domain']->value['pricing'], 'price', false, 'years'); $_smarty_tpl->tpl_vars['price']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['years']->value => $_smarty_tpl->tpl_vars['price']->value) { $_smarty_tpl->tpl_vars['price']->do_else = false; ?> <li class="dropdown-item"> <a href="#" onclick="selectDomainPeriodInCart('<?php echo $_smarty_tpl->tpl_vars['domain']->value['domain'];?> ', '<?php echo $_smarty_tpl->tpl_vars['price']->value['register'];?> ', <?php echo $_smarty_tpl->tpl_vars['years']->value;?> , '<?php if ($_smarty_tpl->tpl_vars['years']->value == 1) { echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'orderForm.year'),$_smarty_tpl ) ); } else { echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'orderForm.years'),$_smarty_tpl ) ); }?>');return false;"> <?php echo $_smarty_tpl->tpl_vars['years']->value;?> <?php if ($_smarty_tpl->tpl_vars['years']->value == 1) { echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'orderForm.year'),$_smarty_tpl ) ); } else { echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'orderForm.years'),$_smarty_tpl ) ); }?> @ <?php echo $_smarty_tpl->tpl_vars['price']->value['register'];?> </a> </li> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> </ul> </div> <span class="renewal cycle"> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'domainrenewalprice'),$_smarty_tpl ) );?> <span class="renewal-price cycle"><?php if ((isset($_smarty_tpl->tpl_vars['domain']->value['renewprice']))) { echo $_smarty_tpl->tpl_vars['domain']->value['renewprice']->toPrefixed(); echo $_smarty_tpl->tpl_vars['domain']->value['shortRenewalYearsLanguage']; }?></span> </span> <?php }?> </div> <div class="col-sm-1 hidden-xs d-none d-sm-block"> <button type="button" class="btn btn-link btn-xs btn-remove-from-cart" onclick="removeItem('d','<?php echo $_smarty_tpl->tpl_vars['num']->value;?> ')"> <i class="fas fa-times"></i> </button> </div> </div> </div> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['renewalsByType']->value['services'], 'service', false, 'num'); $_smarty_tpl->tpl_vars['service']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['service']->value) { $_smarty_tpl->tpl_vars['service']->do_else = false; ?> <div class="item"> <div class="row"> <div class="col-sm-7"> <span class="item-title"> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'renewService.titleAltSingular'),$_smarty_tpl ) );?> </span> <span class="item-group"> <?php echo $_smarty_tpl->tpl_vars['service']->value['name'];?> </span> <span class="item-domain"> <?php echo $_smarty_tpl->tpl_vars['service']->value['domainName'];?> </span> </div> <div class="col-sm-4 item-price"> <span><?php echo $_smarty_tpl->tpl_vars['service']->value['recurringBeforeTax'];?> </span> <span class="cycle"><?php echo $_smarty_tpl->tpl_vars['service']->value['billingCycle'];?> </span> </div> <div class="col-sm-1"> <button type="button" class="btn btn-link btn-xs btn-remove-from-cart" onclick="removeItem('r','<?php echo $_smarty_tpl->tpl_vars['num']->value;?> ','service')"> <i class="fas fa-times"></i> <span class="visible-xs d-block d-sm-none"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'orderForm.remove'),$_smarty_tpl ) );?> </span> </button> </div> </div> </div> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['renewalsByType']->value['domains'], 'domain', false, 'num'); $_smarty_tpl->tpl_vars['domain']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['domain']->value) { $_smarty_tpl->tpl_vars['domain']->do_else = false; ?> <div class="item"> <div class="row"> <div class="col-sm-7"> <span class="item-title"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainrenewal'];?> </span> <span class="item-domain"> <?php echo $_smarty_tpl->tpl_vars['domain']->value['domain'];?> </span> <?php if ($_smarty_tpl->tpl_vars['domain']->value['dnsmanagement']) {?> » <?php echo $_smarty_tpl->tpl_vars['LANG']->value['domaindnsmanagement'];?> <br /><?php }?> <?php if ($_smarty_tpl->tpl_vars['domain']->value['emailforwarding']) {?> » <?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainemailforwarding'];?> <br /><?php }?> <?php if ($_smarty_tpl->tpl_vars['domain']->value['idprotection']) {?> » <?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainidprotection'];?> <br /><?php }?> </div> <div class="col-sm-4 item-price"> <span><?php echo $_smarty_tpl->tpl_vars['domain']->value['price'];?> </span> <span class="cycle"><?php echo $_smarty_tpl->tpl_vars['domain']->value['regperiod'];?> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderyears'];?> </span> </div> <div class="col-sm-1"> <button type="button" class="btn btn-link btn-xs btn-remove-from-cart" onclick="removeItem('r','<?php echo $_smarty_tpl->tpl_vars['num']->value;?> ','domain')"> <i class="fas fa-times"></i> <span class="visible-xs d-block d-sm-none"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['remove'];?> </span> </button> </div> </div> </div> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['upgrades']->value, 'upgrade', false, 'num'); $_smarty_tpl->tpl_vars['upgrade']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['upgrade']->value) { $_smarty_tpl->tpl_vars['upgrade']->do_else = false; ?> <div class="item"> <div class="row"> <div class="<?php if ($_smarty_tpl->tpl_vars['showUpgradeQtyOptions']->value) {?>col-sm-5<?php } else { ?>col-sm-7<?php }?>"> <span class="item-title"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['upgrade'];?> </span> <span class="item-group"> <?php if ($_smarty_tpl->tpl_vars['upgrade']->value->type == 'service') {?> <?php echo $_smarty_tpl->tpl_vars['upgrade']->value->originalProduct->productGroup->name;?> <br><?php echo $_smarty_tpl->tpl_vars['upgrade']->value->originalProduct->name;?> => <?php echo $_smarty_tpl->tpl_vars['upgrade']->value->newProduct->name;?> <?php } elseif ($_smarty_tpl->tpl_vars['upgrade']->value->type == 'addon') {?> <?php echo $_smarty_tpl->tpl_vars['upgrade']->value->originalAddon->name;?> => <?php echo $_smarty_tpl->tpl_vars['upgrade']->value->newAddon->name;?> <?php }?> </span> <span class="item-domain"> <?php if ($_smarty_tpl->tpl_vars['upgrade']->value->type == 'service') {?> <?php echo $_smarty_tpl->tpl_vars['upgrade']->value->service->domain;?> <?php }?> </span> </div> <?php if ($_smarty_tpl->tpl_vars['showUpgradeQtyOptions']->value) {?> <div class="col-sm-2 item-qty"> <?php if ($_smarty_tpl->tpl_vars['upgrade']->value->allowMultipleQuantities) {?> <input type="number" name="upgradeqty[<?php echo $_smarty_tpl->tpl_vars['num']->value;?> ]" value="<?php echo $_smarty_tpl->tpl_vars['upgrade']->value->qty;?> " class="form-control text-center" min="<?php echo $_smarty_tpl->tpl_vars['upgrade']->value->minimumQuantity;?> " /> <button type="submit" class="btn btn-xs"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['update'];?> </button> <?php }?> </div> <?php }?> <div class="col-sm-4 item-price"> <span><?php echo $_smarty_tpl->tpl_vars['upgrade']->value->newRecurringAmount;?> </span> <span class="cycle"><?php echo $_smarty_tpl->tpl_vars['upgrade']->value->localisedNewCycle;?> </span> </div> <div class="col-sm-1"> <button type="button" class="btn btn-link btn-xs btn-remove-from-cart" onclick="removeItem('u','<?php echo $_smarty_tpl->tpl_vars['num']->value;?> ')"> <i class="fas fa-times"></i> <span class="visible-xs d-block d-sm-none"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['remove'];?> </span> </button> </div> </div> <?php if ($_smarty_tpl->tpl_vars['upgrade']->value->totalDaysInCycle > 0) {?> <div class="row row-upgrade-credit"> <div class="col-sm-7"> <span class="item-group"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['upgradeCredit'];?> </span> <div class="upgrade-calc-msg"> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"upgradeCreditDescription",'daysRemaining'=>$_smarty_tpl->tpl_vars['upgrade']->value->daysRemaining,'totalDays'=>$_smarty_tpl->tpl_vars['upgrade']->value->totalDaysInCycle),$_smarty_tpl ) );?> </div> </div> <div class="col-sm-4 item-price"> <span>-<?php echo $_smarty_tpl->tpl_vars['upgrade']->value->creditAmount;?> </span> </div> </div> <?php }?> </div> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <?php if ($_smarty_tpl->tpl_vars['cartitems']->value == 0) {?> <div class="view-cart-empty"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartempty'];?> </div> <?php }?> </div> <?php if ($_smarty_tpl->tpl_vars['cartitems']->value > 0) {?> <div class="empty-cart"> <button type="button" class="btn btn-link btn-xs" id="btnEmptyCart"> <i class="fas fa-trash-alt"></i> <span><?php echo $_smarty_tpl->tpl_vars['LANG']->value['emptycart'];?> </span> </button> </div> <?php }?> </form> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['hookOutput']->value, 'output'); $_smarty_tpl->tpl_vars['output']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['output']->value) { $_smarty_tpl->tpl_vars['output']->do_else = false; ?> <div> <?php echo $_smarty_tpl->tpl_vars['output']->value;?> </div> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['gatewaysoutput']->value, 'gatewayoutput'); $_smarty_tpl->tpl_vars['gatewayoutput']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['gatewayoutput']->value) { $_smarty_tpl->tpl_vars['gatewayoutput']->do_else = false; ?> <div class="view-cart-gateway-checkout"> <?php echo $_smarty_tpl->tpl_vars['gatewayoutput']->value;?> </div> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <div class="view-cart-tabs"> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="nav-item active"> <a href="#applyPromo" class="nav-link active" aria-controls="applyPromo" role="tab" data-toggle="tab"<?php if ($_smarty_tpl->tpl_vars['template']->value == 'twenty-one') {?> aria-selected="true"<?php } else { ?> aria-expanded="true"<?php }?>> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['applyPromoCode'];?> </a> </li> <?php if ($_smarty_tpl->tpl_vars['taxenabled']->value && !$_smarty_tpl->tpl_vars['loggedin']->value) {?> <li role="presentation" class="nav-item"> <a href="#calcTaxes" class="nav-link" aria-controls="calcTaxes" role="tab" data-toggle="tab"<?php if ($_smarty_tpl->tpl_vars['template']->value == 'twenty-one') {?> aria-selected="false"<?php } else { ?> aria-expanded="false"<?php }?>> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['estimateTaxes'];?> </a> </li> <?php }?> </ul> <div class="tab-content"> <div role="tabpanel" class="tab-pane active promo" id="applyPromo"> <?php if ($_smarty_tpl->tpl_vars['promotioncode']->value) {?> <div class="view-cart-promotion-code"> <?php echo $_smarty_tpl->tpl_vars['promotioncode']->value;?> - <?php echo $_smarty_tpl->tpl_vars['promotiondescription']->value;?> </div> <div class="text-center"> <a href="<?php echo $_smarty_tpl->tpl_vars['WEB_ROOT']->value;?> /cart.php?a=removepromo" class="btn btn-default btn-xs"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['removePromotionCode'];?> </a> </div> <?php } else { ?> <form method="post" action="<?php echo $_smarty_tpl->tpl_vars['WEB_ROOT']->value;?> /cart.php?a=view"> <div class="form-group prepend-icon "> <label for="cardno" class="field-icon"> <i class="fas fa-ticket-alt"></i> </label> <input type="text" name="promocode" id="inputPromotionCode" class="field form-control" placeholder="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"orderPromoCodePlaceholder"),$_smarty_tpl ) );?> " required="required"> </div> <button type="submit" name="validatepromo" class="btn btn-block btn-default" value="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpromovalidatebutton'];?> "> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpromovalidatebutton'];?> </button> </form> <?php }?> </div> <div role="tabpanel" class="tab-pane" id="calcTaxes"> <form method="post" action="<?php echo $_smarty_tpl->tpl_vars['WEB_ROOT']->value;?> /cart.php?a=setstateandcountry"> <div class="form-group row"> <label for="inputState" class="pt-sm-2 col-sm-4 control-label text-sm-right"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['state'];?> </label> <div class="col-sm-7"> <input type="text" name="state" id="inputState" value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['state'];?> " class="form-control"<?php if ($_smarty_tpl->tpl_vars['loggedin']->value) {?> disabled="disabled"<?php }?> /> </div> </div> <div class="form-group row"> <label for="inputCountry" class="pt-sm-2 col-sm-4 control-label text-sm-right"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['country'];?> </label> <div class="col-sm-7"> <select name="country" id="inputCountry" class="form-control"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['countries']->value, 'countrylabel', false, 'countrycode'); $_smarty_tpl->tpl_vars['countrylabel']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['countrycode']->value => $_smarty_tpl->tpl_vars['countrylabel']->value) { $_smarty_tpl->tpl_vars['countrylabel']->do_else = false; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['countrycode']->value;?> "<?php if ((!$_smarty_tpl->tpl_vars['country']->value && $_smarty_tpl->tpl_vars['countrycode']->value == $_smarty_tpl->tpl_vars['defaultcountry']->value) || $_smarty_tpl->tpl_vars['countrycode']->value == $_smarty_tpl->tpl_vars['country']->value) {?> selected<?php }?>> <?php echo $_smarty_tpl->tpl_vars['countrylabel']->value;?> </option> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> </select> </div> </div> <div class="form-group text-center"> <button type="submit" class="btn btn-default"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['updateTotals'];?> </button> </div> </form> </div> </div> </div> </div> <div class="secondary-cart-sidebar" id="scrollingPanelContainer"> <div class="order-summary" id="orderSummary"> <div class="loader w-hidden" id="orderSummaryLoader"> <i class="fas fa-fw fa-sync fa-spin"></i> </div> <h2 class="font-size-30"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordersummary'];?> </h2> <div class="summary-container"> <div class="subtotal clearfix"> <span class="pull-left float-left"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordersubtotal'];?> </span> <span id="subtotal" class="pull-right float-right"><?php echo $_smarty_tpl->tpl_vars['subtotal']->value;?> </span> </div> <?php if ($_smarty_tpl->tpl_vars['promotioncode']->value || $_smarty_tpl->tpl_vars['taxrate']->value || $_smarty_tpl->tpl_vars['taxrate2']->value) {?> <div class="bordered-totals"> <?php if ($_smarty_tpl->tpl_vars['promotioncode']->value) {?> <div class="clearfix"> <span class="pull-left float-left"><?php echo $_smarty_tpl->tpl_vars['promotiondescription']->value;?> </span> <span id="discount" class="pull-right float-right"><?php echo $_smarty_tpl->tpl_vars['discount']->value;?> </span> </div> <?php }?> <?php if ($_smarty_tpl->tpl_vars['taxrate']->value) {?> <div class="clearfix"> <span class="pull-left float-left"><?php echo $_smarty_tpl->tpl_vars['taxname']->value;?> @ <?php echo $_smarty_tpl->tpl_vars['taxrate']->value;?> %</span> <span id="taxTotal1" class="pull-right float-right"><?php echo $_smarty_tpl->tpl_vars['taxtotal']->value;?> </span> </div> <?php }?> <?php if ($_smarty_tpl->tpl_vars['taxrate2']->value) {?> <div class="clearfix"> <span class="pull-left float-left"><?php echo $_smarty_tpl->tpl_vars['taxname2']->value;?> @ <?php echo $_smarty_tpl->tpl_vars['taxrate2']->value;?> %</span> <span id="taxTotal2" class="pull-right float-right"><?php echo $_smarty_tpl->tpl_vars['taxtotal2']->value;?> </span> </div> <?php }?> </div> <?php }?> <div class="recurring-totals clearfix"> <span class="pull-left float-left"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['totals'];?> </span> <span id="recurring" class="pull-right float-right recurring-charges"> <span id="recurringMonthly" <?php if (!$_smarty_tpl->tpl_vars['totalrecurringmonthly']->value) {?>style="display:none;"<?php }?>> <span class="cost"><?php echo $_smarty_tpl->tpl_vars['totalrecurringmonthly']->value;?> </span> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpaymenttermmonthly'];?> <br /> </span> <span id="recurringQuarterly" <?php if (!$_smarty_tpl->tpl_vars['totalrecurringquarterly']->value) {?>style="display:none;"<?php }?>> <span class="cost"><?php echo $_smarty_tpl->tpl_vars['totalrecurringquarterly']->value;?> </span> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpaymenttermquarterly'];?> <br /> </span> <span id="recurringSemiAnnually" <?php if (!$_smarty_tpl->tpl_vars['totalrecurringsemiannually']->value) {?>style="display:none;"<?php }?>> <span class="cost"><?php echo $_smarty_tpl->tpl_vars['totalrecurringsemiannually']->value;?> </span> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpaymenttermsemiannually'];?> <br /> </span> <span id="recurringAnnually" <?php if (!$_smarty_tpl->tpl_vars['totalrecurringannually']->value) {?>style="display:none;"<?php }?>> <span class="cost"><?php echo $_smarty_tpl->tpl_vars['totalrecurringannually']->value;?> </span> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpaymenttermannually'];?> <br /> </span> <span id="recurringBiennially" <?php if (!$_smarty_tpl->tpl_vars['totalrecurringbiennially']->value) {?>style="display:none;"<?php }?>> <span class="cost"><?php echo $_smarty_tpl->tpl_vars['totalrecurringbiennially']->value;?> </span> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpaymenttermbiennially'];?> <br /> </span> <span id="recurringTriennially" <?php if (!$_smarty_tpl->tpl_vars['totalrecurringtriennially']->value) {?>style="display:none;"<?php }?>> <span class="cost"><?php echo $_smarty_tpl->tpl_vars['totalrecurringtriennially']->value;?> </span> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpaymenttermtriennially'];?> <br /> </span> </span> </div> <div class="total-due-today total-due-today-padded"> <span id="totalDueToday" class="amt"><?php echo $_smarty_tpl->tpl_vars['total']->value;?> </span> <span><?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordertotalduetoday'];?> </span> </div> <div class="express-checkout-buttons"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['expressCheckoutButtons']->value, 'checkoutButton'); $_smarty_tpl->tpl_vars['checkoutButton']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['checkoutButton']->value) { $_smarty_tpl->tpl_vars['checkoutButton']->do_else = false; ?> <?php echo $_smarty_tpl->tpl_vars['checkoutButton']->value;?> <div class="separator"> - <?php echo strtoupper($_smarty_tpl->tpl_vars['LANG']->value['or']);?> - </div> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> </div> <div class="text-right"> <a href="<?php echo $_smarty_tpl->tpl_vars['WEB_ROOT']->value;?> /cart.php?a=checkout&e=false" class="btn btn-success btn-lg btn-checkout<?php if ($_smarty_tpl->tpl_vars['cartitems']->value == 0) {?> disabled<?php }?>" id="checkout"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['checkout'];?> <i class="fas fa-arrow-right"></i> </a><br /> <a href="<?php echo $_smarty_tpl->tpl_vars['WEB_ROOT']->value;?> /cart.php" class="btn btn-link btn-continue-shopping" id="continueShopping"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['continueShopping'];?> </a> </div> </div> </div> </div> </div> </div> </div> <form method="post" action="<?php echo $_smarty_tpl->tpl_vars['WEB_ROOT']->value;?> /cart.php"> <input type="hidden" name="a" value="remove" /> <input type="hidden" name="r" value="" id="inputRemoveItemType" /> <input type="hidden" name="i" value="" id="inputRemoveItemRef" /> <input type="hidden" name="rt" value="" id="inputRemoveItemRenewalType"> <div class="modal fade modal-remove-item" id="modalRemoveItem" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-body"> <div class="float-right"> <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'orderForm.close'),$_smarty_tpl ) );?> "> <span aria-hidden="true">×</span> </button> </div> <h4 class="modal-title margin-bottom mb-3"> <i class="fas fa-times fa-3x"></i> <span><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'orderForm.removeItem'),$_smarty_tpl ) );?> </span> </h4> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'cartremoveitemconfirm'),$_smarty_tpl ) );?> </div> <div class="modal-footer justify-content-center"> <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'no'),$_smarty_tpl ) );?> </button> <button type="submit" class="btn btn-primary"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'yes'),$_smarty_tpl ) );?> </button> </div> </div> </div> </div> </form> <form method="post" action="<?php echo $_smarty_tpl->tpl_vars['WEB_ROOT']->value;?> /cart.php"> <input type="hidden" name="a" value="empty" /> <div class="modal fade modal-remove-item" id="modalEmptyCart" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-body"> <div class="float-right"> <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['close'];?> "> <span aria-hidden="true">×</span> </button> </div> <h4 class="modal-title margin-bottom mb-3"> <i class="fas fa-trash-alt fa-3x"></i> <span><?php echo $_smarty_tpl->tpl_vars['LANG']->value['emptycart'];?> </span> </h4> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartemptyconfirm'];?> </div> <div class="modal-footer justify-content-center"> <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['no'];?> </button> <button type="submit" class="btn btn-primary"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['yes'];?> </button> </div> </div> </div> </div> </form> </div> <?php $_smarty_tpl->_subTemplateRender("file:orderforms/standard_cart/recommendations-modal.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); } } }