| 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 : |
<?php
/* Smarty version 3.1.29, created on 2022-09-01 08:19:30
from "/home/meusitei/public_html/central/templates/orderforms/modern/adddomain.tpl" */
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
'has_nocache_code' => false,
'version' => '3.1.29',
'unifunc' => 'content_63106b12f34c48_85416971',
'file_dependency' =>
array (
'c75dd7d9d39551e9b8155cd7ec4dbd515cb213bc' =>
array (
0 => '/home/meusitei/public_html/central/templates/orderforms/modern/adddomain.tpl',
1 => 1531218804,
2 => 'file',
),
),
'includes' =>
array (
'file:templates/orderforms/".((string)$_smarty_tpl->tpl_vars[\'carttpl\']->value)."/category-chooser.tpl' => 1,
),
),false)) {
function content_63106b12f34c48_85416971 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_replace')) require_once '/home/meusitei/public_html/central/vendor/smarty/smarty/libs/plugins/modifier.replace.php';
echo '<script'; ?>
type="text/javascript" src="templates/orderforms/<?php echo $_smarty_tpl->tpl_vars['carttpl']->value;?>
/js/main.js"><?php echo '</script'; ?>
>
<link rel="stylesheet" type="text/css" href="templates/orderforms/<?php echo $_smarty_tpl->tpl_vars['carttpl']->value;?>
/style.css" />
<div id="order-modern">
<div class="title-bar">
<h1>
<?php if ($_smarty_tpl->tpl_vars['domain']->value == "register") {?>
<?php echo $_smarty_tpl->tpl_vars['LANG']->value['registerdomain'];?>
<?php } elseif ($_smarty_tpl->tpl_vars['domain']->value == "transfer") {?>
<?php echo $_smarty_tpl->tpl_vars['LANG']->value['transferdomain'];?>
<?php }?>
</h1>
<?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:templates/orderforms/".((string)$_smarty_tpl->tpl_vars['carttpl']->value)."/category-chooser.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
</div>
<?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_0_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_0_saved_local_item = $_smarty_tpl->tpl_vars['curr'];
?>
<a href="cart.php?a=add&domain=<?php echo $_smarty_tpl->tpl_vars['domain']->value;?>
¤cy=<?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_0_saved_local_item;
}
if ($__foreach_curr_0_saved_item) {
$_smarty_tpl->tpl_vars['curr'] = $__foreach_curr_0_saved_item;
}
?>
</div>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['errormessage']->value) {?><div class="errorbox"><?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['errormessage']->value,'<li>',' # ');?>
# </div><br /><?php }?>
<div class="domain-checker-container">
<div class="domain-checker-bg clearfix">
<form onsubmit="checkAvailability();return false">
<div class="row">
<div class="col-md-8 col-md-offset-2 col-xs-10 col-xs-offset-1">
<div class="domain-checker-fieldcontainer">
<div class="row">
<div class="col-md-7">
<input type="text" class="form-control input-lg" placeholder="<?php if ($_smarty_tpl->tpl_vars['domain']->value == "register") {
echo $_smarty_tpl->tpl_vars['LANG']->value['findyourdomain'];
} else {
echo $_smarty_tpl->tpl_vars['LANG']->value['exampledomain'];
}?>" value="<?php echo $_smarty_tpl->tpl_vars['sld']->value;?>
" id="inputDomain" autocapitalize="none" />
</div>
<div class="col-md-2">
<select name="tld" id="inputTld" class="form-control input-lg">
<?php
$_from = $_smarty_tpl->tpl_vars['tlds']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_listtld_1_saved_item = isset($_smarty_tpl->tpl_vars['listtld']) ? $_smarty_tpl->tpl_vars['listtld'] : false;
$_smarty_tpl->tpl_vars['listtld'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['listtld']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['listtld']->value) {
$_smarty_tpl->tpl_vars['listtld']->_loop = true;
$__foreach_listtld_1_saved_local_item = $_smarty_tpl->tpl_vars['listtld'];
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['listtld']->value;?>
"<?php if ($_smarty_tpl->tpl_vars['listtld']->value == $_smarty_tpl->tpl_vars['tld']->value) {?> selected="selected"<?php }?>>
<?php echo $_smarty_tpl->tpl_vars['listtld']->value;?>
</option>
<?php
$_smarty_tpl->tpl_vars['listtld'] = $__foreach_listtld_1_saved_local_item;
}
if ($__foreach_listtld_1_saved_item) {
$_smarty_tpl->tpl_vars['listtld'] = $__foreach_listtld_1_saved_item;
}
?>
</select>
</div>
<div class="col-md-3">
<button type="submit" id="btnCheckAvailability" class="btn btn-primary btn-lg btn-block">
<?php if ($_smarty_tpl->tpl_vars['domain']->value == "register") {?>
<?php echo $_smarty_tpl->tpl_vars['LANG']->value['search'];?>
<?php } else { ?>
<?php echo $_smarty_tpl->tpl_vars['LANG']->value['domainstransfer'];?>
<?php }?>
</button>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
<form method="post" action="cart.php?a=add&domain=<?php echo $_smarty_tpl->tpl_vars['domain']->value;?>
">
<div id="domainresults" class="domainresults hidden"></div>
</form>
<?php echo '<script'; ?>
language="javascript">
var regType = '<?php echo $_smarty_tpl->tpl_vars['domain']->value;?>
';
function checkAvailability() {
var btnLookupText = jQuery("#btnCheckAvailability").html();
jQuery("#btnCheckAvailability").html('<i class="fa fa-spinner fa-spin"></i>');
jQuery.post("cart.php", { ajax: 1, a: "domainoptions", sld: jQuery("#inputDomain").val(), tld: jQuery("#inputTld").val(), checktype: regType },
function(data) {
jQuery("#domainresults").html(data);
if (!jQuery("#domainresults").is(":visible")) {
jQuery("#domainresults").hide().removeClass('hidden').slideDown();
}
jQuery("#btnCheckAvailability").html(btnLookupText);
}
);
}
function cancelcheck() {
jQuery("#inputDomain").focus();
jQuery("#domainresults").fadeOut();
}
<?php if ($_smarty_tpl->tpl_vars['sld']->value) {?>
jQuery(document).ready(function() {
checkAvailability();
});
<?php }?>
<?php echo '</script'; ?>
>
</div>
<?php }
}