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

📄 tiger.htm

📁 xm2sv1.0寻梦二手网 v1.0,一个经过我调试的PHP原代码,有机会大家多交流哈
💻 HTM
字号:

<html>
<head>
<title>欢乐老虎机                      </title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="VBScript">
'************************************

'************************************
dim j,k,l,i,h,m,n,o,Wins

sub play()
if form1.e1.value+form1.e2.value+form1.e3.value+form1.e4.value+form1.e5.value+form1.e6.value+form1.e7.value=0 then
msgbox"您没有选择下注",0
exit sub
end if

ee1.onclick=""
ee2.onclick=""
ee3.onclick=""
ee4.onclick=""
ee5.onclick=""
ee6.onclick=""
ee7.onclick=""
eeb.onclick=""
eer.onclick=""

//'ee1.disabled=true
//'ee2.disabled=true
//'ee3.disabled=true
//'ee4.disabled=true
//'ee5.disabled=true
//'ee6.disabled=true
//'ee7.disabled=true
//'eeb.disabled=true
//'eer.disabled=true

k=1
i=0
j=1
randomize
l=fix(65*rnd+44)	''匀速转多少2~5圈
randomize
h=22
h=fix(22*rnd+0)		''减慢转多少0~1圈
toplay()
end sub

sub toplay()
	k=k+1	
	for x=1 to 22
	document.all("f"&x).bgcolor="#FFFFFF"
	next		
	document.all("f"&j).bgcolor="red"
	j=j+1
	if j>22 then j=1
	if k<=l-h then
		settimeout "toplay()",20
	else
		i=i+1
		if i>h then
		Wins=Win(j-1)
			if Win(j-1)>0 then
				form1.win.value=Win(j-1)
			end if
		form1.submit()
		exit sub
		end if
		settimeout "toplay()",20*i
	end if
end sub

function show(NN)
	if NN=3 or NN=6 or NN=11 or NN=14 or NN=18 or NN=21 then
	NN="2"
	elseif NN=2 or NN=5 or NN=10 or NN=19 then
	NN="4"
	elseif NN=8 or NN=13 or NN=17 then
	NN="6"
	elseif NN=7 or NN=16 or NN=0 then
	NN="8"
	elseif NN=9 or NN=20 then
	NN="10"
	elseif NN=4 or NN=15 then
	NN="30"
	elseif NN=12 then
	NN="50"
	elseif NN=1 then
	NN="0"
	end if
show=NN
end function

function Win(NN)
	if NN=3 or NN=6 or NN=11 or NN=14 or NN=18 or NN=21 then
	NN=2*document.form1.e1.value
	elseif NN=2 or NN=5 or NN=10 or NN=19 then
	NN=4*document.form1.e2.value
	elseif NN=8 or NN=13 or NN=17 then
	NN=6*document.form1.e3.value
	elseif NN=7 or NN=16 or NN=0 then
	NN=8*document.form1.e4.value
	elseif NN=9 or NN=20 then
	NN=10*document.form1.e5.value
	elseif NN=4 or NN=15 then
	NN=30*document.form1.e6.value
	elseif NN=12 then
	NN=50*document.form1.e7.value
	elseif NN=1 then
	NN=0*document.form1.e7.value
	end if
Win=NN
end function

sub ResetE()
document.form1.e1.value=0
document.form1.e2.value=0
document.form1.e3.value=0
document.form1.e4.value=0
document.form1.e5.value=0
document.form1.e6.value=0
document.form1.e7.value=0
zero()
end sub

sub zero()
for e=1 to 7
document.all("d"&e).innerHTML=0
next
end sub

sub bet1()
If document.form1.e1.value<50 then
document.form1.e1.value=document.form1.e1.value+5
End if
d1.innerHTML=document.form1.e1.value
end sub
sub bet2()
If document.form1.e2.value<50 then
document.form1.e2.value=document.form1.e2.value+5
End if
d2.innerHTML=document.form1.e2.value
end sub
sub bet3()
If document.form1.e3.value<50 then
document.form1.e3.value=document.form1.e3.value+5
End if
d3.innerHTML=document.form1.e3.value
end sub
sub bet4()
If document.form1.e4.value<50 then
document.form1.e4.value=document.form1.e4.value+5
End if
d4.innerHTML=document.form1.e4.value
end sub
sub bet5()
If document.form1.e5.value<50 then
document.form1.e5.value=document.form1.e5.value+5
End if
d5.innerHTML=document.form1.e5.value
end sub
sub bet6()
If document.form1.e6.value<50 then
document.form1.e6.value=document.form1.e6.value+5
End if
d6.innerHTML=document.form1.e6.value
end sub
sub bet7()
If document.form1.e7.value<50 then
document.form1.e7.value=document.form1.e7.value+5
End if
d7.innerHTML=document.form1.e7.value
end sub
</script>
<link href="club/tiger/style.css" rel="stylesheet" type="text/css">
</head>

<body leftmargin="0" topmargin="0" onload="zero()" class="BORDER" bgcolor="#CCCCCC" id="body">
{template header} 
<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" style="table-layout: fixed">
  <tr> 
    <td class="nav" width="90%" nowrap>&nbsp;<a href="index.php">$bbname</a> &raquo; 
      {lang $navigation}</td>
    <td align="right" width="10%"><a href="#bottom"><img src="{IMGDIR}/arrow_dw.gif" border="0" align="absmiddle"></a></td>
  </tr>
</table>
<br>
<br>
<form name="form1" method="post" action="club/tiger/run.php?run=run" target="run">
  <table border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC" align="center">
    <tr bgcolor="#FFFFFF" align="center"> 
      <td height="50" width="50" id="f9"><img src="club/tiger/5.gif" width="32" height="32"></td>  
      <td height="50" width="50" id="f10"><img src="club/tiger/2.gif" width="32" height="32"></td>  
      <td height="50" width="50" id="f11"><img src="club/tiger/1.gif" width="32" height="32"></td>
      <td height="50" width="50" id="f12"><img src="club/tiger/7.gif" width="32" height="32"></td>  
      <td height="50" width="50" id="f13"><img src="club/tiger/3.gif" width="32" height="32"></td>  
      <td height="50" width="50" id="f14"><img src="club/tiger/1.gif" width="32" height="32"></td>
      <td height="50" width="50" id="f15"><img src="club/tiger/6.gif" width="32" height="32"></td>
  </tr>
  <tr bgcolor="#FFFFFF" align="center"> 
      <td height="50" width="50" id="f8"><img src="club/tiger/3.gif" width="32" height="32"></td>
      <td colspan="5" rowspan="4">
$load


      </td>
      <td height="50" width="50" id="f16"><img src="club/tiger/4.gif" width="32" height="32"></td>
  </tr>
  <tr bgcolor="#FFFFFF" align="center"> 
      <td height="50" width="50" id="f7"><img src="club/tiger/4.gif" width="32" height="32"></td>  <td height="50" width="50" id="f17"><img src="club/tiger/3.gif" width="32" height="32"></td>
  </tr>
  <tr bgcolor="#FFFFFF" align="center"> 
      <td height="50" width="50" id="f6"><img src="club/tiger/1.gif" width="32" height="32"></td>
      <td height="50" width="50" id="f18"><img src="club/tiger/1.gif" width="32" height="32"></td>
  </tr>
  <tr bgcolor="#FFFFFF" align="center">
      <td height="50" width="50" id="f5"><img src="club/tiger/2.gif" width="32" height="32"></td>
      <td height="50" width="50" id="f19"><img src="club/tiger/2.gif" width="32" height="32"></td>
  </tr>
  <tr bgcolor="#FFFFFF" align="center"> 
      <td height="50" width="50" id="f4"><img src="club/tiger/6.gif" width="32" height="32"></td>  <td height="50" width="50" id="f3"><img src="club/tiger/1.gif" width="32" height="32"></td>
      <td height="50" width="50" id="f2"><img src="club/tiger/2.gif" width="32" height="32"></td>
      <td height="50" width="50" id=f1>Lose</td>
      <td height="50" width="50" id="f22"><img src="club/tiger/4.gif" width="32" height="32"></td>  <td height="50" width="50" id="f21"><img src="club/tiger/1.gif" width="32" height="32"></td>
      <td height="50" width="50" id="f20"><img src="club/tiger/5.gif" width="32" height="32"></td>
  </tr>
</table>
  <table width="358" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr> 
      <td> 
        <table border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC" align="center">
          <tr bgcolor="#99CCFF" align="center"> 
            <td width="50" height="30" id=d7>&nbsp;</td>
            <td width="50" height="30" id=d6>&nbsp;</td>
            <td width="50" height="30" id=d5>&nbsp;</td>
            <td width="50" height="30" id=d4>&nbsp;</td>
            <td width="50" height="30" id=d3>&nbsp;</td>
            <td width="50" height="30" id=d2>&nbsp;</td>
            <td width="50" height="30" id=d1>&nbsp;</td>
          </tr>
          <tr bgcolor="#99CCFF" align="center"> 
            <td width="50" height="50" id=ee7 onClick="bet7()" style="cursor:hand" title="下注" onMouseover="ee7.bgcolor='#75BAFF'" onMouseout="ee7.bgcolor='#99CCFF'"><img src="club/tiger/7.gif" width="32" height="32"><br>
              x50</td>
            <td width="50" height="50" id=ee6 onClick="bet6()" style="cursor:hand" title="下注" onMouseover="ee6.bgcolor='#75BAFF'" onMouseout="ee6.bgcolor='#99CCFF'"><img src="club/tiger/6.gif" width="32" height="32"><br>
              x30</td>
            <td width="50" height="50" id=ee5 onClick="bet5()" style="cursor:hand" title="下注" onMouseover="ee5.bgcolor='#75BAFF'" onMouseout="ee5.bgcolor='#99CCFF'"><img src="club/tiger/5.gif" width="32" height="32"><br>
              x10</td>
            <td width="50" height="50" id=ee4 onClick="bet4()" style="cursor:hand" title="下注" onMouseover="ee4.bgcolor='#75BAFF'" onMouseout="ee4.bgcolor='#99CCFF'"><img src="club/tiger/4.gif" width="32" height="32"><br>
              x8</td>
            <td width="50" height="50" id=ee3 onClick="bet3()" style="cursor:hand" title="下注" onMouseover="ee3.bgcolor='#75BAFF'" onMouseout="ee3.bgcolor='#99CCFF'"><img src="club/tiger/3.gif" width="32" height="32"><br>
              x6</td>
            <td width="50" height="50" id=ee2 onClick="bet2()" style="cursor:hand" title="下注" onMouseover="ee2.bgcolor='#75BAFF'" onMouseout="ee2.bgcolor='#99CCFF'"><img src="club/tiger/2.gif" width="32" height="32"><br>
              x4</td>
            <td width="50" height="50" id=ee1 onClick="bet1()" style="cursor:hand" title="下注" onMouseover="ee1.bgcolor='#75BAFF'" onMouseout="ee1.bgcolor='#99CCFF'"><img src="club/tiger/1.gif" width="32" height="32"><br>
              x2</td>
          </tr>
        </table>
      </td>
    </tr>
    <tr> 
      <td> 
        <table width="358" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC" align="center" height="30" STYLE="CURSOR:HAND">
          <tr> 
            <td id=eeb onClick="play()" bgcolor="#CCFF00" align="center" width="50%" title="买定离手" onMouseover="eeb.bgcolor='#DDDDDD'" onMouseout="eeb.bgcolor='#CCFF00'">买定离手</td>
            <td id=eer onClick="ResetE()" bgcolor="#CCFF00" align="center" width="50%" title="重新下注" onMouseover="eer.bgcolor='#DDDDDD'" onMouseout="eer.bgcolor='#CCFF00'">重新下注</td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td height="30" valign="top"> 
        <table width="356" border="0" cellspacing="0" cellpadding="0" height="29" align="center">
          <tr align="center" bgcolor="#FFFFFF"> 
            <td width="50%">程序开发:<a href="mailto:wlxqzy@163.com">含烟</a></td>
            <td width="50%">版权所有:<a href="http://www.ylei.com" target="_blank">水怡坊</a></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
		<input type="hidden" name="e7" value="0">
        <input type="hidden" name="e6" value="0">
        <input type="hidden" name="e5" value="0">
        <input type="hidden" name="e4" value="0">
        <input type="hidden" name="e3" value="0">
        <input type="hidden" name="e2" value="0">
        <input type="hidden" name="e1" value="0">
  		<input type="hidden" name="win" value="0">
</form>
{template footer} 
</body>
</html>

⌨️ 快捷键说明

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