<%@ LANGUAGE=VBScript codepage ="936" %>
<!--#include file="check.asp"-->
<%Response.Expires=0
Response.Buffer=true
sjjh_name=Session("sjjh_name")
if sjjh_name<>Application("sjjh_user") then 
	Response.Write "<script Language=Javascript>alert('提示：你不是正站长，你不能操作！');location.href = 'javascript:history.go(-1)';</script>"
	response.end
end if
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
conn.open Application("sjjh_usermdb")
rs.open "SELECT * from sjjh_system where id=402",conn,1,1
%>
<html><head><title>世纪江湖添加会员</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><link href="jh.css" rel="stylesheet" type="text/css"></head>
<body background="IMAGES/strip.jpg" topmargin="30">
<SCRIPT language=JavaScript>
function check(){
var hyname=document.form.hyname.value;
if(hyname=="" ){alert("提示：会员的名字不可以为空.！");return false;}
}
</SCRIPT>
<form method=POST action="jhgl.asp?act=addhy" name="form" onSubmit="return check(this);">
  <div align="center"> 会员时间: 
    <select name="hysj" id="hysj">
      <option value="1" selected>01</option>
      <option value="2">02</option>
      <option value="3">03</option>
      <option value="4">04</option>
      <option value="5">05</option>
      <option value="6">06</option>
      <option value="7">07</option>
      <option value="8">08</option>
      <option value="9">09</option>
      <option value="10">10</option>
      <option value="11">11</option>
      <option value="12">12</option>
    </select>
    月 会员等级: 
    <select name="hydj" id="hydj">
<%hypd=split(Application("sjjh_hypd"),",")
for x=1 to UBound(hypd)
%>
      <option value="<%=x%>"><%=x%>级会员</option>
<%next%>
    </select>
    姓名: 
    <input name="hyname" type="text" id="hyname" size="10" maxlength="10">
    <br>
    <br>
    <input type=submit value=添加会员 name="submit" style="border: 1px solid; font-size: 9pt; border-color:#000000 solid">
  </div>
</form>
<%rs.close
set rs=nothing
conn.close
set conn=nothing%>
<table width="65%" border="0" align="center">
  <tr>
    <td>说明:请选择会员时间及会员等级添加上名字就可以完成会员的设置工作.<br>
      <br>
      如果此用户是会员,且会员等级不变,将会在原来会员时间基础上增加时间.<br>
      <br>
      如果会员等级改变了,会扣掉原来的点数,再增加上新的点数.会员时间以当前日期算起.<br>
      <br>
      如果这里设置不能满足你的需求你可以进行手动设置状态.</td>
  </tr>
</table>
</body>
</html>
