<%
'商易仿淘宝4.0(多用户)
'ACCESS版演示网站：http://www.ftaobao.com(商易仿淘宝商城)
'SQL版演示网站：http://sql.ftaobao.com
'电话：0571-56907100
'QQ：1147100
%>
<%qx=1%>
<!--#include file="top.asp"-->
<!--#include file="check.asp"-->
<!--#include file="../include/conn.asp"-->
<!--#include file="../include/tishi.asp"-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>开店设置</title>
<link href="../include/css.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div align="center">
  <%if shopnet("id")<>"save" then%>
   <%sql="select * from system"
  set rs=server.createobject("ADODB.recordset")
  rs.open sql,conn,1,3
  if rs.eof then
     response.write"出错了，不存在系统配置数据库"
     response.end
  end if
  %>
</div>
<form id="form1" name="form1" method="post" action="?id=save">
  <div align="center"><br>
<table cellspacing="1" cellpadding="4" class="tableborder" align="center">
      <tr>
        <td height="25" colspan="3" background="images/admin_bg_4.gif" bgcolor="#FFFFFF"><div align="center" class="White_txt"><strong>
            开 店 设 置
        </strong></div></td>
    </tr>
      <tr>
        <td width="7%" height="24" bgcolor="#FFFFFF">&nbsp;</td>
      <td width="38%" bgcolor="#FFFFFF">免费开店商品数量及时间期限</td>
      <td width="55%" bgcolor="#FFFFFF"><p>商品数:
        <input name="ass" type="text" id="ass" value="<%=rs("ass")%>" size="5" maxlength="5" />
  &nbsp;天数:
          <input name="tianshu" type="text" id="tianshu" value="<%=rs("css")%>" size="5" maxlength="5" />
          </p>
        </td>
    </tr>
      <tr>
        <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">收费型开店价格</td>
      <td bgcolor="#FFFFFF">一年
        <input name="bss" type="text" id="bss" value="<%=rs("bss")%>" size="5" maxlength="5" /></td>
    </tr>
      <tr>
        <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">免费型开店说明</td>
      <td bgcolor="#FFFFFF"><input name="aks" type="text" id="aks" value="<%=rs("aks")%>" size="22" maxlength="50" />
        此处的商品个数和天数请与上面的数字对应</td>
    </tr>
      <tr>
        <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF"><div align="left">收费型开店说明</div></td>
      <td bgcolor="#FFFFFF"><input name="bks" type="text" id="bks" value="<%=rs("bks")%>" size="22" maxlength="50" /></td>
    </tr>
      <tr>
        <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">虚拟货币名称</td>
      <td bgcolor="#FFFFFF"><input name="rikee" type="text" id="rikee" value="<%=rs("rikee")%>" size="7" maxlength="7" /></td>
    </tr>
      <tr>
        <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">会员初始注册奖励虚拟货币金额</td>
      <td bgcolor="#FFFFFF"><input name="a1" type="text" id="a1" value="<%=rs("a1")%>" size="5" maxlength="5" /></td>
    </tr>
      <tr>
        <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">会员登陆一次奖励虚拟货币金额(1天内登陆只计一次)</td>
      <td bgcolor="#FFFFFF"><input name="a2" type="text" id="a2" value="<%=rs("a2")%>" size="5" maxlength="5" /></td>
    </tr>
      <tr>
        <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">会员购物每一元货款奖励虚拟货币金额</td>
      <td bgcolor="#FFFFFF"><input name="a3" type="text" id="a3" value="<%=RS("a3")%>" size="5" maxlength="5" /></td>
    </tr>
      <tr>
        <td colspan="3" bgcolor="#FFFFFF"><div align="center">开店说明(协议),显示在注册页<br>
            <textarea name="kd" cols="80" rows="6" id="kd"><%=rs("kd")%></textarea>
            <br>
            <br>
        </div></td>
    </tr>
      <tr>
        <td colspan="3" bgcolor="#FFFFFF"><div align="center">注册说明<br>
            <textarea name="zhuce" cols="80" rows="6" id="zhuce"><%=rs("zhuce")%></textarea>
        </div></td>
    </tr>
      <tr>
        <td height="21" colspan="3" bgcolor="#FFFFFF"><label>
          <div align="center">
            <input type="submit" name="Submit" value="提交" />
            &nbsp;&nbsp;&nbsp; 
            <input type="reset" name="Submit2" value="重置" />
          </div>
      </label></td>
    </tr>
      </table>
  </div>
</form>
<div align="center">
  <%Else
  '商易仿淘宝4.0.1演示地址
'http://www.ftaobao.com
  sql="select * from system"
  set rs=server.createobject("ADODB.recordset")
  rs.open sql,conn,1,3
  if rs.eof then
     response.write"出错了，不存在系统配置数据库"
     response.end
  end if
  rs("a1")=shopnet("a1")
  rs("a2")=shopnet("a2")
  rs("a3")=shopnet("a3")
  rs("css")=shopnet("tianshu")
  rs("ass")=shopnet("ass")
  rs("bss")=shopnet("bss")
  rs("aks")=shopnet("aks")
  rs("bks")=shopnet("bks")
  rs("rikee")=shopnet("rikee")
  rs("kd")=shopnet("kd")
  rs("zhuce")=shopnet("zhuce")
  rs.update
 response.write "<script language=javascript>alert('参数修改成功!');this.location.href='system.asp';</script>"
End If
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</div>
</body>
</html>
