* @copyright 2001 - 2011 Ampache.org * @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @version PHP 5.2 * @link http://www.ampache.org/ * @since File available since Release 1.0 */ require '../lib/init.php'; if (!Access::check('interface',100)) { access_denied(); exit(); } show_header(); switch ($_REQUEST['action']) { default: // Show Catalogs $catalog_ids = Catalog::get_catalogs(); $browse = new Browse(); $browse->set_type('catalog'); $browse->set_static_content(true); $browse->save_objects($catalog_ids); $browse->show_objects($catalog_ids); $browse->store(); break; } show_footer(); ?>