<!--#include file="conn.asp"-->
<%if request.cookies("admin")("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='login.asp';</script>"
response.End
else
if request.cookies("admin")("flag")>2 then
response.Write "<p align=center><font color=red>您没有此项目管理权限！</font></p>"
response.End
end if
end if
%>
<html><head><title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../image/css.css" rel="stylesheet" type="text/css">
</head>
<body>
<%dim action,act
action=request.QueryString("action")
act=request.QueryString("act")
select case act
case ""
select case action
case ""%>
<table class="tableBorder" width="90%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<tr> 
<td class="managetop">网站其它信息设置</td>
</tr>
<tr><td class="tdcolor">
<table width="90%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#183789">
<tr class="tdcolor">
<td><a href="managexx.asp?action=vipsq">VIP申请说明</a></td>
<td><a href="managexx.asp?action=viphd">VIP活动说明</a></td>
<td><a href="managexx.asp?action=vipdyj">VIP大赢家说明</a></td>
</tr>
<tr class="tdcolor"> 
<td width="27%"> <a href="managexx.asp?action=huikuanfangshi">付款方式</a></td>
<td width="34%"> <a href="managexx.asp?action=gouwuliucheng">购物流程</a></td>
<td width="39%"> 帮助信息</td>
</tr>
<tr class="tdcolor"> 
<td> <a href="managexx.asp?action=jiaoyitiaokuan">交易条款</a></td>
<td> <a href="managexx.asp?action=changjianwenti">常见问题</a></td>
<td> <a href="managexx.asp?action=shiyongfalv">适用法律和版权声明</a></td>
</tr>
<tr class="tdcolor"> 
<td> <a href="managexx.asp?action=yunshushuoming">运输说明</a></td>
<td> <a href="managexx.asp?action=baomi">保密和安全</a></td>
<td> <a href="managexx.asp?action=shouhoufuwu">商品销售和售后服务</a></td>
</tr>
<tr class="tdcolor"> 
<td> <a href="managexx.asp?action=songhuofeiyong">送货方式及费率</a></td>
<td> <a href="managexx.asp?action=gongzuoshijian">我们的工作时间</a></td>
<td> <a href="managexx.asp?action=jifen">积分奖励</a></td>
</tr>
<tr class="tdcolor"> 
<td> <a href="managexx.asp?action=vip">VIP特惠</a></td>
<td><a href="managexx.asp?action=regtiaoyue">更改注册条约</a> </td>
<td><a href="managexx.asp?action=regtiaoyue2">更改商家注册条约</a> </td>
</tr>
<tr class="tdcolor"> 
<td> <a href="managexx.asp?action=about">关于本站</a></td>
<td> <a href="managexx.asp?action=lxwm">联系我们</a></td>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
<%case else%>
<table class="tableBorder" width="90%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#FFFFFF">
<tr> 
<td class="managetop">
<%if action="huikuanfangshi" then response.write "付 款 方 式"
if action="gouwuliucheng" then response.write "购 物 流 程"
if action="regtiaoyue" then response.write "更改注册条约"
if action="regtiaoyue2" then response.write "更改商家注册条约"
if action="yunshushuoming" then response.write "运 输 说 明"
if action="baomi" then response.write "保 密 和 安 全"
if action="shouhoufuwu" then response.write "商品销售和售后服务"
if action="songhuofeiyong" then response.write "送货方式及费率"
if action="gongzuoshijian" then response.write "我们的工作时间"
if action="jifen" then response.write "积 分 奖 励"
if action="vip" then response.write "VIP 特 惠"
if action="about" then response.write "关 于 本 站"
if action="lxwm" then response.write "联 系 我 们"
if action="jiaoyitiaokuan" then response.write "交 易 条 款"
if action="changjianwenti" then response.write "常 见 问 题"
if action="shiyongfalv" then response.write "适用法律和版权声明"
if action="vipsq" then response.write "VIP申请说明"
if action="viphd" then response.write "VIP活动说明"
if action="vipdyj" then response.write "VIP大赢家说明"%>
</td>
</tr><tr><td>
<%action=LCase(Request.QueryString("Action"))
set rs=server.createobject("adodb.recordset")
sql="select "&Action&" from shop_config "
rs.open sql,conn,1,1
if not rs.eof then
Content=rs(0)
end if%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<form name="form1" method="post" action="?act=save&action=<%=action%>">
<tr> 
<td class="tdcolor" align="center">
<table width="80%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td>
<textarea name="content" style="display:none"><%=Server.HTMLEncode(Content)%></textarea><iframe id="eWebEditor1" src="../editor/ewebeditor.asp?id=content&style=standard" frameborder="0" scrolling="no" width="650" height="450" name="if"></iframe>
</td>
</tr>
<tr> 
<td align="center">
<input type="button" value=" 返 回 " onClick="javascript:history.go(-1)" class="unnamed5" name="button">
<input type="submit" value=" 修 改 " name="Submit" class="unnamed5">
</td>
</tr>
</table>
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<%end select%>
</td>
</tr>
</table>

<%case "save"
dim html
html=request("html")
action=request.QueryString("action")
Content=Request.Form("Content")
'将里面的链接换成本地链接
 aa="http://"&Request.ServerVariables("server_name")&Request.ServerVariables("path_info")
 aa= mid(aa,1,len(aa)-16)
content=replace(content,aa,"")
set rs=server.CreateObject("adodb.recordset")
select case action
case "huikuanfangshi"
rs.Open "select huikuanfangshi from shop_config",conn,1,3
rs("huikuanfangshi")=content
rs.Update
response.Write "<script language=javascript>alert('付款方式修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "jiaoyitiaokuan"
rs.Open "select jiaoyitiaokuan from shop_config",conn,1,3
rs("jiaoyitiaokuan")=content
rs.Update
response.Write "<script language=javascript>alert('交易条款修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "yunshushuoming"
rs.Open "select yunshushuoming from shop_config",conn,1,3
rs("yunshushuoming")=content
rs.Update
response.Write "<script language=javascript>alert('运输说明修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "gouwuliucheng"
rs.Open "select gouwuliucheng from shop_config",conn,1,3
rs("gouwuliucheng")=content
rs.Update
response.Write "<script language=javascript>alert('购物流程修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "changjianwenti"
rs.Open "select changjianwenti from shop_config",conn,1,3
rs("changjianwenti")=content
rs.Update
response.Write "<script language=javascript>alert('常见问题修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "baomi"
rs.Open "select baomi from shop_config",conn,1,3
rs("baomi")=content
rs.Update
response.Write "<script language=javascript>alert('保密和安全修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "shouhoufuwu"
rs.Open "select shouhoufuwu from shop_config",conn,1,3
rs("shouhoufuwu")=content
rs.Update
response.Write "<script language=javascript>alert('商品销售和售后服务修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "shiyongfalv"
rs.Open "select shiyongfalv from shop_config",conn,1,3
rs("shiyongfalv")=content
rs.Update
response.Write "<script language=javascript>alert('适用法律和版权声明修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "regtiaoyue"
rs.Open "select regtiaoyue from shop_config",conn,1,3
rs("regtiaoyue")=content
rs.Update
response.Write "<script language=javascript>alert('注册条约修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "regtiaoyue2"
rs.Open "select regtiaoyue2 from shop_config",conn,1,3
rs("regtiaoyue2")=content
rs.Update
response.Write "<script language=javascript>alert('注册条约修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "songhuofeiyong"
rs.Open "select songhuofeiyong from shop_config",conn,1,3
rs("songhuofeiyong")=content
rs.Update
response.Write "<script language=javascript>alert('送货方式及费率修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "gongzuoshijian"
rs.Open "select gongzuoshijian from shop_config",conn,1,3
rs("gongzuoshijian")=content
rs.Update
response.Write "<script language=javascript>alert('我们的工作时间修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "jifen"
rs.Open "select jifen from shop_config",conn,1,3
rs("jifen")=content
rs.Update
response.Write "<script language=javascript>alert('积分奖励修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "vip"
rs.Open "select vip from shop_config",conn,1,3
rs("vip")=content
rs.Update
response.Write "<script language=javascript>alert('VIP特惠修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "about"
rs.Open "select about from shop_config",conn,1,3
rs("about")=content
rs.Update
response.Write "<script language=javascript>alert('关于本站修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "lxwm"
rs.Open "select lxwm from shop_config",conn,1,3
rs("lxwm")=content
rs.Update
response.Write "<script language=javascript>alert('联系我们修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "jtcg"
rs.Open "select jtcg from shop_config",conn,1,3
rs("jtcg")=content
rs.Update
response.Write "<script language=javascript>alert('集团采购修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "vipsq"
rs.Open "select vipsq from shop_config",conn,1,3
rs("vipsq")=content
rs.Update
response.Write "<script language=javascript>alert('VIP申请说明修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "viphd"
rs.Open "select viphd from shop_config",conn,1,3
rs("viphd")=content
rs.Update
response.Write "<script language=javascript>alert('VIP活动说明修改成功');window.location.href='managexx.asp';</script>"
response.End
'//////////////////////////////
case "vipdyj"
rs.Open "select vipdyj from shop_config",conn,1,3
rs("vipdyj")=content
rs.Update
response.Write "<script language=javascript>alert('VIP大赢家说明修改成功');window.location.href='managexx.asp';</script>"
response.End
end select%>
<%end select%>
<!--#include file="copyright.asp"-->
</body>
</html>