<%@ LANGUAGE = "VBScript.Encode" codepage="65001" %>
<!--
'##################################################################                                                                 
'★         web08.net - 威博购物系统                                              
'★  版权所有: web08.net                                                                                                       
'★  程序制作: 威博网络技术公司                                     
'★           email:web08net@hotmail.com                           
'★            Q Q :645095280,475980829
'★	       电话:021-55520018                                                                                                         
'★  相关网址: [产品介绍] http://www.021web.com.cn/gwxt.html
'★            [支持论坛] http://bbs.web08.net/                                                                                     
'★  主页地址: http://www.web08.net/  
'★		http://www.021web.com.cn/			                                                                 
'###################################################################
-->
<html>
<head>
<title>会员系统-威博单用户商城后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../css/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
</head>
<!--#include file=../include2.asp-->
<script>
function IsDigit()
{
  return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
</script>
<script language="JavaScript" type="text/JavaScript">
function uppic(model,frmname) 
{
  window.open("../upload/upload.asp?uppath=userclass&ProdId="+model+"&frmname="+frmname,"upload", "width=550, height=280, resizable=no,menubar=1,scrollbars=1")
}
</script>
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 class="background" onLoad="LoadFinish()">
<!-- #include file="../loading2.asp" -->
<center>
<!--#include file="web_member_include.asp"-->
<div class="div-top">
<span class="right-span"><a href="javascript:history.go(-1);"><font color="#990000">返回会员等级管理</font></a>&nbsp;&nbsp;</span>
<span class="left-span">&nbsp;&nbsp;<strong>管理中心</strong>  - <%#@~^GQAAAA==r6P.;!+/D`r;k9Jb'rJ~O4+xHwgAAA==^#~@%>添加会员等级<%#@~^BAAAAA==n^/nqQEAAA==^#~@%>编辑会员等级<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%> </span>
</div>
<div class="tab-div">
<%#@~^GQAAAA==r6P.;!+/D`r;k9Jb'rJ~O4+xHwgAAA==^#~@%>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
<form action="wusersave.asp?action=adduclass" method="post" name="myform">
<tr>
  <td height="10" align="right" valign="middle" bgcolor="#FFFFFF">&nbsp;</td>
  <td height="10" bgcolor="#FFFFFF">&nbsp;</td>
</tr>
<tr>
<td width="20%" height="25" align="right" valign="middle" bgcolor="#FFFFFF">会员等级名称：</td>
<td width="79%" height="30" bgcolor="#FFFFFF"> <input name="classname" type="text" id="classname"> </td>
</tr>
<tr>
<td height="25" align="right" valign="middle" bgcolor="#FFFFFF">会员等级图片：</td>
<td height="30" bgcolor="#FFFFFF"><input name="classpic" type="text" id="classpic" size="40" maxlength="100">
<label>
<input name="bt" type="button" id="bt" value="上传等级图片" onClick="javascript:uppic('one','classpic');" maxlength="100">
</label></td>
</tr>
<tr>
<td height="25" align="right" valign="middle" bgcolor="#FFFFFF">等级积分点：</td>
<td height="30" bgcolor="#FFFFFF"><label>
<input name="classpoint" type="text" id="classpoint" size="5" ONKEYPRESS="event.returnValue=IsDigit();" maxlength="7">
<span class="STYLE1">会员达到此等级所需要累计的购物积分；</span> </label></td>
</tr>
<tr>
<td height="25" align="right" valign="middle" bgcolor="#FFFFFF"><p>等级折扣：:</p>                          </td>
<td height="30" bgcolor="#FFFFFF"><input name="classdiscount" type="text" id="classdiscount" value="100" size="5" maxlength="3" alt="请填写100 到1 的数字"> 
%&nbsp;&nbsp;&nbsp; <span class="STYLE1">如果不享受折扣请填写100</span></td>
</tr>
<tr>
<td height="25" align="right" valign="middle" bgcolor="#FFFFFF"><p>等级权重：:</p>                          </td>
<td height="30" bgcolor="#FFFFFF"><input name="qz" type="text"  value="" size="5" ONKEYPRESS="event.returnValue=IsDigit();" maxlength="4"></td>
</tr>
<tr>
<td height="25" align="right" valign="middle" bgcolor="#FFFFFF">是否默认等级：</td>
<td height="30" bgcolor="#FFFFFF"><label>
<input name="ck" type="checkbox" id="ck" value="1">
<span class="STYLE1">商店需要设置唯一一个默认级别，这个默认级别就是顾客新注册成为会员之后所得到的会员级别；</span></label></td>
</tr>

<tr>
<td height="25" align="right" valign="middle" bgcolor="#FFFFFF">&nbsp;</td>
<td height="50" bgcolor="#FFFFFF">
<input name="id" type="hidden" value="<%=#@~^BgAAAA==OHwnbNjwIAAA==^#~@%>">
<input name="Submit" type="submit" class="ModeBarBtnOn" value=" 确 定 " onClick="return check()">
<input name="Submit2" type="reset" class="ModeBarBtnOn" value=" 取 消 "></td>
</tr>
</form>
</table>
<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>
<%#@~^HAAAAA==r6P.;!+/D`r;k9Jb@!@*JE~Dt+	XAgAAA==^#~@%>
<%#@~^kQAAAA==~1WU	N(@#@&k+D~Dk'd+M\n.cZDCYW4Nn^YvJmNGN8 M+^WM[/YEb@#@&/5s{Jd+^n1Y~CP6DWsPqn4|jd+MZsCk/PS4+M+Pb[xJLD;;+dOvJ;k9E#LJE@#@&D/ Ga+UPk5^~^Kx	~FB&wC4AAA==^#~@%>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#F1F1F1">
<form action="wusersave.asp?action=edituserclass" method="post" name="myform">
<tr>
  <td height="10" align="right" valign="middle" bgcolor="#FFFFFF">&nbsp;</td>
  <td height="10" bgcolor="#FFFFFF">&nbsp;</td>
</tr>
<tr>
<td width="20%" height="25" align="right" valign="middle" bgcolor="#FFFFFF">会员等级名称：</td>
<td width="80%" height="30" bgcolor="#FFFFFF"><input name="classname" type="text" id="classname" value="<%=#@~^EwAAAA==OMkhvDk`J`Z|Hls+E#*/wUAAA==^#~@%>"></td>
</tr>
<tr>
<td height="25" align="right" valign="middle" bgcolor="#FFFFFF">会员等级图片：</td>
<td height="30" bgcolor="#FFFFFF"><input name="classpic" type="text" id="classpic" value="<%=#@~^FQAAAA==OMkhvDk`J`Z|Kk1j]Sr#bjQYAAA==^#~@%>" size="40" maxlength="100">
<input name="bt2" type="button" id="bt2" value="上传等级图片" onClick="javascript:uppic('one','classpic');"></td>
</tr>


<tr>
<td height="25" align="right" valign="middle" bgcolor="#FFFFFF">等级积分点：</td>
<td bgcolor="#FFFFFF"> 
<input type="hidden" name="page" value="<%=#@~^DwAAAA==];;/D`JalTnJ*GwUAAA==^#~@%>">
<input name="classpoint" type="text" id="classpoint" size="5" value="<%=#@~^FAAAAA==OMkhvDk`J`Z|jmKDnJ*#egYAAA==^#~@%>" ONKEYPRESS="event.returnValue=IsDigit();" maxlength="7">
<span class="STYLE1">会员达到此等级所需要累计的购物积分；</span></td>
</tr>
<tr>
<td height="25" align="right" valign="middle" bgcolor="#FFFFFF">等级折扣：</td>
<td bgcolor="#FFFFFF"><input name="classdiscount" type="text" id="classdiscount" size="5" maxlength="3" value="<%=#@~^FwAAAA==OMkhvDk`J`Z|[kkmGE	YEb*5wcAAA==^#~@%>">
%&nbsp;&nbsp;&nbsp;<span class="STYLE1">如果不享受折扣请填写100</span></td>
</tr>
<tr>
<td height="25" align="right" valign="middle" bgcolor="#FFFFFF"><p>等级权重：:</p>                          </td>
<td height="30" bgcolor="#FFFFFF"><input name="qz" type="text"  size="5" value="<%=#@~^EQAAAA==OMkhvDk`J`Z|5yr#baQUAAA==^#~@%>" ONKEYPRESS="event.returnValue=IsDigit();" maxlength="4"></td>
</tr>
<tr>
<td height="25" align="right" valign="middle" bgcolor="#FFFFFF">是否默认等级：</td>
<td bgcolor="#FFFFFF"><input name="ck" type="checkbox" id="ck" value="1" <%#@~^GgAAAA==r6P.k`rjZ|NWl!VOJ*'q~Dt+	gggAAA==^#~@%>checked onClick="isdefault();"<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>
  <span class="STYLE1">商店需要设置唯一一个默认级别，这个默认级别就是顾客新注册成为会员之后所得到的会员级别；</span></td>
</tr>
<tr>
<td height="25" align="right" valign="middle" bgcolor="#FFFFFF">&nbsp;</td>
<td height="50" bgcolor="#FFFFFF">
<input name="uid" type="hidden" value="<%=#@~^DgAAAA==.;;/D`J!k9E#4AQAAA==^#~@%>">
<input name="Submit" type="submit" class="ModeBarBtnOn" value=" 确 定 " onClick="return check()">
<input name="Submit2" type="reset" class="ModeBarBtnOn" value=" 取 消 ">
<label></label></td>
</tr>
</form>
</table>
<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%></div>
</center>
<!-- #include file="../bottom2.asp" -->
<script language="javascript">
function isdefault()
{
	alert('会员等级中必须要有一个默认等级,若取消此默认\n等级, 请设置其它级别为默认等级');
}
function check()
{
	if(document.myform.classname.value=="")
	{
		alert('请填写会员等级名称');
		document.myform.classname.focus();
		return false;
	}
	if(document.myform.classpic.value=="")
	{
		alert('请上传等级会员图片');
		document.myform.classpic.focus();
		return false;
	}
	if(document.myform.classpoint.value=="")
	{
		alert('等级积分不可以为空');
		document.myform.classpoint.focus();
		return false;
	}
	if(document.myform.classdiscount.value=="")
	{
		alert('等级折扣不可以为空');
		document.myform.classdiscount.focus();
		return false;
	}
	if(document.myform.qz.value=="")
	{
		alert('请填写等级权重');
		document.myform.qz.focus();
		return false;
	}
}
</script>
</body>
</html>
 

 
 

