📄 beginbs.asp
字号:
<%@ language="vbscript"%>
<%response.Expires = 0%>
<!--#include file="conn.asp"-->
<!--#include file="cookies.asp"-->
<%set myscore=conn.execute("select myscore from [GameAdmin] where username='"&session("RainGameBS")&"'")%>
<html>
<head>
<title>雨点赌大小游戏</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="description" content="免费赌大小游戏程序,游戏简单,代码简洁易改!">
<link href="css.css" rel="stylesheet" type="text/css">
</head>
<script language="JavaScript">
function IsDigit(cCheck)
{
return (('0'<=cCheck) && (cCheck<='9'));
}
function check()
{
var i,myObj;
myObj=document.form1.mytype;
for(i=0;i<myObj.length;i++){
if(myObj[i].checked)break;
};
if(i>=myObj.length){
alert("请选择类型");
return false;
}
if(document.form1.mymoney.value=="")
{ alert ("请输入下注额!");
document.form1.mymoney.focus();
return false;
}
for (nIndex=0; nIndex<document.form1.mymoney.value.length; nIndex++)
{
cCheck = document.form1.mymoney.value.charAt(nIndex);
if (!IsDigit(cCheck))
{
alert("填写数字!");
document.form1.mymoney.focus();
return false;
}
}
if(document.form1.mymoney.value<1||document.form1.mymoney.value>50)
{ alert ("下注额不能低于1个知道币或高于50!");
document.form1.mymoney.focus();
return false;
}
}
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--#include file="top.asp"-->
<!--#include file="intro.asp"-->
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="10"> </td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" class="table1">
<form name="form1" method="post" action="BeginBS1.asp" onSubmit="return check()">
<tr>
<td width="95%" height="30" bgcolor="#F2FBF2" class="14black"> <strong><font color="#333333">游戏第一步</font><span class="12black"><font color="#FF0000"> (注:一旦提交下注,即扣除积分)
</font></span></strong></td>
</tr>
<tr>
<td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="27%" height="30" class="12"><div align="right">选择类型:</div></td>
<td width="73%" class="12"><input name="mytype" type="radio" value="1">
小 <input type="radio" name="mytype" value="2">
大</td>
</tr>
<tr>
<td height="30" class="12"><div align="right">下注金额:</div></td>
<td class="12"><input name="mymoney" type="text" class="input" id="mymoney" size="5" maxlength="3">
知道币(最少1个,最多50个) | (当前用户:<font color="#0000FF" face="Verdana, Arial, Helvetica, sans-serif"><%=session("RainGameBS")%></font> 余额:<font color="#FF0000" face="Verdana, Arial, Helvetica, sans-serif"><%=myscore(0)%></font>)</td>
</tr>
<tr>
<td height="40" class="12"> </td>
<td class="12"><input name="Submit32322" type="submit" class="button1" value="确定下注并开始摇筛子" style="height=30px">
<input name="Submit323222" type="reset" class="button1" value="重新下注" style="height=30px">
</td>
</tr>
</table></td>
</tr>
</form>
</table>
<!--#include file="bottom.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -