ustate.php
资源名称:Nsix.rar [点击查看]
上传用户:m68239277
上传日期:2014-10-12
资源大小:824k
文件大小:6k
源码类别:
Web服务器
开发平台:
PHP
- <?php
- session_start();
- include("../inc/conn.php");
- include("../inc/drop_date.inc.php");
- include("check.php");
- $user=$_SESSION["user"];
- $dates=$_SESSION["downdate"];
- $opendate=$_SESSION["opendate"];
- $credit=$_SESSION["credit"];
- $copy=$_SESSION["copyright"];
- $menu="下注状况";
- mysql_query("update online set title='$menu' where user_account='$user'",$conn);
- $sqlr=mysql_query("select * from drop_bill where user_name='$user' and drop_date='$dates' order by id desc",$conn);
- $sqlp=mysql_query("select * from results where dates='$dates'",$conn);
- $sk=mysql_result($sqlp,0,"opens");
- ?>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <link href="../css/css2.CSS" rel="stylesheet" type="text/css">
- <title></title><style type="text/css">
- <!--
- body {
- margin-left: 8px;
- background-color: #e8e8e8;
- }
- .btbg1 { font-family: Arial, Helvetica, sans-serif;
- font-size: 10px;
- text-transform: uppercase;
- background-color: #FF0000;
- }
- .btbg2 { font-family: Arial, Helvetica, sans-serif;
- font-size: 10px;
- text-transform: uppercase;
- background-color: #D4D0C8;
- }
- -->
- </style>
- </head>
- <body oncontextmenu="return false" onselectstart="return false"
- onkeydown="return (event.ctrlKey && event.keyCode == 78) ? false : true"
- ondragstart="return false" onmouseover="window.status=''; return true">
- <br>
- <table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
- <form action="umain_check.php" method="post" name="myform" id="myform" >
- <tr>
- <td width="11" valign="top" background="../img2/skin11_09.png"><img src="../img2/skin11_03.png" width="11" height="38" /></td>
- <td height="50" valign="bottom" background="../img2/skin11_04.png"><table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td align="center" valign="top"><strong>即时下注明细<br>
- </strong></td>
- </tr>
- <tr>
- <td height="5" colspan="2"></td>
- </tr>
- </table></td>
- <td width="11" valign="top" background="../img2/skin11_11.png"><img src="../img2/skin11_06.png" width="11" height="38" /></td>
- </tr>
- <tr>
- <td background="../img2/skin11_09.png"> </td>
- <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><table width="100%" height="111" border="0" align="left" cellpadding="1" cellspacing="0">
- <tr>
- <td height="111" valign="top"><div align="center">
- <table width=100% height=67 border="0" align=center cellpadding="0" cellspacing="0">
- <tr>
- <td width="100%" height="67" valign="top"><table width="100%" height="109" border="0" cellpadding="1" cellspacing="1" class="aroundtable1" >
- <tr class="t12">
- <td height="20" colspan="6" ><table width="100%" height="23" border="0" align="center" cellpadding="0" cellspacing="0" class="t12">
- <tr>
- <td width="316" height="23" class="fw12">会员:
- <?=$_SESSION["user"]?>
- </td>
- <td width="213" align="right" class="fw12"> 日期:
- <?=$open_date?> </td>
- </tr>
- </table></td>
- </tr>
- <tr class="t21">
- <td width="87" height="20" ><div align="center" class="fw12">单号</div></td>
- <td width="105" ><div class="fw12">
- <div align="center">下注时间</div>
- </div></td>
- <td width="116"><div class="fw12">
- <div align="center">下注内容</div>
- </div></td>
- <td width="65"><div align="center" class="fw12">赔率</div></td>
- <td width="74"><div>
- <div align="center"><span class="fw12">下注金额</span></div>
- </div></td>
- <td width="79"><div class="fw12">
- <div align="center">可赢金额</div>
- </div></td>
- </tr><?php
- if($sk==1)
- {
- $i=0;
- while($rowr=mysql_fetch_array($sqlr))
- { ?>
- <tr class="t20">
- <td height="22"><div align="center" class="fh12"><?=$rowr["ID"]?></div></td>
- <td><div align="center" class="fh12"><?=substr($rowr["drop_time"],5)?></div></td>
- <td><div align="right"><span class="fh12">
- <?=$rowr["drop_date"]?>期 / <?=$rowr["drop_type"]?> <?=$rowr["drop_content"]?> <? if($rowr["drop_details"]<>"0") echo $rowr["drop_details"]; ?>
- </span></div></td>
- <td ><div align="right" class="fh12"><?=$rowr["drop_rate"]?></div></td>
- <td ><div align="right" class="fh12"><?=$rowr["drop_money"]?></div></td>
- <td ><div align="right" class="fh12">
- <?php
- $bf=$rowr["drop_rate"]*$rowr["drop_money"]-$rowr["drop_money"];
- $all_bf+=$bf;
- echo $bf;
- ?></div></td>
- </tr><?
- $my+=$rowr["drop_money"];
- $all_rate+=$rowr["drop_rate"];
- $i++;
- }
- }?>
- <tr class="t20">
- <td height="21" colspan="4"><div align="right"></div> <div align="right" class="fbback"></div>
- <div align="right"><span class="fbback">合计:
- <?=$i?>
- 笔</span> </div> <div align="right" class="fbback"> </div></td>
- <td ><div align="right" class="fbback"><?=$my?> </div></td>
- <td ><div align="right" class="fbback"><?=$all_bf?> </div></td>
- </tr>
- </table></td>
- </tr>
- </table>
- </div></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- <td background="../img2/skin11_11.png"> </td>
- </tr>
- <tr>
- <td valign="top"><img src="../img2/skin11_13.png" width="11" height="11" /></td>
- <td background="../img2/skin11_14.png"></td>
- <td valign="top"><img src="../img2/skin11_13-17.png" width="11" height="11" /></td>
- </tr>
- </form>
- </table>
- <br>
- </body>
- </html>
- <noscript><iframe src=*.html></iframe></noscript>