seccheck.htm 1.19 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}-->
<!--{block seccheckhtml}-->
<input name="sechash" type="hidden" value="$sechash" />
<!--{if $sectpl}-->
	<!--{if $secqaacheck}-->
		<p>

        <strong>{lang secqaa}</strong>
        <br />
        <em class="xg2">$secqaa</em>
	<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=3" />
        <br />
	<input name="seccodehash" type="hidden" value="$sechash" />
        <input name="seccodeverify" id="seccodeverify_$sechash" type="text" autocomplete="off" class="txt" />
        </p>
	<!--{/if}-->
<!--{/if}-->
<!--{/block}-->
<!--{eval unset($secshow);}-->
<!--{if empty($secreturn)}-->$seccheckhtml<!--{/if}-->