<?php
/* Smarty version 3.1.48, created on 2025-12-20 19:56:26
  from '/home/linq/public_html/clients/templates/orderforms/standard_cart/ordersummary.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.48',
  'unifunc' => 'content_6946ff6a1acb55_56516417',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '29e6a11aee76e2543f89762e065fb72376663998' => 
    array (
      0 => '/home/linq/public_html/clients/templates/orderforms/standard_cart/ordersummary.tpl',
      1 => 1732315583,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6946ff6a1acb55_56516417 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['producttotals']->value) {?>
    <span class="product-name"><?php if ($_smarty_tpl->tpl_vars['producttotals']->value['allowqty'] && $_smarty_tpl->tpl_vars['producttotals']->value['qty'] > 1) {
echo $_smarty_tpl->tpl_vars['producttotals']->value['qty'];?>
 x <?php }
echo $_smarty_tpl->tpl_vars['producttotals']->value['productinfo']['name'];?>
</span>
    <span class="product-group"><?php echo $_smarty_tpl->tpl_vars['producttotals']->value['productinfo']['groupname'];?>
</span>

    <div class="clearfix">
        <span class="pull-left float-left"><?php echo $_smarty_tpl->tpl_vars['producttotals']->value['productinfo']['name'];?>
</span>
        <span class="pull-right float-right"><?php echo $_smarty_tpl->tpl_vars['producttotals']->value['pricing']['baseprice'];?>
</span>
    </div>

    <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['producttotals']->value['configoptions'], 'configoption');
$_smarty_tpl->tpl_vars['configoption']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['configoption']->value) {
$_smarty_tpl->tpl_vars['configoption']->do_else = false;
?>
        <?php if ($_smarty_tpl->tpl_vars['configoption']->value) {?>
            <div class="clearfix">
                <span class="pull-left float-left">&nbsp;&raquo; <?php echo $_smarty_tpl->tpl_vars['configoption']->value['name'];?>
: <?php echo $_smarty_tpl->tpl_vars['configoption']->value['optionname'];?>
</span>
                <span class="pull-right float-right"><?php echo $_smarty_tpl->tpl_vars['configoption']->value['recurring'];
if ($_smarty_tpl->tpl_vars['configoption']->value['setup']) {?> + <?php echo $_smarty_tpl->tpl_vars['configoption']->value['setup'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordersetupfee'];
}?></span>
            </div>
        <?php }?>
    <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>

    <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['producttotals']->value['addons'], 'addon');
$_smarty_tpl->tpl_vars['addon']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['addon']->value) {
$_smarty_tpl->tpl_vars['addon']->do_else = false;
?>
        <div class="clearfix">
            <span class="pull-left float-left">+ <?php echo $_smarty_tpl->tpl_vars['addon']->value['name'];?>
</span>
            <span class="pull-right float-right"><?php echo $_smarty_tpl->tpl_vars['addon']->value['recurring'];?>
</span>
        </div>
    <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>

    <?php if ($_smarty_tpl->tpl_vars['producttotals']->value['pricing']['setup'] || $_smarty_tpl->tpl_vars['producttotals']->value['pricing']['recurring'] || $_smarty_tpl->tpl_vars['producttotals']->value['pricing']['addons']) {?>
        <div class="summary-totals">
            <?php if ($_smarty_tpl->tpl_vars['producttotals']->value['pricing']['setup']) {?>
                <div class="clearfix">
                    <span class="pull-left float-left"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartsetupfees'];?>
:</span>
                    <span class="pull-right float-right"><?php echo $_smarty_tpl->tpl_vars['producttotals']->value['pricing']['setup'];?>
</span>
                </div>
            <?php }?>
            <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['producttotals']->value['pricing']['recurringexcltax'], 'recurring', false, 'cycle');
$_smarty_tpl->tpl_vars['recurring']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['cycle']->value => $_smarty_tpl->tpl_vars['recurring']->value) {
$_smarty_tpl->tpl_vars['recurring']->do_else = false;
?>
                <div class="clearfix">
                    <span class="pull-left float-left"><?php echo $_smarty_tpl->tpl_vars['cycle']->value;?>
:</span>
                    <span class="pull-right float-right"><?php echo $_smarty_tpl->tpl_vars['recurring']->value;?>
</span>
                </div>
            <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
            <?php if ($_smarty_tpl->tpl_vars['producttotals']->value['pricing']['tax1']) {?>
                <div class="clearfix">
                    <span class="pull-left float-left"><?php echo $_smarty_tpl->tpl_vars['carttotals']->value['taxname'];?>
 @ <?php echo $_smarty_tpl->tpl_vars['carttotals']->value['taxrate'];?>
%:</span>
                    <span class="pull-right float-right"><?php echo $_smarty_tpl->tpl_vars['producttotals']->value['pricing']['tax1'];?>
</span>
                </div>
            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['producttotals']->value['pricing']['tax2']) {?>
                <div class="clearfix">
                    <span class="pull-left float-left"><?php echo $_smarty_tpl->tpl_vars['carttotals']->value['taxname2'];?>
 @ <?php echo $_smarty_tpl->tpl_vars['carttotals']->value['taxrate2'];?>
%:</span>
                    <span class="pull-right float-right"><?php echo $_smarty_tpl->tpl_vars['producttotals']->value['pricing']['tax2'];?>
</span>
                </div>
            <?php }?>
        </div>
    <?php }?>

    <div class="total-due-today">
        <span class="amt"><?php echo $_smarty_tpl->tpl_vars['producttotals']->value['pricing']['totaltoday'];?>
</span>
        <span><?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordertotalduetoday'];?>
</span>
    </div>
<?php } elseif (!empty($_smarty_tpl->tpl_vars['renewals']->value) || !empty($_smarty_tpl->tpl_vars['serviceRenewals']->value)) {?>
    <?php if (!empty($_smarty_tpl->tpl_vars['serviceRenewals']->value)) {?>
        <?php if (!empty($_smarty_tpl->tpl_vars['carttotals']->value['renewalsByType']['services'])) {?>
            <span class="product-name"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'renewService.titleAltPlural'),$_smarty_tpl ) );?>
</span>
            <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['carttotals']->value['renewalsByType']['services'], 'serviceRenewal', false, 'serviceId');
$_smarty_tpl->tpl_vars['serviceRenewal']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['serviceId']->value => $_smarty_tpl->tpl_vars['serviceRenewal']->value) {
$_smarty_tpl->tpl_vars['serviceRenewal']->do_else = false;
?>
                <div class="clearfix" id="cartServiceRenewal<?php echo $_smarty_tpl->tpl_vars['serviceId']->value;?>
">
                    <div class="pull-left float-left">
                        <div>
                            <?php echo $_smarty_tpl->tpl_vars['serviceRenewal']->value['name'];?>

                        </div>
                        <div>
                            <?php echo $_smarty_tpl->tpl_vars['serviceRenewal']->value['domainName'];?>

                        </div>
                    </div>
                    <div class="pull-right float-right">
                        <div>
                            <?php echo $_smarty_tpl->tpl_vars['serviceRenewal']->value['billingCycle'];?>

                        </div>
                        <div>
                            <?php echo $_smarty_tpl->tpl_vars['serviceRenewal']->value['recurringBeforeTax'];?>

                            <a onclick="removeItem('r','<?php echo $_smarty_tpl->tpl_vars['serviceId']->value;?>
','service'); return false;" href="#" id="linkCartRemoveServiceRenewal<?php echo $_smarty_tpl->tpl_vars['serviceId']->value;?>
">
                                <i class="fas fa-fw fa-trash-alt"></i>
                            </a>
                        </div>
                    </div>
                </div>
            <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
        <?php }?>
        <?php if (!empty($_smarty_tpl->tpl_vars['carttotals']->value['renewalsByType']['addons'])) {?>
            <span class="product-name"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'renewServiceAddon.titleAltPlural'),$_smarty_tpl ) );?>
</span>
            <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['carttotals']->value['renewalsByType']['addons'], 'serviceAddonRenewal', false, 'serviceAddonId');
$_smarty_tpl->tpl_vars['serviceAddonRenewal']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['serviceAddonId']->value => $_smarty_tpl->tpl_vars['serviceAddonRenewal']->value) {
$_smarty_tpl->tpl_vars['serviceAddonRenewal']->do_else = false;
?>
                <div class="clearfix" id="cartServiceAddonRenewal<?php echo $_smarty_tpl->tpl_vars['serviceAddonId']->value;?>
">
                    <div class="pull-left float-left">
                        <div>
                            <?php echo $_smarty_tpl->tpl_vars['serviceAddonRenewal']->value['name'];?>

                        </div>
                        <div>
                            <?php echo $_smarty_tpl->tpl_vars['serviceAddonRenewal']->value['domainName'];?>

                        </div>
                    </div>
                    <div class="pull-right float-right">
                        <div>
                            <?php echo $_smarty_tpl->tpl_vars['serviceAddonRenewal']->value['billingCycle'];?>

                        </div>
                        <div>
                            <?php echo $_smarty_tpl->tpl_vars['serviceAddonRenewal']->value['recurringBeforeTax'];?>

                            <a onclick="removeItem('r','<?php echo $_smarty_tpl->tpl_vars['serviceAddonId']->value;?>
','addon'); return false;" href="#" id="linkCartRemoveServiceAddonRenewal<?php echo $_smarty_tpl->tpl_vars['serviceAddonId']->value;?>
">
                                <i class="fas fa-fw fa-trash-alt"></i>
                            </a>
                        </div>
                    </div>
                </div>
            <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
        <?php }?>
    <?php } elseif (!empty($_smarty_tpl->tpl_vars['renewals']->value) && !empty($_smarty_tpl->tpl_vars['carttotals']->value['renewalsByType']['domains'])) {?>
        <span class="product-name"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'domainrenewals'),$_smarty_tpl ) );?>
</span>
        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['carttotals']->value['renewalsByType']['domains'], 'renewal', false, 'domainId');
$_smarty_tpl->tpl_vars['renewal']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['domainId']->value => $_smarty_tpl->tpl_vars['renewal']->value) {
$_smarty_tpl->tpl_vars['renewal']->do_else = false;
?>
            <div class="clearfix" id="cartDomainRenewal<?php echo $_smarty_tpl->tpl_vars['domainId']->value;?>
">
                <span class="pull-left float-left">
                    <?php echo $_smarty_tpl->tpl_vars['renewal']->value['domain'];?>
 - <?php echo $_smarty_tpl->tpl_vars['renewal']->value['regperiod'];?>
 <?php if ($_smarty_tpl->tpl_vars['renewal']->value['regperiod'] == 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 ) );
}?>
                </span>
                <span class="pull-right float-right">
                    <?php echo $_smarty_tpl->tpl_vars['renewal']->value['priceBeforeTax'];?>

                    <a onclick="removeItem('r','<?php echo $_smarty_tpl->tpl_vars['domainId']->value;?>
','domain'); return false;" href="#" id="linkCartRemoveDomainRenewal<?php echo $_smarty_tpl->tpl_vars['domainId']->value;?>
">
                        <i class="fas fa-fw fa-trash-alt"></i>
                    </a>
                </span>
            </div>
            <?php if ($_smarty_tpl->tpl_vars['renewal']->value['dnsmanagement']) {?>
                <div class="clearfix">
                    <span class="pull-left float-left">+ <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'domaindnsmanagement'),$_smarty_tpl ) );?>
</span>
                </div>
            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['renewal']->value['emailforwarding']) {?>
                <div class="clearfix">
                    <span class="pull-left float-left">+ <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'domainemailforwarding'),$_smarty_tpl ) );?>
</span>
                </div>
            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['renewal']->value['idprotection']) {?>
                <div class="clearfix">
                    <span class="pull-left float-left">+ <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'domainidprotection'),$_smarty_tpl ) );?>
</span>
                </div>
            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['renewal']->value['hasGracePeriodFee']) {?>
                <div class="clearfix">
                    <span class="pull-left float-left">+ <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'domainRenewal.graceFee'),$_smarty_tpl ) );?>
</span>
                </div>
            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['renewal']->value['hasRedemptionGracePeriodFee']) {?>
                <div class="clearfix">
                    <span class="pull-left float-left">+ <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'domainRenewal.redemptionFee'),$_smarty_tpl ) );?>
</span>
                </div>
            <?php }?>

        <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
    <?php }?>
    <div class="summary-totals">
        <div class="clearfix">
            <span class="pull-left float-left"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'ordersubtotal'),$_smarty_tpl ) );?>
:</span>
            <span class="pull-right float-right"><?php echo $_smarty_tpl->tpl_vars['carttotals']->value['subtotal'];?>
</span>
        </div>
        <?php if (($_smarty_tpl->tpl_vars['carttotals']->value['taxrate'] && $_smarty_tpl->tpl_vars['carttotals']->value['taxtotal']) || ($_smarty_tpl->tpl_vars['carttotals']->value['taxrate2'] && $_smarty_tpl->tpl_vars['carttotals']->value['taxtotal2'])) {?>
            <?php if ($_smarty_tpl->tpl_vars['carttotals']->value['taxrate']) {?>
                <div class="clearfix">
                    <span class="pull-left float-left"><?php echo $_smarty_tpl->tpl_vars['carttotals']->value['taxname'];?>
 @ <?php echo $_smarty_tpl->tpl_vars['carttotals']->value['taxrate'];?>
%:</span>
                    <span class="pull-right float-right"><?php echo $_smarty_tpl->tpl_vars['carttotals']->value['taxtotal'];?>
</span>
                </div>
            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['carttotals']->value['taxrate2']) {?>
                <div class="clearfix">
                    <span class="pull-left float-left"><?php echo $_smarty_tpl->tpl_vars['carttotals']->value['taxname2'];?>
 @ <?php echo $_smarty_tpl->tpl_vars['carttotals']->value['taxrate2'];?>
%:</span>
                    <span class="pull-right float-right"><?php echo $_smarty_tpl->tpl_vars['carttotals']->value['taxtotal2'];?>
</span>
                </div>
            <?php }?>
        <?php }?>
    </div>
    <div class="total-due-today">
        <span class="amt"><?php echo $_smarty_tpl->tpl_vars['carttotals']->value['total'];?>
</span>
        <span><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'ordertotalduetoday'),$_smarty_tpl ) );?>
</span>
    </div>
<?php }
}
}
