<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from [shjia] where username='"&request.cookies("bjx")("shjianame")&"' ",conn,1,1
id=rs("shjiaid")
%>
<%
set rsu=server.CreateObject("adodb.recordset")
rsu.open "select * from [shjia] where username='"&request.cookies("bjx")("shjianame")&"' ",conn,1,1
lx=rsu("lx")
%>
<%if request.cookies("bjx")("shjianame")="" then
response.Redirect "admin_login.asp"
response.End
end if
jiamengid=request.QueryString("id")
shjianame=request.cookies("bjx")("shjianame")
 if request.QueryString("action")="jiameng" then
set rs_news=server.CreateObject("adodb.recordset")
rs_news.open "select * from [shjia] where username='"&request.cookies("bjx")("shjianame")&"'",conn,1,1
set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from jiameng",conn,1,3
rs.AddNew
if shjianame<>"" then
rs("shjianame")=shjianame
rs("shjiaid")=rs_news("shjiaid")
else
rs("shjianame")="网上商铺"
rs("shjiaid")=1
end if
rs_news.close
set rs_news=nothing
rs("anclassid")=trim(request("anclassid"))
rs("Nclassid")=trim(request("Nclassid"))
rs("name")=trim(request("name"))
rs("lx")=trim(request("lx"))
rs("style")=request("style")
rs("pic")=trim(request("pic"))
rs("pic1")=trim(request("pic1"))
rs("pic2")=trim(request("pic2"))
rs("pic3")=trim(request("pic3"))
rs("pic4")=trim(request("pic4"))
rs("pic5")=trim(request("pic5"))
if request.form("pic6")<>"" then
rs("pic6")=trim(request("pic6"))
end if
if request.form("pic7")<>"" then
rs("pic7")=trim(request("pic7"))
end if
if request.form("pic8")<>"" then
rs("pic8")=trim(request("pic8"))
end if
if request.form("pic9")<>"" then
rs("pic9")=trim(request("pic9"))
end if
if request.form("pic10")<>"" then
rs("pic10")=trim(request("pic10"))
end if
rs("xiangmu")=trim(request("xiangmu"))
rs("touzi")=trim(request("touzi"))
rs("fangshi")=trim(request("fangshi"))
rs("ad")=trim(request("ad"))
rs("adddate")=now()
rs.update
rs.close
set rs=nothing
response.write "<script language=javascript>alert('添加成功！');window.location.href='zhaoshanggl.asp';</script>"
response.End
end if
%>

  <%
  if lx=0 then
  response.write "<font color=red>&nbsp对不起，您目前是免费用户，不能使用此项功能！请马上升级成为<a href=../gbook.asp>B型或C型用户</a></font>"
   response.write "<br>B型用户（即网店型用户），365元/年；C型用户（即企业公司型用户），500元/年,<a href=../help.asp?action=fukuan><font color=red><b>请立即升级您的网店！</b></font></a>"
  end if
    if lx=1 then
  response.write "<font color=red>&nbsp;&nbsp对不起，您目前是B型用户（即网店型用户），不能使用此项功能！请马上升级成为<a href=../gbook.asp>C型用户</a></font>"
 response.write "<br>B型用户（即网店型用户）升级成C型用户（即企业公司型用户），只需再交纳135元,<a href=../help.asp?action=fukuan><font color=red><b>请立即升级您的网店！</b></font></a>"
  end if
    if lx=2 then
  %>
 
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style3 {color: #FF0000}
-->
</style>
<title>New Page 1</title>
</head>

<body>
 <p><b><font size="6" color="#FF0000">如果有需要，请和我联系！</font></b></p>
 <p><b><font size="6" color="#FF0000">联系电话：0591-85253050</font></b></p>
 <p><b><font size="6" color="#FF0000">联系QQ：34734852</font></b></p>
 <p><b><font size="6" color="#FF0000">联系人：成先生&nbsp; </font></b></p>
 <p><b><font size="6" color="#FF0000">演示网址：<a href="http://www.guluu.com">http://www.guluu.com</a></font></b></p>
</body>

</html>
<%end if%>













