private function _show_single_page_item($item) { $item_id = $item['item_id']; $current_page_id = I("page_id/d"); $login_user = session("login_user"); $uid = $login_user['uid'] ? $login_user['uid'] : 0; //获取页面 $page = D("Page")->where(" item_id = '{$item_id}' ")->find(); $domain = $item['item_domain'] ? $item['item_domain'] : $item['item_id']; $share_url = get_domain() . __APP__ . '/' . $domain; $ItemPermn = $this->checkItemPermn($uid, $item_id); $ItemCreator = $this->checkItemCreator($uid, $item_id); $this->assign("current_page_id", $current_page_id); $this->assign("ItemPermn", $ItemPermn); $this->assign("ItemCreator", $ItemCreator); $this->assign("share_url", $share_url); $this->assign("catalogs", $catalogs); $this->assign("page", $page); $this->assign("item", $item); $this->assign("login_user", $login_user); $this->display("show_single_page"); }