<!--<?php print <<<EOT
-->
<div id="breadCrumb">
		<img src="$imgpath/$stylepath/thread/home-old.gif" align="absmiddle" />&nbsp;<a href="$db_bfn" title="$db_bbsname">$db_bbsname</a> &raquo; 找回密碼
</div>
<style type="text/css">
.t{margin-top:8px;border:4px solid $forumcolortwo;}
.t table tr td{padding:.8em 0 .8em 3em;}
.t table tr th{text-align:right;font-weight:normal;}
.t table{border:2px solid $tablecolor;}
.t .h{padding-left:1em;}
</style>
<form action="sendpwd.php?" method="POST">
<input type="hidden" value="2" name="step" />
<div class="t f_one">
<table width="100%" align="center" cellspacing="0" cellpadding="0">
<tr>
<th class="h"><b>密碼發送程序</b></th><th class="h">&nbsp;</th></tr>
<tr>
<th width="25%">用戶名</th>
<td><input type="text" name="pwuser" class="input" size="40" /></td>
</tr>
<tr>
<th>Email</th>
<td><input type="text" name="email" class="input" size="40" /></td>
</tr>
<!--
EOT;
if($db_ifsafecv){print <<<EOT
-->
<tr>
	<th>安全問題</th>
	<td>
		<select name="question" onchange="showcustomquest(this.value)">
<option value="0">無安全問題</option>
	<option value="1">我爸爸的出生地</option>
	<option value="2">我媽媽的出生地</option>
	<option value="3">我的小學校名</option>
	<option value="4">我的中學校名</option>
	<option value="5">我最喜歡的運動</option>
	<option value="6">我最喜歡的歌曲</option>
	<option value="7">我最喜歡的電影</option>
	<option value="8">我最喜歡的顏色</option>
	<option value="-1">自定義問題</option>
		</select>
		<input id="customquest" style="display:none" type="text" name="customquest" class="input" size="17">
	</td>
</tr>
<tr>
	<th>您的答案</th>
	<td><input type="text" name="answer" class="input" size="40"> 如果您設置了安全問題，需要填寫正確的答案才能找回密碼</td>
</tr>
<!--
EOT;
}if($db_gdcheck & 16){print <<<EOT
-->
<tr><th>
認證碼 : </th>
<td><input class="input" type="text" name="gdcode" size="6" onfocus="try{opencode('menu_gd',this)}catch(e){}" /><span style="cursor:pointer; margin-left:3px" onclick="this.previousSibling.focus();">點此顯示驗證碼</span>
<div class="menu" id="menu_gd" style="visibility:hidden;"><img src="ck.php?" align="absmiddle" style="cursor:pointer;" id="ckcode" alt="看不清楚，換一張" /></div></td>
</th></tr>
<!--
EOT;
}print <<<EOT
-->
<tr><th></th><td><input class="btn" type="submit" value="提 交" /></td></tr>
</table></div>
</form>
<script language="JavaScript1.2">
function showcustomquest(qid){
	getObj("customquest").style.display = qid==-1 ? '' : 'none';
}
</script>
<!--
EOT;
?>-->