⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.asp

📁 为一网站销售代码
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>梦幻伴侣注册系统V1.0</title>
<link href="css.css" rel="stylesheet" type="text/css">
</head>

<body leftmargin="0" topmargin="3" bgcolor="#FFFFFF">
<table width="778" height="437" border="0" align="center" cellpadding="0" cellspacing="0" class="border">
  <tr> 
    <td width="601" valign="top" height="106"><img src="images/gameid.jpg" width="349" height="103"> 
    </td>
  </tr>
  <tr> 
    <td width="601" height="120" align="left" valign="top"> 
      <script language="JavaScript" >
function check_null(gamelist,area,server1,cardtype,card1,card2,card3,card4,pw1,pw2,pw3,pw4,gameid,name,contacttel,oicq,email)
{var result,sMessage,str,str1; 
f=document.forms[1]; 
str1=gamelist.split("|")[0]+"|"+gamelist.split("|")[1]                               
str=gamelist.split("|")[2] 
if (str=="斑斑"){                                          
	sMessage=""                                                
	sMessage="游戏类型:"+str1+"\n"+"区号:"+area+"\n"+"服务器:"+server1+"\n"+"卡号:"+card1+"\n"+"密码:"+pw1+"\n"+"游戏ID:"+gameid+"\n"+"自设密码:"+name+"\n"+"联系电话: "+contacttel+"\n"+"Oicq: "+oicq+"\n"+"Email: "+email                                                 
    result=confirm(sMessage);}
else{
if (str=="传奇"){  try{                                             
		       if (f.cardtype[0].checked==true){                                               
		         sMessage=""                                         
		         sMessage="游戏类型:"+str1+"\n"+"游戏卡类型:"+"月卡"+"\n"+"区号:"+area+"\n"+"卡号:"+card1+"\n"+"密码:"+pw1+"\n"+"游戏ID:"+gameid+"\n"+"自设密码:"+name+"\n"+"联系电话: "+contacttel+"\n"+"Oicq: "+oicq+"\n"+"Email: "+email                                                 
		         result=confirm(sMessage);}
		       else{
                     sMessage=""                                         
		             sMessage="游戏类型:"+str1+"\n"+"游戏卡类型:"+"年卡"+"\n"+"区号:"+area+"\n"+"卡号1:"+card1+"\n"+"密码1:"+pw1+"\n"+"卡号2:"+card2+"\n"+"密码2:"+pw2+"\n"+"卡号3:"+card3+"\n"+"密码3:"+pw3+"\n"+"卡号4:"+card4+"\n"+"密码4:"+pw4+"\n"+"游戏ID:"+gameid+"\n"+"自设密码:"+name+"\n"+"联系电话: "+contacttel+"\n"+"Oicq: "+oicq+"\n"+"Email: "+email                                                 
		             result=confirm(sMessage);
                   }}
                   catch(e){
                        sMessage=""                                         
     sMessage="游戏类型:"+str1+"\n"+"卡号:"+card1+"\n"+"密码:"+pw1+"\n"+"区号:"+area+"\n"+"游戏ID:"+gameid+"\n"+"自设密码:"+name+"\n"+"联系电话: "+contacttel+"\n"+"Oicq: "+oicq+"\n"+"Email: "+email                                                 
     result=confirm(sMessage);}
}
else{
try{
if (f.cardtype[1].checked==true){                                               
		         sMessage=""                                         
		         sMessage="游戏类型:"+str1+"\n"+"游戏卡类型:"+"月卡"+"\n"+"卡号:"+card1+"\n"+"密码:"+pw1+"\n"+"游戏ID:"+gameid+"\n"+"自设密码:"+name+"\n"+"联系电话: "+contacttel+"\n"+"Oicq: "+oicq+"\n"+"Email: "+email                                                 
		         result=confirm(sMessage);}
		       else{
		         if (f.cardtype[2].checked==true){                                               
		         sMessage=""                                         
		         sMessage="游戏类型:"+str1+"\n"+"游戏卡类型:"+"季卡"+"\n"+"卡号1:"+card1+"\n"+"密码1:"+pw1+"\n"+"卡号2:"+card2+"\n"+"密码2:"+pw2+"\n"+"游戏ID:"+gameid+"\n"+"自设密码:"+name+"\n"+"联系电话: "+contacttel+"\n"+"Oicq: "+oicq+"\n"+"Email: "+email                                                 
		         result=confirm(sMessage);}
		         else{
		           if (f.cardtype[3].checked==true){                                               
		           sMessage=""                                         
		           sMessage="游戏类型:"+str1+"\n"+"游戏卡类型:"+"半年卡"+"\n"+"卡号1:"+card1+"\n"+"密码1:"+pw1+"\n"+"卡号2:"+card2+"\n"+"密码2:"+pw2+"\n"+"卡号3:"+card3+"\n"+"密码3:"+pw3+"\n"+"游戏ID:"+gameid+"\n"+"自设密码:"+name+"\n"+"联系电话: "+contacttel+"\n"+"Oicq: "+oicq+"\n"+"Email: "+email                                                 
		           result=confirm(sMessage);}
                   else{
                     sMessage=""                                         
		             sMessage="游戏类型:"+str1+"\n"+"游戏卡类型:"+"年卡"+"\n"+"卡号1:"+card1+"\n"+"密码1:"+pw1+"\n"+"卡号2:"+card2+"\n"+"密码2:"+pw2+"\n"+"卡号3:"+card3+"\n"+"密码3:"+pw3+"\n"+"卡号4:"+card4+"\n"+"密码4:"+pw4+"\n"+"游戏ID:"+gameid+"\n"+"自设密码:"+name+"\n"+"联系电话: "+contacttel+"\n"+"Oicq: "+oicq+"\n"+"Email: "+email                                                 
		             result=confirm(sMessage);
                   }
		         }
		       }
		 }
catch(e)
{
     sMessage=""                                         
     sMessage="游戏类型:"+str1+"\n"+"卡号:"+card1+"\n"+"密码:"+pw1+"\n"+"游戏ID:"+gameid+"\n"+"自设密码:"+name+"\n"+"联系电话: "+contacttel+"\n"+"Oicq: "+oicq+"\n"+"Email: "+email                                                 
     result=confirm(sMessage);}
}
} 
return result
}
    </script>
      <%dim rs,sql,str,i,cardtype
