serverqxtk.php 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. sesCheck();
  5. $userid=returnuserid($_SESSION["SHOPUSER"]);
  6. $orderbh=$_GET[orderbh];
  7. while0("*","yjcode_serverorder where orderbh='".$orderbh."' and userid=".$userid);if(!$row=mysql_fetch_array($res)){php_toheader("serverorder.php");}
  8. if(sqlzhuru($_POST[yjcode])=="qxtk"){
  9. zwzr();
  10. $zfmm=sha1(sqlzhuru($_POST[t1]));
  11. if(panduan("uid,zfmm","yjcode_user where zfmm='".$zfmm."' and uid='".$_SESSION[SHOPUSER]."'")==0){Audit_alert("支付密码有误!","serverqxtk.php?orderbh=".$orderbh);}
  12. if($row[ddzt]!=7 && $row[ddzt]!=9){Audit_alert("未知错误!","serverorderview.php?orderbh=".$orderbh);}
  13. $str="买方取消了退款申请";
  14. intotable("yjcode_serverorderlog","orderbh,userid,selluserid,admin,txt,sj","'".$orderbh."',".$row[userid].",".$row[selluserid].",1,'".$str."','".getsj()."'");
  15. updatetable("yjcode_serverorder","ddzt=4 where id=".$row[id]);
  16. php_toheader("serverorderview.php?orderbh=".$orderbh);
  17. }
  18. ?>
  19. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  20. <html xmlns="http://www.w3.org/1999/xhtml">
  21. <head>
  22. <meta http-equiv="x-ua-compatible" content="ie=7" />
  23. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  24. <title>用户管理面板 - <?=webname?></title>
  25. <? include("cssjs.html");?>
  26. <link href="css/buy.css" rel="stylesheet" type="text/css" />
  27. </head>
  28. <body>
  29. <? include("../tem/top.html");?>
  30. <? include("top.php");?>
  31. <div class="yjcode">
  32. <? include("left.php");?>
  33. <!--RB-->
  34. <div class="userright">
  35. <!--白B-->
  36. <div class="rkuang">
  37. <? include("serverorderv.php");?>
  38. <? if($row[ddzt]==7 || $row[ddzt]==9){?>
  39. <script language="javascript">
  40. function tj(){
  41. if((document.f1.t1.value).replace("/\s/","")==""){alert("请输入支付密码");document.f1.t1.focus();return false;}
  42. layer.msg('正在操作,请稍候', {icon: 16 ,time: 0,shade :0.25});
  43. f1.action="serverqxtk.php?orderbh=<?=$orderbh?>";
  44. }
  45. </script>
  46. <form name="f1" method="post" onsubmit="return tj()">
  47. <ul class="ordercz">
  48. <li class="l1"><strong>取消退款申请的话,订单会变更为担保状态,需要商家再次提交验收</strong></li>
  49. <li class="l2">请输入您的支付密码:(<a href="zfmm.php" class="red">忘了支付密码?</a>)</li>
  50. <li class="l3"><input name="t1" class="inp" size="30" type="password"/></li>
  51. <li class="l4"><?=tjbtnr("取消退款")?></li>
  52. </ul>
  53. <input type="hidden" value="qxtk" name="yjcode" />
  54. <input type="hidden" value="<?=$orderbh?>" name="orderbh" />
  55. </form>
  56. <? }?>
  57. <div class="clear clear10"></div>
  58. </div>
  59. <!--白E-->
  60. </div>
  61. <!--RE-->
  62. </div>
  63. <div class="clear clear15"></div>
  64. <? include("../tem/bottom.html");?>
  65. </body>
  66. </html>