不同模型 关联字段id 怎么实现导航条啊
这是别人在帝国实现的 没看懂
<ul> <li <?if ($curr==0){?>class="curr"<?}?> title="<?=$s_title?>"><a href="/newhouse/lpzs/<?=$houseid?>/index.html" title="项目首页"><span>项目首页</span></a></li> <li <?if ($curr==1){?>class="curr"<?}?>><a href="/newhouse/lpzs/<?=$houseid?>/lpxx.html" title="基本信息"><span>基本信息</span></a></li> <li <?if ($curr==2){?>class="curr"<?}?>><a href="/newhouse/lpzs/index.php?classid=3&ph=1&houseid=<?=$houseid?>" title="户型展示"><span>户型展示</span></a></li> <li <?if ($curr==3){?>class="curr"<?}?>><a href="/newhouse/lpzs/index.php?classid=5&ph=1&houseid=<?=$houseid?>" title="楼盘相册"><span>楼盘相册</span></a></li> <li <?if ($curr==4){?>class="curr"<?}?>><a href="/newhouse/lpzs/index.php?classid=118&ph=1&houseid=<?=$houseid?>" title="楼盘视频"><span>楼盘视频</span></a></li> <li <?if ($curr==5){?>class="curr"<?}?>><a href="/newhouse/lpzs/<?=$houseid?>/lpmap.html" title="楼盘地图"><span>楼盘地图</span></a></li> <li <?if ($curr==6){?>class="curr"<?}?>><a href="/newhouse/lpzs/index.php?classid=6&ph=1&houseid=<?=$houseid?>" title="楼盘动态"><span>楼盘动态</span></a></li> <li <?if ($curr==7){?>class="curr"<?}?>><a href="/newhouse/lpzs/<?=$houseid?>/lpwd.html" title="在线问答"><span>在线问答</span></a></li> <li <?if ($curr==8){?>class="curr"<?}?>><a href="/newhouse/lpzs/index.php?classid=119&ph=1&houseid=<?=$houseid?>" title="预售证查询"><span>预售证查询</span></a></li> </ul>
上传以下图片:
|