s_order.asp
来自「买来的六合彩在线投注系统可能没有精力管理这些程序了PHP+mysql」· ASP 代码 · 共 418 行 · 第 1/2 页
ASP
418 行
document.all.btnCancel.disabled = true;
document.all.btnSubmit.disabled = true;
document.LAYOUTFORM.submit();
}
function CountWinGold(){
if(document.all.gold.value==''){
document.all.gold.focus();
alert('未输入下注金额!!!');
}else{
document.all.pc.innerHTML=Math.round(document.all.gold.value * document.all.ioradio.value /1000 - document.all.gold.value);
count_win=true;
}
}
function CountWinGold1(){
if(document.all.gold.value==''){
document.all.gold.focus();
alert('未输入下注金额!!!');
}else{
document.all.pc.innerHTML=Math.round(document.all.gold.value * document.all.ioradio.value) - document.all.gold.value;
count_win=true;
}
}
</SCRIPT>
<LINK href="images/css-g.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2800.1476" name=GENERATOR><style type="text/css">
<!--
body {
background-image: url(img/left_0.gif);
}
-->
</style></HEAD>
<BODY oncontextmenu=window.event.returnValue=false text=#000000 bgColor=#e5eaee leftMargin=0 topMargin=0>
<FORM name=LAYOUTFORM onSubmit="return false" action=s_order_down.asp method=post>
<table width="241" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" background="img/left_0.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25"><img src="img/right_01.gif" width="25" height="49"></td>
<td background="img/right_02.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><font color="#FFFFFF"><strong>彩票彩注单</strong></font></td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
<td width="14" background="img/right_02.gif"><img src="img/right_03.gif" width="14" height="49"></td>
</tr>
<tr>
<td background="img/right_04.gif"> </td>
<td><table cellspacing="1" cellpadding="1" width="190" align="center" border="0">
<tbody>
<tr>
<td>帐户名称: <%=session("sk2user")%></td>
</tr>
<tr>
<td>信用额度: <%=userinfo(5,0)%></td>
</tr>
<tr>
<td><font color="red">请选择下注彩球</font></td>
</tr>
</tbody>
</table></td>
<td background="img/right_05.gif"> </td>
</tr>
<tr>
<td valign="top"><img src="img/right_06.gif" width="25" height="13"></td>
<td height="13" background="img/right_07.gif"></td>
<td valign="top"><img src="img/right_08.gif" width="14" height="13"></td>
</tr>
</table></td>
<td width="8" valign="top"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="13"> </td>
<td><table width="100%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#CBCBC9">
<tr>
<td align="center" bgcolor="#FFFFFF">
<TABLE class=table_02 height=135 cellSpacing=6 cellPadding=0 width="94%" align=left border=0>
<TBODY>
<TR align=left>
<TD align=middle colSpan=2>期数 : <%=Current_Kithe_Num%>
<P><FONT color=#cc0000><%=Current_Rate(1,0)%>
<%if Current_Rate(2,0)="特单" or Current_Rate(2,0)="特双" or Current_Rate(2,0)="特大" or Current_Rate(2,0)="特小" then
if Current_Rate(2,0)="特单" then
response.write "单"
end if
if Current_Rate(2,0)="特双" then
response.write "双"
end if
if Current_Rate(2,0)="特大" then
response.write "大"
end if
if Current_Rate(2,0)="特小" then
response.write "小"
end if
else
response.write Current_Rate(2,0)
end if%>
</FONT> @ <FONT
color=#ff0000><B>
<%
if formatnumber(Current_Rate(4,0),2,-1)=formatnumber(request("muz"),2,-1) then
else
%>
<SCRIPT language=JAVASCRIPT>
javascript:if(confirm('对不起:[<%=Current_Rate(2,0)%>]赔率已经改变从[<%=request("muz"&i)%>]降到[<%=Current_Rate(4,0)%>]\n\n是否确认止只下注!')){}else{location.href='userleft.asp';parent.mainFrame.location.href='<%=request("urlb")%>'};
</SCRIPT>
<%
Response.end
end if
if Current_Rate(0,0)="特别号" and Current_Rate(2,0)<>"单" and Current_Rate(2,0)<>"双" and Current_Rate(2,0)<>"大" and Current_Rate(2,0)<>"小" and Current_Rate(2,0)<>"合单" and Current_Rate(2,0)<>"合双" and Current_Rate(2,0)<>"红波" and Current_Rate(2,0)<>"蓝波" and Current_Rate(2,0)<>"绿波" and Current_Rate(2,0)<>"总单" and Current_Rate(2,0)<>"总双" and Current_Rate(2,0)<>"总大" and Current_Rate(2,0)<>"总小" then
select case UserInfo(4,0)
case "a"
rate1=Current_Rate(4,0)
case "b"
rate1=Current_Rate(4,0)-0.5
case "c"
rate1=Current_Rate(4,0)-1
case "d"
rate1=Current_Rate(4,0)
end select
response.Write rate1
else
if Current_Rate(2,0)="单" or Current_Rate(2,0)="双" or Current_Rate(2,0)="大" or Current_Rate(2,0)="小" or Current_Rate(2,0)="合单" or Current_Rate(2,0)="合双" or Current_Rate(2,0)="总单" or Current_Rate(2,0)="总双" or Current_Rate(2,0)="总大" or Current_Rate(2,0)="总小" then
if Current_Rate(0,0)<>"正码过关" then
select case UserInfo(4,0)
case "a"
rate1=Current_Rate(4,0)
case "b"
rate1=Current_Rate(4,0)-0.01
case "c"
rate1=Current_Rate(4,0)-0.02
case "d"
rate1=Current_Rate(4,0)
end select
else
rate1=Current_Rate(4,0)
end if
else
rate1=Current_Rate(4,0)
end if
if Current_Rate(0,0)="正码" then
response.write rate1
else
response.Write formatnumber(rate1,2,-1)
end if
end if
%>
</B></FONT></P></TD>
</TR>
<TR align=left>
<TD class=td_fail colSpan=2><FONT color=#ff0000>
<TABLE cellSpacing=0 cellPadding=0 width="97%" border=0>
<TBODY>
<TR>
<TD> 下注金额:
<input onKeyPress="return CheckKey()" id=gold
onkeyup="return CountWinGold()" maxLength=8 size=8
name=gold></TD>
</TR>
<TR>
<TD> 可蠃金额: <FONT id=pc color=#ff0000>0</FONT></TD>
</TR>
<TR>
<TD> 最低限额: <font color="#ff0000">5</font></TD>
</TR>
<TR>
<TD> 单注限额: <%=UserQuota(2,R)%> </TD>
</TR>
<TR>
<TD> 单号限额: <%=UserQuota(3,R)%></TD>
</TR>
<TR align=middle>
<TD><br>
<INPUT type='hidden' Name=rate_id value='<%=rate_id%>'>
` <INPUT class=sumbit_cen onClick="self.location='userleft.asp'" type=button value=取消 name=btnCancel>
<INPUT class=sumbit_cen onclick=SubChk(); type=button value=确定 name=btnSubmit> </TD>
</TR>
</TBODY>
</TABLE>
</FONT></TD>
</TR>
</TBODY>
</TABLE>
<INPUT type=hidden value=SP11 name=concede>
<INPUT type=hidden value='<%=rate1*1000%>' name=ioradio>
</td>
</tr>
</table></td>
<td width="11"> </td>
</tr>
</table></td>
</tr>
</table>
</FORM>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?