DedeCMS 万能标签调用圈子精华置顶主题

前端之家收集整理的这篇文章主要介绍了DedeCMS 万能标签调用圈子精华置顶主题前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

  编程之家 jb51.cc Dedecms 万能标签调用圈子精华置顶主题

以下为引用的内容
{dede:sql sql="Select gid,tid,subject,authorid,author,digest,displayorder,dateline From feidi_group_threads order by digest desc limit 0,5"}
<li class="list_center_newslist_li"><!--<span><a href="#">[field:dateline function="GetDateTimeMK(@me)"/]</a></span> --><a href='[field:global name='cfg_cmspath'/]/group/viewthread.PHP?id=[field:gid/]&tid=[field:tid/]' target="_blank" title="[field:author/] 发表的 [field:subject/]">[field:subject/]</a>
<!--<span class="liuyan"><a href='[field:global name='cfg_cmspath'/]/member/index.PHP?uid=[field:author/]&action=guestbook' target="_blank" title="给[field:author/]留言吧">留言</a></span> -->
<span class="time">[field:dateline function='strftime("%m-%d %H:%M",@me)'/]</span>
<span class="time"><a href='[field:global name='cfg_cmspath'/]/member/index.PHP?uid=[field:author/]&action=infos' target="_blank" title="[field:author/]作者的详细资料">[field:author/]</a></span>
</li>
{/dede:sql}
<!--小组 精华帖子 排行 -->

  可以调用5行置顶主题,里面注释了一部分功能,根据需要自己修改修改feidi_group_threads 为你自己的数据表]

以下为引用的内容
{dede:sql sql="Select gid,@me)'/]</span>
<span class="time"><a href='[field:global name='cfg_cmspath'/]/member/index.PHP?uid=[field:author/]&action=infos' target="_blank" title="[field:author/]作者的详细资料">[field:author/]</a></span>
</li>
{/dede:sql}
<!--小组 精华帖子 排行 -->

  可以调用5行精华主题,里面注释了一部分功能,根据需要自己修改修改feidi_group_threads 为你自己的数据表

猜你在找的Dedecms相关文章