has_access(100)) { header("Location: " . conf('web_path') . "/index.php?access=denied"); exit(); } if ( $type and $action == 'show_songs' ) { print("
Orphaned Songs with missing $type information
"); $song_ids = get_orphan_songs($type); show_songs($song_ids); } show_template('header'); show_menu_items('Admin'); show_admin_menu('Catalog'); if ( $action == 'show_orphan_songs' ) { print("Orphaned songs with no artist
"); $song_ids = get_orphan_songs(); show_songs($song_ids); } elseif ( $action == 'show_orphan_albums' ) { print("Orphaned albums with no name
"); $song_ids = get_orphan_albums(); show_songs($song_ids); } ?>