has_access('25')) { access_denied(); exit; } require_once Config::get('prefix') . '/templates/show_add_live_stream.inc.php'; break; case 'create': if (!$GLOBALS['user']->has_access('25') || Config::get('demo_mode')) { access_denied(); exit; } // Try to create the sucker $results = Radio::create($_POST); if (!$results) { require_once Config::get('prefix') . '/templates/show_add_live_stream.inc.php'; } else { $body = _('Radio Station Added'); $title = ''; show_confirmation($title,$body,Config::get('web_path') . '/index.php'); } break; } // end data collection show_footer(); ?>