<!--#include file="conn.asp"-->
<!--#include file="adminset.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='login.asp';</script>"
response.End
end if
if session("flag")>2 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
response.End
end if
if qx5<>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
response.End
end if

Set rs = Server.CreateObject("ADODB.Recordset")
rs.open "select * From shop_vipcount",conn,1,1
%>
<html>
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
<head>
<title>网软志成在线购物系统</title>
<script>
function IsDigit()
{
  return ((event.keyCode >= 46) && (event.keyCode <= 57));
}
</script>
<meta http-equiv="目录类型" content="文本/html; 字符集=gb2312">
<link href="../css.css" rel="stylesheet" type="text/css">
</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
<center>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="1%" height="28">&nbsp;</td>
      <td width="99%"><table width="100%" border="0" cellspacing="0" cellpadding="5">
          <tr>
            <td width="77%" height="27" style="font-size:14px;color:#ffffff">&nbsp;<strong><font color="#000000">网软志成购物后台管理系统 &gt;&gt; 会员管理 &gt;&gt; VIP条件</font></strong></td>
            <td width="23%" style="font-size:14px;color:#ffffff"><span class="STYLE1">* 为必添项目</span></td>
          </tr>
          <tr>
            <td height="27" style="font-size:12px;color:#ffffff"><font color="red"><span style="font-size:14px;color:#ffffff">&nbsp;</span>说明：本操作是规定普通用户购买数量为多少时可享受与VIP会员同样的优惠价格！</font></td>
            <td style="font-size:14px;color:#ffffff">&nbsp;</td>
          </tr>
      </table></td>
    </tr>
  </table>
  <br>
  <table border="0" width="95%" cellpadding="3" cellspacing="1" style="border-collapse: collapse" bgcolor="#999999">
    <tr bgcolor="#cccccc" height=25> 
        
      <td height="30" colspan="11" align="center">VIP申请</td>
    </tr>
     
    <form method="post"  name="form1" action="user_vip_count_save.asp" onSubmit="return ck2()">
	<script language="javascript">
	function ck2()
	{
	if(form1.vipcount.value=="")
	{
	alert("请输入设置数量")
	form1.vipcount.focus()
	return false
	} 
	if(form1.vipjine.value=="")
	{
	alert("请输入设置金额")
	form1.vipjine.focus()
	return false
	} 
	if(form1.VIPID.value=="")
	{
	alert("请输入会员申请VIP会员所需要积分")
	form1.VIPID.focus()
	return false
	} 
	}
	</script>
      <tr height=25 bgcolor="#F3F3F3"> 
        <td height="14"  align=center>设置数量</td>
        <td height="-2" colspan=4 align=center> 
          <div align="left">当购买达到
            <input class="wenbenkuang" type="text" name="vipcount" size="22" value="<%=rs("vipcount")%>" onKeyPress="event.returnValue=IsDigit();">
        件时按VIP价计算 </div></td>
        
      </tr>
      <tr height=25 bgcolor="#F3F3F3">
        <td height="15"  align=center>设置金额</td>
        <td height="-1" colspan=4 align=center><div align="left">当购买达到          
            <input class="wenbenkuang" type="text" name="vipjine" size="22" value="<%=rs("vipjine")%>" onKeyPress="event.returnValue=IsDigit();">
        金额时按VIP价计算</div></td>
      </tr>
      <tr height=25 bgcolor="#F3F3F3">
        <td height="30"  align=center>会员申请VIP会员所需要积分</td>
        <td height="-1" colspan=4 align=center><div align="left">
          <input name="VIPID" class="wenbenkuang" type="text" size="10" value="<%=trim(rs("VIPID"))%>" onKeyPress="event.returnValue=IsDigit();" >
        当会员申请后会自动减掉这里所设置的积分</div></td>
      </tr>
      <tr height=25 bgcolor="#F3F3F3">
        <td height="30" colspan="5"  align=center><input type="submit" name="Submit2" value="修改" class="go-wenbenkuang"></td>
      </tr>

    </form>
  </table>
  <p>&nbsp;</p>
  <!--#include file="copyright.asp"-->
</center>
</body>
</html>