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

📄 q_ws.asp

📁 买来的六合彩在线投注系统可能没有精力管理这些程序了PHP+mysql
💻 ASP
📖 第 1 页 / 共 3 页
字号:
<!--#include file="manage/mConn.asp"-->
<!--#include file="manage/mConst.asp"-->
<!--#include file="manage/Number_Info.Asp"-->
<!--#include file="manage/sk2.asp"-->
<%
  If Session("SK2User")="" Then
    Response.Write ("<script Language=Javascript>alert('Please input username/password and try again!!!');window.open('index.asp','_top');</script>")
	Response.End
  End If

Get_Kithe_Para:Get_UserInfo
Set Rs6=Server.CreateObject("Adodb.RecordSet")
	Dim NN
	  NN=1
	Set Rs6=Conn.Execute("select top 1 NN from m_Kithe order by ID desc")
	If Not Rs6.Eof Then
	  NN=Rs6("NN")+1
	End If
   Set Rs6=Conn.Execute("select top 1 tray_time,affice,tray_switch from m_config")
	Dim affice,tray_time,tray_switch
	If Not Rs6.Eof Then
     affice=Rs6("affice")
	 tray_time=Rs6("tray_time")
	 tray_switch=Rs6("tray_switch")
	End If 
  Set Rs6=Conn.Execute("Select Top 15 item_value,rate,current_rate,wager_gold,ID from m_rate where item_sort='尾数' Order By ID")
Dim ShowTable
  ShowTable=Rs6.GetRows(15)
Set Rs6=Nothing
 
  SQL6="Select sum_money=isnull(sum(sum_m),0) from m_chilp where kithe='"&Current_Kithe_Num&"' and   sort='尾数' and member='"&session("SK2user")&"'"
  
Set Rs5=Conn.Execute(SQL6)
   If not Rs5.Eof Then
	 sum_money=Rs5("sum_money")
	 end if
	 	 SQL5="select credits,current_credits,Login_name,P_agentID from m_agent where Login_name='"&UserInfo(11,0)&"'"
	Set Rs4=Conn.Execute(SQL5)
   If not Rs4.Eof Then
	 sum_money_agent=Rs4("credits")
	 end if
    
 %>
<%
									  Set Rs7=Server.CreateObject("Adodb.RecordSet")
									Set Rs7=Conn.Execute("select * from open_on where code='ws' and del_flag<>'1' ")
										If Not Rs7.Eof Then
										 Response.Write "非下单时间段"
										  Response.End
										End If
									
									Sub Kk1 (bb)



SQL6="Select sum_money=isnull(sum(sum_m),0) from m_chilp where kithe='"&Current_Kithe_Num&"' and   sort='尾数' and chilp_value='"&bb&"'"
SQL6=SQL6&" and member='"&session("SK2User")&"'"

Set Rs5=Conn.Execute(SQL6)
   If not Rs5.Eof Then
	  Response.Write Rs5("sum_money")
end if

End Sub  %>
<HTML><HEAD><TITLE>body_lotto_na</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="images/client_LT_game.css" type=text/css rel=stylesheet>
<SCRIPT language=JAVASCRIPT>
if (self == top)
{
	window.open('/','_top');
}

</SCRIPT>
<SCRIPT language=javascript>
window.setTimeout("self.location='ys_sp.asp'", 180000);
</SCRIPT>
<style type="text/css">
<!--
.STYLE1 {font-size: 9.0pt}
.STYLE2 {
	font-family: "宋体";
	font-size: 9.0pt;
	color: ff0000;
}
body,td,th {
	color: #FF0000;
}
-->
</style></HEAD>
<BODY oncontextmenu=window.event.returnValue=false leftMargin=0 topMargin=0 >
<FORM target="leftFrame" name=lt_form action="Q_main_save6.asp" method="post">

    <SCRIPT language=JAVASCRIPT>
<!--
var count_win=false;
//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) < 10) && (goldvalue!='')) {gold.focus(); alert("下注金额不可小於最低限度!!"); return false;}
  	  	if (rtype=='SP' && ((eval(bb)+eval(goldvalue)) > <%=UserQuota(2,23)%>)) {gold.focus(); alert("对不起,止号本期下注金额最高限制 : <%=UserQuota(2,23)%>!!"); return false;}
		
		if (rtype=='SP' && (eval(goldvalue) > <%=UserQuota(3,23)%>)) {gold.focus(); alert("对不起,本期有下注金额最高限制 : <%=UserQuota(3,23)%>!!"); return false;}
 	  	//if (rtype=='SP' && (eval(document.all.allgold.innerHTML) > <%=UserQuota(2,23)%>)) {gold.focus(); alert("下注金额不可大於单注限额!!"); return false;}
  	  	if (rtype=='SP' && (eval(goldvalue) > <%=UserQuota(3,23)%>)) {gold.focus(); alert("下注金额已超过单号限额!!"); return false;}
		
		if (rtype=='dan' && (eval(goldvalue) > <%=UserQuota(3,1)%>)) {gold.focus(); alert("对不起,本期有下注金额最高限制 : <%=UserQuota(3,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(goldvalue) > <%=UserQuota(3,2)%>)) {gold.focus(); alert("对不起,本期有下注金额最高限制 : <%=UserQuota(3,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(goldvalue) > <%=UserQuota(3,3)%>)) {gold.focus(); alert("对不起,本期有下注金额最高限制 : <%=UserQuota(3,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(goldvalue) > <%=UserQuota(3,5)%>)) {gold.focus(); alert("对不起,本期有下注金额最高限制 : <%=UserQuota(3,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(goldvalue) > <%=UserQuota(3,6)%>)) {gold.focus(); alert("对不起,本期有下注金额最高限制 : <%=UserQuota(3,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(goldvalue) > <%=UserQuota(3,13)%>)) {gold.focus(); alert("对不起,本期有下注金额最高限制 : <%=UserQuota(3,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;

⌨️ 快捷键说明

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