<?php /* Smarty version 3.1.27, created on 2024-04-24 15:03:38
         compiled from "/home/vertexchai/public_html/primecipher-trade.com/tmpl/captcha.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:72353910966291f4aba1bb3_70619240%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '9b8a36e424ec68b85bc81f7e84b382ba61fcf5fb' => 
    array (
      0 => '/home/vertexchai/public_html/primecipher-trade.com/tmpl/captcha.tpl',
      1 => 1712606487,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '72353910966291f4aba1bb3_70619240',
  'variables' => 
  array (
    'action' => 0,
    'ti' => 0,
    'inpt_size' => 0,
    'settings' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_66291f4ae581e8_08408806',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_66291f4ae581e8_08408806')) {
function content_66291f4ae581e8_08408806 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/vertexchai/public_html/primecipher-trade.com/inc/libs/smarty3/plugins/modifier.myescape.php';

$_smarty_tpl->properties['nocache_hash'] = '72353910966291f4aba1bb3_70619240';
if ($_smarty_tpl->tpl_vars['ti']->value['check'][$_smarty_tpl->tpl_vars['action']->value]) {?>

<?php if ($_smarty_tpl->tpl_vars['ti']->value['type'] == 'image') {?>
<tr>
 <td class=menutxt><img src="<?php echo smarty_modifier_myescape(encurl("?a=show_validation_image&".((string)$_smarty_tpl->tpl_vars['ti']->value['session']['name'])."=".((string)$_smarty_tpl->tpl_vars['ti']->value['session']['id'])."&rand=".((string)$_smarty_tpl->tpl_vars['ti']->value['session']['rand'])));?>
"></td>
 <td><input type=text name=validation_number class=inpts size=<?php echo smarty_modifier_myescape((($tmp = @$_smarty_tpl->tpl_vars['inpt_size']->value)===null||$tmp==='' ? 30 : $tmp));?>
></td>
</tr>
<?php }?>

<?php if ($_smarty_tpl->tpl_vars['ti']->value['type'] == 'recaptcha_v2') {?>
<?php echo '<script'; ?>
 src='https://www.google.com/recaptcha/api.js'><?php echo '</script'; ?>
>
<tr>
 <td class=menutxt colspan=2>
<div class="g-recaptcha" data-sitekey="<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['settings']->value['recaptcha_site_key']);?>
"></div>
 </td>
</tr>
<?php }?>

<?php if ($_smarty_tpl->tpl_vars['ti']->value['type'] == 'recaptcha_v3') {?>
<?php echo '<script'; ?>
 src="https://www.google.com/recaptcha/api.js?render=<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['settings']->value['recaptcha_site_key']);?>
"><?php echo '</script'; ?>
>

  <?php echo '<script'; ?>
>
  grecaptcha.ready(function() {
      grecaptcha.execute('<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['settings']->value['recaptcha_site_key']);?>
', {action: '<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['action']->value);?>
'}).then(function (token) {
                var rinput = document.getElementById('g-recaptcha');
                rinput.value = token;
            });
  });
  <?php echo '</script'; ?>
>

<tr>
 <td class=menutxt colspan=2>
<input type="hidden" name="g-recaptcha-response" id="g-recaptcha">
 </td>
</tr>
<?php }?>

<?php if ($_smarty_tpl->tpl_vars['ti']->value['type'] == 'solvemedia') {?>
<tr>
 <td class=menutxt colspan=2>
<!--script type="text/javascript" src="http://api.solvemedia.com/papi/challenge.script?k=<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['settings']->value['solvemedia_recaptcha_c_key']);?>
"><?php echo '</script'; ?>
-->

        <?php echo '<script'; ?>
 type="text/javascript">
        var ACPuzzleOptions = {
            lang:	    'en',
            size:	    '300x150'
        };
        <?php echo '</script'; ?>
>
        <ins class="acprecheck" id="acprecheck"></ins>
        <?php echo '<script'; ?>
 type="text/javascript"src="http://api.solvemedia.com/papi/challenge.precheck?k=<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['settings']->value['solvemedia_recaptcha_c_key']);?>
"><?php echo '</script'; ?>
>
  </td>
</tr>
<?php }?>


<?php }
}
}
?>