if request("gamelist")="" then
str=array(0,0,0,0,0)
else
str=split(request("gamelist"),"|")
end if
session("id")=str(0)
sql="select * from type"
set rs=conn.execute(sql)
%>
      <table width="580" border="1" cellspacing="0" cellpadding="0" height="109" style="border-collapse: collapse" bordercolor="#0000FF">
        <tr> 
          <td height="15" width="154" align="right"> </td>
          <td height="15" width="406"> </td>
        </tr>
        <tr> 
          <form name="thisform" method="post" action="index.asp">
            <td height="20" width="154" align="right"> 选择梦幻伴侣注册类型:</td>
            <td height="20" width="406"> 
              <select class=an1 name="gamelist" onChange="thisform.submit()">
                <option>请选择</option>
                <%do while not rs.eof 
                if session("id")=Cstr(rs("ID")) then%>
                <option value=<%=rs("ID")&"|"&rs(1)&"|"&rs(2)&"|"&rs(3)&"|"&rs(4)%> selected><%=rs(2) & "卡-" & rs(1)%></option>
                <%else%>
                <option value=<%=rs("ID")&"|"&rs(1)&"|"&rs(2)&"|"&rs(3)&"|"&rs(4)%>><%=rs(2) & "卡-" & rs(1)%></option>
                <%end if 
                rs.movenext     
		  loop 
		  rs.close()
	'set rs=nothing
	'CloseDatabase
		  %>
              </select>
            </td>
          </form>
        </tr>
        <form name="regform" method="post" action="reg1.asp">
          <%   
            if str(3)="传奇" then%>
          <tr> 
            <td height="20" width="154" align="right"> 所在区: 
              <input type="hidden" name="server1">
            </td>
            <td height="20" width="406"> 
              <input name="gamelist" type="hidden"  value="<%=str(1)&"|"&str(2)&"|"&str(3)&"|"&str(4)%>" size="10" maxlength="20">
              <select class=an1 name="area">
                <%i=1  
                do while i<200  
                if i=48 then%>
                <option value="0"><%="-超级玩家区-"%></option>
                <option value="<%=i%>">第<%=i%>区</option>
                <%else%>
                <option value="<%=i%>" >第<%=i%>区</option>
                <%end if  
                i=i+1   
                loop  
		  %>
              </select>
            </td>
          </tr>
          <%elseif str(3)="斑斑" then%>
          <tr> 
            <td height="20" width="154" align="right"> 所在区: </td>
            <td height="20" width="406"> 
              <input name="gamelist" type="hidden"  value="<%=str(1)&"|"&str(2)&"|"&str(3)&"|"&str(4)%>" size="10" maxlength="20">
              <select class=an1 name="area">
                <%i=1     
                do while i<200     
                if i=48 then%>
                <option value="0"><%="-超级玩家区-"%></option>
                <option value="<%=i%>">第<%=i%>区</option>
                <%else%>
                <option value="<%=i%>" >第<%=i%>区</option>
                <%end if     
                i=i+1      
                loop     
		  %>
              </select>
              &nbsp;</td>
          </tr>
          <%else%>
          <input name="area" type="hidden">
          <input name="server1" type="hidden">
          <input name="cardtype" type="hidden">
          <input name="gamelist" type="hidden"  value="<%=str(1)&"|"&str(2)&"|"&str(3)&"|"&str(4)%>" size="10" maxlength="20">
          <%end if%>
          <%if str(3)="斑斑" then%>
          <tr> 
            <td height="15" width="154" align="right"> 服务器: </td>
            <td height="15" width="406"> 
              <input type="text" name="server1" size="10" maxlength="20">
              <input name="cardtype" type="hidden">
            </td>
          </tr>
          <%end if%>
          <%if str(4)="月年" then%>
          <tr> 
            <td height="15" width="154" align="right"> 游戏卡类型: </td>
            <td height="15" width="406"> 
              <div align="left"> 
                <table border="0" cellpadding="0" cellspacing="0" width="53%">
                  <tr> 
                    <td width="25%" align="center"> 
                      <p align="left">
                        <input type="radio" value="V1" checked name="cardtype" onclick='javascript:ShowHtml("V1")'>
                        月卡</p>
                    </td>
                    <td width="25%"><input type="hidden" type="server1"> 
                      <p align="right">
                        <input type="radio" name="cardtype" value="V4" onclick='javascript:ShowHtml("V4")'>
                        年卡</p>
                    </td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -