z_check.php
上传用户:m68239277
上传日期:2014-10-12
资源大小:824k
文件大小:2k
源码类别:

Web服务器

开发平台:

PHP

  1. <?php
  2. if(@$_POST["drop_type"]=="z") 
  3. {
  4.  $drop_type="正码";
  5.  $number=@$_POST["number"];
  6.  $rate=@$_POST["rate"];
  7.  $drop_money=@$_POST["drop_money"];
  8. }elseif(@$_GET["act"]=="yes")
  9. {
  10.  echo "<script language='javascript'> alert('下注成功!');window.location.href='uleft.php'</script>";
  11. }
  12. ?>
  13. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  14. <link href="../css/css2.CSS" rel="stylesheet" type="text/css">
  15. <style type="text/css">
  16. <!--
  17. body {
  18. background-color: #EFF3F7;
  19. }
  20. -->
  21. </style><br> <form name="form1" method="post" action="z_check.php?act=yes">
  22. <div align="center"><span class="fbback">您下注的是</span><br>
  23. </div>
  24. <table height="74"  border="0" align="center" cellpadding="2" cellspacing="1" class="t12">
  25.  
  26.     <tr>
  27.       <td><div align="center" class="fw12">下注方式</div></td>
  28.       <td><div align="center" class="fw12">下注内容</div></td>
  29.       <td><div align="center" class="fw12">赔率</div></td>
  30.       <td height="22">        <div align="center" class="fw12">下注金额</div></td>
  31.     </tr>
  32.     <tr class="t20">
  33.       <td><div align="center"><?=$drop_type?></div></td>
  34.       <td><div align="center"><?=$number?></div></td>
  35.       <td><div align="center"><?=$rate?></div></td>
  36.       <td height="26"><div align="center"><?=$drop_money?></div></td>
  37.     </tr>
  38.     <tr>
  39.       <td colspan="3"><div align="center"></div>        
  40.         <div align="right" class="fw12">合计:</div>
  41.       <div align="right"></div></td>
  42.       <td height="22"><div align="center" class="fw12"><?=$drop_money?>
  43.       </div></td>
  44.     </tr>
  45. </table> 
  46. <script language="javascript">
  47. function kk(){
  48. document.form1.Submit2.disabled="disabled";
  49. document.form1.submit();
  50. }
  51. </script>
  52. <div align="center"><span class="style3">
  53. <input name="type" type="hidden" id="rate2" value="<?=$drop_type?>">
  54.   <input name="rate" type="hidden" id="rate2" value="<?=$rate?>">
  55.   <input name="number" type="hidden" id="number2" value="<?=$number?>">
  56.   <input name="Submit" type="button" class="buttonrmin" value="取消下注" onclick="window.location.href='uleft.php';">
  57.   &nbsp;
  58.     <input name="Submit2" type="button" class="buttongmin" value="确定下注" onclick="kk();"> 
  59.   </span>
  60. </div>
  61. </form>