include template('register');
require DISCUZ_ROOT . './include/randtxt.inc.php';
if($alipay && !isemail($alipay)) {
@session_start();
if(!$randtxt || $randtxt != $_SESSION['randtxt']) {
showmessage('對不起, 隨機驗證字符輸入錯誤, 請返回。');
}
$_SESSION['randtxt'] = '';
<tr>
<td class="altbg1">隨機字符:</td>
<td class="altbg2">本站為了防止廣告機的惡意註冊, 在註冊時將要求您在下面文本框中輸入的紅色的隨機文字:<br><font color="red">{$randtxt}</font><br><input type="text" name="randtxt" size="25"></td>
</tr>