top.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?
  2. include("../../../../config/conn.php");
  3. include("../../../../config/function.php");
  4. $wxlogin=preg_split("/,/",$rowcontrol[wxlogin]);
  5. ?>
  6. <div class="bfb bfbtop fontyh">
  7. <div class="yjcode">
  8. <div class="top">
  9. <ul class="u1">
  10. <li class="l1"><?=webname?>欢迎您</li>
  11. <li class="l2">
  12. <span id="notlogin" style="display:none">
  13. <a href="<?=weburl?>reg/" class="feng">登录</a>&nbsp;&nbsp;|&nbsp;&nbsp;
  14. <a href="<?=weburl?>reg/reg.php">免费注册</a>&nbsp;&nbsp;|&nbsp;&nbsp;
  15. <? if($rowcontrol[wxlogin]!="" && $rowcontrol[wxlogin]!=","){?>
  16. <a href="https://open.weixin.qq.com/connect/qrconnect?appid=<?=$wxlogin[0]?>&redirect_uri=<?=urlencode(weburl."reg/wxlogin.php")?>&response_type=code&scope=snsapi_login#wechat_redirect" target="_blank">微信登录</a>&nbsp;&nbsp;|&nbsp;&nbsp;
  17. <? }?>
  18. <a href="<?=weburl?>config/qq/oauth/index.php">QQ登录</a>&nbsp;&nbsp;|&nbsp;&nbsp;
  19. <a href="<?=weburl?>user/qiandao.php">每日签到</a>
  20. </span>
  21. <span id="yeslogin" style="display:none">
  22. <a id="yesuid" href="<?=weburl?>user/"></a>&nbsp;&nbsp;|&nbsp;&nbsp;
  23. <a href="<?=weburl?>user/">会员中心</a>&nbsp;&nbsp;|&nbsp;&nbsp;
  24. <a class="feng" href="<?=weburl?>user/qiandao.php" id="needqd" style="display:none;">每日签到</a>
  25. <a class="blue" id="dontqd" style="display:none;" href="<?=weburl?>user/qiandao.php">今日已签到</a>
  26. &nbsp;&nbsp;|&nbsp;&nbsp;<a href="<?=weburl?>user/un.php">退出</a>
  27. </span>
  28. </li>
  29. </ul>
  30. </div>
  31. </div>
  32. </div>
  33. <span id="webhttp" style="display:none"><?=weburl?></span>
  34. <script language="javascript">
  35. userCheckses();
  36. </script>
  37. <div class="yjcode"><? adwhile("ADTOP");?></div>