📄 index_submain.asp
字号:
<!--#include file="../manage/mConn.asp"-->
<!--#include file="../manage/mConst.asp"-->
<!--#include file="../manage/Number_Info.Asp"-->
<!--#include file="../manage/sk2.Asp"-->
<% Get_Kithe_Para
If Session("SK2B")="" Then
Response.Write ("<script Language=Javascript>alert('Please input username/password and try again!!!');window.open('index.asp','_top');</script>")
Response.End
End If
If Not Isnumeric(Request("K1")) Then
Response.Write ("<script language=javascript>alert('非法参数!');history.go(-1)</script>")
Response.End
End If
If Not Isnumeric(Request("K2")) Then
Response.Write ("<script language=javascript>alert('非法参数!');history.go(-1)</script>")
Response.End
End If
If Not Isnumeric(Request("K3")) Then
Response.Write ("<script language=javascript>alert('非法参数!');history.go(-1)</script>")
Response.End
End If
Set Rs6=Conn.Execute("Select Top 1 caution,Current_Credits,P_AgentID,self_cuts,super_cuts,ID From m_agent Where Login_Name='"&session("SK2B")&"' Order By ID Desc")
If not Rs6.Eof Then
isshowcolor=Rs6("caution")
'response.Write isshowcolor
end if
Dim K1,K2,K3
Set Rs6=Conn.Execute("Select Top 1 Current_Credits,P_AgentID,self_cuts,super_cuts,ID From m_agent Where Login_Name='"&session("SK2B")&"' Order By ID Desc")
If Rs6.Eof Then
Set Rs6=Nothing
Response.End
end if
Agent_info=Rs6.GetRows(1)
'response.write Agent_info(1,0)&"<br><br><br><br><br><br>"
dim sum_money(55),count_t(55),count_re,all_money
for i=1 to 55
sum_money(i)=0
count_t(i)=0
next
if Agent_info(1,0)=0 then
SQL="select re=count(*),sum_m=sum(isnull(sum_m,0)) from m_chilp where Agent_second='"&session("SK2B")&"' and Kithe='"&Current_Kithe_Num&"'"
Set Rs6=Conn.Execute(SQL)
if not Rs6.eof then
count_re=Rs6("re")
all_money=Rs6("sum_m")
end if
'response.write "Select Top 1 Current_Credits,P_AgentID,self_cuts,super_cuts,Login_Name From m_agent Where ID='"&Agent_info(1,0)&"' Order By ID Desc"
'Set Rs5=Conn.Execute("Select Top 1 Current_Credits,P_AgentID,self_cuts,super_cuts,Login_Name From m_agent Where P_AgentID='"&Agent_info(4,0)&"' Order By ID Desc")
'set Count_Agent=server.createobject("adodb.recordset")
'sql="Select Top 1 Current_Credits,P_AgentID,self_cuts,super_cuts,Login_Name From m_agent Where P_AgentID='"&Agent_info(4,0)&"' Order By ID Desc"
'Count_Agent.open sql,conn,1,1
'do while not Count_Agent.eof
manager=Session("SK2B")
SQL6="Select sum_m="
If Request("K2")="" Or Request("K2")=1 Then
K2=1
SQL6=SQL6&" sum_m,"
Else
K2=0
SQL6=SQL6&"sum_m*zong_zc/100,"
End If
SQL6=SQL6&"chilp_value,chilp_types,sort,dai_zc,zong_zc From m_chilp where Agent_second='"&session("SK2B")&"'"
If Request("K1")="" Or Request("K1")=0 Then
K1=0
SQL6=SQL6&" And Memed='a'"
Else
if Request("K1")=1 then
K1=1
SQL6=SQL6&" And Memed='b'"
else
K1=2
SQL6=SQL6&" And Memed='c'"
end if
End If
SQL6=SQL6&" and Kithe='"&Current_Kithe_Num&"' and banlance='0' and sort='特别号'"
'response.Write SQL6
Set Rs6=Conn.Execute(SQL6)
If Rs6.Eof Then
Set Rs6=Nothing
else
show_count=Rs6.GetRows(-1)
set Count_rs=server.createobject("adodb.recordset")
sql=SQL6
Count_rs.open sql,conn,1,1
do while not Count_rs.eof
for j=1 to 49
'response.Write cstr(show_count(0,0))
if isnumeric(Count_rs("chilp_value")) then
if cint(Count_rs("chilp_value"))=cint(j) then
sum_money(j)=sum_money(j)+Count_rs("sum_m")
count_t(j)=count_t(j)+1
'response.Write sum_money(j)&"<br>"&j
end if
end if
next
if not isnumeric(Count_rs("chilp_value")) then
select case trim(Count_rs("chilp_value"))
case "单"
sum_money(50)=sum_money(50)+Count_rs("sum_m")
count_t(50)=count_t(50)+1
'response.write Count_rs("sum_m")&"<br>"&sum_money(50)
case "双"
sum_money(51)=sum_money(51)+Count_rs("sum_m")
count_t(51)=count_t(51)+1
case "大"
sum_money(52)=sum_money(52)+Count_rs("sum_m")
count_t(52)=count_t(52)+1
case "小"
sum_money(53)=sum_money(53)+Count_rs("sum_m")
count_t(53)=count_t(53)+1
case "合单"
sum_money(54)=sum_money(54)+Count_rs("sum_m")
count_t(54)=count_t(54)+1
case "合双"
sum_money(55)=sum_money(55)+Count_rs("sum_m")
count_t(55)=count_t(55)+1
end select
end if
Count_rs.movenext
loop
end if
'Count_Agent.movenext
'loop
else
SQL="select re=count(*),sum_m=sum(isnull(sum_m,0)) from m_chilp where Agent_first='"&session("SK2B")&"' and Kithe='"&Current_Kithe_Num&"'"
Set Rs6=Conn.Execute(SQL)
if not Rs6.eof then
count_re=Rs6("re")
all_money=Rs6("sum_m")
end if
SQL6="Select sum_m="
If Request("K2")="" Or Request("K2")=1 Then
K2=1
SQL6=SQL6&" sum_m,"
Else
K2=0
SQL6=SQL6&"sum_m*zong_zc/100,"
End If
SQL6=SQL6&"chilp_value,chilp_types,sort,dai_zc,zong_zc From m_chilp where (Agent_first='"&session("SK2B")&"' or Agent_second='"&session("SK2B")&"')"
If Request("K1")="" Or Request("K1")=0 Then
K1=0
SQL6=SQL6&" And Memed='a'"
Else
if Request("K1")=1 then
K1=1
SQL6=SQL6&" And Memed='b'"
else
K1=2
SQL6=SQL6&" And Memed='c'"
end if
End If
SQL6=SQL6&" and Kithe='"&Current_Kithe_Num&"' and banlance='0' and sort='特别号'"
'response.Write SQL6
Set Rs6=Conn.Execute(SQL6)
If Rs6.Eof Then
Set Rs6=Nothing
else
show_count=Rs6.GetRows(-1)
set Count_rs=server.createobject("adodb.recordset")
sql=SQL6
Count_rs.open sql,conn,1,1
do while not Count_rs.eof
for j=1 to 49
'response.Write cstr(show_count(0,0))
if isnumeric(Count_rs("chilp_value")) then
if cint(Count_rs("chilp_value"))=cint(j) then
sum_money(j)=sum_money(j)+Count_rs("sum_m")
count_t(j)=count_t(j)+1
'response.Write sum_money(j)&"<br>"&j
end if
end if
next
if not isnumeric(Count_rs("chilp_value")) then
select case trim(Count_rs("chilp_value"))
case "单"
sum_money(50)=sum_money(50)+Count_rs("sum_m")
count_t(50)=count_t(50)+1
'response.write Count_rs("sum_m")&"<br>"&sum_money(50)
case "双"
sum_money(51)=sum_money(51)+Count_rs("sum_m")
count_t(51)=count_t(51)+1
case "大"
sum_money(52)=sum_money(52)+Count_rs("sum_m")
count_t(52)=count_t(52)+1
case "小"
sum_money(53)=sum_money(53)+Count_rs("sum_m")
count_t(53)=count_t(53)+1
case "合单"
sum_money(54)=sum_money(54)+Count_rs("sum_m")
count_t(54)=count_t(54)+1
case "合双"
sum_money(55)=sum_money(55)+Count_rs("sum_m")
count_t(55)=count_t(55)+1
end select
end if
Count_rs.movenext
loop
end if
end if
Set Rs6=Conn.Execute("Select Top 55 item_value,rate,current_rate,wager_gold,ID,wager_gold from m_rate where item_sort='特别号' Order By ID")
Dim ShowTable
ShowTable=Rs6.GetRows(55)
select case cstr(Request("K3"))
case "0"
retime=120
K3=0
case "1"
retime=10
K3=1
case "2"
retime=20
K3=2
case "3"
retime=60
K3=3
case else
retime=120
end select
'response.write K3
%>
<script language=javascript>
function new_win(html_name,winname,w,h){
if(winname=='') winname='WINDOWS';
if(w=='') w=640;
if(h=='') h=480;
//undefined
winformat="toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width="+w+",height="+h;
winid = window.open(html_name,winname,winformat)
}
</script>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>main</TITLE>
<META http-equiv="refresh" content="<%=retime%>;text/html; charset=gb2312">
<LINK
href="../images/control_main.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
.style1 {
color: #993333;
font-weight: bold;
}
-->
</style>
</HEAD>
<BODY text=#000000 vLink=#0000ff aLink=#0000ff bgColor=#ffffff leftMargin=0
topMargin=0>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=ra_listbet_ctrl_line height=1></TD></TR>
<TR>
<TD class=ra_listbet_ctrl_bg>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<FORM name=myFORM
action=index_submain.asp
method=get>
<TD> 即时注单: <SELECT class=za_select
onchange=self.myFORM.submit() name=K1>
<OPTION value=0 <%If K1=0 Then Response.Write (" Selected ")%>>六合彩A</OPTION>
<OPTION value=1 <%If K1=1 Then Response.Write (" Selected ")%>>六合彩B</OPTION>
<OPTION value=2 <%If K1=2 Then Response.Write (" Selected ")%>>六合彩C</OPTION></SELECT>
<SELECT class=za_select
onchange=self.myFORM.submit() name=K2>
<OPTION value=0 <%If K2=0 Then Response.Write (" Selected ")%>>成数</OPTION>
<OPTION value=1 <%If K2=1 Then Response.Write (" Selected ")%>>全部</OPTION>
</SELECT> --
更新: <SELECT class=za_select
onchange=self.myFORM.submit() name=K3>
<OPTION value=0 <%If K3=0 Then Response.Write (" Selected ")%>>不更新</OPTION>
<OPTION value=1 <%If K3=1 Then Response.Write (" Selected ")%>>10 sec</OPTION>
<OPTION value=2 <%If K3=2 Then Response.Write (" Selected ")%>>20 sec</OPTION>
<OPTION value=3 <%If K3=3 Then Response.Write (" Selected ")%>>60 sec</OPTION>
</SELECT>
<INPUT type=hidden value=1 name=page> -- 香港时间:<%=formattime(now(),"ymdt")%> --
<A style="BACKGROUND-COLOR: #3399ff"
href="index_submain.asp?manager=<%=manager%>&rtype=<%=k1%>&Ashow=<%=k2%>&wtype=1&spnum=1">特别号</A>
-- <A
href="sub_12.asp">生肖色波一肖</A>
-- <A
href="sub_just.asp">正码</A>
-- <A
href="sub_just1-6.asp">正码1-6</A>
-- <A
href="sub_link.asp">连码</A>
-- <A
href="sub_gg.asp">正码过关</A>
-- <A
href="sub_result.asp">已开奖</A>
</TD></FORM></TR></TBODY></TABLE></TD></TR>
<TR>
<TD class=ra_listbet_ctrl_line height=1></TD></TR>
<TR>
<TD height=4></TD></TR>
<TR>
<TD><FONT color=#000099> 特别号</FONT></TD></TR></TBODY></TABLE>
<TABLE class=ra_listbet_tab id=glist_table cellSpacing=1 cellPadding=0 width=850
border=0>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -