<% data_path="../" 'ACC连接数据库路径，对SQL无效 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/safe.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=webname%>会员注册</title>
<link rel="stylesheet" href="<%=HOPE_InstallDir%>blue/blue.CSS" type="text/css" />
<link rel="stylesheet" href="<%=HOPE_InstallDir%>images/General.css" type="text/css" />
  <SCRIPT language=javascript>  
<!-- Hide  
 function killErrors() {  
 return true;  
 }  
 window.onerror = killErrors;  
// -->  
function reggo()
{
 var isno=false;
  for(var i=0;i<document.form.dengji.length;i++)
  {
   if(document.form.dengji[i].checked==true)
   {
   isno=true;
   }
   }
   if(isno==false)
   {
   alert("对不起！请先选择您所要注册的会员类型！");
   return false;
   }
 }
</SCRIPT>
  <%
  if issession=0 then
  username=Replace_Text(request.Cookies("Yxmember"))
  gsid=Replace_Text(request.Cookies("Yxmemberid"))
  else
  username=session("user")
  gsid=session("id")
  end if
  	if username<>"" or gsid<>"" then
	response.Redirect(HOPE_InstallDir&"member/index.asp")
	end if
  %>
  </head>
  <body>
  <div class="juzhong">
  <!--#include file="../inc/headzhuce.asp"-->
<FORM name="form"   action="<%=HOPE_InstallDir%>login/regread.asp" method="post" onSubmit="return reggo();">
 <table width="783" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><td><TABLE width="783"   border=0 align="center" cellPadding=0 cellSpacing=0 >
<tr><td><img src="../images/ued01.gif" width="783" height="128" />
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td>&nbsp;</td>
    </tr>
  </table></td></tr><td height="35" align="center" bgcolor="#EFEFEF" style="word-break:break-all" ><font color="#000000"><b>请选择注册的会员类型</b></font>：</td>
</tr><tr><td height="1" bgcolor="#CCCCCC"></td></tr><br />
<tr><td height="80" align="center" style=" text-align:center"><input type="radio" style="display:none"  name="dengji" />
    <%
iscanreg=true
set rsdj=server.CreateObject("adodb.recordset")
sqldj="select * from Websen_vipgrade  where allowreg=1 order by roleid desc  " 
rsdj.open sqldj,conn,1,1
if rsdj.eof then 
iscanreg=false
response.Write("&nbsp;&nbsp;温馨提示：<font color=red>对不起！当前没有任何等级提供注册！</font>(如果需要帮助请与网站管理员联系！谢谢您的支持！)")
 end if
 if not rsdj.eof  then 
  denjisort=1
 
 do while not rsdj.eof
 %>
    <input type="radio" name="dengji"   value="<%=rsdj("id")%>" maxlength="20"  />
    <%=rsdj("gradename")%>&nbsp;&nbsp;
    <%
 denjisort=denjisort+1
 if denjisort mod 7=0 then 
 response.Write("<br><br> ")
 end if
 rsdj.movenext 
 loop
 rsdj.close
 end if

%>

</td> 
</tr>
<tr><td bgcolor="#F6F6F6" height="2"></td></tr>
</TABLE>
  <br>
<br>
  <br>
 <TABLE cellSpacing=0 cellPadding=0 width=783 align=center border=0>
 <TR>
<TD align=center style=" text-align:center">
<%
if iscanreg=true then
%>
<INPUT type="submit"   value=" 下一步 " name="Next"   style=" background-image:url(../images/wansen_hztp.gif); width: 71px; height: 20px"><br /><br />
<%
else
%>
<a href="<%=HOPE_InstallDir%>" target="_self">返回首页</a>&nbsp;&nbsp;&nbsp;<a href="#" onclick="javascript:window.close();">关闭窗口</a><br /><br /><br />
<%
end if
%>
</TD>
</TR>
 </TABLE>
</td></tr>
</table>
 </FORM> 
  </div>
  <div class="nav_778">
   <!--#include file="../inc/end.asp"-->
   </div>
 </body>
 </html>
 <%
 conn.close
 %>