?? play.asp
字號:
<!-- #include file="setup.asp" -->
<%
if Request.Cookies("username")="" then
error("<li>您還還未<a href=login.asp>登陸</a>社區(qū)")
end if
if instr(Request.Cookies("username")," ")>0 then:error("<li>非法操作"):end if
sql="select * from user where username='"&Request.Cookies("username")&"'"
rs.Open sql,Conn,1,3
if Request.Cookies("userpass")<>rs("userpass") then
error2("密碼錯誤!")
end if
top
%>
<table width="750" align="center" border="0">
<tr>
<td vAlign="top" width="30%"><img src="images/logo.gif" border="0"></td>
<td vAlign="center" align="top"> <img src="images/closedfold.gif" border="0"> <a href="index.asp"><%=clubname%></a><br>
<img src="images/bar.gif" border="0"><img src="images/openfold.gif" border="0"> <a href="play.asp">社區(qū)賭場</a></td>
</tr>
</table>
<%
select case Request("menu")
case ""
play
case "dx"
dx
case "ds"
ds
case "sz"
sz
case "dx1"
checkup
dx1
case "ds1"
checkup
ds1
case "sz1"
checkup
sz1
end select
sub checkup
money=int(request("money"))
if money > rs("money") then
error2("你的錢不夠!")
end if
if money<10 or money>100 then
error2("輸入錯誤!賭注范圍10-100")
end if
if rs("userlife")<1 then
error2("您沒有體力了!")
end if
end sub
sub play%>
<title>社區(qū)博彩</title><BODY><br>
<center>
<table width="600" border="1" height="143" cellpadding="4" cellspacing="4" bordercolor="#004080" style="border-collapse: collapse">
<tr align="center" bgcolor="#99CCFF">
<td bgcolor="#ECF5FF" bordercolor="#004080" height="129">
<table border="0" width="100%" cellspacing="0" cellpadding="6" style="border-collapse: collapse" bordercolor="#111111"><tr>
<td width="50%" align="center" bgcolor="#C4D4E5">警告:每次賭錢,您的魅力值會扣 1 !
<p><img src="images/plus/daxiao.gif" width="303" height="237" border="0"></td>
<td width="50%" bgcolor="#ECF5FF">
<ul><li><font class="c"><b><a href="play.asp?menu=sz">賭骰子</a></b></font><p>游戲規(guī)則:莊家隨機(jī)出三個<font class="c"><b>骰子</b>,玩家也隨機(jī)出三個<b>骰子</b>,誰大,誰贏,賠率1:1</font></p>
<blockquote><p align="right"><a href="play.asp?menu=sz">現(xiàn)在進(jìn)入>></a></p></blockquote>
<li><b><a href="play.asp?menu=ds">猜點數(shù)</a></b><p>游戲規(guī)則:電腦隨機(jī)出一個<font class="c"><b>骰子</b>,您選擇骰子的點數(shù),如果<b>骰子</b>的點數(shù)和您選的點數(shù)一樣,您就贏了,賠率1:5</font></p>
<ul>
<blockquote><p align="right"><a href="play.asp?menu=ds">現(xiàn)在進(jìn)入>></a></p></blockquote>
</li></ul>
<li><b><a href="play.asp?menu=dx">賭圍骰</a></b><p>游戲規(guī)則:電腦隨機(jī)出三個<font class="c"><b>骰子</b>,您選擇可能會出現(xiàn)的</font>三個<font class="c"><b>骰子</b>,如果<b>骰子</b>和您選的一樣,您就贏了,賠率1:100</font></p>
</li></ul>
<blockquote><p align="right"><a href="play.asp?menu=dx">現(xiàn)在進(jìn)入>></a></p></blockquote>
</td></tr></table></td></tr></table></center>
<%end sub
sub dx%>
<br>
<form method="POST" action="play.asp?menu=dx1"><input type="hidden" name=menu value=dxover>
<center>
<table borderColor="#a4b6d7" cellSpacing="0" width="400" border="1" height="54" style="border-collapse: collapse" cellpadding="6">
<tr align="center"><td width="190" colspan="2">
<font size="3" style="font-size: 9pt"><b>
賭 場 - 賭 圍 骰</b></font></td>
<td width="183" colspan="2"><p>最大下注紋銀是 <b><font color="#CC0000">
100</font> NG</b></p>
</td>
</tr>
<tr align="center"><td width="134"><img src="images/plus/run.gif" width="38" height="36"></td>
<td width="109" colspan="2"><img src="images/plus/run.gif" width="38" height="36"></td>
<td width="117"><img src="images/plus/run.gif" width="38" height="36"></td>
</tr><tr><td bgcolor="#C4D4E5" width="386" colspan="4">
<p align="center"><font style=font-size:9pt><b>
請選擇</b></font></td>
</tr><tr><td align=center colspan="4" width="386" >
<table border="0" cellspacing="0" cellpadding="0" width="386">
<tr align="center"><td width="65">
<p align="center"><img src="images/plus/w1.gif"></td>
<td width="65">
<img src="images/plus/w2.gif"></td>
<td width="64">
<img src="images/plus/w3.gif"></td>
<td width="64">
<img src="images/plus/w4.gif"></td>
<td width="64">
<img src="images/plus/w5.gif"></td>
<td width="64">
<img src="images/plus/w6.gif"></td>
</tr>
<tr align="center"><td width="65">
<input type="radio" name="dddimg" value="1" checked></td>
<td width="65">
<input type="radio" name="dddimg" value="2"></td>
<td width="64">
<input type="radio" name="dddimg" value="3"></td>
<td width="64">
<input type="radio" name="dddimg" value="4"></td>
<td width="64">
<input type="radio" name="dddimg" value="5"></td>
<td width="64">
<input type="radio" name="dddimg" value="6"></td>
</tr></table></td></tr><tr>
<td align=center colspan="4" width="386">我要下注:
<input type="text" name="money" size="10" value="10"> <b> NG</b></td></tr><tr>
<td align=center bgColor=C4D4E5 colspan="4" width="386"><input type="submit" value="下注啦!??!" name="B1" style="font-size: 12px">
</td>
</tr></table></center>
</form><center>
警告:每次賭錢,您的體力值會扣 <font color="#CC0000">1</font> !
<br>您現(xiàn)在一共有社區(qū)紋銀 <b><font color="#CC0000"><%=rs("money")%><NG></font></b> <b>NG</b> 可以作為賭注<br>
<%end sub
sub ds%>
<style>input { font-size: 9pt; color: #000000; background-color: #f7f7f7; padding-top: 3px}</style>
</HEAD><BODY><br>
<form method="POST" action="play.asp?menu=ds1"><input type="hidden" name=menu value=dsover>
<center>
<table border=1 cellspacing=0 cellpadding=3 width="350" bordercolor="#A4B6D7" style="border-collapse: collapse">
<tr align="center"><td width="33%"><p align="center">
<font size="3" style="font-size: 9pt"><b>賭 場 - 猜 點 數(shù)</b></font></p>
</td></tr>
<tr align="center"><td width="33%"><img src="images/plus/run.gif"></td></tr><tr>
<td bgcolor="#A4B6D7" width="960"><font style=font-size:9pt><b> 請選擇</b></font></td>
</tr><tr><td align=center><table border="0" cellspacing="0" cellpadding="0"><tr align="center">
<td width="17%"><img src="images/plus/dice1.gif"></td><td width="17%"><img src="images/plus/dice2.gif"></td>
<td width="16%"><img src="images/plus/dice3.gif"></td><td width="17%"><img src="images/plus/dice4.gif"></td>
<td width="17%"><img src="images/plus/dice5.gif"></td><td width="16%"><img src="images/plus/dice6.gif"></td>
</tr><tr align="center"><td width="17%"><input type="radio" name="dddimg" value="1" checked>
</td><td width="17%"><input type="radio" name="dddimg" value="2"></td><td width="16%">
<input type="radio" name="dddimg" value="3"></td><td width="17%"><input type="radio" name="dddimg" value="4">
</td><td width="17%"><input type="radio" name="dddimg" value="5"></td><td width="16%">
<input type="radio" name="dddimg" value="6"></td></tr></table></td></tr><tr><td align=center>
我要下注:
<input type="text" name="money" size="10" value="10"> <b> NG</b></td></tr><tr><td align=center bgColor=A4B6D7><input type="submit" value="下注啦!??!" name="B1" style="font-size: 12px">
</td>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -