Server IP : 213.176.29.180 / Your IP : 52.14.140.108 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 : 8.3.14 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home/webtaragh/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
public_html/whmcs/templates_c/29218045c63f8e73f7eb7cf899853acf488f1d65_0.file.checkout.tpl.php 0000644 00000204023 14736120207 0027130 0 ustar 00 home/webtaragh <?php /* Smarty version 3.1.36, created on 2024-10-24 15:56:38 from '/home/webtaragh/public_html/mamad/templates/orderforms/standard_cart/checkout.tpl' */ /* @var Smarty_Internal_Template $_smarty_tpl */ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.36', 'unifunc' => 'content_671a6e36049ec8_81725950', 'has_nocache_code' => false, 'file_dependency' => array ( '29218045c63f8e73f7eb7cf899853acf488f1d65' => array ( 0 => '/home/webtaragh/public_html/mamad/templates/orderforms/standard_cart/checkout.tpl', 1 => 1695537215, 2 => 'file', ), ), 'includes' => array ( 'file:orderforms/standard_cart/common.tpl' => 1, 'file:orderforms/standard_cart/sidebar-categories.tpl' => 1, 'file:orderforms/standard_cart/sidebar-categories-collapsed.tpl' => 1, 'file:orderforms/standard_cart/linkedaccounts.tpl' => 2, 'file:orderforms/standard_cart/includes/existing-paymethods.tpl' => 1, 'file:orderforms/standard_cart/recommendations-modal.tpl' => 1, ), ),false)) { function content_671a6e36049ec8_81725950 (Smarty_Internal_Template $_smarty_tpl) { echo '<script'; ?> > // Define state tab index value var statesTab = 10; // Do not enforce state input client side var stateNotRequired = true; <?php echo '</script'; ?> > <?php $_smarty_tpl->_subTemplateRender("file:orderforms/standard_cart/common.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); 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'; ?> > 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-standard_cart"> <div class="row"> <div class="cart-sidebar"> <?php $_smarty_tpl->_subTemplateRender("file:orderforms/standard_cart/sidebar-categories.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); ?> </div> <div class="cart-body"> <div class="header-lined"> <h1 class="font-size-36"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['checkout'];?> </h1> </div> <?php $_smarty_tpl->_subTemplateRender("file:orderforms/standard_cart/sidebar-categories-collapsed.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); ?> <div class="already-registered clearfix"> <div class="pull-right float-right"> <button type="button" class="btn btn-info<?php if ($_smarty_tpl->tpl_vars['loggedin']->value || !$_smarty_tpl->tpl_vars['loggedin']->value && $_smarty_tpl->tpl_vars['custtype']->value == "existing") {?> w-hidden<?php }?>" id="btnAlreadyRegistered"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['alreadyRegistered'];?> </button> <button type="button" class="btn btn-warning<?php if ($_smarty_tpl->tpl_vars['loggedin']->value || $_smarty_tpl->tpl_vars['custtype']->value != "existing") {?> w-hidden<?php }?>" id="btnNewUserSignup"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['createAccount'];?> </button> </div> <p class="text-sm-left overflow-hidden"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'orderForm.enterPersonalDetails'),$_smarty_tpl ) );?> </p> </div> <?php if ($_smarty_tpl->tpl_vars['errormessage']->value) {?> <div class="alert alert-danger checkout-error-feedback" role="alert"> <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['correctErrors'];?> :</p> <ul> <?php echo $_smarty_tpl->tpl_vars['errormessage']->value;?> </ul> </div> <div class="clearfix"></div> <?php }?> <form method="post" action="<?php echo $_SERVER['PHP_SELF'];?> ?a=checkout" name="orderfrm" id="frmCheckout"> <input type="hidden" name="submit" value="true" /> <input type="hidden" name="custtype" id="inputCustType" value="<?php echo $_smarty_tpl->tpl_vars['custtype']->value;?> " /> <?php if ($_smarty_tpl->tpl_vars['custtype']->value != "new" && $_smarty_tpl->tpl_vars['loggedin']->value) {?> <div class="sub-heading"> <span class="primary-bg-color"> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'switchAccount.title'),$_smarty_tpl ) );?> </span> </div> <div id="containerExistingAccountSelect" class="row account-select-container"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['accounts']->value, 'account'); $_smarty_tpl->tpl_vars['account']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['account']->value) { $_smarty_tpl->tpl_vars['account']->do_else = false; ?> <div class="col-sm-<?php if ($_smarty_tpl->tpl_vars['accounts']->value->count() == 1) {?>12<?php } else { ?>6<?php }?>"> <div class="account<?php if ($_smarty_tpl->tpl_vars['selectedAccountId']->value == $_smarty_tpl->tpl_vars['account']->value->id) {?> active<?php }?>"> <label class="radio-inline" for="account<?php echo $_smarty_tpl->tpl_vars['account']->value->id;?> "> <input id="account<?php echo $_smarty_tpl->tpl_vars['account']->value->id;?> " class="account-select<?php if ($_smarty_tpl->tpl_vars['account']->value->isClosed || $_smarty_tpl->tpl_vars['account']->value->noPermission || $_smarty_tpl->tpl_vars['inExpressCheckout']->value) {?> disabled<?php }?>" type="radio" name="account_id" value="<?php echo $_smarty_tpl->tpl_vars['account']->value->id;?> "<?php if ($_smarty_tpl->tpl_vars['account']->value->isClosed || $_smarty_tpl->tpl_vars['account']->value->noPermission || $_smarty_tpl->tpl_vars['inExpressCheckout']->value) {?> disabled="disabled"<?php } if ($_smarty_tpl->tpl_vars['selectedAccountId']->value == $_smarty_tpl->tpl_vars['account']->value->id) {?> checked="checked"<?php }?>> <span class="address"> <strong> <?php if ($_smarty_tpl->tpl_vars['account']->value->company) { echo $_smarty_tpl->tpl_vars['account']->value->company; } else { echo $_smarty_tpl->tpl_vars['account']->value->fullName; }?> </strong> <?php if ($_smarty_tpl->tpl_vars['account']->value->isClosed || $_smarty_tpl->tpl_vars['account']->value->noPermission) {?> <span class="label label-default"> <?php if ($_smarty_tpl->tpl_vars['account']->value->isClosed) {?> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'closed'),$_smarty_tpl ) );?> <?php } else { ?> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'noPermission'),$_smarty_tpl ) );?> <?php }?> </span> <?php } elseif ($_smarty_tpl->tpl_vars['account']->value->currencyCode) {?> <span class="label label-info"> <?php echo $_smarty_tpl->tpl_vars['account']->value->currencyCode;?> </span> <?php }?> <br> <span class="small"> <?php echo $_smarty_tpl->tpl_vars['account']->value->address1; if ($_smarty_tpl->tpl_vars['account']->value->address2) {?>, <?php echo $_smarty_tpl->tpl_vars['account']->value->address2; }?><br> <?php if ($_smarty_tpl->tpl_vars['account']->value->city) { echo $_smarty_tpl->tpl_vars['account']->value->city;?> ,<?php }?> <?php if ($_smarty_tpl->tpl_vars['account']->value->state) {?> <?php echo $_smarty_tpl->tpl_vars['account']->value->state;?> ,<?php }?> <?php if ($_smarty_tpl->tpl_vars['account']->value->postcode) {?> <?php echo $_smarty_tpl->tpl_vars['account']->value->postcode;?> ,<?php }?> <?php echo $_smarty_tpl->tpl_vars['account']->value->countryName;?> </span> </span> </label> </div> </div> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <div class="col-sm-12"> <div class="account border-bottom<?php if (!$_smarty_tpl->tpl_vars['selectedAccountId']->value || !is_numeric($_smarty_tpl->tpl_vars['selectedAccountId']->value)) {?> active<?php }?>"> <label class="radio-inline"> <input class="account-select" type="radio" name="account_id" value="new"<?php if (!$_smarty_tpl->tpl_vars['selectedAccountId']->value || !is_numeric($_smarty_tpl->tpl_vars['selectedAccountId']->value)) {?> checked="checked"<?php } if ($_smarty_tpl->tpl_vars['inExpressCheckout']->value) {?> disabled="disabled" class="disabled"<?php }?>> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'orderForm.createAccount'),$_smarty_tpl ) );?> </label> </div> </div> </div> <?php }?> <div id="containerExistingUserSignin"<?php if ($_smarty_tpl->tpl_vars['loggedin']->value || $_smarty_tpl->tpl_vars['custtype']->value != "existing") {?> class="w-hidden<?php }?>"> <div class="sub-heading"> <span class="primary-bg-color"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['existingCustomerLogin'];?> </span> </div> <div class="alert alert-danger w-hidden" id="existingLoginMessage"> </div> <div class="row"> <div class="col-sm-6"> <div class="form-group prepend-icon"> <label for="inputLoginEmail" class="field-icon"> <i class="fas fa-envelope"></i> </label> <input type="text" name="loginemail" id="inputLoginEmail" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['emailAddress'];?> " value="<?php echo $_smarty_tpl->tpl_vars['loginemail']->value;?> "> </div> </div> <div class="col-sm-6"> <div class="form-group prepend-icon"> <label for="inputLoginPassword" class="field-icon"> <i class="fas fa-lock"></i> </label> <input type="password" name="loginpassword" id="inputLoginPassword" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareapassword'];?> "> </div> </div> </div> <div class="text-center"> <button type="button" id="btnExistingLogin" class="btn btn-primary btn-md"> <span id="existingLoginButton"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'login'),$_smarty_tpl ) );?> </span> <span id="existingLoginPleaseWait" class="w-hidden"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'pleasewait'),$_smarty_tpl ) );?> </span> </button> </div> <?php $_smarty_tpl->_subTemplateRender("file:orderforms/standard_cart/linkedaccounts.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('linkContext'=>"checkout-existing"), 0, false); ?> </div> <div id="containerNewUserSignup"<?php if ($_smarty_tpl->tpl_vars['custtype']->value === 'existing' || (is_numeric($_smarty_tpl->tpl_vars['selectedAccountId']->value) && $_smarty_tpl->tpl_vars['selectedAccountId']->value > 0) || ($_smarty_tpl->tpl_vars['loggedin']->value && $_smarty_tpl->tpl_vars['accounts']->value->count() > 0 && $_smarty_tpl->tpl_vars['selectedAccountId']->value !== 'new')) {?> class="w-hidden"<?php }?>> <div<?php if ($_smarty_tpl->tpl_vars['loggedin']->value) {?> class="w-hidden"<?php }?>> <?php $_smarty_tpl->_subTemplateRender("file:orderforms/standard_cart/linkedaccounts.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('linkContext'=>"checkout-new"), 0, true); ?> </div> <div class="sub-heading"> <span class="primary-bg-color"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['personalInformation'];?> </span> </div> <div class="row"> <div class="col-sm-6"> <div class="form-group prepend-icon"> <label for="inputFirstName" class="field-icon"> <i class="fas fa-user"></i> </label> <input type="text" name="firstname" id="inputFirstName" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['firstName'];?> " value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['firstname'];?> " autofocus> </div> </div> <div class="col-sm-6"> <div class="form-group prepend-icon"> <label for="inputLastName" class="field-icon"> <i class="fas fa-user"></i> </label> <input type="text" name="lastname" id="inputLastName" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['lastName'];?> " value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['lastname'];?> "> </div> </div> <div class="col-sm-6"> <div class="form-group prepend-icon"> <label for="inputEmail" class="field-icon"> <i class="fas fa-envelope"></i> </label> <input type="email" name="email" id="inputEmail" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['emailAddress'];?> " value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['email'];?> "> </div> </div> <div class="col-sm-6"> <div class="form-group prepend-icon"> <label for="inputPhone" class="field-icon"> <i class="fas fa-phone"></i> </label> <input type="tel" name="phonenumber" id="inputPhone" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['phoneNumber'];?> " value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['phonenumber'];?> "> </div> </div> </div> <div class="sub-heading"> <span class="primary-bg-color"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['billingAddress'];?> </span> </div> <div class="row"> <div class="col-sm-12"> <div class="form-group prepend-icon"> <label for="inputCompanyName" class="field-icon"> <i class="fas fa-building"></i> </label> <input type="text" name="companyname" id="inputCompanyName" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['companyName'];?> (<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['optional'];?> )" value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['companyname'];?> "> </div> </div> <div class="col-sm-12"> <div class="form-group prepend-icon"> <label for="inputAddress1" class="field-icon"> <i class="far fa-building"></i> </label> <input type="text" name="address1" id="inputAddress1" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['streetAddress'];?> " value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['address1'];?> "> </div> </div> <div class="col-sm-12"> <div class="form-group prepend-icon"> <label for="inputAddress2" class="field-icon"> <i class="fas fa-map-marker-alt"></i> </label> <input type="text" name="address2" id="inputAddress2" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['streetAddress2'];?> " value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['address2'];?> "> </div> </div> <div class="col-sm-4"> <div class="form-group prepend-icon"> <label for="inputCity" class="field-icon"> <i class="far fa-building"></i> </label> <input type="text" name="city" id="inputCity" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['city'];?> " value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['city'];?> "> </div> </div> <div class="col-sm-5"> <div class="form-group prepend-icon"> <label for="state" class="field-icon" id="inputStateIcon"> <i class="fas fa-map-signs"></i> </label> <label for="stateinput" class="field-icon" id="inputStateIcon"> <i class="fas fa-map-signs"></i> </label> <input type="text" name="state" id="inputState" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['state'];?> " value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['state'];?> "> </div> </div> <div class="col-sm-3"> <div class="form-group prepend-icon"> <label for="inputPostcode" class="field-icon"> <i class="fas fa-certificate"></i> </label> <input type="text" name="postcode" id="inputPostcode" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['postcode'];?> " value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['postcode'];?> "> </div> </div> <div class="col-sm-12"> <div class="form-group prepend-icon"> <label for="inputCountry" class="field-icon" id="inputCountryIcon"> <i class="fas fa-globe"></i> </label> <select name="country" id="inputCountry" class="field form-control"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['countries']->value, 'countrylabel', false, 'countrycode'); $_smarty_tpl->tpl_vars['countrylabel']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['countrycode']->value => $_smarty_tpl->tpl_vars['countrylabel']->value) { $_smarty_tpl->tpl_vars['countrylabel']->do_else = false; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['countrycode']->value;?> "<?php if ((!$_smarty_tpl->tpl_vars['country']->value && $_smarty_tpl->tpl_vars['countrycode']->value == $_smarty_tpl->tpl_vars['defaultcountry']->value) || $_smarty_tpl->tpl_vars['countrycode']->value == $_smarty_tpl->tpl_vars['country']->value) {?> selected<?php }?>> <?php echo $_smarty_tpl->tpl_vars['countrylabel']->value;?> </option> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> </select> </div> </div> <?php if ($_smarty_tpl->tpl_vars['showTaxIdField']->value) {?> <div class="col-sm-12"> <div class="form-group prepend-icon"> <label for="inputTaxId" class="field-icon"> <i class="fas fa-building"></i> </label> <input type="text" name="tax_id" id="inputTaxId" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['taxLabel']->value;?> (<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['optional'];?> )" value="<?php echo $_smarty_tpl->tpl_vars['clientsdetails']->value['tax_id'];?> "> </div> </div> <?php }?> </div> <?php if ($_smarty_tpl->tpl_vars['customfields']->value) {?> <div class="sub-heading"> <span class="primary-bg-color"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderadditionalrequiredinfo'];?> <br><i><small><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'orderForm.requiredField'),$_smarty_tpl ) );?> </small></i></span> </div> <div class="field-container"> <div class="row"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['customfields']->value, 'customfield'); $_smarty_tpl->tpl_vars['customfield']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['customfield']->value) { $_smarty_tpl->tpl_vars['customfield']->do_else = false; ?> <div class="col-sm-6"> <div class="form-group"> <label for="customfield<?php echo $_smarty_tpl->tpl_vars['customfield']->value['id'];?> "><?php echo $_smarty_tpl->tpl_vars['customfield']->value['name'];?> <?php echo $_smarty_tpl->tpl_vars['customfield']->value['required'];?> </label> <?php echo $_smarty_tpl->tpl_vars['customfield']->value['input'];?> <?php if ($_smarty_tpl->tpl_vars['customfield']->value['description']) {?> <span class="field-help-text"> <?php echo $_smarty_tpl->tpl_vars['customfield']->value['description'];?> </span> <?php }?> </div> </div> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> </div> </div> <?php }?> </div> <?php if ($_smarty_tpl->tpl_vars['domainsinorder']->value) {?> <div class="sub-heading"> <span class="primary-bg-color"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainregistrantinfo'];?> </span> </div> <p class="small text-muted"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['domainAlternativeContact'];?> </p> <div class="row margin-bottom"> <div class="col-sm-6 col-sm-offset-3 offset-sm-3"> <select name="contact" id="inputDomainContact" class="field form-control"> <option value=""><?php echo $_smarty_tpl->tpl_vars['LANG']->value['usedefaultcontact'];?> </option> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['domaincontacts']->value, 'domcontact'); $_smarty_tpl->tpl_vars['domcontact']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['domcontact']->value) { $_smarty_tpl->tpl_vars['domcontact']->do_else = false; ?> <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->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <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> </div> </div> <div<?php if ($_smarty_tpl->tpl_vars['contact']->value != "addingnew") {?> class="w-hidden"<?php }?>> <div class="row" id="domainRegistrantInputFields"> <div class="col-sm-6"> <div class="form-group prepend-icon"> <label for="inputDCFirstName" class="field-icon"> <i class="fas fa-user"></i> </label> <input type="text" name="domaincontactfirstname" id="inputDCFirstName" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['firstName'];?> " value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['firstname'];?> "> </div> </div> <div class="col-sm-6"> <div class="form-group prepend-icon"> <label for="inputDCLastName" class="field-icon"> <i class="fas fa-user"></i> </label> <input type="text" name="domaincontactlastname" id="inputDCLastName" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['lastName'];?> " value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['lastname'];?> "> </div> </div> <div class="col-sm-6"> <div class="form-group prepend-icon"> <label for="inputDCEmail" class="field-icon"> <i class="fas fa-envelope"></i> </label> <input type="email" name="domaincontactemail" id="inputDCEmail" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['emailAddress'];?> " value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['email'];?> "> </div> </div> <div class="col-sm-6"> <div class="form-group prepend-icon"> <label for="inputDCPhone" class="field-icon"> <i class="fas fa-phone"></i> </label> <input type="tel" name="domaincontactphonenumber" id="inputDCPhone" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['phoneNumber'];?> " value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['phonenumber'];?> "> </div> </div> <div class="col-sm-12"> <div class="form-group prepend-icon"> <label for="inputDCCompanyName" class="field-icon"> <i class="fas fa-building"></i> </label> <input type="text" name="domaincontactcompanyname" id="inputDCCompanyName" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['companyName'];?> (<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['optional'];?> )" value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['companyname'];?> "> </div> </div> <div class="col-sm-12"> <div class="form-group prepend-icon"> <label for="inputDCAddress1" class="field-icon"> <i class="far fa-building"></i> </label> <input type="text" name="domaincontactaddress1" id="inputDCAddress1" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['streetAddress'];?> " value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['address1'];?> "> </div> </div> <div class="col-sm-12"> <div class="form-group prepend-icon"> <label for="inputDCAddress2" class="field-icon"> <i class="fas fa-map-marker-alt"></i> </label> <input type="text" name="domaincontactaddress2" id="inputDCAddress2" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['streetAddress2'];?> " value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['address2'];?> "> </div> </div> <div class="col-sm-4"> <div class="form-group prepend-icon"> <label for="inputDCCity" class="field-icon"> <i class="far fa-building"></i> </label> <input type="text" name="domaincontactcity" id="inputDCCity" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['city'];?> " value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['city'];?> "> </div> </div> <div class="col-sm-5"> <div class="form-group prepend-icon"> <label for="inputDCState" class="field-icon"> <i class="fas fa-map-signs"></i> </label> <input type="text" name="domaincontactstate" id="inputDCState" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['state'];?> " value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['state'];?> "> </div> </div> <div class="col-sm-3"> <div class="form-group prepend-icon"> <label for="inputDCPostcode" class="field-icon"> <i class="fas fa-certificate"></i> </label> <input type="text" name="domaincontactpostcode" id="inputDCPostcode" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['postcode'];?> " value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['postcode'];?> "> </div> </div> <div class="col-sm-12"> <div class="form-group prepend-icon"> <label for="inputDCCountry" class="field-icon" id="inputCountryIcon"> <i class="fas fa-globe"></i> </label> <select name="domaincontactcountry" id="inputDCCountry" class="field form-control"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['countries']->value, 'countrylabel', false, 'countrycode'); $_smarty_tpl->tpl_vars['countrylabel']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['countrycode']->value => $_smarty_tpl->tpl_vars['countrylabel']->value) { $_smarty_tpl->tpl_vars['countrylabel']->do_else = false; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['countrycode']->value;?> "<?php if ((!$_smarty_tpl->tpl_vars['domaincontact']->value['country'] && $_smarty_tpl->tpl_vars['countrycode']->value == $_smarty_tpl->tpl_vars['defaultcountry']->value) || $_smarty_tpl->tpl_vars['countrycode']->value == $_smarty_tpl->tpl_vars['domaincontact']->value['country']) {?> selected<?php }?>> <?php echo $_smarty_tpl->tpl_vars['countrylabel']->value;?> </option> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> </select> </div> </div> <div class="col-sm-12"> <div class="form-group prepend-icon"> <label for="inputDCTaxId" class="field-icon"> <i class="fas fa-building"></i> </label> <input type="text" name="domaincontacttax_id" id="inputDCTaxId" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['taxLabel']->value;?> (<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['optional'];?> )" value="<?php echo $_smarty_tpl->tpl_vars['domaincontact']->value['tax_id'];?> "> </div> </div> </div> </div> <?php }?> <?php if (!$_smarty_tpl->tpl_vars['loggedin']->value) {?> <div id="containerNewUserSecurity"<?php if ((!$_smarty_tpl->tpl_vars['loggedin']->value && $_smarty_tpl->tpl_vars['custtype']->value == "existing") || ($_smarty_tpl->tpl_vars['remote_auth_prelinked']->value && !$_smarty_tpl->tpl_vars['securityquestions']->value)) {?> class="w-hidden"<?php }?>> <div class="sub-heading"> <span class="primary-bg-color"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['accountSecurity'];?> </span> </div> <div id="containerPassword" class="row<?php if ($_smarty_tpl->tpl_vars['remote_auth_prelinked']->value && $_smarty_tpl->tpl_vars['securityquestions']->value) {?> w-hidden<?php }?>"> <div id="passwdFeedback" class="alert alert-info text-center col-sm-12 w-hidden"></div> <div class="col-sm-6"> <div class="form-group prepend-icon"> <label for="inputNewPassword1" class="field-icon"> <i class="fas fa-lock"></i> </label> <input type="password" name="password" id="inputNewPassword1" data-error-threshold="<?php echo $_smarty_tpl->tpl_vars['pwStrengthErrorThreshold']->value;?> " data-warning-threshold="<?php echo $_smarty_tpl->tpl_vars['pwStrengthWarningThreshold']->value;?> " class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareapassword'];?> "<?php if ($_smarty_tpl->tpl_vars['remote_auth_prelinked']->value) {?> value="<?php echo $_smarty_tpl->tpl_vars['password']->value;?> "<?php }?>> </div> </div> <div class="col-sm-6"> <div class="form-group prepend-icon"> <label for="inputNewPassword2" class="field-icon"> <i class="fas fa-lock"></i> </label> <input type="password" name="password2" id="inputNewPassword2" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaconfirmpassword'];?> "<?php if ($_smarty_tpl->tpl_vars['remote_auth_prelinked']->value) {?> value="<?php echo $_smarty_tpl->tpl_vars['password']->value;?> "<?php }?>> </div> </div> <div class="col-sm-6"> <button type="button" class="btn btn-default btn-sm generate-password" data-targetfields="inputNewPassword1,inputNewPassword2"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['generatePassword']['btnLabel'];?> </button> </div> <div class="col-sm-6"> <div class="password-strength-meter"> <div class="progress"> <div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" id="passwordStrengthMeterBar"> </div> </div> <p class="text-center small text-muted" id="passwordStrengthTextLabel"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['pwstrength'];?> : <?php echo $_smarty_tpl->tpl_vars['LANG']->value['pwstrengthenter'];?> </p> </div> </div> </div> <?php if ($_smarty_tpl->tpl_vars['securityquestions']->value) {?> <div class="row"> <div class="col-sm-6"> <select name="securityqid" id="inputSecurityQId" class="field form-control"> <option value=""><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareasecurityquestion'];?> </option> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['securityquestions']->value, 'question'); $_smarty_tpl->tpl_vars['question']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['question']->value) { $_smarty_tpl->tpl_vars['question']->do_else = false; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['question']->value['id'];?> "<?php if ($_smarty_tpl->tpl_vars['question']->value['id'] == $_smarty_tpl->tpl_vars['securityqid']->value) {?> selected<?php }?>> <?php echo $_smarty_tpl->tpl_vars['question']->value['question'];?> </option> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> </select> </div> <div class="col-sm-6"> <div class="form-group prepend-icon"> <label for="inputSecurityQAns" class="field-icon"> <i class="fas fa-lock"></i> </label> <input type="password" name="securityqans" id="inputSecurityQAns" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareasecurityanswer'];?> "> </div> </div> </div> <?php }?> </div> <?php }?> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['hookOutput']->value, 'output'); $_smarty_tpl->tpl_vars['output']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['output']->value) { $_smarty_tpl->tpl_vars['output']->do_else = false; ?> <div> <?php echo $_smarty_tpl->tpl_vars['output']->value;?> </div> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <div class="sub-heading"> <span class="primary-bg-color"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['paymentDetails'];?> </span> </div> <div class="alert alert-success text-center large-text" role="alert" id="totalDueToday"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordertotalduetoday'];?> : <strong id="totalCartPrice"><?php echo $_smarty_tpl->tpl_vars['total']->value;?> </strong> </div> <div id="applyCreditContainer" class="apply-credit-container<?php if (!$_smarty_tpl->tpl_vars['canUseCreditOnCheckout']->value) {?> w-hidden<?php }?>" data-apply-credit="<?php echo $_smarty_tpl->tpl_vars['applyCredit']->value;?> "> <p><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'cart.availableCreditBalance','amount'=>$_smarty_tpl->tpl_vars['creditBalance']->value),$_smarty_tpl ) );?> </p> <label class="radio"> <input id="useCreditOnCheckout" type="radio" name="applycredit" value="1"<?php if ($_smarty_tpl->tpl_vars['applyCredit']->value) {?> checked<?php }?>> <span id="spanFullCredit"<?php if (!($_smarty_tpl->tpl_vars['creditBalance']->value->toNumeric() >= $_smarty_tpl->tpl_vars['total']->value->toNumeric())) {?> class="w-hidden"<?php }?>> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'cart.applyCreditAmountNoFurtherPayment','amount'=>$_smarty_tpl->tpl_vars['total']->value),$_smarty_tpl ) );?> </span> <span id="spanUseCredit"<?php if ($_smarty_tpl->tpl_vars['creditBalance']->value->toNumeric() >= $_smarty_tpl->tpl_vars['total']->value->toNumeric()) {?> class="w-hidden"<?php }?>> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'cart.applyCreditAmount','amount'=>$_smarty_tpl->tpl_vars['creditBalance']->value),$_smarty_tpl ) );?> </span> </label> <label class="radio"> <input id="skipCreditOnCheckout" type="radio" name="applycredit" value="0"<?php if (!$_smarty_tpl->tpl_vars['applyCredit']->value) {?> checked<?php }?>> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'cart.applyCreditSkip','amount'=>$_smarty_tpl->tpl_vars['creditBalance']->value),$_smarty_tpl ) );?> </label> </div> <?php if (!$_smarty_tpl->tpl_vars['inExpressCheckout']->value) {?> <div id="paymentGatewaysContainer" class="form-group"> <p class="small text-muted"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['preferredPaymentMethod'];?> </p> <div class="text-center"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['gateways']->value, 'gateway'); $_smarty_tpl->tpl_vars['gateway']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['gateway']->value) { $_smarty_tpl->tpl_vars['gateway']->do_else = false; ?> <label class="radio-inline"> <input type="radio" name="paymentmethod" value="<?php echo $_smarty_tpl->tpl_vars['gateway']->value['sysname'];?> " data-payment-type="<?php echo $_smarty_tpl->tpl_vars['gateway']->value['payment_type'];?> " data-show-local="<?php echo $_smarty_tpl->tpl_vars['gateway']->value['show_local_cards'];?> " data-remote-inputs="<?php echo $_smarty_tpl->tpl_vars['gateway']->value['uses_remote_inputs'];?> " class="payment-methods<?php if ($_smarty_tpl->tpl_vars['gateway']->value['type'] == "CC") {?> is-credit-card<?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->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> </div> </div> <div class="alert alert-danger text-center gateway-errors w-hidden"></div> <div class="clearfix"></div> <div class="cc-input-container<?php if ($_smarty_tpl->tpl_vars['selectedgatewaytype']->value != "CC") {?> w-hidden<?php }?>" id="creditCardInputFields"> <?php if ($_smarty_tpl->tpl_vars['client']->value) {?> <div id="existingCardsContainer" class="existing-cc-grid"> <?php $_smarty_tpl->_subTemplateRender("file:orderforms/standard_cart/includes/existing-paymethods.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); ?> </div> <?php }?> <div class="row cvv-input" id="existingCardInfo"> <div class="col-lg-3 col-sm-4"> <div class="form-group prepend-icon"> <label for="inputCardCVV2" class="field-icon"> <i class="fas fa-barcode"></i> </label> <div class="input-group"> <input type="tel" name="cccvv" id="inputCardCVV2" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditcardcvvnumbershort'];?> " autocomplete="cc-cvc"> <span class="input-group-btn input-group-append"> <button type="button" class="btn btn-default" data-toggle="popover" data-placement="bottom" data-content="<img src='<?php echo $_smarty_tpl->tpl_vars['BASE_PATH_IMG']->value;?> /ccv.gif' width='210' />"> ? </button> </span> </div> <span class="field-error-msg"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"paymentMethodsManage.cvcNumberNotValid"),$_smarty_tpl ) );?> </span> </div> </div> </div> <ul> <li> <label class="radio-inline"> <input type="radio" name="ccinfo" value="new" id="new" <?php if (!$_smarty_tpl->tpl_vars['client']->value || $_smarty_tpl->tpl_vars['client']->value->payMethods->count() === 0) {?> checked="checked"<?php }?> /> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'creditcardenternewcard'),$_smarty_tpl ) );?> </label> </li> </ul> <div class="row" id="newCardInfo"> <div id="cardNumberContainer" class="col-sm-6 new-card-container"> <div class="form-group prepend-icon"> <label for="inputCardNumber" class="field-icon"> <i class="fas fa-credit-card"></i> </label> <input type="tel" name="ccnumber" id="inputCardNumber" class="field form-control cc-number-field" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['cardNumber'];?> " autocomplete="cc-number" data-message-unsupported="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'paymentMethodsManage.unsupportedCardType'),$_smarty_tpl ) );?> " data-message-invalid="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'paymentMethodsManage.cardNumberNotValid'),$_smarty_tpl ) );?> " data-supported-cards="<?php echo $_smarty_tpl->tpl_vars['supportedCardTypes']->value;?> " /> <span class="field-error-msg"></span> </div> </div> <div class="col-sm-3 new-card-container"> <div class="form-group prepend-icon"> <label for="inputCardExpiry" class="field-icon"> <i class="fas fa-calendar-alt"></i> </label> <input type="tel" name="ccexpirydate" id="inputCardExpiry" class="field form-control" placeholder="MM / YY<?php if ($_smarty_tpl->tpl_vars['showccissuestart']->value) {?> (<?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditcardcardexpires'];?> )<?php }?>" autocomplete="cc-exp"> <span class="field-error-msg"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"paymentMethodsManage.expiryDateNotValid"),$_smarty_tpl ) );?> </span> </div> </div> <div class="col-sm-3" id="cvv-field-container"> <div class="form-group prepend-icon"> <label for="inputCardCVV" class="field-icon"> <i class="fas fa-barcode"></i> </label> <div class="input-group"> <input type="tel" name="cccvv" id="inputCardCVV" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditcardcvvnumbershort'];?> " autocomplete="cc-cvc"> <span class="input-group-btn input-group-append"> <button type="button" class="btn btn-default" data-toggle="popover" data-placement="bottom" data-content="<img src='<?php echo $_smarty_tpl->tpl_vars['BASE_PATH_IMG']->value;?> /ccv.gif' width='210' />"> ? </button> </span><br> </div> <span class="field-error-msg"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"paymentMethodsManage.cvcNumberNotValid"),$_smarty_tpl ) );?> </span> </div> </div> <?php if ($_smarty_tpl->tpl_vars['showccissuestart']->value) {?> <div class="col-sm-3 col-sm-offset-6 new-card-container offset-sm-6"> <div class="form-group prepend-icon"> <label for="inputCardStart" class="field-icon"> <i class="far fa-calendar-check"></i> </label> <input type="tel" name="ccstartdate" id="inputCardStart" class="field form-control" placeholder="MM / YY (<?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditcardcardstart'];?> )" autocomplete="cc-exp"> </div> </div> <div class="col-sm-3 new-card-container"> <div class="form-group prepend-icon"> <label for="inputCardIssue" class="field-icon"> <i class="fas fa-asterisk"></i> </label> <input type="tel" name="ccissuenum" id="inputCardIssue" class="field form-control" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditcardcardissuenum'];?> "> </div> </div> <?php }?> </div> <div id="newCardSaveSettings"> <div class="row form-group new-card-container"> <div id="inputDescriptionContainer" class="col-md-6"> <div class="prepend-icon"> <label for="inputDescription" class="field-icon"> <i class="fas fa-pencil"></i> </label> <input type="text" class="field form-control" id="inputDescription" name="ccdescription" autocomplete="off" value="" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['paymentMethods']['descriptionInput'];?> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['paymentMethodsManage']['optional'];?> " /> </div> </div> <?php if ($_smarty_tpl->tpl_vars['allowClientsToRemoveCards']->value) {?> <div id="inputNoStoreContainer" class="col-md-6" style="line-height: 32px;"> <input type="hidden" name="nostore" value="1"> <input type="checkbox" class="toggle-switch-success no-icheck" data-size="mini" checked="checked" name="nostore" id="inputNoStore" value="0" data-on-text="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'yes'),$_smarty_tpl ) );?> " data-off-text="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'no'),$_smarty_tpl ) );?> "> <label for="inputNoStore" class="checkbox-inline no-padding"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['creditCardStore'];?> </label> </div> <?php }?> </div> </div> </div> <?php } else { ?> <?php if ($_smarty_tpl->tpl_vars['expressCheckoutOutput']->value) {?> <?php echo $_smarty_tpl->tpl_vars['expressCheckoutOutput']->value;?> <?php } else { ?> <p align="center"> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'paymentPreApproved','gateway'=>$_smarty_tpl->tpl_vars['expressCheckoutGateway']->value),$_smarty_tpl ) );?> </p> <?php }?> <?php }?> <?php if ($_smarty_tpl->tpl_vars['shownotesfield']->value) {?> <div class="sub-heading"> <span class="primary-bg-color"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['additionalNotes'];?> </span> </div> <div class="row"> <div class="col-sm-12"> <div class="form-group"> <textarea name="notes" class="field form-control" rows="4" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordernotesdescription'];?> "><?php echo $_smarty_tpl->tpl_vars['orderNotes']->value;?> </textarea> </div> </div> </div> <?php }?> <?php if ($_smarty_tpl->tpl_vars['showMarketingEmailOptIn']->value) {?> <div class="marketing-email-optin"> <h4 class="font-size-18"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'emailMarketing.joinOurMailingList'),$_smarty_tpl ) );?> </h4> <p><?php echo $_smarty_tpl->tpl_vars['marketingEmailOptInMessage']->value;?> </p> <input type="checkbox" name="marketingoptin" value="1"<?php if ($_smarty_tpl->tpl_vars['marketingEmailOptIn']->value) {?> checked<?php }?> class="no-icheck toggle-switch-success" data-size="small" data-on-text="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'yes'),$_smarty_tpl ) );?> " data-off-text="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'no'),$_smarty_tpl ) );?> "> </div> <?php }?> <div class="text-center"> <?php if ($_smarty_tpl->tpl_vars['accepttos']->value) {?> <p> <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> </p> <?php }?> <?php if ($_smarty_tpl->tpl_vars['captcha']->value) {?> <div class="text-center margin-bottom"> <?php $_smarty_tpl->_subTemplateRender(((string)$_smarty_tpl->tpl_vars['template']->value)."/includes/captcha.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true); ?> </div> <?php }?> <button type="submit" id="btnCompleteOrder" class="btn btn-primary btn-lg disable-on-click spinner-on-click<?php if ($_smarty_tpl->tpl_vars['captcha']->value) { echo $_smarty_tpl->tpl_vars['captcha']->value->getButtonClass($_smarty_tpl->tpl_vars['captchaForm']->value); }?>" <?php if ($_smarty_tpl->tpl_vars['cartitems']->value == 0) {?>disabled="disabled"<?php }?> > <?php if ($_smarty_tpl->tpl_vars['inExpressCheckout']->value) { echo $_smarty_tpl->tpl_vars['LANG']->value['confirmAndPay']; } else { echo $_smarty_tpl->tpl_vars['LANG']->value['completeorder']; }?> <i class="fas fa-arrow-circle-right"></i> </button> </div> </form> <?php if ($_smarty_tpl->tpl_vars['servedOverSsl']->value) {?> <div class="alert alert-warning checkout-security-msg"> <i class="fas fa-lock"></i> <?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 class="clearfix"></div> </div> <?php }?> </div> </div> </div> <?php echo '<script'; ?> type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['BASE_PATH_JS']->value;?> /jquery.payment.js"><?php echo '</script'; ?> > <?php echo '<script'; ?> > var hideCvcOnCheckoutForExistingCard = '<?php if ($_smarty_tpl->tpl_vars['canUseCreditOnCheckout']->value && $_smarty_tpl->tpl_vars['applyCredit']->value && ($_smarty_tpl->tpl_vars['creditBalance']->value->toNumeric() >= $_smarty_tpl->tpl_vars['total']->value->toNumeric())) {?>1<?php } else { ?>0<?php }?>'; <?php echo '</script'; ?> > <?php $_smarty_tpl->_subTemplateRender("file:orderforms/standard_cart/recommendations-modal.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); } }