where(array("pid"=>$pid))->find(); $list['content'] = htmlspecialchars_decode($list['content']); $this->assign('list',$list); $images = M('retail_environmental')->where(array("pid"=>$pid))->select(); $this->assign('images',$images); $data['pid'] = $pid; $data['status'] = '1'; $data['type'] = '2'; $banner = M('retail_tempbanner')->where($data)->find(); $this->assign('banner',$banner); $logo = session('main_user'); $this->assign('webinfo',$logo); $this->display($name['templatename']."/about"); } } }