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

DedeCMS 万能标签调用圈子精华置顶主题 以下为引用的内容: {dede:sql sql="Select gid,tid,subject,authorid,author,digest,displayorder,dateline From feidi_group_threads order by diges...

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}

<!–小组 精华帖子 排行 –>

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。

给TA打赏
共{{data.count}}人
人已打赏
dedecms教程

DedeCms自定义表单联动类型只显示枚举值的问题

2023-2-16 16:17:17

dedecms教程

更新栏目"DedeTag Engine Create File False"的解决方法

2023-2-16 16:17:19

!
你也想出现在这里?立即 联系我们吧!
信息
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
搜索