<!--#include file="function.asp"-->
<%CheckAdmin3%>
<!--#include file="conn.asp"-->
<%
set rs = server.CreateObject("ADODB.RecordSEt")
sql="select top 1 * from config"
rs.open sql,conn,1,1
	if not rs.EOF then
		WebName = rs("WebName")
		WebUrl = rs("WebUrl")
		Adminqq = rs("Adminqq")
		AdminEmail = rs("AdminEmail")
		Keywords = rs("Keywords")
		Descriptions = rs("Descriptions")
		CountCode = rs("CountCode")
		Record = rs("Record")
		Copyright = rs("Copyright")
		
	end if
rs.close


	save = request.form("save")
	if save = "ok" then	
		set rs = server.CreateObject("ADODB.RecordSEt")
			sql="select top 1 * from config"
			rs.open sql,conn,1,3
				if not rs.EOF then
					rs("WebName")=trim(request.form("WebName"))
					rs("WebUrl")=trim(request.form("WebUrl"))
					rs("Adminqq")=trim(request.form("Adminqq"))
					rs("AdminEmail")=trim(request.form("AdminEmail"))
					rs("Keywords")=trim(request.form("Keywords"))
					rs("Descriptions")=trim(request.form("Descriptions"))
					rs("CountCode")=trim(request.form("CountCode"))
					rs("Record")=trim(request.form("Record"))
					rs("Copyright")=trim(request.form("Copyright"))
					rs.update
				end if
			rs.close
	response.write "<script language=javascript>alert('操作成功');location.href='888wang_config.asp';</script>"
	end if
%>

<Html>
<Head>
<Title>888wang.com音乐管理中心</title>
<Meta Http-Equiv="Content-Type" Content="Text/Html; CharSet=Gb2312">
<link href="Style.css" rel="stylesheet" type="text/css">
</Head>
<Body Topmargin="20" Leftmargin="12">
<table width="100%" border="1" cellpadding="1" cellspacing="0" class="bordercolor">
<tr>
<td align=center>
<form method="POST" action="888wang_config.asp" id=form2 name=form2>
        <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border">
          <tr class="bg1"> 
            <td height="22" colspan="3" align="center">修 改 网 站 基 本 配 置</td>
          </tr>
          <tr> 
            <td width="14%" align="right"  height="24" >网站名称：</td>
            <td width="86%"  height="24"> <input class=input type="text" name="WebName" value="<%=WebName%>" size="50">
              (你的网站的名称，如：888网,变量名:WebName)</td>
          </tr>
          <tr> 
            <td width="14%" align="right"  height="24" >网站地址：</td>
            <td width="86%"  height="24"> <input class=input type="text" name="WebUrl" value="<%=WebUrl%>" size="50">
(你的网站的地址，如：www.888wang.com,变量名:WebUrl)</td>
          </tr>
          
          <tr> 
            <td width="14%" align="right"  height="53">版权信息：</td>
            <td width="86%"  height="53"> <textarea name="Copyright" cols="50" rows="5" id="Copyright"><%=Copyright%></textarea>
            (网站的版权，变量名:Copyright)</td>
          </tr>
          
          <tr> 
            <td width="14%" align="right"  height="24">站长QQ：</td>
            <td width="86%"  height="24"> <input name="Adminqq" type="text" class=input id="Adminqq" value="<%=Adminqq%>" size="50">
              (站长的QQ，变量名:Adminqq)</td>
          </tr>
          
          <tr>
            <td align="right"  height="24">站长E-mail：</td>
            <td  height="24"><input name="AdminEmail" type="text" class=input id="AdminEmail" value="<%=AdminEmail%>" size="50">
(站长的邮箱，变量名:AdminEmail)</td>
          </tr>
          <tr>
            <td align="right"  height="24">网站介绍：</td>
            <td  height="24"><input name="Descriptions" type="text" class=input id="Descriptions" value="<%=Descriptions%>" size="50">
(网站介绍，变量名:Descriptions)</td>
          </tr>
          <tr> 
            <td width="14%" align="right"  height="24">关键词SEO：</td>
            <td width="86%"  height="24"> <input name="keywords" type="text" class="input" value="<%=keywords%>" size="50">
            (关键词SEO，变量名:keywords)</td>
          </tr>
          <tr> 
            <td width="14%" align="right"  height="24">统计代码：</td>
            <td width="86%"  height="24"> <textarea name="CountCode" cols="50" rows="5" id="count"><%=CountCode%></textarea>
              (统计代码，变量名:CountCode)<br>更改后需<a href="make_count.asp"><font color="red">生成全站统计</font></a></td>
          </tr>
<tr> 
            <td width="14%" align="right"  height="24">备案信息：</td>
            <td width="86%"  height="24"> <input name="Record" type="text" class=input id="Record" value="<%=Record%>" size="50">
            (备案信息，变量名:Record)</td>
          </tr>
          <tr> 
            <td height="24" align="center"  colspan="2">
              <input type="hidden" name="save" value="ok">
              <input class=input type="submit" value=" 确 定 " name="cmdok2">
              &nbsp; <input class=input type="reset" value=" 取 消 " name="cmdcance2l">(修改信息后一定要重新生成首页)</td>
          </tr>
        </table>
<table width="100%" cellspacing="0" class=TableLine cellpadding="0">
          <tr> </tr>
</table>
</form>
</td>
</tr>
</table>
<%
set rs=nothing
conn.close
set conn=nothing

%>
</body>
</html>






