Exemplo n.º 1
0
        defined('AJAX') && showOverPrint(1, $seltid, '', 1, '', "恭喜,设置印戳完成", $oid);
    }
    $overPrintService = L::loadclass("overprint", 'forum');
    echo $overPrintService->getunRelatedsHTML($fid, $seltid);
    footer();
} elseif ($action == 'batch') {
    if ($cyid) {
        !$db_groups_open && Showmsg('groups_close');
        require_once R_P . 'apps/groups/lib/colony.class.php';
        //* include_once(D_P . 'data/bbscache/o_config.php');
        extract(pwCache::getData(D_P . 'data/bbscache/o_config.php', false));
        $newColony = new PwColony($cyid);
        if (!($colony =& $newColony->getInfo())) {
            Showmsg('data_error');
        }
        $ifadmin = $newColony->getIfadmin();
    }
    //版块浏览及管理权限
    $pwSystem = array();
    $admincheck = $ajaxcheck = $managecheck = $pwAnonyHide = $pwPostHide = $pwSellHide = $pwEncodeHide = 0;
    if ($groupid != 'guest') {
        L::loadClass('forum', 'forum', false);
        if ($colony) {
            //群组论坛浏览方式
            $ifcolonyadmin = $newColony->getColonyAdmin();
            $ifbbsadmin = $newColony->getBbsAdmin($isGM);
            $fid = $newColony->info['classid'];
            $pwSystem = pwRights($isBM);
            if ($newColony->getManageCheck($ifbbsadmin, $ifcolonyadmin)) {
                $managecheck = 1;
            }