0) { itoast('', $_W['siteurl'] . '&version_id=' . $referer['version_id']); } $account_api = WeAccount::create(); if (is_error($account_api)) { itoast('', url('module/display')); } $check_manange = $account_api->checkIntoManage(); if (is_error($check_manange)) { $account_display_url = $account_api->accountDisplayUrl(); itoast('', $account_display_url); } } if (in_array($action, array('group', 'manage-system'))) { define('FRAME', 'system'); } $_GPC['account_type'] = !empty($_GPC['account_type']) || !empty($_GPC['system_welcome']) ? $_GPC['account_type'] : ACCOUNT_TYPE_OFFCIAL_NORMAL; if (!empty($_GPC['system_welcome'])) { define('ACCOUNT_TYPE_TEMPLATE', '-welcome'); } $account_param = WeAccount::createByType($_GPC['account_type']); define('ACCOUNT_TYPE', $account_param->type); define('ACCOUNT_TYPE_TEMPLATE', $account_param->typeTempalte);