403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/meusitei/templates_c/8c25b150839e52cfaad4b8cf29550b53b7dc6191_0.file.viewcart.tpl.php
<?php
/* Smarty version 3.1.29, created on 2022-09-12 16:17:56
  from "/home/meusitei/public_html/central/templates/orderforms/modern/viewcart.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_631f5bb405eae5_91386198',
  'file_dependency' => 
  array (
    '8c25b150839e52cfaad4b8cf29550b53b7dc6191' => 
    array (
      0 => '/home/meusitei/public_html/central/templates/orderforms/modern/viewcart.tpl',
      1 => 1531218804,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_631f5bb405eae5_91386198 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_replace')) require_once '/home/meusitei/public_html/central/vendor/smarty/smarty/libs/plugins/modifier.replace.php';
?>
<link rel="stylesheet" type="text/css" href="templates/orderforms/<?php echo $_smarty_tpl->tpl_vars['carttpl']->value;?>
/style.css" />
<?php echo '<script'; ?>
 language="javascript">
    // Define state tab index value
    var statesTab = 10;
<?php if (in_array('state',$_smarty_tpl->tpl_vars['clientsProfileOptionalFields']->value)) {?>
    // Do not enforce state input client side
    var stateNotRequired = true;
<?php }
echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="templates/orderforms/<?php echo $_smarty_tpl->tpl_vars['carttpl']->value;?>
/js/main.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['BASE_PATH_JS']->value;?>
/StatesDropdown.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['BASE_PATH_JS']->value;?>
/PasswordStrength.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['BASE_PATH_JS']->value;?>
/CreditCardValidation.js"><?php echo '</script'; ?>
>

<?php echo '<script'; ?>
 language="javascript">
function removeItem(type,num) {
    var response = confirm("<?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartremoveitemconfirm'];?>
");
    if (response) {
        window.location = 'cart.php?a=remove&r='+type+'&i='+num;
    }
}
function emptyCart(type,num) {
    var response = confirm("<?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartemptyconfirm'];?>
");
    if (response) {
        window.location = 'cart.php?a=empty';
    }
}

jQuery(document).ready(function() {
    var preparePromoCode = function(ctx) {
        jQuery(ctx).parents('form').attr('novalidate', 'novalidate');
        jQuery('#validatepromo').val('1');
    };

    jQuery('#validatePromoCode').click(function() {
        preparePromoCode(this);
        jQuery('#btnCompleteOrder').click();
    });

    jQuery('#inputPromoCode').keydown(function(evt) {
        if (evt.keyCode == 13) {
            preparePromoCode(this);
            // Enter in a form will submit the form
        }
    });
});
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
window.langPasswordStrength = "<?php echo $_smarty_tpl->tpl_vars['LANG']->value['pwstrength'];?>
";
window.langPasswordWeak = "<?php echo $_smarty_tpl->tpl_vars['LANG']->value['pwstrengthweak'];?>
";
window.langPasswordModerate = "<?php echo $_smarty_tpl->tpl_vars['LANG']->value['pwstrengthmoderate'];?>
";
window.langPasswordStrong = "<?php echo $_smarty_tpl->tpl_vars['LANG']->value['pwstrengthstrong'];?>
";
<?php echo '</script'; ?>
>

<div id="order-modern">

    <div class="text-center">
        <h1><?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartreviewcheckout'];?>
</h1>
    </div>

    <?php if ($_smarty_tpl->tpl_vars['errormessage']->value) {?>
        <div class="errorbox" style="display:block;">
            <?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['errormessage']->value,'<li>',' &nbsp;#&nbsp; ');?>
 &nbsp;#&nbsp;
        </div>
    <?php } elseif ($_smarty_tpl->tpl_vars['promotioncode']->value && $_smarty_tpl->tpl_vars['rawdiscount']->value == "0.00") {?>
        <div class="errorbox" style="display:block;">
            <?php echo $_smarty_tpl->tpl_vars['LANG']->value['promoappliedbutnodiscount'];?>

        </div>
    <?php }?>

    <?php if ($_smarty_tpl->tpl_vars['bundlewarnings']->value) {?>
        <div class="cartwarningbox">
            <strong><?php echo $_smarty_tpl->tpl_vars['LANG']->value['bundlereqsnotmet'];?>
</strong><br />
            <?php
$_from = $_smarty_tpl->tpl_vars['bundlewarnings']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_warning_0_saved_item = isset($_smarty_tpl->tpl_vars['warning']) ? $_smarty_tpl->tpl_vars['warning'] : false;
$_smarty_tpl->tpl_vars['warning'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['warning']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['warning']->value) {
$_smarty_tpl->tpl_vars['warning']->_loop = true;
$__foreach_warning_0_saved_local_item = $_smarty_tpl->tpl_vars['warning'];
?>
                <?php echo $_smarty_tpl->tpl_vars['warning']->value;?>
<br />
            <?php
$_smarty_tpl->tpl_vars['warning'] = $__foreach_warning_0_saved_local_item;
}
if ($__foreach_warning_0_saved_item) {
$_smarty_tpl->tpl_vars['warning'] = $__foreach_warning_0_saved_item;
}
?>
        </div>
    <?php }?>

    <?php if (!$_smarty_tpl->tpl_vars['loggedin']->value && $_smarty_tpl->tpl_vars['currencies']->value) {?>
        <div class="currencychooser">
            <div class="btn-group" role="group">
                <?php
$_from = $_smarty_tpl->tpl_vars['currencies']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_curr_1_saved_item = isset($_smarty_tpl->tpl_vars['curr']) ? $_smarty_tpl->tpl_vars['curr'] : false;
$_smarty_tpl->tpl_vars['curr'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['curr']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['curr']->value) {
$_smarty_tpl->tpl_vars['curr']->_loop = true;
$__foreach_curr_1_saved_local_item = $_smarty_tpl->tpl_vars['curr'];
?>
                    <a href="cart.php?a=view&currency=<?php echo $_smarty_tpl->tpl_vars['curr']->value['id'];?>
" class="btn btn-default<?php if ($_smarty_tpl->tpl_vars['currency']->value['id'] == $_smarty_tpl->tpl_vars['curr']->value['id']) {?> active<?php }?>">
                        <img src="<?php echo $_smarty_tpl->tpl_vars['BASE_PATH_IMG']->value;?>
/flags/<?php if ($_smarty_tpl->tpl_vars['curr']->value['code'] == "AUD") {?>au<?php } elseif ($_smarty_tpl->tpl_vars['curr']->value['code'] == "CAD") {?>ca<?php } elseif ($_smarty_tpl->tpl_vars['curr']->value['code'] == "EUR") {?>eu<?php } elseif ($_smarty_tpl->tpl_vars['curr']->value['code'] == "GBP") {?>gb<?php } elseif ($_smarty_tpl->tpl_vars['curr']->value['code'] == "INR") {?>in<?php } elseif ($_smarty_tpl->tpl_vars['curr']->value['code'] == "JPY") {?>jp<?php } elseif ($_smarty_tpl->tpl_vars['curr']->value['code'] == "USD") {?>us<?php } elseif ($_smarty_tpl->tpl_vars['curr']->value['code'] == "ZAR") {?>za<?php } else { ?>na<?php }?>.png" border="0" alt="" />
                        <?php echo $_smarty_tpl->tpl_vars['curr']->value['code'];?>

                    </a>
                <?php
$_smarty_tpl->tpl_vars['curr'] = $__foreach_curr_1_saved_local_item;
}
if ($__foreach_curr_1_saved_item) {
$_smarty_tpl->tpl_vars['curr'] = $__foreach_curr_1_saved_item;
}
?>
            </div>
        </div>
    <?php }?>

    <form method="post" action="<?php echo $_SERVER['PHP_SELF'];?>
?a=view">

        <table class="cart" cellspacing="1">
            <tr>
                <th width="60%"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderdesc'];?>
</th>
                <th width="40%"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderprice'];?>
</th>
            </tr>

            <?php
$_from = $_smarty_tpl->tpl_vars['products']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_product_2_saved_item = isset($_smarty_tpl->tpl_vars['product']) ? $_smarty_tpl->tpl_vars['product'] : false;
$__foreach_product_2_saved_key = isset($_smarty_tpl->tpl_vars['num']) ? $_smarty_tpl->tpl_vars['num'] : false;
$_smarty_tpl->tpl_vars['product'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['num'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['product']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['product']->value) {
$_smarty_tpl->tpl_vars['product']->_loop = true;
$__foreach_product_2_saved_local_item = $_smarty_tpl->tpl_vars['product'];
?>
                <tr class="carttableproduct">
                    <td>
                        <strong><em><?php echo $_smarty_tpl->tpl_vars['product']->value['productinfo']['groupname'];?>
</em> - <?php echo $_smarty_tpl->tpl_vars['product']->value['productinfo']['name'];?>
</strong><?php if ($_smarty_tpl->tpl_vars['product']->value['domain']) {?> (<?php echo $_smarty_tpl->tpl_vars['product']->value['domain'];?>
)<?php }?><br />
                        <?php if ($_smarty_tpl->tpl_vars['product']->value['configoptions']) {?>
                            <?php
$_from = $_smarty_tpl->tpl_vars['product']->value['configoptions'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_configoption_3_saved_item = isset($_smarty_tpl->tpl_vars['configoption']) ? $_smarty_tpl->tpl_vars['configoption'] : false;
$__foreach_configoption_3_saved_key = isset($_smarty_tpl->tpl_vars['confnum']) ? $_smarty_tpl->tpl_vars['confnum'] : false;
$_smarty_tpl->tpl_vars['configoption'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['confnum'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['configoption']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['confnum']->value => $_smarty_tpl->tpl_vars['configoption']->value) {
$_smarty_tpl->tpl_vars['configoption']->_loop = true;
$__foreach_configoption_3_saved_local_item = $_smarty_tpl->tpl_vars['configoption'];
?>
                                &nbsp;&raquo; <?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['LANG']->value['yes'];
} 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->tpl_vars['configoption'] = $__foreach_configoption_3_saved_local_item;
}
if ($__foreach_configoption_3_saved_item) {
$_smarty_tpl->tpl_vars['configoption'] = $__foreach_configoption_3_saved_item;
}
if ($__foreach_configoption_3_saved_key) {
$_smarty_tpl->tpl_vars['confnum'] = $__foreach_configoption_3_saved_key;
}
?>
                        <?php }?>
                        <a href="<?php echo $_SERVER['PHP_SELF'];?>
?a=confproduct&i=<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
" class="cartedit">[<?php echo $_smarty_tpl->tpl_vars['LANG']->value['carteditproductconfig'];?>
]</a>
                        <a href="#" onclick="removeItem('p','<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
');return false" class="cartremove">[<?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartremove'];?>
]</a>
                        <?php if ($_smarty_tpl->tpl_vars['product']->value['allowqty']) {?>
                        <br /><br />
                        <div align="right"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartqtyenterquantity'];?>
 <input type="text" name="qty[<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
]" size="3" value="<?php echo $_smarty_tpl->tpl_vars['product']->value['qty'];?>
" /> <input type="submit" value="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartqtyupdate'];?>
" class="btn btn-default btn-sm" /></div>
                        <?php }?>
                    </td>
                    <td class="text-center">
                        <strong><?php echo $_smarty_tpl->tpl_vars['product']->value['pricingtext'];
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 }?></strong>
                    </td>
                </tr>
                <?php
$_from = $_smarty_tpl->tpl_vars['product']->value['addons'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_addon_4_saved_item = isset($_smarty_tpl->tpl_vars['addon']) ? $_smarty_tpl->tpl_vars['addon'] : false;
$__foreach_addon_4_saved_key = isset($_smarty_tpl->tpl_vars['addonnum']) ? $_smarty_tpl->tpl_vars['addonnum'] : false;
$_smarty_tpl->tpl_vars['addon'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['addonnum'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['addon']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['addonnum']->value => $_smarty_tpl->tpl_vars['addon']->value) {
$_smarty_tpl->tpl_vars['addon']->_loop = true;
$__foreach_addon_4_saved_local_item = $_smarty_tpl->tpl_vars['addon'];
?>
                    <tr class="carttableproduct">
                        <td><strong><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderaddon'];?>
</strong> - <?php echo $_smarty_tpl->tpl_vars['addon']->value['name'];?>
</td>
                        <td class="text-center"><strong><?php echo $_smarty_tpl->tpl_vars['addon']->value['pricingtext'];?>
</strong></td>
                    </tr>
                <?php
$_smarty_tpl->tpl_vars['addon'] = $__foreach_addon_4_saved_local_item;
}
if ($__foreach_addon_4_saved_item) {
$_smarty_tpl->tpl_vars['addon'] = $__foreach_addon_4_saved_item;
}
if ($__foreach_addon_4_saved_key) {
$_smarty_tpl->tpl_vars['addonnum'] = $__foreach_addon_4_saved_key;
}
?>
            <?php
$_smarty_tpl->tpl_vars['product'] = $__foreach_product_2_saved_local_item;
}
if ($__foreach_product_2_saved_item) {
$_smarty_tpl->tpl_vars['product'] = $__foreach_product_2_saved_item;
}
if ($__foreach_product_2_saved_key) {
$_smarty_tpl->tpl_vars['num'] = $__foreach_product_2_saved_key;
}
?>

            <?php
$_from = $_smarty_tpl->tpl_vars['addons']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_addon_5_saved_item = isset($_smarty_tpl->tpl_vars['addon']) ? $_smarty_tpl->tpl_vars['addon'] : false;
$__foreach_addon_5_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_5_saved_local_item = $_smarty_tpl->tpl_vars['addon'];
?>
                <tr class="carttableproduct">
                    <td>
                        <strong><?php echo $_smarty_tpl->tpl_vars['addon']->value['name'];?>
</strong><br />
                        <?php echo $_smarty_tpl->tpl_vars['addon']->value['productname'];
if ($_smarty_tpl->tpl_vars['addon']->value['domainname']) {?> - <?php echo $_smarty_tpl->tpl_vars['addon']->value['domainname'];?>
<br /><?php }?>
                        <a href="#" onclick="removeItem('a','<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
');return false" class="cartremove">[<?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartremove'];?>
]</a>
                    </td>
                    <td class="text-center"><strong><?php echo $_smarty_tpl->tpl_vars['addon']->value['pricingtext'];?>
</strong></td>
                </tr>
            <?php
$_smarty_tpl->tpl_vars['addon'] = $__foreach_addon_5_saved_local_item;
}
if ($__foreach_addon_5_saved_item) {
$_smarty_tpl->tpl_vars['addon'] = $__foreach_addon_5_saved_item;
}
if ($__foreach_addon_5_saved_key) {
$_smarty_tpl->tpl_vars['num'] = $__foreach_addon_5_saved_key;
}
?>

            <?php
$_from = $_smarty_tpl->tpl_vars['domains']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_domain_6_saved_item = isset($_smarty_tpl->tpl_vars['domain']) ? $_smarty_tpl->tpl_vars['domain'] : false;
$__foreach_domain_6_saved_key = isset($_smarty_tpl->tpl_vars['num']) ? $_smarty_tpl->tpl_vars['num'] : false;
$_smarty_tpl->tpl_vars['domain'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['num'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['domain']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['domain']->value) {
$_smarty_tpl->tpl_vars['domain']->_loop = true;
$__foreach_domain_6_saved_local_item = $_smarty_tpl->tpl_vars['domain'];
?>
                <tr class="carttableproduct">
                    <td>
                        <strong><?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'];
}?></strong> - <?php echo $_smarty_tpl->tpl_vars['domain']->value['domain'];?>
 - <?php echo $_smarty_tpl->tpl_vars['domain']->value['regperiod'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderyears'];?>
<br />
                        <?php if ($_smarty_tpl->tpl_vars['domain']->value['dnsmanagement']) {?>&nbsp;&raquo; <?php echo $_smarty_tpl->tpl_vars['LANG']->value['domaindnsmanagement'];?>
<br /><?php }?>
                        <?php if ($_smarty_tpl->tpl_vars['domain']->value['emailforwarding']) {?>&nbsp;&raquo; <?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainemailforwarding'];?>
<br /><?php }?>
                        <?php if ($_smarty_tpl->tpl_vars['domain']->value['idprotection']) {?>&nbsp;&raquo; <?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainidprotection'];?>
<br /><?php }?>
                        <a href="<?php echo $_SERVER['PHP_SELF'];?>
?a=confdomains" class="cartedit">[<?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartconfigdomainextras'];?>
]</a>
                        <a href="#" onclick="removeItem('d','<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
');return false" class="cartremove">[<?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartremove'];?>
]</a>
                    </td>
                    <td class="text-center">
                        <strong><?php echo $_smarty_tpl->tpl_vars['domain']->value['price'];?>
</strong>
                    </td>
                </tr>
            <?php
$_smarty_tpl->tpl_vars['domain'] = $__foreach_domain_6_saved_local_item;
}
if ($__foreach_domain_6_saved_item) {
$_smarty_tpl->tpl_vars['domain'] = $__foreach_domain_6_saved_item;
}
if ($__foreach_domain_6_saved_key) {
$_smarty_tpl->tpl_vars['num'] = $__foreach_domain_6_saved_key;
}
?>

            <?php
$_from = $_smarty_tpl->tpl_vars['renewals']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_domain_7_saved_item = isset($_smarty_tpl->tpl_vars['domain']) ? $_smarty_tpl->tpl_vars['domain'] : false;
$__foreach_domain_7_saved_key = isset($_smarty_tpl->tpl_vars['num']) ? $_smarty_tpl->tpl_vars['num'] : false;
$_smarty_tpl->tpl_vars['domain'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['num'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['domain']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['domain']->value) {
$_smarty_tpl->tpl_vars['domain']->_loop = true;
$__foreach_domain_7_saved_local_item = $_smarty_tpl->tpl_vars['domain'];
?>
                <tr class="carttableproduct">
                    <td>
                        <strong><?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainrenewal'];?>
</strong> - <?php echo $_smarty_tpl->tpl_vars['domain']->value['domain'];?>
 - <?php echo $_smarty_tpl->tpl_vars['domain']->value['regperiod'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderyears'];?>
<br />
                        <?php if ($_smarty_tpl->tpl_vars['domain']->value['dnsmanagement']) {?>&nbsp;&raquo; <?php echo $_smarty_tpl->tpl_vars['LANG']->value['domaindnsmanagement'];?>
<br /><?php }?>
                        <?php if ($_smarty_tpl->tpl_vars['domain']->value['emailforwarding']) {?>&nbsp;&raquo; <?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainemailforwarding'];?>
<br /><?php }?>
                        <?php if ($_smarty_tpl->tpl_vars['domain']->value['idprotection']) {?>&nbsp;&raquo; <?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainidprotection'];?>
<br /><?php }?>
                        <a href="#" onclick="removeItem('r','<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
');return false" class="cartremove">[<?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartremove'];?>
]</a>
                    </td>
                    <td class="text-center">
                        <strong><?php echo $_smarty_tpl->tpl_vars['domain']->value['price'];?>
</strong>
                    </td>
                </tr>
            <?php
$_smarty_tpl->tpl_vars['domain'] = $__foreach_domain_7_saved_local_item;
}
if ($__foreach_domain_7_saved_item) {
$_smarty_tpl->tpl_vars['domain'] = $__foreach_domain_7_saved_item;
}
if ($__foreach_domain_7_saved_key) {
$_smarty_tpl->tpl_vars['num'] = $__foreach_domain_7_saved_key;
}
?>

            <?php if ($_smarty_tpl->tpl_vars['cartitems']->value == 0) {?>
                <tr class="clientareatableactive">
                    <td colspan="2" class="text-center">
                        <br />
                        <?php echo $_smarty_tpl->tpl_vars['LANG']->value['cartempty'];?>

                        <br /><br />
                    </td>
                </tr>
            <?php }?>

            <tr class="subtotal">
                <td class="text-right"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordersubtotal'];?>
: &nbsp;</td>
                <td class="text-center"><?php echo $_smarty_tpl->tpl_vars['subtotal']->value;?>
</td>
            </tr>
            <?php if ($_smarty_tpl->tpl_vars['promotioncode']->value) {?>
                <tr class="promotion">
                    <td class="text-right"><?php echo $_smarty_tpl->tpl_vars['promotiondescription']->value;?>
: &nbsp;</td>
                    <td class="text-center"><?php echo $_smarty_tpl->tpl_vars['discount']->value;?>
</td>
                </tr>
            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['taxrate']->value) {?>
                <tr class="subtotal">
                    <td class="text-right"><?php echo $_smarty_tpl->tpl_vars['taxname']->value;?>
 @ <?php echo $_smarty_tpl->tpl_vars['taxrate']->value;?>
%: &nbsp;</td>
                    <td class="text-center"><?php echo $_smarty_tpl->tpl_vars['taxtotal']->value;?>
</td>
                </tr>
            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['taxrate2']->value) {?>
                <tr class="subtotal">
                    <td class="text-right"><?php echo $_smarty_tpl->tpl_vars['taxname2']->value;?>
 @ <?php echo $_smarty_tpl->tpl_vars['taxrate2']->value;?>
%: &nbsp;</td>
                    <td class="text-center"><?php echo $_smarty_tpl->tpl_vars['taxtotal2']->value;?>
</td>
                </tr>
            <?php }?>
            <tr class="total">
                <td class="text-right"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordertotalduetoday'];?>
: &nbsp;</td>
                <td class="text-center"><?php echo $_smarty_tpl->tpl_vars['total']->value;?>
</td>
            </tr>
            <?php if ($_smarty_tpl->tpl_vars['totalrecurringmonthly']->value || $_smarty_tpl->tpl_vars['totalrecurringquarterly']->value || $_smarty_tpl->tpl_vars['totalrecurringsemiannually']->value || $_smarty_tpl->tpl_vars['totalrecurringannually']->value || $_smarty_tpl->tpl_vars['totalrecurringbiennially']->value || $_smarty_tpl->tpl_vars['totalrecurringtriennially']->value) {?>
                <tr class="recurring">
                    <td class="text-right"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordertotalrecurring'];?>
: &nbsp;</td>
                    <td class="text-center">
                        <?php if ($_smarty_tpl->tpl_vars['totalrecurringmonthly']->value) {
echo $_smarty_tpl->tpl_vars['totalrecurringmonthly']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpaymenttermmonthly'];?>
<br /><?php }?>
                        <?php if ($_smarty_tpl->tpl_vars['totalrecurringquarterly']->value) {
echo $_smarty_tpl->tpl_vars['totalrecurringquarterly']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpaymenttermquarterly'];?>
<br /><?php }?>
                        <?php if ($_smarty_tpl->tpl_vars['totalrecurringsemiannually']->value) {
echo $_smarty_tpl->tpl_vars['totalrecurringsemiannually']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpaymenttermsemiannually'];?>
<br /><?php }?>
                        <?php if ($_smarty_tpl->tpl_vars['totalrecurringannually']->value) {
echo $_smarty_tpl->tpl_vars['totalrecurringannually']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpaymenttermannually'];?>
<br /><?php }?>
                        <?php if ($_smarty_tpl->tpl_vars['totalrecurringbiennially']->value) {
echo $_smarty_tpl->tpl_vars['totalrecurringbiennially']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpaymenttermbiennially'];?>
<br /><?php }?>
                        <?php if ($_smarty_tpl->tpl_vars['totalrecurringtriennially']->value) {
echo $_smarty_tpl->tpl_vars['totalrecurringtriennially']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpaymenttermtriennially'];?>
<br /><?php }?>
                    </td>
                </tr>
            <?php }?>
        </table>

    </form>

    <div class="cartbuttons">
        <button type="button" class="btn btn-danger btn-sm" onclick="emptyCart();return false"><i class="fa fa-trash"></i> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['emptycart'];?>
</button>
        <a href="cart.php" class="btn btn-default btn-sm"><i class="fa fa-shopping-cart"></i> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['continueshopping'];?>
</a>
    </div>

    <?php
$_from = $_smarty_tpl->tpl_vars['gatewaysoutput']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_gatewayoutput_8_saved_item = isset($_smarty_tpl->tpl_vars['gatewayoutput']) ? $_smarty_tpl->tpl_vars['gatewayoutput'] : false;
$_smarty_tpl->tpl_vars['gatewayoutput'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['gatewayoutput']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['gatewayoutput']->value) {
$_smarty_tpl->tpl_vars['gatewayoutput']->_loop = true;
$__foreach_gatewayoutput_8_saved_local_item = $_smarty_tpl->tpl_vars['gatewayoutput'];
?>
        <div class="clear"></div>
        <div class="cartbuttons">
            <?php echo $_smarty_tpl->tpl_vars['gatewayoutput']->value;?>

        </div>
    <?php
$_smarty_tpl->tpl_vars['gatewayoutput'] = $__foreach_gatewayoutput_8_saved_local_item;
}
if ($__foreach_gatewayoutput_8_saved_item) {
$_smarty_tpl->tpl_vars['gatewayoutput'] = $__foreach_gatewayoutput_8_saved_item;
}
?>

    <?php if ($_smarty_tpl->tpl_vars['cartitems']->value != 0) {?>

        <form method="post" action="<?php echo $_SERVER['PHP_SELF'];?>
?a=checkout" id="frmCheckout">
            <input type="hidden" name="submit" value="true" />
            <input type="hidden" name="custtype" id="custtype" value="<?php echo $_smarty_tpl->tpl_vars['custtype']->value;?>
" />

            <br /><br />

            <h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['yourdetails'];?>
</h2>

            <div style="float:left;width:20px;">&nbsp;</div><div class="signuptype<?php if (!$_smarty_tpl->tpl_vars['loggedin']->value && $_smarty_tpl->tpl_vars['custtype']->value != "existing") {?> active<?php }?>"<?php if (!$_smarty_tpl->tpl_vars['loggedin']->value) {?> id="newcust"<?php }?>><?php echo $_smarty_tpl->tpl_vars['LANG']->value['newcustomer'];?>
</div><div class="signuptype<?php if ($_smarty_tpl->tpl_vars['custtype']->value == "existing" && !$_smarty_tpl->tpl_vars['loggedin']->value || $_smarty_tpl->tpl_vars['loggedin']->value) {?> active<?php }?>" id="existingcust"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['existingcustomer'];?>
</div>
            <div class="clear"></div>

            <div class="signupfields signupfields-existing<?php if ($_smarty_tpl->tpl_vars['custtype']->value == "existing" && !$_smarty_tpl->tpl_vars['loggedin']->value) {
} else { ?> hidden<?php }?>" id="loginfrm">

                <div class="col-sm-6 col-sm-offset-3">

                    <div class="form-group">
                        <label for="inputEmail"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaemail'];?>
</label>
                        <input type="text" name="loginemail" class="form-control" id="inputEmail" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['enteremail'];?>
"<?php if ($_smarty_tpl->tpl_vars['loggedin']->value) {?> disabled<?php }?> />
                    </div>
                    <div class="form-group">
                        <label for="inputPassword"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareapassword'];?>
</label>
                        <input type="password" name="loginpw" class="form-control" id="inputPassword" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareapassword'];?>
"<?php if ($_smarty_tpl->tpl_vars['loggedin']->value) {?> disabled<?php }?> />
                    </div>

                </div>

                <div class="clearfix"></div>

            </div>
            <div class="signupfields<?php if ($_smarty_tpl->tpl_vars['custtype']->value == "existing" && !$_smarty_tpl->tpl_vars['loggedin']->value) {?> hidden<?php }?>" id="signupfrm">
                <div class="row">
                    <div class="col-md-6">
                        <div class="form-group">
                            <?php if ($_smarty_tpl->tpl_vars['loggedin']->value) {?>
                                <div class="row">
                                    <label class="col-sm-4 text-right">
                                        <?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareafirstname'];?>

                                    </label>
                                    <div class="col-sm-8">
                                        <?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['firstname'];?>

                                    </div>
                                </div>
                            <?php } else { ?>
                                <label for="firstname" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareafirstname'];?>
</label>
                                <input type="text" name="firstname" id="firstname" value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['firstname'];?>
" class="form-control"<?php if (!in_array('firstname',$_smarty_tpl->tpl_vars['clientsProfileOptionalFields']->value)) {?> required<?php }?> />
                            <?php }?>
                        </div>
                        <div class="form-group">
                            <?php if ($_smarty_tpl->tpl_vars['loggedin']->value) {?>
                                <div class="row">
                                    <label class="col-sm-4 text-right">
                                        <?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientarealastname'];?>

                                    </label>
                                    <div class="col-sm-8">
                                        <?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['lastname'];?>

                                    </div>
                                </div>
                            <?php } else { ?>
                                <label for="lastname" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientarealastname'];?>
</label>
                                <input type="text" name="lastname" id="lastname" value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['lastname'];?>
" class="form-control"<?php if (!in_array('lastname',$_smarty_tpl->tpl_vars['clientsProfileOptionalFields']->value)) {?> required<?php }?>  />
                            <?php }?>
                        </div>
                        <div class="form-group">
                            <?php if ($_smarty_tpl->tpl_vars['loggedin']->value) {?>
                                <div class="row">
                                    <label class="col-sm-4 text-right">
                                        <?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareacompanyname'];?>

                                    </label>
                                    <div class="col-sm-8">
                                        <?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['companyname'];?>

                                    </div>
                                </div>
                            <?php } else { ?>
                                <label for="companyname" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareacompanyname'];?>
</label>
                                <input type="text" name="companyname" id="companyname" value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['companyname'];?>
" class="form-control" />
                            <?php }?>
                        </div>
                        <div class="form-group">
                            <?php if ($_smarty_tpl->tpl_vars['loggedin']->value) {?>
                                <div class="row">
                                    <label class="col-sm-4 text-right">
                                        <?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaemail'];?>

                                    </label>
                                    <div class="col-sm-8">
                                        <?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['email'];?>

                                    </div>
                                </div>
                            <?php } else { ?>
                                <label for="email" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaemail'];?>
</label>
                                <input type="email" name="email" id="email" value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['email'];?>
" class="form-control" required/>
                            <?php }?>
                        </div>
                        <?php if (!$_smarty_tpl->tpl_vars['loggedin']->value) {?>
                            <div id="newPassword1" class="form-group has-feedback">
                                <label for="inputNewPassword1" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareapassword'];?>
</label>
                                <input type="password" class="form-control" id="inputNewPassword1" data-error-threshold="<?php echo $_smarty_tpl->tpl_vars['pwStrengthErrorThreshold']->value;?>
" data-warning-threshold="<?php echo $_smarty_tpl->tpl_vars['pwStrengthWarningThreshold']->value;?>
" name="password" value="<?php echo $_smarty_tpl->tpl_vars['password']->value;?>
" required/>
                                <span class="form-control-feedback glyphicon glyphicon-password"></span>
                                <?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, ((string)$_smarty_tpl->tpl_vars['template']->value)."/includes/pwstrength.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>

                            </div>
                            <div id="newPassword2" class="form-group has-feedback">
                                <label for="inputNewPassword2" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaconfirmpassword'];?>
</label>
                                <input type="password" class="form-control" id="inputNewPassword2" name="password2" value="<?php echo $_smarty_tpl->tpl_vars['password2']->value;?>
" required/>
                                <span class="form-control-feedback glyphicon glyphicon-password"></span>
                                <div id="inputNewPassword2Msg">
                                </div>
                            </div>
                        <?php }?>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <?php if ($_smarty_tpl->tpl_vars['loggedin']->value) {?>
                                <div class="row">
                                    <label class="col-sm-4 text-right">
                                        <?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaaddress1'];?>

                                    </label>
                                    <div class="col-sm-8">
                                        <?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['address1'];?>

                                    </div>
                                </div>
                            <?php } else { ?>
                                <label for="address1" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaaddress1'];?>
</label>
                                <input type="text" name="address1" id="address1" value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['address1'];?>
" class="form-control"<?php if (!in_array('address1',$_smarty_tpl->tpl_vars['clientsProfileOptionalFields']->value)) {?> required<?php }?> />
                            <?php }?>
                        </div>
                        <div class="form-group">
                            <?php if ($_smarty_tpl->tpl_vars['loggedin']->value) {?>
                                <div class="row">
                                    <label class="col-sm-4 text-right">
                                        <?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaaddress2'];?>

                                    </label>
                                    <div class="col-sm-8">
                                        <?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['address2'];?>

                                    </div>
                                </div>
                            <?php } else { ?>
                                <label for="address2" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaaddress2'];?>
</label>
                                <input type="text" name="address2" id="address2" value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['address2'];?>
" class="form-control" />
                            <?php }?>
                        </div>
                        <div class="form-group">
                            <?php if ($_smarty_tpl->tpl_vars['loggedin']->value) {?>
                                <div class="row">
                                    <label class="col-sm-4 text-right">
                                        <?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareacity'];?>

                                    </label>
                                    <div class="col-sm-8">
                                        <?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['city'];?>

                                    </div>
                                </div>
                            <?php } else { ?>
                                <label for="city" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareacity'];?>
</label>
                                <input type="text" name="city" id="city" value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['city'];?>
" class="form-control"<?php if (!in_array('city',$_smarty_tpl->tpl_vars['clientsProfileOptionalFields']->value)) {?> required<?php }?> />
                            <?php }?>
                        </div>
                        <div class="form-group">
                            <?php if ($_smarty_tpl->tpl_vars['loggedin']->value) {?>
                                <div class="row">
                                    <label class="col-sm-4 text-right">
                                        <?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareastate'];?>

                                    </label>
                                    <div class="col-sm-8">
                                        <?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['state'];?>

                                    </div>
                                </div>
                            <?php } else { ?>
                                <label for="state" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareastate'];?>
</label>
                                <input type="text" name="state" id="state" value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['state'];?>
" class="form-control"<?php if (!in_array('state',$_smarty_tpl->tpl_vars['clientsProfileOptionalFields']->value)) {?> required<?php }?> />
                            <?php }?>
                        </div>
                        <div class="form-group">
                            <?php if ($_smarty_tpl->tpl_vars['loggedin']->value) {?>
                                <div class="row">
                                    <label class="col-sm-4 text-right">
                                        <?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareapostcode'];?>

                                    </label>
                                    <div class="col-sm-8">
                                        <?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['postcode'];?>

                                    </div>
                                </div>
                            <?php } else { ?>
                                <label for="postcode" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareapostcode'];?>
</label>
                                <input type="text" name="postcode" id="postcode" value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['postcode'];?>
" class="form-control"<?php if (!in_array('postcode',$_smarty_tpl->tpl_vars['clientsProfileOptionalFields']->value)) {?> required<?php }?> />
                            <?php }?>
                        </div>
                        <div class="form-group">
                            <?php if ($_smarty_tpl->tpl_vars['loggedin']->value) {?>
                                <div class="row">
                                    <label class="col-sm-4 text-right">
                                        <?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareacountry'];?>

                                    </label>
                                    <div class="col-sm-8">
                                        <?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['country'];?>

                                    </div>
                                </div>
                            <?php } else { ?>
                                <label for="country" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareacountry'];?>
</label>
                                <select id="country" name="country" class="form-control">
                                    <?php
$_from = $_smarty_tpl->tpl_vars['countries']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_thisCountryName_9_saved_item = isset($_smarty_tpl->tpl_vars['thisCountryName']) ? $_smarty_tpl->tpl_vars['thisCountryName'] : false;
$__foreach_thisCountryName_9_saved_key = isset($_smarty_tpl->tpl_vars['thisCountryCode']) ? $_smarty_tpl->tpl_vars['thisCountryCode'] : false;
$_smarty_tpl->tpl_vars['thisCountryName'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['thisCountryCode'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['thisCountryName']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['thisCountryCode']->value => $_smarty_tpl->tpl_vars['thisCountryName']->value) {
$_smarty_tpl->tpl_vars['thisCountryName']->_loop = true;
$__foreach_thisCountryName_9_saved_local_item = $_smarty_tpl->tpl_vars['thisCountryName'];
?>
                                        <option value="<?php echo $_smarty_tpl->tpl_vars['thisCountryCode']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['thisCountryCode']->value == $_smarty_tpl->tpl_vars['clientsdetails']->value['country']) {?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['thisCountryName']->value;?>
</option>
                                    <?php
$_smarty_tpl->tpl_vars['thisCountryName'] = $__foreach_thisCountryName_9_saved_local_item;
}
if ($__foreach_thisCountryName_9_saved_item) {
$_smarty_tpl->tpl_vars['thisCountryName'] = $__foreach_thisCountryName_9_saved_item;
}
if ($__foreach_thisCountryName_9_saved_key) {
$_smarty_tpl->tpl_vars['thisCountryCode'] = $__foreach_thisCountryName_9_saved_key;
}
?>
                                </select>
                            <?php }?>
                        </div>
                        <div class="form-group">
                            <?php if ($_smarty_tpl->tpl_vars['loggedin']->value) {?>
                                <div class="row">
                                    <label class="col-sm-4 text-right">
                                        <?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaphonenumber'];?>

                                    </label>
                                    <div class="col-sm-8">
                                        <?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['phonenumber'];?>

                                    </div>
                                </div>
                            <?php } else { ?>
                                <label for="phonenumber" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaphonenumber'];?>
</label>
                                <input type="text" name="phonenumber" id="phonenumber" value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['phonenumber'];?>
" class="form-control"<?php if (!in_array('phonenumber',$_smarty_tpl->tpl_vars['clientsProfileOptionalFields']->value)) {?> required<?php }?> />
                            <?php }?>
                        </div>
                        <?php if ($_smarty_tpl->tpl_vars['customfields']->value) {?>
                            <?php
$_from = $_smarty_tpl->tpl_vars['customfields']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_customfield_10_saved_item = isset($_smarty_tpl->tpl_vars['customfield']) ? $_smarty_tpl->tpl_vars['customfield'] : false;
$__foreach_customfield_10_saved_key = isset($_smarty_tpl->tpl_vars['num']) ? $_smarty_tpl->tpl_vars['num'] : false;
$_smarty_tpl->tpl_vars['customfield'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['num'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['customfield']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['customfield']->value) {
$_smarty_tpl->tpl_vars['customfield']->_loop = true;
$__foreach_customfield_10_saved_local_item = $_smarty_tpl->tpl_vars['customfield'];
?>
                                <div class="form-group">
                                    <label class="control-label" for="customfield<?php echo $_smarty_tpl->tpl_vars['customfield']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['customfield']->value['name'];?>
</label>
                                    <div class="control">
                                        <?php echo $_smarty_tpl->tpl_vars['customfield']->value['input'];?>
 <?php echo $_smarty_tpl->tpl_vars['customfield']->value['description'];?>

                                    </div>
                                </div>
                            <?php
$_smarty_tpl->tpl_vars['customfield'] = $__foreach_customfield_10_saved_local_item;
}
if ($__foreach_customfield_10_saved_item) {
$_smarty_tpl->tpl_vars['customfield'] = $__foreach_customfield_10_saved_item;
}
if ($__foreach_customfield_10_saved_key) {
$_smarty_tpl->tpl_vars['num'] = $__foreach_customfield_10_saved_key;
}
?>
                        <?php }?>
                    </div>
                </div>
            </div>

            <?php if ($_smarty_tpl->tpl_vars['securityquestions']->value && !$_smarty_tpl->tpl_vars['loggedin']->value) {?>
                <div class="panel panel-default" id="securityQuestion">
                    <div class="panel-heading">
                        <h3 class="panel-title"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareasecurityquestion'];?>
:</h3>
                    </div>
                    <div class="panel-body">
                        <div class="form-group col-sm-12">
                            <select name="securityqid" id="securityqid" class="form-control">
                                <?php
$_from = $_smarty_tpl->tpl_vars['securityquestions']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_question_11_saved_item = isset($_smarty_tpl->tpl_vars['question']) ? $_smarty_tpl->tpl_vars['question'] : false;
$__foreach_question_11_saved_key = isset($_smarty_tpl->tpl_vars['num']) ? $_smarty_tpl->tpl_vars['num'] : false;
$_smarty_tpl->tpl_vars['question'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['num'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['question']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['question']->value) {
$_smarty_tpl->tpl_vars['question']->_loop = true;
$__foreach_question_11_saved_local_item = $_smarty_tpl->tpl_vars['question'];
?>
                                    <option value=<?php echo $_smarty_tpl->tpl_vars['question']->value['id'];?>
><?php echo $_smarty_tpl->tpl_vars['question']->value['question'];?>
</option>
                                <?php
$_smarty_tpl->tpl_vars['question'] = $__foreach_question_11_saved_local_item;
}
if ($__foreach_question_11_saved_item) {
$_smarty_tpl->tpl_vars['question'] = $__foreach_question_11_saved_item;
}
if ($__foreach_question_11_saved_key) {
$_smarty_tpl->tpl_vars['num'] = $__foreach_question_11_saved_key;
}
?>
                            </select>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-4 control-label" for="securityqans"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareasecurityanswer'];?>
</label>
                            <div class="col-sm-6">
                                <input type="password" name="securityqans" id="securityqans" class="form-control"/>
                            </div>
                        </div>
                    </div>
                </div>
            <?php }?>

            <?php if ($_smarty_tpl->tpl_vars['taxenabled']->value && !$_smarty_tpl->tpl_vars['loggedin']->value) {?>
                <div class="carttaxwarning">
                    <?php echo $_smarty_tpl->tpl_vars['LANG']->value['carttaxupdateselections'];?>

                    <input type="submit" value="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['carttaxupdateselectionsupdate'];?>
" name="updateonly" id="btnUpdateOnly" class="btn btn-info btn-sm" />
                </div>
            <?php }?>

            <?php if ($_smarty_tpl->tpl_vars['domainsinorder']->value) {?>
                <h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainregistrantinfo'];?>
</h2>
                <select name="contact" id="inputDomainContact" class="form-control">
                    <option value=""><?php echo $_smarty_tpl->tpl_vars['LANG']->value['usedefaultcontact'];?>
</option>
                    <?php
$_from = $_smarty_tpl->tpl_vars['domaincontacts']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_domcontact_12_saved_item = isset($_smarty_tpl->tpl_vars['domcontact']) ? $_smarty_tpl->tpl_vars['domcontact'] : false;
$_smarty_tpl->tpl_vars['domcontact'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['domcontact']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['domcontact']->value) {
$_smarty_tpl->tpl_vars['domcontact']->_loop = true;
$__foreach_domcontact_12_saved_local_item = $_smarty_tpl->tpl_vars['domcontact'];
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['domcontact']->value['id'];?>
"<?php if ($_smarty_tpl->tpl_vars['contact']->value == $_smarty_tpl->tpl_vars['domcontact']->value['id']) {?> selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['domcontact']->value['name'];?>
</option>
                    <?php
$_smarty_tpl->tpl_vars['domcontact'] = $__foreach_domcontact_12_saved_local_item;
}
if ($__foreach_domcontact_12_saved_item) {
$_smarty_tpl->tpl_vars['domcontact'] = $__foreach_domcontact_12_saved_item;
}
?>
                    <option value="addingnew"<?php if ($_smarty_tpl->tpl_vars['contact']->value == "addingnew") {?> selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareanavaddcontact'];?>
...</option>
                </select>
                <br />
                <div class="signupfields<?php if ($_smarty_tpl->tpl_vars['contact']->value != "addingnew") {?> hidden<?php }?>" id="domaincontactfields">
                    <div class="row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="domaincontactfirstname" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareafirstname'];?>
</label>
                                <input type="text" name="domaincontactfirstname" id="domaincontactfirstname" value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['firstname'];?>
" class="form-control" />
                            </div>
                            <div class="form-group">
                                <label for="domaincontactlastname" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientarealastname'];?>
</label>
                                <input type="text" name="domaincontactlastname" id="domaincontactlastname" value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['lastname'];?>
" class="form-control" />
                            </div>
                            <div class="form-group">
                                <label for="domaincontactcompanyname" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareacompanyname'];?>
</label>
                                <input type="text" name="domaincontactcompanyname" id="domaincontactcompanyname" value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['companyname'];?>
" class="form-control" />
                            </div>
                            <div class="form-group">
                                <label for="domaincontactemail" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaemail'];?>
</label>
                                <input type="email" name="domaincontactemail" id="domaincontactemail" value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['email'];?>
" class="form-control" />
                            </div>
                            <div class="form-group">
                                <label for="domaincontactphonenumber" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaphonenumber'];?>
</label>
                                <input type="text" name="domaincontactphonenumber" id="domaincontactphonenumber" value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['phonenumber'];?>
" class="form-control" />
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="domaincontactaddress1" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaaddress1'];?>
</label>
                                <input type="text" name="domaincontactaddress1" id="domaincontactaddress1" value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['address1'];?>
" class="form-control" />
                            </div>
                            <div class="form-group">
                                <label for="domaincontactaddress2" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaaddress2'];?>
</label>
                                <input type="text" name="domaincontactaddress2" id="domaincontactaddress2" value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['address2'];?>
" class="form-control" />
                            </div>
                            <div class="form-group">
                                <label for="domaincontactcity" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareacity'];?>
</label>
                                <input type="text" name="domaincontactcity" id="domaincontactcity" value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['city'];?>
" class="form-control" />
                            </div>
                            <div class="form-group">
                                <label for="domaincontactstate" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareastate'];?>
</label>
                                <input type="text" name="domaincontactstate" id="domaincontactstate" value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['state'];?>
" class="form-control" />
                            </div>
                            <div class="form-group">
                                <label for="domaincontactpostcode" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareapostcode'];?>
</label>
                                <input type="text" name="domaincontactpostcode" id="domaincontactpostcode" value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['postcode'];?>
" class="form-control" />
                            </div>
                            <div class="form-group">
                                <label for="domaincontactcountry" class="control-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareacountry'];?>
</label>
                                <select id="domaincontactcountry" name="domaincontactcountry" class="form-control">
                                    <?php
$_from = $_smarty_tpl->tpl_vars['countries']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_thisCountryName_13_saved_item = isset($_smarty_tpl->tpl_vars['thisCountryName']) ? $_smarty_tpl->tpl_vars['thisCountryName'] : false;
$__foreach_thisCountryName_13_saved_key = isset($_smarty_tpl->tpl_vars['thisCountryCode']) ? $_smarty_tpl->tpl_vars['thisCountryCode'] : false;
$_smarty_tpl->tpl_vars['thisCountryName'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['thisCountryCode'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['thisCountryName']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['thisCountryCode']->value => $_smarty_tpl->tpl_vars['thisCountryName']->value) {
$_smarty_tpl->tpl_vars['thisCountryName']->_loop = true;
$__foreach_thisCountryName_13_saved_local_item = $_smarty_tpl->tpl_vars['thisCountryName'];
?>
                                        <option value="<?php echo $_smarty_tpl->tpl_vars['thisCountryCode']->value;?>
" <?php if (($_smarty_tpl->tpl_vars['domaincontact']->value['country'] && $_smarty_tpl->tpl_vars['thisCountryCode']->value == $_smarty_tpl->tpl_vars['domaincontact']->value['country']) || $_smarty_tpl->tpl_vars['thisCountryCode']->value == $_smarty_tpl->tpl_vars['clientsdetails']->value['country']) {?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['thisCountryName']->value;?>
</option>
                                    <?php
$_smarty_tpl->tpl_vars['thisCountryName'] = $__foreach_thisCountryName_13_saved_local_item;
}
if ($__foreach_thisCountryName_13_saved_item) {
$_smarty_tpl->tpl_vars['thisCountryName'] = $__foreach_thisCountryName_13_saved_item;
}
if ($__foreach_thisCountryName_13_saved_key) {
$_smarty_tpl->tpl_vars['thisCountryCode'] = $__foreach_thisCountryName_13_saved_key;
}
?>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
            <?php }?>

            <div class="row">
                <div class="col-md-6">

                    <div class="signupfields padded">
                        <h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpromotioncode'];?>
</h2>
                        <?php if ($_smarty_tpl->tpl_vars['promotioncode']->value) {?>
                            <?php echo $_smarty_tpl->tpl_vars['promotioncode']->value;?>
 - <?php echo $_smarty_tpl->tpl_vars['promotiondescription']->value;?>
<br />
                            <a href="<?php echo $_SERVER['PHP_SELF'];?>
?a=removepromo"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderdontusepromo'];?>
</a>
                        <?php } else { ?>
                            <div class="col-xs-10 col-xs-offset-1">
                                <div class="input-group">
                                    <input type="text" name="promocode" id="inputPromoCode" class="form-control" placeholder="<?php echo WHMCS\Smarty::langFunction(array('key'=>"orderPromoCodePlaceholder"),$_smarty_tpl);?>
">
                                    <span class="input-group-btn">
                                        <input type="hidden" name="validatepromo" id="validatepromo" value="0" />
                                        <button type="button" id="validatePromoCode" class="btn btn-warning">
                                            <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpromovalidatebutton'];?>

                                        </button>
                                    </span>
                                </div>
                            </div>
                            <div class="clearfix"></div>
                        <?php }?>
                    </div>

                    <?php if ($_smarty_tpl->tpl_vars['shownotesfield']->value) {?>
                        <div class="signupfields padded">
                            <h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordernotes'];?>
</h2>
                            <textarea name="notes" rows="3" class="form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordernotesdescription'];?>
"><?php echo $_smarty_tpl->tpl_vars['orderNotes']->value;?>
</textarea>
                        </div>
                    <?php }?>

                </div>
                <div class="col-md-6">

                    <div class="signupfields padded">
                        <h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpaymentmethod'];?>
</h2>
                        <?php
$_from = $_smarty_tpl->tpl_vars['gateways']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_gateway_14_saved_item = isset($_smarty_tpl->tpl_vars['gateway']) ? $_smarty_tpl->tpl_vars['gateway'] : false;
$__foreach_gateway_14_saved_key = isset($_smarty_tpl->tpl_vars['num']) ? $_smarty_tpl->tpl_vars['num'] : false;
$_smarty_tpl->tpl_vars['gateway'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['num'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['gateway']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['gateway']->value) {
$_smarty_tpl->tpl_vars['gateway']->_loop = true;
$__foreach_gateway_14_saved_local_item = $_smarty_tpl->tpl_vars['gateway'];
?>
                            <label class="radio-inline">
                                <input type="radio" name="paymentmethod" value="<?php echo $_smarty_tpl->tpl_vars['gateway']->value['sysname'];?>
" id="pgbtn<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
" onclick="<?php if ($_smarty_tpl->tpl_vars['gateway']->value['type'] == "CC") {?>showCCForm()<?php } else { ?>hideCCForm()<?php }?>"<?php if ($_smarty_tpl->tpl_vars['selectedgateway']->value == $_smarty_tpl->tpl_vars['gateway']->value['sysname']) {?> checked<?php }?> />
                                <?php echo $_smarty_tpl->tpl_vars['gateway']->value['name'];?>

                            </label>
                        <?php
$_smarty_tpl->tpl_vars['gateway'] = $__foreach_gateway_14_saved_local_item;
}
if ($__foreach_gateway_14_saved_item) {
$_smarty_tpl->tpl_vars['gateway'] = $__foreach_gateway_14_saved_item;
}
if ($__foreach_gateway_14_saved_key) {
$_smarty_tpl->tpl_vars['num'] = $__foreach_gateway_14_saved_key;
}
?>

                        <br /><br />
                        <div class="alert alert-danger text-center gateway-errors hidden"></div>

                        <div id="ccinputform" class="signupfields<?php if ($_smarty_tpl->tpl_vars['selectedgatewaytype']->value != "CC") {?> hidden<?php }?>">
                            <table width="100%" cellspacing="0" cellpadding="0" class="configtable textleft">
                                <?php if ($_smarty_tpl->tpl_vars['clientsdetails']->value['cclastfour']) {?>
                                    <tr>
                                        <td class="fieldlabel"></td>
                                        <td class="fieldarea">
                                            <label class="radio-inline">
                                                <input type="radio" name="ccinfo" value="useexisting" id="useexisting" onclick="useExistingCC()"<?php if ($_smarty_tpl->tpl_vars['clientsdetails']->value['cclastfour']) {?> checked<?php } else { ?> disabled<?php }?> />
                                                <?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditcarduseexisting'];?>

                                                <?php if ($_smarty_tpl->tpl_vars['clientsdetails']->value['cclastfour']) {?>
                                                    (<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['cclastfour'];?>
)
                                                <?php }?>
                                            </label><br />
                                            <label class="radio-inline">
                                                <input type="radio" name="ccinfo" value="new" id="new" onclick="enterNewCC()"<?php if (!$_smarty_tpl->tpl_vars['clientsdetails']->value['cclastfour'] || $_smarty_tpl->tpl_vars['ccinfo']->value == "new") {?> checked<?php }?> />
                                                <?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditcardenternewcard'];?>

                                            </label>
                                        </td>
                                    </tr>
                                <?php } else { ?>
                                    <input type="hidden" name="ccinfo" value="new" />
                                <?php }?>
                                <tr class="newccinfo"<?php if ($_smarty_tpl->tpl_vars['clientsdetails']->value['cclastfour'] && $_smarty_tpl->tpl_vars['ccinfo']->value != "new") {?> style="display:none;"<?php }?>>
                                    <td class="fieldlabel"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditcardcardtype'];?>
</td>
                                    <td class="fieldarea">
                                        <select name="cctype" id="cctype">
                                            <?php
$_from = $_smarty_tpl->tpl_vars['acceptedcctypes']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_cardtype_15_saved_item = isset($_smarty_tpl->tpl_vars['cardtype']) ? $_smarty_tpl->tpl_vars['cardtype'] : false;
$__foreach_cardtype_15_saved_key = isset($_smarty_tpl->tpl_vars['num']) ? $_smarty_tpl->tpl_vars['num'] : false;
$_smarty_tpl->tpl_vars['cardtype'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['num'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['cardtype']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['cardtype']->value) {
$_smarty_tpl->tpl_vars['cardtype']->_loop = true;
$__foreach_cardtype_15_saved_local_item = $_smarty_tpl->tpl_vars['cardtype'];
?>
                                                <option<?php if ($_smarty_tpl->tpl_vars['cctype']->value == $_smarty_tpl->tpl_vars['cardtype']->value) {?> selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['cardtype']->value;?>
</option>
                                            <?php
$_smarty_tpl->tpl_vars['cardtype'] = $__foreach_cardtype_15_saved_local_item;
}
if ($__foreach_cardtype_15_saved_item) {
$_smarty_tpl->tpl_vars['cardtype'] = $__foreach_cardtype_15_saved_item;
}
if ($__foreach_cardtype_15_saved_key) {
$_smarty_tpl->tpl_vars['num'] = $__foreach_cardtype_15_saved_key;
}
?>
                                        </select>
                                    </td>
                                </tr>
                                <tr class="newccinfo"<?php if ($_smarty_tpl->tpl_vars['clientsdetails']->value['cclastfour'] && $_smarty_tpl->tpl_vars['ccinfo']->value != "new") {?> style="display:none;"<?php }?>>
                                    <td class="fieldlabel"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditcardcardnumber'];?>
</td>
                                    <td class="fieldarea">
                                        <input type="text" name="ccnumber" size="30" value="<?php echo $_smarty_tpl->tpl_vars['ccnumber']->value;?>
" autocomplete="off" />
                                    </td>
                                </tr>
                                <tr class="newccinfo"<?php if ($_smarty_tpl->tpl_vars['clientsdetails']->value['cclastfour'] && $_smarty_tpl->tpl_vars['ccinfo']->value != "new") {?> style="display:none;"<?php }?>>
                                    <td class="fieldlabel"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditcardcardexpires'];?>
</td>
                                    <td class="fieldarea">
                                        <select name="ccexpirymonth" id="ccexpirymonth" class="newccinfo">
                                            <?php
$_from = $_smarty_tpl->tpl_vars['months']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_month_16_saved_item = isset($_smarty_tpl->tpl_vars['month']) ? $_smarty_tpl->tpl_vars['month'] : false;
$_smarty_tpl->tpl_vars['month'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['month']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['month']->value) {
$_smarty_tpl->tpl_vars['month']->_loop = true;
$__foreach_month_16_saved_local_item = $_smarty_tpl->tpl_vars['month'];
?>
                                                <option<?php if ($_smarty_tpl->tpl_vars['ccexpirymonth']->value == $_smarty_tpl->tpl_vars['month']->value) {?> selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['month']->value;?>
</option>
                                            <?php
$_smarty_tpl->tpl_vars['month'] = $__foreach_month_16_saved_local_item;
}
if ($__foreach_month_16_saved_item) {
$_smarty_tpl->tpl_vars['month'] = $__foreach_month_16_saved_item;
}
?>
                                        </select>
                                        /
                                        <select name="ccexpiryyear" class="newccinfo">
                                            <?php
$_from = $_smarty_tpl->tpl_vars['expiryyears']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_year_17_saved_item = isset($_smarty_tpl->tpl_vars['year']) ? $_smarty_tpl->tpl_vars['year'] : false;
$_smarty_tpl->tpl_vars['year'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['year']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['year']->value) {
$_smarty_tpl->tpl_vars['year']->_loop = true;
$__foreach_year_17_saved_local_item = $_smarty_tpl->tpl_vars['year'];
?>
                                                <option<?php if ($_smarty_tpl->tpl_vars['ccexpiryyear']->value == $_smarty_tpl->tpl_vars['year']->value) {?> selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['year']->value;?>
</option>
                                            <?php
$_smarty_tpl->tpl_vars['year'] = $__foreach_year_17_saved_local_item;
}
if ($__foreach_year_17_saved_item) {
$_smarty_tpl->tpl_vars['year'] = $__foreach_year_17_saved_item;
}
?>
                                        </select>
                                    </td>
                                </tr>
                                <?php if ($_smarty_tpl->tpl_vars['showccissuestart']->value) {?>
                                    <tr class="newccinfo"<?php if ($_smarty_tpl->tpl_vars['clientsdetails']->value['cclastfour'] && $_smarty_tpl->tpl_vars['ccinfo']->value != "new") {?> style="display:none;"<?php }?>>
                                        <td class="fieldlabel"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditcardcardstart'];?>
</td>
                                        <td class="fieldarea">
                                            <select name="ccstartmonth" id="ccstartmonth" class="newccinfo">
                                                <?php
$_from = $_smarty_tpl->tpl_vars['months']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_month_18_saved_item = isset($_smarty_tpl->tpl_vars['month']) ? $_smarty_tpl->tpl_vars['month'] : false;
$_smarty_tpl->tpl_vars['month'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['month']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['month']->value) {
$_smarty_tpl->tpl_vars['month']->_loop = true;
$__foreach_month_18_saved_local_item = $_smarty_tpl->tpl_vars['month'];
?>
                                                    <option<?php if ($_smarty_tpl->tpl_vars['ccstartmonth']->value == $_smarty_tpl->tpl_vars['month']->value) {?> selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['month']->value;?>
</option>
                                                <?php
$_smarty_tpl->tpl_vars['month'] = $__foreach_month_18_saved_local_item;
}
if ($__foreach_month_18_saved_item) {
$_smarty_tpl->tpl_vars['month'] = $__foreach_month_18_saved_item;
}
?>
                                            </select>
                                            /
                                            <select name="ccstartyear" class="newccinfo">
                                                <?php
$_from = $_smarty_tpl->tpl_vars['startyears']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_year_19_saved_item = isset($_smarty_tpl->tpl_vars['year']) ? $_smarty_tpl->tpl_vars['year'] : false;
$_smarty_tpl->tpl_vars['year'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['year']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['year']->value) {
$_smarty_tpl->tpl_vars['year']->_loop = true;
$__foreach_year_19_saved_local_item = $_smarty_tpl->tpl_vars['year'];
?>
                                                    <option<?php if ($_smarty_tpl->tpl_vars['ccstartyear']->value == $_smarty_tpl->tpl_vars['year']->value) {?> selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['year']->value;?>
</option>
                                                <?php
$_smarty_tpl->tpl_vars['year'] = $__foreach_year_19_saved_local_item;
}
if ($__foreach_year_19_saved_item) {
$_smarty_tpl->tpl_vars['year'] = $__foreach_year_19_saved_item;
}
?>
                                            </select>
                                        </td>
                                    </tr>
                                    <tr class="newccinfo"<?php if ($_smarty_tpl->tpl_vars['clientsdetails']->value['cclastfour'] && $_smarty_tpl->tpl_vars['ccinfo']->value != "new") {?> style="display:none;"<?php }?>>
                                        <td class="fieldlabel"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditcardcardissuenum'];?>
</td>
                                        <td class="fieldarea">
                                            <input type="text" name="ccissuenum" value="<?php echo $_smarty_tpl->tpl_vars['ccissuenum']->value;?>
" size="5" maxlength="3" />
                                        </td>
                                    </tr>
                                <?php }?>
                                <tr>
                                    <td class="fieldlabel"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditcardcvvnumber'];?>
</td>
                                    <td class="fieldarea">
                                        <input type="text" name="cccvv" id="cccvv" value="<?php echo $_smarty_tpl->tpl_vars['cccvv']->value;?>
" size="5" autocomplete="off" />
                                        <a href="#" onclick="window.open('<?php echo $_smarty_tpl->tpl_vars['BASE_PATH_IMG']->value;?>
/ccv.gif','','width=280,height=200,scrollbars=no,top=100,left=100');return false"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditcardcvvwhere'];?>
</a>
                                    </td>
                                </tr>
                                <?php if ($_smarty_tpl->tpl_vars['shownostore']->value) {?>
                                    <tr>
                                        <td></td>
                                        <td class="fieldarea">
                                            <label class="checkbox-inline" for="nostore">
                                                <input type="checkbox" name="nostore" />
                                                <?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditcardnostore'];?>

                                            </label>
                                        </td>
                                    </tr>
                                <?php }?>
                            </table>
                        </div>

                    </div>

                </div>
            </div>
            <div class="clearfix"></div>

            <?php if ($_smarty_tpl->tpl_vars['accepttos']->value) {?>
                <div align="center">
                    <label class="checkbox-inline">
                        <input type="checkbox" name="accepttos" id="accepttos" />
                        <?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordertosagreement'];?>

                        <a href="<?php echo $_smarty_tpl->tpl_vars['tosurl']->value;?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordertos'];?>
</a>
                    </label>
                </div>
                <br />
            <?php }?>

            <div align="center">
                <button type="submit" id="btnCompleteOrder"<?php if ($_smarty_tpl->tpl_vars['cartitems']->value == 0) {?> disabled<?php }?> onclick="this.value='<?php echo $_smarty_tpl->tpl_vars['LANG']->value['pleasewait'];?>
'" class="btn btn-primary btn-lg" <?php if ($_smarty_tpl->tpl_vars['custtype']->value == "existing" && !$_smarty_tpl->tpl_vars['loggedin']->value) {?>formnovalidate<?php }?>>
                    <?php echo $_smarty_tpl->tpl_vars['LANG']->value['checkout'];?>

                    &nbsp;<i class="fa fa-arrow-circle-right"></i>
                </button>
            </div>

        </form>

    <?php } else { ?>

        <br /><br />

    <?php }?>

    <div class="cartwarningbox">
        <img src="assets/img/padlock.gif" align="absmiddle" border="0" alt="Secure Transaction" />
        &nbsp;<?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordersecure'];?>
 (<strong><?php echo $_smarty_tpl->tpl_vars['ipaddress']->value;?>
</strong>) <?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordersecure2'];?>

    </div>

</div>
<?php }
}

Youez - 2016 - github.com/yon3zu
LinuXploit