<%
if request.cookies("buyok")("admin")="" then response.write "<meta http-equiv='refresh' content='0;URL=../admin.asp'>"
%>
<!--#include file="../include/nowshop.asp"-->

<script language=javascript src=../include/mouse.js></script>
 <%
sub checkmanage(str)
Set mrs = conn.Execute("select * from manage where username='"&request.cookies("buyok")("admin")&"'")
if not (mrs.bof and mrs.eof) then
manage=mrs("manage")
if instr(manage,str)<=0 then
response.write "<script language='javascript'>"
response.write "alert('警告：您没有此项操作的权限！');"
response.write "location.href='quit.asp';"
response.write "</script>"
response.end
else
session("buyok_admin_login")=0
end if
else 
response.write "<script language='javascript'>"
response.write "alert('没有登陆，不能执行此操作！');"
response.write "location.href='quit.asp';"
response.write "</script>"
response.end
end if
set mrs=nothing
end sub
%>
<%call checkmanage("01")%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../images/css.css" type=text/css rel=stylesheet>
<LINK href="../list/newhead.css" type=text/css rel=stylesheet>
</head>
<BODY bgcolor="#D9EAFC">

<%
action=request("ok")
if action="" then
Set rs = conn.Execute("select * from page") 
%>

	
<table height="5"><tr><td></td></tr></table>
<TABLE cellSpacing=0 cellPadding=0 width=95% border=0 style="BORDER-RIGHT: #b1bfee 1px solid; BORDER-TOP: #b1bfee 1px solid; BORDER-LEFT: #b1bfee 1px solid; BORDER-BOTTOM: #b1bfee 1px solid" 
>
  <TBODY>
    <TR>
      <TD width="90%" bgColor=#f4f5fd><font color="#000000">　<B><font color="#FF0000">&nbsp;网站帮助信息设置[最多8字]</font></B></font></TD>
      <TD bgColor=#f4f5fd height=30><font color="#000000">&nbsp;<a href="http://www.nowshop.com.cn/help/dispbbs.asp?boardID=2&ID=4&page=1" target="_blank">设置帮助</a></font></TD>
    </TR>
  </TBODY>
</TABLE>
		  <table height="5"><tr><td></td></tr></table>

<table width="95%"  border="0" cellpadding="0" cellspacing="1" bgcolor="#b1bfee">
  <form action=adv13.asp method=post name=advsetup>
    <tr bgcolor="#FFFFFF"> 
      <td width=20% height="18" align=right>帮助1设置</td>
      <td> <input type=text value="<%=rs("title11")%>" name=zimu size=40 maxlength=50> 
        <a href="help22.asp"><img src="fav.gif" width="57" height="20" border="0"></a> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width=20% height="18" align=right>帮助1链接</td>
      <td> <input type=text value="<%=rs("url11")%>" name=zimulink size=40 maxlength=100></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width=20% height="18" align=right>帮助2设置</td>
      <td> <input type=text value="<%=rs("title12")%>" name=zimu2 size=40 maxlength=50> 
        <a href="help11.asp"><img src="fav.gif" width="57" height="20" border="0"></a> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width=20% height="18" align=right>帮助2链接</td>
      <td> <input type=text value="<%=rs("url12")%>" name=zimu2link size=40 maxlength=100></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width=20% height="18" align=right>帮助3设置</td>
      <td> <input type=text value="<%=rs("title13")%>" name=zimu3 size=40 maxlength=50> 
        <a href="help33.asp"><img src="fav.gif" width="57" height="20" border="0"></a> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width=20% height="18" align=right>帮助3链接</td>
      <td> <input type=text value="<%=rs("url13")%>" name=zimu3link size=40 maxlength=100></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width=20% height="18" align=right>帮助4设置</td>
      <td> <input type=text value="<%=rs("title14")%>" name=zimu4 size=40 maxlength=50> 
        <a href="help44.asp"><img src="fav.gif" width="57" height="20" border="0"></a> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width=20% height="18" align=right>帮助4链接</td>
      <td> <input type=text value="<%=rs("url14")%>" name=zimu4link size=40 maxlength=100></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width=20% height="18" align=right>帮助5设置</td>
      <td> <input type=text value="<%=rs("title21")%>" name=zimu5 size=40 maxlength=50> 
        <a href="help55.asp"><img src="fav.gif" width="57" height="20" border="0"></a> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width=20% height="18" align=right>帮助5链接</td>
      <td> <input type=text value="<%=rs("url21")%>" name=zimu5link size=40 maxlength=100></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="18" align=right>帮助6设置</td>
      <td><input name=zimu6 type=text value="<%=rs("title22")%>" size=40 maxlength=50> 
        <a href="help66.asp"><img src="fav.gif" width="57" height="20" border="0"></a> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="18" align=right>帮助6链接</td>
      <td><input name=zimu6link type=text value="<%=rs("url22")%>" size=40 maxlength=100></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="18" align=right>帮助7设置</td>
      <td><input name=zimu7 type=text value="<%=rs("title23")%>" size=40 maxlength=50> 
        <a href="help77.asp"><img src="fav.gif" width="57" height="20" border="0"></a> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="18" align=right>帮助7链接</td>
      <td><input name=zimu7link type=text value="<%=rs("url23")%>" size=40 maxlength=100></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="18" align=right>帮助8设置</td>
      <td><input name=zimu8 type=text value="<%=rs("title24")%>" size=40 maxlength=50> 
        <a href="help88.asp"><img src="fav.gif" width="57" height="20" border="0"></a> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="18" align=right>帮助8链接</td>
      <td><input name=zimu8link type=text value="<%=rs("url24")%>" size=40 maxlength=100></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="18" align=right>帮助9设置</td>
      <td><input name=zimu9 type=text value="<%=rs("title31")%>" size=40 maxlength=50> 
        <a href="help99.asp"><img src="fav.gif" width="57" height="20" border="0"></a> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="18" align=right>帮助9链接</td>
      <td><input name=zimu9link type=text value="<%=rs("url31")%>" size=40 maxlength=100></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="18" align=right>帮助10设置</td>
      <td><input name=zimu10 type=text value="<%=rs("title32")%>" size=40 maxlength=50> 
        <a href="help10.asp"><img src="fav.gif" width="57" height="20" border="0"></a> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="18" align=right>帮助10链接</td>
      <td><input name=zimu10link type=text value="<%=rs("url32")%>" size=40 maxlength=100></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="18" align=right>帮助11设置</td>
      <td><input name=zimu11 type=text value="<%=rs("title33")%>" size=40 maxlength=50> 
        <a href="help21.asp"><img src="fav.gif" width="57" height="20" border="0"></a> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="18" align=right>帮助11链接</td>
      <td><input name=zimu11link type=text value="<%=rs("url33")%>" size=40 maxlength=100></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="18" align=right>帮助12设置</td>
      <td><input name=zimu12 type=text value="<%=rs("title34")%>" size=40 maxlength=50> 
        <a href="help12.asp"><img src="fav.gif" width="57" height="20" border="0"></a> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width=20% height="18" align=right>帮助12链接</td>
      <td><input name=zimu12link type=text value="<%=rs("url34")%>" size=40 maxlength=100> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td colspan=2> <INPUT name="ok" TYPE="hidden" value="ok"> <INPUT name=action TYPE="submit" value="保存设置"></td>
    </tr>
  </form>
