openshoprz.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?
  2. include("../../config/conn.php");
  3. include("../../config/function.php");
  4. sesCheck_m();
  5. ?>
  6. <html>
  7. <head>
  8. <meta http-equiv="x-ua-compatible" content="ie=7" />
  9. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  10. <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
  11. <title>会员中心 <?=webname?></title>
  12. <? include("../tem/cssjs.html");?>
  13. <link href="css/sell.css" rel="stylesheet" type="text/css" />
  14. </head>
  15. <body>
  16. <?
  17. include("topuser.php");
  18. $rz=0;
  19. if($rowcontrol[ifsell]=="off"){
  20. if(strstr($rowcontrol[shoprz],"xcf1xcf")){if($rowuser[ifmot]!=1){$rz=1;}}
  21. if(strstr($rowcontrol[shoprz],"xcf2xcf")){if($rowuser[ifemail]!=1){$rz=1;}}
  22. if(strstr($rowcontrol[shoprz],"xcf3xcf")){if($rowuser[sfzrz]!=1 && $rowuser[sfzrz]!=0){$rz=1;}}
  23. }
  24. if(empty($rz)){php_toheader("openshop1.php");}
  25. ?>
  26. <div class="bfbtop1 box">
  27. <div class="d1" onClick="gourl('index.php')"><img src="img/topleft.png" height="21" /></div>
  28. <div class="d2">开店认证</div>
  29. <div class="d3"></div>
  30. </div>
  31. <? if($rowuser[sfzrz]!=0 && $rowuser[sfzrz]!=1 && strstr($rowcontrol[shoprz],"xcf3xcf")){?>
  32. <div class="rzcap box" onClick="gourl('smrz.php')">
  33. <div class="d2"><strong>实名认证</strong><br>将有助于我们为您提供更好的服务</div>
  34. <div class="d3">去认证</div>
  35. <div class="d4"><img src="img/jianright.png" height="15" /></div>
  36. </div>
  37. <? }?>
  38. <? if(1!=$rowuser[ifmot] && strstr($rowcontrol[shoprz],"xcf1xcf")){?>
  39. <div class="rzcap box" onClick="gourl('mobbd.php')">
  40. <div class="d2"><strong>手机认证</strong><br>提高帐户及资金安全性</div>
  41. <div class="d3">去认证</div>
  42. <div class="d4"><img src="img/jianright.png" height="15" /></div>
  43. </div>
  44. <? }?>
  45. <? if(1!=$rowuser[ifemail] && strstr($rowcontrol[shoprz],"xcf2xcf")){?>
  46. <div class="rzcap box" onClick="gourl('emailbd.php')">
  47. <div class="d2"><strong>邮箱绑定</strong><br>可以通过邮箱找回密码</div>
  48. <div class="d3">去绑定</div>
  49. <div class="d4"><img src="img/jianright.png" height="15" /></div>
  50. </div>
  51. <? }?>
  52. </body>
  53. </html>