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

Web服务器

开发平台:

PHP

  1. <?php
  2. session_start();
  3. include("../inc/conn.php");
  4. include("check.php");
  5. $user=$_SESSION["user"];
  6. include("../inc/drop_date.inc.php");
  7. $sqlr=mysql_query("select * from drop_bill where user_name='$user' and drop_date='$drop_date' and yesrate='0' order by id desc limit 0,10",$conn);
  8. $sqlp=mysql_query("select * from ptime where sign='4'",$conn); 
  9. $opstate=mysql_result($sqlp,0,"opstate"); 
  10. $sqlu=mysql_query("select * from member where user_account='$user'",$conn);  //更新用户资料
  11. $type=mysql_result($sqlu,0,"user_plate");
  12. $credit=mysql_result($sqlu,0,"user_credit");
  13. $used=mysql_result($sqlu,0,"used_credit");
  14. $_SESSION["type"]=$type;
  15. $_SESSION["plate"]=$type;
  16. $_SESSION["credit"]=$credit;
  17. $_SESSION["used"]=$used;
  18. ?>
  19. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  20. <style type="text/css">
  21. <!--
  22. .STYLE3 {color: #0000FF}
  23. .STYLE4 {color: #000000}
  24. body {
  25. background-color: #8FB3F3;
  26. }
  27. -->
  28. </style>
  29. <head>
  30. <link href="../css/css2.CSS" rel="stylesheet" type="text/css">
  31. <title></title>
  32. </head>
  33. <body oncontextmenu="return false" onselectstart="return false" 
  34. onkeydown="return (event.ctrlKey &amp;&amp; event.keyCode == 78) ? false : true" 
  35. ondragstart="return false" onmouseover="window.status=''; return true">
  36. <iframe src="ref_left.php" name="zif" width="0" height="0" scrolling="no" frameBorder="0" id="zif"></iframe><br><br>
  37. <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="aroundtable1">
  38.   <tr>
  39.     <td width="98%" height="31" align="center" valign="top" background="../img2/skin1_07.png"><table width="98%" border="0" cellspacing="0" cellpadding="0">
  40.       <tr>
  41.         <td width="98%" height="10"></td>
  42.       </tr>
  43.       <tr>
  44.         <td width="98%" height="21"><div align="center"><span class="fb12">请检视您的帐户</span></div></td>
  45.       </tr>
  46.     </table></td>
  47.   </tr>
  48.   <tr>
  49.     <td width="98%" bgcolor="#FFFFFF"><table width="97%" height="139"  border="0" align="center" cellpadding="0" cellspacing="3" bgcolor="#FFFFFF">
  50.       <tr>
  51.         <td width="38%" height="18"><div align="right" >会员帐号:</div></td>
  52.         <td width="62%"><div align="right" id="vaccount">
  53.           <?=$user?>
  54.         </div></td>
  55.       </tr>
  56.       <tr>
  57.         <td><div align="right">会员盘类:</div></td>
  58.         <td><div align="right" id="vplate"></div></td>
  59.       </tr>
  60.       <tr>
  61.         <td><div align="right" >信用额度:</div></td>
  62.         <td><div align="right" id="vcredit"></div></td>
  63.       </tr>
  64.       <tr>
  65.         <td><div align="right">已用额度:</div></td>
  66.         <td><div align="right" id="vused"></div></td>
  67.       </tr>
  68.       <tr>
  69.         <td><div align="right">下注期数:</div></td>
  70.         <td><div align="right" id="vdate"></div></td>
  71.       </tr>
  72.       <tr>
  73.         <td height="18"><div align="right">开奖日期:</div></td>
  74.         <td><div align="right" id="vodate">
  75.           <?=$open_date?>
  76.         </div></td>
  77.       </tr>
  78.     </table></td>
  79.   </tr>
  80. </table>
  81. <br>
  82. <div align="center">
  83.   <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="aroundtable1">
  84.     <tr>
  85.       <td height="31" align="center" valign="top" background="../img2/skin1_07.png"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  86.           <tr>
  87.             <td height="10"></td>
  88.           </tr>
  89.           <tr>
  90.             <td height="21"><div align="center"><span class="fw12 STYLE3"><span class="STYLE4"><span class="fw12">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>最近十单</span><span class="fw12">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span><span class="STYLE3" ><a href="javascript:window.location.reload();" >刷新</a></span></div></td>
  91.           </tr>
  92.       </table></td>
  93.     </tr>
  94.     <tr>
  95.       <td align="center"><table width="100%"  border="0" cellpadding="0" cellspacing="1" class="t11" >
  96.           <tr class="t13">
  97.             <td height="17"><div align="center">时间</div></td>
  98.             <td><div align="center">内容</div></td>
  99.             <td><div align="center">赔率</div></td>
  100.             <td><div align="center">金额</div></td>
  101.           </tr>
  102.           <?php 
  103.        while($rowr=mysql_fetch_array($sqlr))
  104.          { ?>
  105.           <tr bgcolor="#F0F0F0">
  106.             <td height="18"><div align="center">
  107.                 <?=substr($rowr["drop_time"],10)?>
  108.             </div></td>
  109.             <td><div align="left"></div>
  110.                 <?=$rowr["drop_type"]?>
  111.                 <?=$rowr["drop_content"]?></td>
  112.             <td><div align="right">
  113.                 <?=$rowr["drop_rate"]?>
  114.             </div></td>
  115.             <td><div align="right">
  116.                 <?=$rowr["drop_money"]?>
  117.             </div></td>
  118.           </tr>
  119.           <?
  120. }?>
  121.       </table></td>
  122.     </tr>
  123.   </table>
  124.   <p>&nbsp;</p>
  125. </div>
  126. </body>