has_access(100)) { header ("Location: " . conf('web_path') . "/index.php?access=denied"); exit(); } $action = scrub_in($_REQUEST['action']); $search_type = scrub_in($_REQUEST['search_type']); show_template('header'); show_menu_items('Admin'); show_admin_menu('Catalog'); switch ($action) { case 'search': $flags = get_duplicate_songs($search_type); show_duplicate_songs($flags,$search_type); break; default: show_duplicate_searchbox($search_type); } show_footer(); show_clear(); show_page_footer ('Admin', 'Catalog',$user->prefs['display_menu']); ?>