getStoreById($storeid); $GLOBALS['frames'] = $this->getMainMenu2(); $where = " where uniacid=:uniacid and store_id=:store_id"; $data[':uniacid'] = $_W['uniacid']; $data[':store_id'] = $_COOKIE["storeid"]; $groupId = $_GPC['id']; $sql = " select a.*,b.name as nick_name,b.img from".tablename('cjdc_group')." a left join ".tablename('cjdc_user')." b on a.user_id=b.id where a.id=:id"; $group = pdo_fetch($sql,array(':id'=> $groupId)); $sql2 = " select a.*,b.name as nick_name from".tablename('cjdc_grouporder')." a left join ".tablename('cjdc_user')." b on a.user_id=b.id where a.group_id=:id and a.state in (2,3)"; $order = pdo_fetchall($sql2,array(':id'=> $groupId)); $store = pdo_get('cjdc_store', ['id' => $group['store_id']]); include $this->template('web/groupteam');