-
蔬菜鲜果配送类网站织梦...
-
展览展会信息类网站织梦...
-
财税记账工商注册认证类...
-
人力资源管理类网站织梦...
-
手游APP软件下载类网站织...
-
钢结构岗亭营销型织梦网...
-
仪器仪表科技公司类网站...
-
电子元件电路板类网站织...
-
仪器分析仪类网站织梦模...
-
貂绒大衣服装设计类网站...
-
食品百货英文外贸类网站...
-
物流快运速递类网站织梦...
-
精工机械轴承生产厂家类...
-
玩具动漫类网站织梦模板...
-
水利工程施工类网站织梦...
-
装饰建材公司类网站织梦...
-
网站模板资源下载类网站...
-
中英双语律师事务所类网...
-
电脑系统软件下载类网站...
-
营销型无缝钢管定制生产...
打开/include/taglib/channel.lib.php文件
找到
<span style="font-size:14px;">if($type=='top'){$sql = "SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepathFrom `dede_arctype` WHERE reid=0 And ishidden<>1 order by sortrank asc limit 0, $line ";}else if($type=='son'){if($typeid==0) return '';$sql = "SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepathFrom `dede_arctype` WHERE reid='$typeid' And ishidden<>1 order by sortrank asc limit 0, $line ";}else if($type=='self'){if($reid==0) return '';$sql = "SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepathFROM `dede_arctype` WHERE reid='$reid' And ishidden<>1 order by sortrank asc limit 0, $line ";}</span>
改成
<span style="font-size:14px;">if($type=='top'){$sql = "SELECT id,typename,seotitle,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepathFrom `dede_arctype` WHERE reid=0 And ishidden<>1 order by sortrank asc limit 0, $line ";}else if($type=='son'){if($typeid==0) return '';$sql = "SELECT id,typename,seotitle,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepathFrom `dede_arctype` WHERE reid='$typeid' And ishidden<>1 order by sortrank asc limit 0, $line ";}else if($type=='self'){if($reid==0) return '';$sql = "SELECT id,typename,seotitle,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepathFROM `dede_arctype` WHERE reid='$reid' And ishidden<>1 order by sortrank asc limit 0, $line ";}</span>
前端代码
{dede:channel type='top' row='10'}<li><a href='[field:typeurl/]'>[field:typename/]<br/>[field:seotitle/]</a></li>{/dede:channel}