织梦Dedecms联动方式二级变一级的方法
以下代码都注掉
/*
$sontype=(($househx%V00!=0)?$househx:0);
$toptype=(($househx%V00
更多精彩就在: 51免费论文网|www.jxszl.com
==0)?$househx:($househx-($membertype%V00)));
$fields[househx]="
下级显示不显示
foreach($em_househxsas$eid=>$em)
{
if($eid<$toptype+I.||$eid>$toptype+IVIXIX)continue;
if($eid==$househx){
$fields[househx].="{$em}";
}
else{
$fields[househx].="
}
}
*/
换成
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].="
}
}
原文链接:http://www.jxszl.com/biancheng/dedecms/75576.html
热门阅读