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


 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,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}  <!–小组 精华帖子 排行 –>