帝国CMS调用指定会员组会员以及距浏览者距离的代码

[复制链接]
查看552 | 回复0 | 2022-11-17 13:06:31 | 显示全部楼层 |阅读模式
  1. <ul class="scroller" id="mapPoint">
  2.                                 <?php
  3.                                 $usersql = sys_ListMemberInfo(15, 0, '3,4,7,8', '', '');
  4.                                 while ($userr = $empire->fetch($usersql)) {
  5.                                     ?>
  6.                                     <li class="item" data-x="116.4996" data-y="39.91606">
  7.                                         <div class="inner">
  8.                                             <a href="<?= $public_r['add_webhost'] ?>/e/space/?userid=<?= $userr[userid] ?>">
  9.                                                 <img src="<?= $userr['userpic']?>" class="lazyimg" onerror="this.src='<?= $public_r['add_webhost'] ?>/e/data/images/notimg.gif';this.onerror='';" alt=""/>
  10.                                                 <h3><?= $userr[company] ?></h3>
  11.                                                 <p class="location">
  12.                                                     <i class="icon_location"></i><span class="juli">未知</span></p>
  13.                                             </a></div>
  14.                                     </li>
  15.                                     <?php
  16.                                 }
  17.                                 ?>
  18.                             </ul>
复制代码
示意图:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则