<!-- #include file="setup.asp" -->
<!-- #include file="inc/MD5.asp" -->
<%
if adminpassword<>session("pass") then response.redirect "admin.asp?menu=login"

log(""&Request.ServerVariables("script_name")&"<br>"&Request.ServerVariables("Query_String")&"<br>"&Request.form&"")


if Request("menu")="ok" then
if Request("adminpassword")="" then error("<li>您没有设置管理密码")


conn.execute("update [clubconfig] set adminpassword='"&MD5(Request("adminpassword"))&"'")

message=message&"<li>安装成功<li><a href=admin.asp target=_top>返回社区管理</a><li><a href=Default.asp>返回论坛首页</a>"
succeed(""&message&"<meta http-equiv=refresh content=3;url=admin_setup.asp>")
end if


%>
<title>安装BBSxp... - Powered By TCBBS</title><br><form method="post"><input type="hidden" value="ok" name="menu">
<center><table cellSpacing="0" cellPadding="3" width="160" border="0">
<tr>
<td width="<%=dkuan%>" bordercolor="FFFFFF">
<table width=435 cellpadding="1" cellspacing="1" border="0" class=a2><tbody>
<tr>
<td align=center colspan="2" height="25" class=a1><p><b>设置社区管理密码</b></p></td>
</tr>


<tr class=a4><td align=right width="30%" height="10">管理密码：</td>
<td height="10">
<input name=adminpassword type=password size="30"></td></tr>
<tr class=a3><td align=center height="10" colspan="2"><input type="submit" value=" 下一步 "></td>
</tr>
</tbody></table>
</td></tr></table></FORM>
<%

htmlend

%>
