每日签到
设为首页
收藏本站
切换到窄版
请
登录
后使用快捷导航
没有帐号?
立即注册
用户名
Email
自动登录
找回密码
密码
登录
立即注册
只需一步,快速开始
一步搞定
快捷导航
门户
Portal
论坛
BBS
日志
Blog
相册
Album
前沿科技
时尚节拍
搜索
搜索
热搜:
活动
交友
discuz
文章
帖子
用户
商会资讯
›
brat
›
日志
加为好友
发送消息
brat
http://www.smellage.com/?272367
主题
日志
相册
记录
分享
留言板
个人资料
phpcms v9 导航显示二级栏目
已有 2848 次阅读
2012-11-5 18:49
|
个人分类:
phpcms
|
{pc:content action="category" catid="0" num="25" siteid="$siteid" order="listorder asc"}
{loop $data $r}
<li class="cat-item">
<a href="{$r[url]}">{$r[catname]}</a>
{if $r['catid']}
{pc:content action="category" catid="$r[catid]" num="15" siteid="$siteid" order="listorder asc" return=subdata}
{if $subdata}
<ul class="children">
{loop $subdata $sub}
<li class="cat-item"><a href="{$sub[url]}">{$sub[catname]}</a></li>
{/loop}
</ul>
{/if}
{/pc}
{/if}
</li>
{/loop}
{/pc}
收藏
分享
邀请
转发到微博
举报
全部
作者的其他最新日志
•
Win2008虚拟化实战之Hyper-V快照管理
•
Hyper-V教程之虚拟网络配置
•
配置Hyper-V Server 2008 R2用于远程管理
•
PHP实现MVC开发: 一个简单的MVC
•
Hyper-V在Windows Server 2008中的远程配置
•
用PHPcms V9四步完成WAP手机站搭建
评论 (
0
个评论)
涂鸦板
您需要登录后才可以评论
登录
|
立即注册
评论
Copyright © 2008-2012
商会资讯
(http://www.smellage.com/) 版权所有 All Rights Reserved.
风格购买及设计联系:13450110120 15813025137 QQ:21400445 8821775
Powered by
Discuz!
X2.5 技术支持:
克米设计
积分 0, 距离下一级还需 积分
回顶部