tixianlog.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. sesCheck();
  5. $userid=returnuserid($_SESSION[SHOPUSER]);
  6. if($_GET[e]=="back"){
  7. $id=$_GET[id];
  8. while0("*","yjcode_tixian where id=".$id." and userid=".$userid." and zt=4");if($row=mysql_fetch_array($res)){
  9. updatetable("yjcode_tixian","zt=3,sm='用户撤销' where id=".$id);
  10. PointUpdateM($userid,$row[money1]);
  11. PointIntoM($userid,"撤消提现申请",$row[money1]);
  12. }
  13. php_toheader("tixianlog.php");
  14. }
  15. ?>
  16. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  17. <html xmlns="http://www.w3.org/1999/xhtml">
  18. <head>
  19. <meta http-equiv="x-ua-compatible" content="ie=7" />
  20. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  21. <title>用户管理面板 - <?=webname?></title>
  22. <? include("cssjs.html");?>
  23. <link href="css/pay.css" rel="stylesheet" type="text/css" />
  24. </head>
  25. <body>
  26. <? include("../tem/top.html");?>
  27. <? include("top.php");?>
  28. <div class="yjcode">
  29. <? include("left.php");?>
  30. <!--RB-->
  31. <div class="userright">
  32. <? include("rcap2.php");?>
  33. <script language="javascript">
  34. document.getElementById("rcap5").className="l1 l2";
  35. </script>
  36. <!--白B-->
  37. <div class="rkuang">
  38. <? systs("操作成功!","tixianlog.php")?>
  39. <ul class="txlogcap">
  40. <li class="l1">时间</li>
  41. <li class="l2">提现金额</li>
  42. <li class="l3">说明</li>
  43. <li class="l4">操作</li>
  44. </ul>
  45. <?
  46. $ses=" where userid=".$userid;
  47. $page=$_GET["page"];if($page==""){$page=1;}else{$page=intval($_GET["page"]);}
  48. pagef($ses,30,"yjcode_tixian","order by sj desc");while($row=mysql_fetch_array($res)){
  49. $cz="";
  50. if($row[zt]==4){$cz="【<a href='tixianlog.php?e=back&id=".$row[id]."'>撤消申请</a>】";}
  51. ?>
  52. <ul class="txlog">
  53. <li class="l1"><?=$row[sj]?></li>
  54. <li class="l2"><strong class="feng"><?=$row[money1]?></strong></li>
  55. <li class="l3"><strong><?=returntxzt($row[zt],$row[sm])?></strong><br>&nbsp;&nbsp;&nbsp;收款人:<?=$row[txname]?>,<?=$row[txyh]?>(<?=$row[txzh]?>)</li>
  56. <li class="l4"><?=$cz?></li>
  57. </ul>
  58. <? }?>
  59. <div class="npa">
  60. <?
  61. $nowurl="tixianlog.php";
  62. $nowwd="";
  63. require("page.php");
  64. ?>
  65. </div>
  66. <div class="clear clear10"></div>
  67. </div>
  68. <!--白E-->
  69. </div>
  70. <!--RE-->
  71. </div>
  72. <div class="clear clear15"></div>
  73. <? include("../tem/bottom.html");?>
  74. </body>
  75. </html>