首页 > 教程 > 前端技术 > 二开教程

    收藏

    destoon商铺调用评论的方法
    DT模板2016-09-12二开教程81℃
    广告
    核心提示:以下是调用标签!--{php $tags=tag(table=commentcondition=status=3 and item_id=$userid and item_mid=4pagesize=4order=addtime desctemplate=null);}--代码部分{loop $tags $i $t}lia href={userurl($username, 'file=contact', $domain)} target=_blank {$t[content]}/aps
    以下是调用标签
    <!--{php $tags=tag("table=comment&condition=status=3 and item_id=$userid and item_mid=4&pagesize=4&order=addtime desc&template=null");}-->
    代码部分
    {loop $tags $i $t}
    <li>
    <a href="{userurl($username, 'file=contact', $domain)}" target="_blank" >{$t[content]}</a>
    <p><span>留言会员: {$t[username]} </span> <span>留言时间: {date('Y-m-d', $t[addtime])}</span></p>
    </li>
    {/loop}
 
  • 文本链接:https://mbtxw.com/Course/show.php?itemid=3
  • 文章来源:模板模板
  • 版权声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。

更多>同类教程

0相关评论

    QQ交流群

    模板天下网QQ群

  • 欢迎DT爱好者加群学习交流:68503649

    联系关注

  • MBTXW.COM腾讯微博
  • 536205792QQ号
  • 68503649加QQ群
  • 536205792@qq.com客服邮箱