<!--#include file="../include/conn.asp"-->
<!--#include file="seeion.asp" -->
<%
'website:http://www.angelasp.com
' Angel工作室技术开发团队:QQ:815657032、QQ：709047174
' Copyright (C) Angel工作室 (http://www.angelasp.com).  All rights reserved
If request.Form("submit") = "确认修改" Then
    Set rs = server.CreateObject("adodb.recordset")
    sql = "select * from configinfo"
    rs.Open sql, conn, 1, 3
if rs.eof then
    rs.addnew()
End if
    rs("site_name") = request.Form("site_name")
	rs("site_keywords") = request.Form("site_keywords")
    rs("site_description") = request.Form("site_description")
    rs("site_contact") = request.Form("site_contact")
    rs("site_copyright") = request.Form("site_copyright")
    rs.update
    rs.Close
    Set rs = Nothing
    conn.Close
    Set conn = Nothing
    response.Write("<script type=""text/javascript"">alert(""留言板信息设置成功"");location.href=""siteconfig.asp""</script>")
    response.End()
End If
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Angel工作室留言板系统V1.0</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="留言板系统V1.0-Powered By angelasp.com" />
<meta name="description" content="留言板系统V1.0Powered By angelasp.com" />
<link type="text/css" href="css/css.css" rel="stylesheet"/>
<script type="text/javascript" src="../js/jquery-1.js"></script>
<script type="text/javascript" src="../js/js.js"></script>
</head>
<body>
<div class="bodycontent">
<!--#include file="head.asp"-->
<!--修改密码-->
<div id="login_password">
  <h1>===修改密码===</h1>
  <form method="post" action="?action=ok">
  <dd>新 密 码：<input type="password" size="10" name="news_password"  class="word" /></dd>
  <dd><input type="submit" value="登陆" class="button" />&nbsp;&nbsp;<input type="button" value="关闭" id="close" class="button" /></dd>
  </form>
</div>
<!--修改密码结束-->
<div class="msg_content">
<div class="left_menu">
<div class="leftmenutext"><a href="../index.asp">前台首页</a> <a href="index.asp">后台首页</a></div>
<div class="leftmenutext_top">留言板管理</div>
<div class="leftmenulistnav">
<!--#include file="left_menu.asp"-->
</div>
</div>
<div class="right_messagelist">
<div class="leftmenutext">当前操作：留言板设置</div>
<div class="admin_sitecontent">
<%
Dim rs, sql
Set rs = server.CreateObject("adodb.recordset")
sql = "select * from configinfo where 1=1"
rs.Open sql, conn, 1, 1
%>
<form name="myform" class="myform" method="post">

      <div class="sitesetlist" style="height:30px">
                <div class="bfont">网站名称：</div>
                <div style="width:120px;float:left;"><input class="txtbox" type="text" name="site_name" value="<%=rs("site_name")%>" /></div>
       </div>
      <div class="sitesetlist" style="height:30px">
                <div class="bfont">网站关键字：</div>
                <div style="width:120px;float:left;"><input class="txtbox" type="text" name="site_keywords" value="<%=rs("site_keywords")%>" /></div>
       </div>
      <div class="sitesetlist" style="height:30px">
         <div class="bfont">关键字描述：</div>
        <div style="width:120px;float:left;"><input class="txtbox" type="text" name="site_description" value="<%=rs("site_description")%>" /></div>
       </div>
      <div class="sitesetlist" style="height:30px">
         <div class="bfont">关键字描述：</div>
        <div style="width:120px;float:left;"><input class="txtbox" type="text" name="site_contact" value="<%=rs("site_contact")%>" /></div>
       </div>
      <div class="sitesetlist" style="height:30px">
         <div class="bfont">版权信息：</div>
        <div style="width:120px;float:left;"><input class="txtbox" type="text" name="site_copyright" value="<%=rs("site_copyright")%>" /></div>
       </div>
      <div class="sitesetlist" style="height:30px">
       <input name="submit" type="submit" class="submit_button" value="确认修改" />
      </div>
        </form>
<%
rs.close
set rs = nothing
%>
      </div>

</div>
 <!--#include file="foot.asp"-->
</div>
<%
'如果不在操做数据库，使用下面语句关闭数据库链接
conn.close
set conn=nothing 
%>
</body>
</html>



