$type = (int) S::getGP('type'); $foruminfo['logo'] = $threadBehavior->getLogo($foruminfo['logo']); //门户形式浏览 if ($foruminfo['ifcms'] && $db_modes['area']['ifopen'] && !$cyid) { S::gp(array('viewbbs')); if (!$viewbbs) { require_once R_P . 'require/forum.php'; require_once R_P . 'mode/area/area_thread.php'; exit; } $viewbbs = $viewbbs ? "&viewbbs={$viewbbs}" : ""; } if (!S::inArray($windid, $manager)) { $pwforum->forumcheck($winddb, $groupid); } $pwforum->setForumStyle(); //版块浏览及管理权限 $pwSystem = array(); $isGM = $isBM = $admincheck = $ajaxcheck = $managecheck = $pwAnonyHide = $pwPostHide = $pwSellHide = $pwEncodeHide = 0; if ($groupid != 'guest') { $isGM = S::inArray($windid, $manager); if ($colony) { //群组论坛浏览方式 $ifcolonyadmin = $newColony->getColonyAdmin(); $ifbbsadmin = $newColony->getBbsAdmin($isGM); $isBM = $pwforum->isBM($windid); $pwSystem = pwRights($isBM); if ($newColony->getManageCheck($ifbbsadmin, $ifcolonyadmin)) { $managecheck = 1; } $pwSystem['forumcolonyright'] && ($managecheck = 1);