Code Duplication    Length = 4-4 lines in 2 locations

admin/mimetypes.php 2 locations

@@ 379-382 (lines=4) @@
376
            redirect_header(XHELP_ADMIN_URL."/mimetypes.php?limit=$limit&start=$start", 3, _AM_XHELP_MESSAGE_DELETE_MIME_ERROR);
377
        }
378
    }
379
    if(isset($_POST['add_mime'])){
380
        header("Location: ".XHELP_ADMIN_URL."/mimetypes.php?op=add&start=$start&limit=$limit");
381
        exit();
382
    }
383
    if(isset($_POST['mime_search'])){
384
        header("Location: ".XHELP_ADMIN_URL."/mimetypes.php?op=search");
385
        exit();
@@ 518-521 (lines=4) @@
515
            redirect_header(XHELP_ADMIN_URL."/mimetypes.php?limit=$limit&start=$start", 3, _AM_XHELP_MESSAGE_DELETE_MIME_ERROR);
516
        }
517
    }
518
    if(isset($_POST['add_mime'])){
519
        header("Location: ".XHELP_ADMIN_URL."/mimetypes.php?op=add&start=$start&limit=$limit");
520
        exit();
521
    }
522
    if(isset($_REQUEST['order'])){
523
        $order = $_REQUEST['order'];
524
    } else {