openshop3.php 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. sesCheck();
  5. $sqluser="select * from yjcode_user where uid='".$_SESSION[SHOPUSER]."'";mysql_query("SET NAMES 'GBK'");$resuser=mysql_query($sqluser);
  6. $rowuser=mysql_fetch_array($resuser);
  7. //入库操作开始
  8. if($_POST[jvs]=="openshop"){
  9. zwzr();
  10. updatetable("yjcode_user","shopzt=0 where uid='".$_SESSION[SHOPUSER]."' and shopzt=3");
  11. php_toheader("openshop1.php");
  12. }
  13. ?>
  14. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  15. <html xmlns="http://www.w3.org/1999/xhtml">
  16. <head>
  17. <meta http-equiv="x-ua-compatible" content="ie=7" />
  18. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  19. <title>用户管理面板 - <?=webname?></title>
  20. <? include("cssjs.html");?>
  21. <link href="css/sell.css" rel="stylesheet" type="text/css" />
  22. <script language="javascript">
  23. function tj(){
  24. layer.msg('正在提交', {icon: 16 ,time: 0,shade :0.25});
  25. if(confirm("确定重新提交开店申请吗?")){tjwait();f1.action="openshop3.php";}else{return false;}
  26. }
  27. </script>
  28. </head>
  29. <body>
  30. <? include("../tem/top.html");?>
  31. <? include("top.php");?>
  32. <div class="yjcode">
  33. <? include("left.php");?>
  34. <!--RB-->
  35. <div class="userright">
  36. <? include("kdcap.php");?>
  37. <script language="javascript">
  38. document.getElementById("step3").className="l1 l11";
  39. </script>
  40. <!--白B-->
  41. <div class="rkuang">
  42. <form name="f1" method="post" onsubmit="return tj()">
  43. <input type="hidden" value="openshop" name="jvs" />
  44. <ul class="uk">
  45. <li class="l1">审核结果:</li>
  46. <li class="l21"><?=returnshopztv($rowuser[shopzt])?></li>
  47. <li class="l1"></li>
  48. <li class="l21">如有疑问,请<a href="../help/aboutview4.html" class="blue" target="_blank">点击联系网站客服</a></li>
  49. <? if(3==$rowuser[shopzt]){?>
  50. <li class="l1">被拒原因:</li>
  51. <li class="l21"><?=$rowuser[shopztsm]?></li>
  52. <li class="l3"><?=tjbtnr("重新提交")?></li>
  53. <? }?>
  54. </ul>
  55. </form>
  56. </div>
  57. <!--白E-->
  58. </div>
  59. <!--RE-->
  60. </div>
  61. <div class="clear clear15"></div>
  62. <? include("../tem/bottom.html");?>
  63. </body>
  64. </html>