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

📄 q_main.asp

📁 买来的六合彩在线投注系统可能没有精力管理这些程序了PHP+mysql
💻 ASP
📖 第 1 页 / 共 3 页
字号:
//window.setTimeout("self.location='quickinput2.php'", 180000);
function CheckKey(){
	if(event.keyCode == 13) return true;
	if((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode > 95 || event.keyCode < 106)){alert("下注金额仅能输入数字!!"); return false;}
}
function ChkSubmit(){
    //设定『确定』键为反白 
	document.all.btnSubmit.disabled = true;

	if (eval(document.all.allgold.innerHTML)<=0 || eval(total_gold.value)<=0)
	{
		alert("请输入下注金额!!");
	    document.all.btnSubmit.disabled = false;
		return false;

	}

        if (!confirm("是否确定下注")){
	    document.all.btnSubmit.disabled = false;
        return false;
        }        
		document.lt_form.gold_all.value=eval(document.all.allgold.innerHTML)
        document.lt_form.submit();
}
function CountGold(gold,type,rtype,bb){
  switch(type) {
  	  case "focus":
  	  	goldvalue = gold.value;
  	  	if (goldvalue=='') goldvalue=0;
  	  	document.all.allgold.innerHTML = eval(document.all.allgold.innerHTML+"-"+goldvalue);
  	  	total_gold.value = document.all.allgold.innerHTML;
  	  	break;
  	  case "blur":
	  if (goldvalue!='')
  	  	{goldvalue = gold.value;
		
  	  	if (goldvalue=='') goldvalue=0;
		if (rtype=='SP' && (eval(goldvalue) < 1) && (goldvalue!='')) {gold.focus(); alert("下注金额不可小於最低限度!!"); return false;}
  	  	
		if (rtype=='SP' && ((eval(bb)+eval(goldvalue)) > <%=UserQuota(2,xc)%>)) {gold.focus(); alert("对不起,止号本期下注金额最高限制 : <%=UserQuota(2,xc)%>!!"); return false;}
		
 	  //	if (rtype=='SP' && (eval(document.all.allgold.innerHTML) > <%=UserQuota(2,xc)%>)) {gold.focus(); alert("下注金额不可大於单注限额!!"); return false;}
		
  	  	if (rtype=='SP' && (eval(goldvalue) > <%=UserQuota(3,xc)%>)) {gold.focus(); alert("下注金额已超过单号限额!!"); return false;}
		
		if (rtype=='dan' && (eval(bb)+eval(goldvalue) > <%=UserQuota(2,1)%>)) {gold.focus(); alert("对不起,本期有下注金额最高限制 : <%=UserQuota(2,1)%>!!"); return false;}
		
 	  //	if (rtype=='dan' && (eval(document.all.allgold.innerHTML) > <%=UserQuota(2,1)%>)) {gold.focus(); alert("下注金额不可大於单注限额!!"); return false;}
  	  	if (rtype=='dan' && (eval(goldvalue) > <%=UserQuota(3,1)%>)) {gold.focus(); alert("下注金额已超过单号限额!!"); return false;}
		
		if (rtype=='daxiao' && (eval(bb)+eval(goldvalue) > <%=UserQuota(2,2)%>)) {gold.focus(); alert("对不起,本期有下注金额最高限制 : <%=UserQuota(2,2)%>!!"); return false;}
		
 	  //	if (rtype=='daxiao' && (eval(document.all.allgold.innerHTML) > <%=UserQuota(2,2)%>)) {gold.focus(); alert("下注金额不可大於单注限额!!"); return false;}
  	  	if (rtype=='daxiao' && (eval(goldvalue) > <%=UserQuota(3,2)%>)) {gold.focus(); alert("下注金额已超过单号限额!!"); return false;}
		
		if (rtype=='hedan' && (eval(bb)+eval(goldvalue) > <%=UserQuota(2,3)%>)) {gold.focus(); alert("对不起,本期有下注金额最高限制 : <%=UserQuota(2,3)%>!!"); return false;}
 	  	//if (rtype=='hedan' && (eval(document.all.allgold.innerHTML) > <%=UserQuota(2,3)%>)) {gold.focus(); alert("下注金额不可大於单注限额!!"); return false;}
  	  	if (rtype=='hedan' && (eval(goldvalue) > <%=UserQuota(3,3)%>)) {gold.focus(); alert("下注金额已超过单号限额!!"); return false;}
		
		if (rtype=='zongdan' && (eval(bb)+eval(goldvalue) > <%=UserQuota(2,5)%>)) {gold.focus(); alert("对不起,本期有下注金额最高限制 : <%=UserQuota(2,5)%>!!"); return false;}
 	  	//if (rtype=='zongdan' && (eval(document.all.allgold.innerHTML) > <%=UserQuota(2,5)%>)) {gold.focus(); alert("下注金额不可大於单注限额!!"); return false;}
  	  	if (rtype=='zongdan' && (eval(goldvalue) > <%=UserQuota(3,5)%>)) {gold.focus(); alert("下注金额已超过单号限额!!"); return false;}
		
		if (rtype=='zongda' && (eval(bb)+eval(goldvalue) > <%=UserQuota(2,6)%>)) {gold.focus(); alert("对不起,本期有下注金额最高限制 : <%=UserQuota(2,6)%>!!"); return false;}
 	  	//if (rtype=='zongda' && (eval(document.all.allgold.innerHTML) > <%=UserQuota(2,6)%>)) {gold.focus(); alert("下注金额不可大於单注限额!!"); return false;}
  	  	if (rtype=='zongda' && (eval(goldvalue) > <%=UserQuota(3,6)%>)) {gold.focus(); alert("下注金额已超过单号限额!!"); return false;}
		
		if (rtype=='TSP' && (eval(bb)+eval(goldvalue) > <%=UserQuota(2,13)%>)) {gold.focus(); alert("对不起,本期有下注金额最高限制 : <%=UserQuota(2,13)%>!!"); return false;}
 	  	//if (rtype=='TSP' && (eval(document.all.allgold.innerHTML) > <%=UserQuota(2,13)%>)) {gold.focus(); alert("下注金额不可大於单注限额!!"); return false;}
  	  	if (rtype=='TSP' && (eval(goldvalue) > <%=UserQuota(3,13)%>)) {gold.focus(); alert("下注金额已超过单号限额!!"); return false;}
		}

	  	document.all.allgold.innerHTML = eval(total_gold.value+"\+"+ goldvalue);
		
		total_gold.value = document.all.allgold.innerHTML;
	  	if (eval(document.all.allgold.innerHTML) > <%=UserInfo(5,0)%>)   {gold.focus(); alert("下注金额不可大於信用额度!!");    return false;}
       // if((<%=sum_money%>+eval(document.all.allgold.innerHTML)) ><%=UserQuota(2,R)%>){
		//gold.focus();
		//alert("本期累计下注共: <%=sum_money%>\n下注金额已超过单期限额!!");
		//return false;
//	}       
	if((<%=sum_money%>+eval(document.all.allgold.innerHTML)) ><%=sum_money_agent%>){
		gold.focus();
		alert("下注金额不可大於总代理信用额度!!");
		return false;
	}
	 /*
    	        if (eval(document.all.allgold.innerHTML) > ){gold.focus(); alert("下注金额不可大於总代理信用额度!!"); return false;}
                */
                break;
  	  case "keyup":
  	  	goldvalue = gold.value;
  	  	if (goldvalue=='') goldvalue=0;
  	  	document.all.allgold.innerHTML = eval(total_gold.value+"\+"+ goldvalue);
  	  	break;
  }
  //alert(goldvalue);
}
//-->
</SCRIPT>

            <TABLE class=table_title_line cellSpacing=1 cellPadding=0 width=100% 
            border=0>
              <TBODY>
              <TR>
                <TD height=5></TD></TR>
              <TR>
                <TD colSpan=4 height=30>期数: &nbsp;<b><%=Current_Kithe_Num%>&nbsp;&nbsp; 
                      封盘时间:</b> <%=Kithe_OpenTime%> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;下注金额:<span id=allgold><%=0%></span>&nbsp;&nbsp;</TD>
              </TR>
              <TR>
                <TD colSpan=4><table cellspacing=1 cellpadding=2 width="100%" border=1>
                  <tbody>
                    <tr class=tr_title_set_cen>
                      <td width=30>号码</td>
                      <td width=35>赔率</td>
                      <td align="center">金额</td>
                      <td width=30>号码</td>
                      <td width=35>赔率</td>
                      <td align="center">金额</td>
                      <td width=30>号码</td>
                      <td width=35>赔率</td>
                      <td align="center">金额</td>
                      <td width=30>号码</td>
                      <td width=35>赔率</td>
                      <td align="center">金额</td>
                      <td width=30>号码</td>
                      <td width=35>赔率</td>
                      <td align="center">金额</td>
                    </tr>
                    <%For I=0 To 9%>
                    <tr>
                      <td <%if showtable(1,I)<>showtable(2,I) then %>class=ball_td1<%else%>class=ball_td<%end if%> align=middle 
                       height=27><img src="img/num<%=ShowTable(0,I)%>.gif" border="0"></td>
                      <td  align=middle <%if showtable(1,I)<>showtable(2,I) then %>class=ball_td1<%else%>class=ball_td<%end if%>><font  style="FONT-WEIGHT: bold; FONT-SIZE: 13px; COLOR: #cc0000">
                        <%
								select case UserInfo(4,0)
								case "a"
								response.Write ShowTable(2,I)
								case "b"
								response.Write ShowTable(2,I)-0.5
								case "c"
								response.Write  ShowTable(2,I)-1
								case "d"
								response.Write ShowTable(2,I)
								end select%>
                      </font></td>
                      <!--下注送出因error所弹回的各下注金额-->
                      <td align=center><input onKeyPress="return CheckKey();" 
                        onBlur="return CountGold(this,'blur','SP','<%Kk1 (cint(ShowTable(0,I)))%>');" 
                        onKeyUp="return CountGold(this,'keyup');" 
                        onFocus="CountGold(this,'focus');this.value='';" 
                        tabindex=1 size=4 name=num<%=cint(ShowTable(0,I))%>>
                        <span style="padding:2.25pt .75pt .75pt .75pt">
                        <input name="muz<%=cint(ShowTable(0,I))%>" type="hidden" id="muz<%=cint(ShowTable(0,I))%>" value="<%=formatnumber(ShowTable(2,I),2,-1)%>">
                        </span></td>
                      <td <%if showtable(1,I+10)<>showtable(2,I+10) then %>class=ball_td1<%else%>class=ball_td<%end if%> align=middle 
                       height=27><img src="img/num<%=ShowTable(0,I+10)%>.gif" border="0"></td>
                      <td <%if showtable(1,I+10)<>showtable(2,I+10) then %>class=ball_td1<%else%>class=ball_td<%end if%> align=middle><font 
                        style="FONT-WEIGHT: bold; FONT-SIZE: 13px; COLOR: #cc0000">
                        <%
								select case UserInfo(4,0)
								case "a"
								response.Write ShowTable(2,I+10)
								case "b"
								response.Write ShowTable(2,I+10)-0.5
								case "c"
								response.Write  ShowTable(2,I+10)-1
								case "d"
								response.Write ShowTable(2,I+10)
								end select%>
                      </font></td>
                      <!--下注送出因error所弹回的各下注金额-->
                      <td align=center><input onKeyPress="return CheckKey();" 
                        onBlur="return CountGold(this,'blur','SP','<%Kk1 (cint(ShowTable(0,I+10)))%>');" 
                        onKeyUp="return CountGold(this,'keyup');" 
                        onFocus="CountGold(this,'focus');this.value='';" 
                        tabindex=11 size=4 name=num<%=ShowTable(0,I+10)%>>
                        <span style="padding:2.25pt .75pt .75pt .75pt">
                        <input name="muz<%=cint(ShowTable(0,I+10))%>" type="hidden" id="muz<%=cint(ShowTable(0,I+10))%>" value="<%=formatnumber(ShowTable(2,I+10),2,-1)%>">
                        </span></td>
                      <td <%if showtable(1,I+20)<>showtable(2,I+20) then %>class=ball_td1<%else%>class=ball_td<%end if%> align=middle 
                      height=27><img src="img/num<%=ShowTable(0,I+20)%>.gif" border="0"> </td>
                      <td <%if showtable(1,I+20)<>showtable(2,I+20) then %>class=ball_td1<%else%>class=ball_td<%end if%> align=middle><font 
                        style="FONT-WEIGHT: bold; FONT-SIZE: 13px; COLOR: #cc0000">
                        <%
								select case UserInfo(4,0)
								case "a"
								response.Write ShowTable(2,I+20)
								case "b"
								response.Write ShowTable(2,I+20)-0.5
								case "c"
								response.Write  ShowTable(2,I+20)-1
								case "d"
								response.Write ShowTable(2,I+20)
								end select%>
                      </font></td>
                      <!--下注送出因error所弹回的各下注金额-->
                      <td align=center><input onKeyPress="return CheckKey();" 
                        onBlur="return CountGold(this,'blur','SP','<%Kk1 (cint(ShowTable(0,I+20)))%>');" 
                        onKeyUp="return CountGold(this,'keyup');" 
                        onFocus="CountGold(this,'focus');this.value='';" 
                        tabindex=21 size=4 name=num<%=ShowTable(0,I+20)%>>
                        <span style="padding:2.25pt .75pt .75pt .75pt">
                        <input name="muz<%=cint(ShowTable(0,I+20))%>" type="hidden" id="muz<%=cint(ShowTable(0,I+20))%>" value="<%=formatnumber(ShowTable(2,I+20),2,-1)%>">
                        </span></td>
                      <td <%if showtable(1,I+30)<>showtable(2,I+30) then %>class=ball_td1<%else%>class=ball_td<%end if%> align=middle 
                      height=27><img src="img/num<%=ShowTable(0,I+30)%>.gif" border="0"></td>
                      <td <%if showtable(1,I+30)<>showtable(2,I+30) then %>class=ball_td1<%else%>class=ball_td<%end if%>  align=middle><font 
                        style="FONT-WEIGHT: bold; FONT-SIZE: 13px; COLOR: #cc0000">
                        <%
								select case UserInfo(4,0)
								case "a"
								response.Write ShowTable(2,I+30)
								case "b"
								response.Write ShowTable(2,I+30)-0.5
								case "c"
								response.Write  ShowTable(2,I+30)-1
								case "d"
								response.Write ShowTable(2,I+30)
								end select%>
                      </font></td>
                      <!--下注送出因error所弹回的各下注金额-->
                      <td align=center><input onKeyPress="return CheckKey();" 
                        onBlur="return CountGold(this,'blur','SP','<%Kk1 (cint(ShowTable(0,I+30)))%>');" 

⌨️ 快捷键说明

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