Server IP : 213.176.29.180  /  Your IP : 3.149.241.93
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/www/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/webtaragh/www/398e0ca39ce3823b86712c365d90638a28188912_0.file.ordersummary.tpl.php.tar
public_html/whmcs/templates_c/398e0ca39ce3823b86712c365d90638a28188912_0.file.ordersummary.tpl.php000064400000035054147361202410027530 0ustar00home/webtaragh<?php
/* Smarty version 3.1.36, created on 2024-11-03 19:19:30
  from '/home/webtaragh/public_html/whmcs/templates/orderforms/standard_cart/ordersummary.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.36',
  'unifunc' => 'content_67279b8ac5a3a6_95866463',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '398e0ca39ce3823b86712c365d90638a28188912' => 
    array (
      0 => '/home/webtaragh/public_html/whmcs/templates/orderforms/standard_cart/ordersummary.tpl',
      1 => 1695537215,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_67279b8ac5a3a6_95866463 (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) && !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 } 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 }
}
}