seccheck.htm
1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{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}-->