qq.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. sesCheck();
  5. if($_GET[action]=="del"){
  6. updatetable("yjcode_user","ifqq=0,openid='' where uid='".$_SESSION[SHOPUSER]."'");
  7. php_toheader("qq.php");
  8. }
  9. ?>
  10. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  11. <html xmlns="http://www.w3.org/1999/xhtml">
  12. <head>
  13. <meta http-equiv="x-ua-compatible" content="ie=7" />
  14. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  15. <title>用户管理面板 - <?=webname?></title>
  16. <? include("cssjs.html");?>
  17. <link href="css/inf.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <? include("../tem/top.html");?>
  21. <? include("top.php");?>
  22. <div class="yjcode">
  23. <? include("left.php");?>
  24. <!--RB-->
  25. <div class="userright">
  26. <? include("rcap1.php");?>
  27. <script language="javascript">
  28. document.getElementById("rcap6").className="l1 l2";
  29. </script>
  30. <!--白B-->
  31. <div class="rkuang">
  32. <? systs("恭喜您,操作成功!","qq.php")?>
  33. <? if(0==$rowuser[ifqq]){?>
  34. <ul class="qqtxt">
  35. <li class="l1">
  36. <a href="../config/qq/oauth/index.php"><img border="0" src="../img/qq_login.png" /></a><br>
  37. 点击按钮,立即绑定QQ帐号
  38. </li>
  39. <li class="l2">
  40. 使用QQ帐号登录本站,您可以……<br>
  41. 用QQ帐号轻松登录<br>
  42. 无须记住本站的帐号和密码,随时使用QQ帐号密码轻松登录
  43. </li>
  44. </ul>
  45. <? }else{?>
  46. <ul class="qqtxt">
  47. <li class="l3">
  48. <strong>您已将本站帐号与QQ号码绑定</strong><br>
  49. 解除已绑定帐号?<br>
  50. <input type="button" class="btn1" onclick="gourl('qq.php?action=del')" onmouseover="this.className='btn1 btn2';" onmouseout="this.className='btn1';" value="确认解除" />
  51. </li>
  52. </ul>
  53. <? }?>
  54. </div>
  55. <!--白E-->
  56. </div>
  57. <!--RE-->
  58. </div>
  59. <div class="clear clear15"></div>
  60. <? include("../tem/bottom.html");?>
  61. </body>
  62. </html>