<% 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" />
<head>

  <SCRIPT language=javascript>  
<!-- Hide  
 function killErrors() {  
 return true;  
 }  
 window.onerror = killErrors;  
// -->  
function selectgo(value)
{
  if(value=="1") 
   {
   document.form.nextgo.disabled=false;
   }
  else if(value=="2")
   {
   document.form.nextgo.disabled=true;
   }
  else{
   document.form.nextgo.disabled=true;
    }
 }
 
</SCRIPT>
</head>
 <%
  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
   dengji=Replace_Text(request("dengji"))
   if dengji="" or (not isnumeric(dengji)) then
   response.Write("<table border=0 cellpadding=0 cellspacing=0 width=778 align=center><tr><td align=center height=150><font color=red>对不起！非法链接！</font></td></tr><tr><td align=center> <a href='"&HOPE_InstallDir&"' target='_self'>返回首页</a>&nbsp;&nbsp;&nbsp; <a href='"&HOPE_InstallDir&"login/register.asp' target='_self'>我要注册</a>&nbsp;&nbsp;&nbsp;<a href='#' onclick='javascript:window.close();'>关闭窗口</a><br /><br /><br /></td></tr><tr><td bgcolor=#EFEFEF>"&HOPE_WebButtomGo&"</td></tr></table> ")
   %>
  <!--#include file="../inc/endo.asp"-->
   <%
   response.End()
  else
  set rsd=server.CreateObject("adodb.recordset")
  sqld="select * from Websen_vipgrade where id="&dengji
  rsd.open sqld,conn,1,1
  if not rsd.eof then 
  gradename=rsd("gradename")
  roleid=rsd("roleid")
  regcontent=rsd("regcontent")
  rsd.close
  end if
  end if
 
 %>
<FORM name="form"   action="<%=HOPE_InstallDir%>login/regwrite.asp" method="post" onSubmit="return reggo();">
<body>
<div class="juzhong">
  <!--#include file="../inc/headzhuce.asp"-->
  <table border="0" cellpadding="0" cellspacing="0" width="783" align="center">
<tr><td><img src="../images/ued01.gif" width="783" height="128" />
  <TABLE width="783"   border=0 align="center" cellPadding=3 cellSpacing=0 >
<tr><td height="35" colspan="3" align="center" bgcolor="#EFEFEF" style="word-break:break-all" ><font color="#000000"><b>请阅读【<font color="#FF0000"><%=gradename%></font>】的注册协议内容：</b></font> </td></tr><tr><td colspan="3" height="1" bgcolor="#CCCCCC"></td></tr><br />
<tr><td width="3" bgcolor="#F9F9F9"></td> <td     style="word-break:break-all"   align="center">

<table border="1"     bordercolor="#E8E8E8" cellpadding="0" cellspacing="1" align="center"   >
<tr><td  >
<table  border="0" cellpadding="0" cellspacing="0" align="center"  >
<tr><td align="center"   style="word-break:break-all">
 <%=regcontent%>
</td>
</tr></table>
</td></tr>
</table>
 
</td><td width="3" bgcolor="#F6F6F6"></td></tr>

<tr><td colspan="3" bgcolor="#F6F6F6" height="2"></td></tr>
</TABLE>
  <TABLE cellSpacing=0 cellPadding=0 width=783 align=center border=0>
 <TR>
<TD align=center height="50" bgcolor="#F9F9F9" style=" text-align:center">
<input type="hidden" name="djid" value="<%=dengji%>" />
<input type="radio" name="regok" value="1"   onclick="selectgo(this.value)" /><b>我同意此协议</b> &nbsp;&nbsp;<input type="radio" name="regok"  checked="checked"  onclick="selectgo(this.value)"   value="2"/><b>我不同意此协议</b>
 </TD></TR>
 <tr><td height="50"  align="center" style=" text-align:center"><input type="button" name="prego" value=" 上一步 " onClick="javascript:history.back(-1);"  style=" background-image:url(../images/wansen_hztp.gif); width: 71px; height: 20px"/>&nbsp;&nbsp;&nbsp;<input type="submit" name="nextgo"  value=" 下一步 "  disabled   style=" background-image:url(../images/wansen_hztp.gif); width: 71px; height: 20px"/></td></tr>
 <tr><td height="5" bgcolor="#EFEFEF" ></td></tr>
 </TABLE>
</td></tr>
</table>
 </FORM>
</div>
  <div class="nav_778">
   <!--#include file="../inc/end.asp"-->
   </div>
</body></html>
<%
conn.close
%>
 