<!--#include file="inc.asp"-->
<!--#include file="check.asp"-->
<head>
<link href="images/Admin_Style.css" rel="stylesheet" type=text/css>
<%set rs=server.createobject("adodb.recordset")%>
</head>
<%
if request("action")="change" then

sql="select top 1 * from Const"
rs.open sql,conn,3,3
rs("webname")=request("webname")
rs("copyright")=request("copyright")
rs("ver")=request("ver")
rs("mail")=request("mail")
rs("weburl")=request("weburl")

rs.update
rs.close
response.write "<center>系统信息更新完毕"
else

%>

<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0">
<table cellpadding="2" cellspacing="1" border="0" width="100%" class="border" align=center>
<tr align="center" class="topbg">
    <td height=25 colspan=2 ><strong>网站信息配置管理</strong></tr>

</table>
<br>

<table border="0" width="80%" cellspacing="1" class="border" align=center>
      <form method="POST" action="0hao_system.asp?action=change">
  <tr>
            <%sql="select top 1 * from Const"
          rs.open sql,conn,3,3%>
            <td width="40%" class="tdbg" align=right>网站名称：</td>
            <td class="tdbg">
			<input type="text" name="webname" size="50" value="<%=rs("webname")%>" class=input></td>
          </tr>
          <tr> 
            <td class="tdbg" align=right>网站地址：</td>
            <td class="tdbg">
			<input type="text" name="weburl" size="50" value="<%=rs("weburl")%>" class=input></td>
          </tr>
          <tr>
            <td class="tdbg" align=right>版权信息：</td>
            <td class="tdbg">
			<input type="text" name="copyright" size="50" value="<%=rs("copyright")%>" class=input></td>
          </tr>
          <tr>
            <td class="tdbg" align=right>版本信息：</td>
            <td class="tdbg"><input type="text" name="ver" size="50" value="<%=rs("ver")%>" class=input></td>
          </tr>
          <tr>
            <td class="tdbg" align=right>站长信箱：</td>
            <td class="tdbg"><input type="text" name="mail" size="50" value="<%=rs("adminemail")%>" class=input></td>
          </tr>
        <%rs.close
        %>
        <tr>
            <td colspan=2 class="tdbg">
			<p align="center">
<input type="submit" value=" 提 交 " name="B1" class=input>
&nbsp; <input type="reset" value=" 取 消 " name="cmdcance2l" class=input></td>
          </tr>
      </form>
      <p>　</td>
  </tr>
</table>
<%end if
set rs=nothing
conn.close
set conn=nothing
%>

<!--#include file="copyright.asp" -->