getRow('SELECT a.* FROM `' . $db_mymps . 'member` AS a LEFT JOIN `' . $db_mymps . 'area` AS b ON a.areaid = b.areaid ' . $where); if (!$space || empty($user)) { write_msg('您所指定的会员不存在,或者尚未通过审核'); } $space['if_corp'] = $mymps_global['cfg_if_corp'] != 1 ? 0 : $space['if_corp']; $space['storeuri'] = $space['if_corp'] == 1 ? Rewrite('store', array('uid' => $space['id'])) : ''; $space['uri'] = Rewrite('space', array('user' => $user, 'part' => 'index')); $space['prelogo'] = $space['prelogo'] ? $space['prelogo'] : $mymps_global[SiteUrl] . '/images/noavatar_small.gif'; $loc = get_location('space', '', $user); $location = $loc['location']; $page_title = $loc['page_title']; globalassign(); include mymps_tpl('index'); is_object($db) && $db->Close(); ?>