"景先生毕设|www.jxszl.com

织梦Dedecms联动方式二级变一级的方法

2022-10-29 16:31编辑: www.jxszl.com景先生毕设
织梦Dedecms联动方式II级变I.级的方法,现在就来说I.下如何修改文件,找到infolink.lib.php.
以下代码都注掉
/*
$sontype=(($househx%V00!=0)?$househx:0);
$toptype=(($househx%V00

 更多精彩就在: 51免费论文网|www.jxszl.com 
==0)?$househx:($househx-($membertype%V00)));
$fields[househx]="{$em_househxs[$toptype]}";
下级显示不显示
foreach($em_househxsas$eid=>$em)
{
if($eid<$toptype+I.||$eid>$toptype+IVIXIX)continue;
if($eid==$househx){
$fields[househx].="{$em}";
}
else{
$fields[househx].="{$em}";
}
}
*/
换成
foreach($em_househxsas$eid=>$em)
{
if($eid%V00!=0)continue;
if(isset($_GET[househx]))
{
$navclass=$_GET[househx];
if($navclass==$eid)
{
$navclass=’style=color:#ff0000′;
}
$fields[househx].="{$em}";
}
}


原文链接:http://www.jxszl.com/biancheng/dedecms/75576.html