请选择 进入手机版 | 继续访问电脑版

Discuz手机版获取论坛里回复帖子内容代码教程

[复制链接]
查看3244 | 回复0 | 2020-10-11 10:31 | 显示全部楼层 |阅读模式
Discuz手机版获取论坛里回复帖子内容代码教程
代码如下:
  1. <!--{eval $lapost = DB::fetch_all("SELECT * FROM ".DB::table('forum_post')." WHERE `first`= 0 ORDER BY `pid` DESC LIMIT 0, 6");}-->
  2. <!--{loop $lapost $thelapost}-->
  3. <li><a href="forum.php?mod=redirect&goto=findpost&ptid=$thelapost[tid]&pid=$thelapost[pid]&fromuid=$thelapost[authorid]" target="_black" title="$thelapost[subject]"><img src="/uc_server/avatar.php?uid=$thelapost[authorid]&size=small" class="avatar avatar-50" height="50" width="50"/><strong>$thelapost[author]</strong> 于{echo date('m月d日 H:i:s', $thelapost['dateline']);} 在回帖中说道:<br />$thelapost[message]</a></li>
  4. <!--{/loop}-->
复制代码

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

本版积分规则

UID
1
贡献
387
丢币
38902
主题
4607
回帖
116
注册时间
2018-9-25
最后登录
2024-4-16