. * */ require_once '../lib/init.php'; if (!Access::check('interface', '100')) { UI::access_denied(); exit; } UI::show_header(); /* Switch on Action */ switch ($_REQUEST['action']) { case 'find_duplicates': $search_type = $_REQUEST['search_type']; $duplicates = Song::find_duplicates($search_type); require_once AmpConfig::get('prefix') . UI::find_template('show_duplicate.inc.php'); require_once AmpConfig::get('prefix') . UI::find_template('show_duplicates.inc.php'); break; default: require_once AmpConfig::get('prefix') . UI::find_template('show_duplicate.inc.php'); break; } // end switch on action UI::show_footer();