惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tenable Blog
Last Week in AI
Last Week in AI
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
H
Help Net Security
F
Fortinet All Blogs
MyScale Blog
MyScale Blog
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 司徒正美
量子位
N
Netflix TechBlog - Medium
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
Recorded Future
Recorded Future
博客园 - 三生石上(FineUI控件)
Vercel News
Vercel News
aimingoo的专栏
aimingoo的专栏
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
Scott Helme
Scott Helme
The Last Watchdog
The Last Watchdog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
AI
AI
WordPress大学
WordPress大学
Security Archives - TechRepublic
Security Archives - TechRepublic
Google Online Security Blog
Google Online Security Blog
U
Unit 42
V2EX - 技术
V2EX - 技术
MongoDB | Blog
MongoDB | Blog
Schneier on Security
Schneier on Security
博客园 - Franky
H
Heimdal Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
W
WeLiveSecurity
P
Privacy & Cybersecurity Law Blog
Cloudbric
Cloudbric
B
Blog RSS Feed
N
News | PayPal Newsroom
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
I
Intezer
Hacker News - Newest:
Hacker News - Newest: "LLM"
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
博客园_首页
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
雷峰网
雷峰网

博客园 - 苔苔以苔苔以苔

笔记本连接无线网络,提示受限 js中typeof(var) !==和typeof(var) !=的区别 mysql如何修改导入数据库文件大小限制 错误分析及解决办法---MySQL server has gone away IIS支持flv文件,或者映射其他扩展名到指定的文件类型 qq登录整合帝国cms+ucenter后会提示用户名不合法 JQuery使用getJSON跨域调用数据 php中删除超链接的正则表达式 MySql中distinct的用法 更改表自动递增值的sql 删除文件bom的php代码 win2003系统+IIS6下,经常出现w3wp.exe和sqlserver.exe的内存占用居高不下 JS中Null与Undefined的区别 如何添加修改uchome创始人 忘记Ucenter创始人密码的最快速解决方法 因为做QQ登录用到session,没想就报错了 匹配中文字符的正则表达式 MySQL字符串相加函数如何运行?似曾相识还是记一笔吧 js获取当前域名及当前页面网址
【已验证】帝国cms 里 栏目列表模板获取同级栏目
苔苔以苔苔以苔 · 2012-06-15 · via 博客园 - 苔苔以苔苔以苔

[showclasstemp]$class_r[$GLOBALS[navclassid]]['bclassid'],3,0,0[/showclasstemp] 

必须要先获取到当前栏目的父栏目ID

页面模板内容支持的变量

 下有 [!--bclass.id--]

但是这个不能在标签里使用

所以采用php代码来获取 $GLOBALS[navclassid]]['bclassid'] 
 这个数组就可以获取父栏目ID