<%template _header%>
<!--TheCurrent start-->
<div id="foruminfo">
	<div class="userinfo">
		<h2><a href="{config.forumurl}">{config.forumtitle}</a><strong>密码重置</strong></h2>
	</div>
</div>
<!--TheCurrent end-->

<%if {ispost}%>
	<%if page_err==0%>
		<%template _msgbox%>
	<%else%>
		<%template _errmsgbox%>
	<%/if%>
<%else%>
	<%if page_err==0%>
<div class="ntforumbox">
	<div class="titlebar">
		<h3>密码重置</h3>
	</div>
	<table cellpadding="0" cellspacing="0" border="0">
		<tbody>
			<tr class="list">
				<th class="formlabel">新密码:</th>
				<td class="formbody"><input name="newpassword" type="password" id="newpassword" size="25" class="colorblue" onfocus="this.className='colorfocus';"	onblur="this.className='colorblue';"  />
							<input name="uid" type="hidden" id="uid" value="{request[uid]}" />
							<input name="authstr" type="hidden" id="authstr" value="{request[id]}" />
				</td>
			</tr>
		</tbody>
		<tbody>
			<tr class="list">
				<th class="formlabel">确认密码:</th>
				<td class="formbody"><input name="confirmpassword" type="password" id="confirmpassword" size="25" class="colorblue" onfocus="this.className='colorfocus';"	onblur="this.className='colorblue';">
				</td>
			</tr>
		</tbody>
	<%if {isseccode}%>	
		<tbody>
			<tr class="list">
				<th class="formlabel">验证码:</th>
				<td class="formbody"><%template _vcode%></td>
			</tr>
		</tbody>
	<%/if%>			
		<tbody>
			<tr class="list">
				<th class="formlabel">&nbsp;</th>
				<td class="formbody">
					<input name="login" type="submit" id="login" value="确定" onclick="javascript:location.replace('?agree=yes')" class="sbutton" />
									&nbsp;&nbsp;
					<input name="cancel" type="button" id="cancel" value="取消" onclick="javascript:location.replace('/')" class="sbutton" />
				</td>
			</tr>
		</tbody>
	</table>
</div>					
</form>

</div>
		<%template _copyright%>
<%else%>
		<%template _errmsgbox%>
</div>
<%/if%>
<%/if%>
<%template _footer%>
