K9 通用版 博客版 主题版 地方门户版 企业版 |   企业(ASP) 分类 使用 分享 疑问 模板 建议 帮助 错误 其他
+新建主题 [Ajax]
填写帐号密码即可完成注册
+新建话题 最新回复排序 最新主题排序 精华帖子

K9标签笔记:调用下级分类所属文章

1Next >

meanliang 发表于:15-01-23 21:58 编辑于:01-23 21:59 [添加收藏] 楼主 [回复] #Top#
meanliang 人气:314 积分:1410 金币:21511
VIP 管理团队 EST团队 KC元老 特邀嘉宾 原创之星 技术精英 艺术大师 最佳新人 灌水狂人 特殊贡献
{@res.join table1='%s_content_categroy_bind' table2='%s_content' field2='title,url,image,description' table3='%s_content_categroy' on='t1.id=t2.id and t1.cid=t3.cid' where='t2.mid=1 and t2.status=1 and t3.cid1=2' order='t2.id desc' number='10'}
{#foreach($res as $rs)}
<li>
{#if(!empty($rs['image']))}<a class="image" href="{DIR}{$rs[url]}" title="{$rs[title] code='quote'}"><img src="{DIR}images/?id={$rs[image]}" alt="{$rs[title] code='quote'}"></a><p class="info">{#else}<p class="info noinfo">{#endif}
<a href="{DIR}{$rs[url]}" title="{$rs[title] code='quote'}">{$rs[title]}</a><span>{$rs[description]}</span></p>
</li>
{#endforeach}
113.111.152.* 发表于:15-06-06 12:59 沙发 [回复] #Top#
KingCMS官方网站网友
找的就是这个!~!

1Next >

发表回复

帐号 匿名发布 审核后可见 [加载完整在线编辑器]
内容
验证码
KingCMS 内容管理系统

关于我们 联系我们 广告报价 付款方式 站点导航

Copyright © 2004-2015 Focuznet All rights reserved.

广州唯众网络科技有限公司 粤ICP备08008106号

中奖了!