seccheck.htm
1.06 KB
{eval
$sechash = 'S'.random(4);
$sectpl = !empty($sectpl) ? explode("<sec>", $sectpl) : array('<br />',': ','<br />','');
$ran = random(5, 1);
}
<!--{if $secqaacheck}-->
<!--{eval
$message = '';
$question = make_secqaa();
$secqaa = lang('core', 'secqaa_tips').$question;
}-->
<!--{/if}-->
<!--{if $sectpl}-->
<!--{if $secqaacheck}-->
<p>
<strong>{lang secqaa}</strong>
<br />
<span class="xg2">$secqaa</span>
<input name="secqaahash" type="hidden" value="$sechash" />
<input name="secanswer" id="secqaaverify_$sechash" type="text" class="txt" />
</p>
<!--{/if}-->
<!--{if $seccodecheck}-->
<p>
<strong>{lang seccode}</strong><br />
<img src="misc.php?mod=seccode&update={$ran}&idhash={$sechash}&mobile=yes&modid={$_G[basescript]}::{CURMODULE}" />
<br />
<input name="seccodehash" type="hidden" value="$sechash" />
<input name="seccodeverify" id="seccodeverify_$sechash" type="text" autocomplete="off" class="txt" />
</p>
<!--{/if}-->
<!--{/if}-->