迅睿CMS框架是一款PHP8高性能·简单易用的CMS开源开发框架,基于MIT开源许可协议发布,免费且不限制商业使用,是免费开源的产品,以万端互联为设计理念,支持的微信公众号、小程序、APP客户端、移动端网站、PC网站等多终端式管理系统。
在列表中如何调用实名认证为1的会员所发文章
{php $sql=urlencode('select * from dr_1_news where uid in (select uid from dr_member_auth where auth_type=1)');} {sql sql='$sql'} {$title} {/sql}
{list action=module catid=$catid fwqu=$member.quyu auth_type=1 order=updatetime page=1} 加个 auth_type=1 也不行
{php $sql=urlencode('select * from dr_1_news where uid in (select uid from dr_member_auth where auth_type=1)');} {sql sql='$sql'} <li> <div class="pic" style="float: left;"> <a target="_blank" href="{dr_mobile_show_url(MOD_DIR, $t.id)}" class="preview">{php $user=dr_member_info($t.uid);}<img src="{dr_avatar($user.uid)}" width="70" height="70"><p>{$user.groupname}</p></a> </div> <div class="text"> <a target="_blank" href="{dr_mobile_show_url(MOD_DIR, $t.id)}"> <h2><i></i><span>{dr_strcut($t.title, 15)}</span></h2> <p>服务区域:{dr_linkagepos('address', $t.fwqu, " - " )}<p> <p>服务人次: {$t.order_volume}人次</p> <p>市场价值:<span class="STYLE1">{$t.order_price}元人民币起</span></p></a> </div> </li> {/sql}