get_channel(); if(local_user() && $channel && $channel['xchan_url']) { $dest = get_pconfig(local_user(),'system','startpage'); if(! $dest) $dest = z_root() . '/network'; goaway($dest); } if(get_account_id()) { goaway('new_channel'); } }} if(! function_exists('home_content')) { function home_content(&$a) { $o = ''; if(x($_SESSION,'theme')) unset($_SESSION['theme']); if(x($_SESSION,'mobile-theme')) unset($_SESSION['mobile-theme']); $o .= '