wapct.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. sesCheck();
  5. $bh=$_GET[bh];
  6. $sqluser="select * from yjcode_user where uid='".$_SESSION[SHOPUSER]."'";mysql_query("SET NAMES 'GBK'");$resuser=mysql_query($sqluser);
  7. if(!$rowuser=mysql_fetch_array($resuser)){Audit_alert("登录超时","./","parent.");}
  8. ?>
  9. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  10. <html xmlns="http://www.w3.org/1999/xhtml">
  11. <head>
  12. <meta http-equiv="x-ua-compatible" content="ie=7" />
  13. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  14. <title>微信传图</title>
  15. <style type="text/css">
  16. body{margin:0;font-size:12px;text-align:center;color:#333;word-wrap:break-word;font-family:"Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,MingLiu;}
  17. *{margin:0 auto;padding:0;}
  18. .d1{float:left;text-align:center;width:200px;clear:both;padding:10px 0 0 0;height:27px;font-size:14px;background-color:#f2f2f2;}
  19. .d2{float:left;text-align:center;width:200px;clear:both;}
  20. .d2 img{width:198px;height:198px;}
  21. .d3{float:left;text-align:center;width:200px;clear:both;}
  22. .d3 a{float:left;width:150px;color:#fff;background-color:#ff6600;height:25px;font-size:14px;padding:5px 0 0 0;text-align:center;margin:0 0 0 25px;text-decoration:none;}
  23. </style>
  24. <script language="javascript" src="../js/jquery.min.js"></script>
  25. <script language="javascript" src="../js/layer.js"></script>
  26. <script language="javascript">
  27. function clo(){
  28. parent.layer.closeAll();
  29. parent.xgtread("<?=$bh?>");
  30. }
  31. </script>
  32. </head>
  33. <body>
  34. <div class="d1">请用微信扫一扫</div>
  35. <div class="d2">
  36. <? $u=weburl."m/user/wapctlist_a".$_GET[admin]."v_b".$bh."v_c".$rowuser[mybh]."v_d".$rowuser[pwd]."v.html";?>
  37. <img src="<?=weburl?>tem/getqr.php?u=<?=$u?>m&size=6" />
  38. </div>
  39. <div class="d3"><a href="javascript:void(0);" onclick="clo()">已传完,关闭二维码</a></div>
  40. </body>
  41. </html>