</table>
		  <table height="5"><tr><td></td></tr></table>

	
<%
	rs.close
	conn.close
	set rs=nothing
	set conn=nothing
end if%>
<%              
if action="ok" then

	if len(request.form("zimu"))>8 or len(request.form("zimu2"))>8 or len(request.form("zimu3"))>8 or len(request.form("zimu4"))>8 or len(request.form("zimu5"))>8 or len(request.form("zimu6"))>8 or len(request.form("zimu7"))>8 or len(request.form("zimu8"))>8 or len(request.form("zimu9"))>8 or len(request.form("zimu10"))>8 or len(request.form("zimu11"))>8 or len(request.form("zimu12"))>8 then
	response.write "<script language='javascript'>"
	response.write "alert('您填写的字幕内容太长，请不要超过8个文字，单击“确定”返回上一页！');"
	response.write "location.href='javascript:history.go(-1)';"
	response.write "</script>"
	response.end
	end if

     Set rs=Server.CreateObject("ADODB.Recordset")
	 sql="select * from page"
	 rs.open sql,conn,1,3
 	 rs("title11")=trim(request.form("zimu"))
 	 rs("url11")=trim(request.form("zimulink"))
 	 rs("title12")=trim(request.form("zimu2"))
 	 rs("url12")=trim(request.form("zimu2link"))
 	 rs("title13")=trim(request.form("zimu3"))
 	 rs("url13")=trim(request.form("zimu3link"))
 	 rs("title14")=trim(request.form("zimu4"))
 	 rs("url14")=trim(request.form("zimu4link"))
 	 rs("title21")=trim(request.form("zimu5"))
 	 rs("url21")=trim(request.form("zimu5link"))
	 rs("title22")=trim(request.form("zimu6"))
 	 rs("url22")=trim(request.form("zimu6link"))
	 rs("title23")=trim(request.form("zimu7"))
 	 rs("url23")=trim(request.form("zimu7link"))
	 rs("title24")=trim(request.form("zimu8"))
 	 rs("url24")=trim(request.form("zimu8link"))
	 rs("title31")=trim(request.form("zimu9"))
 	 rs("url31")=trim(request.form("zimu9link"))
	 rs("title32")=trim(request.form("zimu10"))
 	 rs("url32")=trim(request.form("zimu10link"))
	 rs("title33")=trim(request.form("zimu11"))
 	 rs("url33")=trim(request.form("zimu11link"))
	 rs("title34")=trim(request.form("zimu12"))
 	 rs("url34")=trim(request.form("zimu12link"))

	rs.update
	rs.close
	conn.close
	set rs=nothing
	set conn=nothing

	response.write "<script language='javascript'>"
	response.write "alert('操作成功，您设置的滚动字幕已保存！');"
	response.write "location.href='adv13.asp';"
	response.write "</script>"
	response.end
end if%>
<table width="95%" border="0">
  <tr> 
    <td height="60"><font color="#FF0000">我们将为购买正版NowShop商城系统者免费设计全套广告图片；提供免费安装调试；免费送1%网银接口、支付宝接口；免费提供技术支持；免费提供系统升级；免费提供系统模板更换；免费代办网站ICP备案；使您的网店更具吸引力！</font></td>
  </tr>
  <tr> 
    <td><p>购买咨询或技术支持，请在周一至周五8：00-18：00间联系<br>
        Email / MSN：shop@nowshop.com.cn<br>
        电话：0551-5123308&nbsp;&nbsp;13965090551<br>
        QQ：2055008<br>
        网站：<a href="http://www.nowshop.com.cn" target="_blank">http://www.nowshop.com.cn</a><br>
        演示：<a href="http://ys.nowshop.com.cn" target="_blank">http://ys.nowshop.com.cn</a><br>
      </p>
      <p>Powerd By：NowShop商城系统 V3.5</p></td>
  </tr>
</table>
</body>
</html>

