婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 網站建設 > 建站知識 > Dedecms聯動方式二級變一級的方法

Dedecms聯動方式二級變一級的方法

POST TIME:2018-10-30 17:23

Dedecms聯動方式二級變一級的方法,現在就來說一下如何修改文件,找到infolink.lib.php

以下代碼都注掉
/*
$sontype = ( ($househx % 500 != 0) ? $househx : 0 );
$toptype = ( ($househx % 500 == 0) ? $househx : ( $househx-($membertype%500) ) );
$fields['househx'] = "<a href=’{$baseurl}plus/list.php?channelid={$channelid}&tid={$typeid}&househx={$toptype}&nativeplace={$nativeplace}’><b>{$em_househxs[$toptype]}</b></a> ";

下級顯示不顯示
foreach($em_househxs as $eid=>$em)
{
if($eid < $toptype+1 || $eid > $toptype+499) continue;
if($eid == $househx) {
$fields['househx'] .= " <b>{$em}</b>";
}
else {
$fields['househx'] .= " <a href=’{$baseurl}plus/list.php?channelid={$channelid}&tid={$typeid}&househx={$eid}&nativeplace={$nativeplace}’>{$em}</a>";
}
}
*/

換成

foreach($em_househxs as $eid=>$em)
{
if($eid % 500 != 0) continue;
if(isset($_GET['househx']))
{
$navclass=$_GET['househx'];
if ($navclass==$eid)
{
$navclass=’ style=color:#ff0000′;
}
$fields['househx'] .= " <a href=’{$baseurl}plus/list.php?channelid={$channelid}&tid={$typeid}&househx={$eid}&nativeplace={$nativeplace}’".$navclass.">{$em}</a>";
}
}



收縮
  • 微信客服
  • 微信二維碼
  • 電話咨詢

  • 400-1100-266
主站蜘蛛池模板: 贺州市| 澎湖县| 天峨县| 定结县| 马龙县| 探索| 茂名市| 师宗县| 富川| 白山市| 华蓥市| 石门县| 小金县| 新巴尔虎右旗| 苗栗市| 万州区| 类乌齐县| 灌南县| 离岛区| 景德镇市| 邹平县| 游戏| 和平区| 通许县| 靖西县| 虹口区| 黄平县| 松江区| 湘潭县| 勃利县| 成都市| 黄大仙区| 乌海市| 潢川县| 赣榆县| 安福县| 根河市| 东辽县| 民勤县| 桐柏县| 顺平县|