has_access(100)) { access_denied(); exit; } $action = scrub_in($_REQUEST['action']); $search_type = scrub_in($_REQUEST['search_type']); show_template('header'); /* Switch on Action */ switch ($action) { case 'search': $flags = get_duplicate_songs($search_type); show_duplicate_songs($flags,$search_type); break; default: show_duplicate_searchbox($search_type); break; } // end switch on action show_footer(); ?>