Code Duplication    Length = 4-4 lines in 2 locations

admin/upload.php 1 location

@@ 114-117 (lines=4) @@
111
112
        //xtubeRenderAdminMenu( _AM_XOOPSTUBE_MUPLOADS );
113
        XoopstubeUtilities::xtubeGetServerStatistics();
114
        if ($rootpath > 0) {
115
            echo '<div><b>' . _AM_XOOPSTUBE_VIDEO_FUPLOADPATH . '</b> ' . XOOPS_ROOT_PATH . '/' . $dirarray[$rootpath] . '</div>';
116
            echo '<div><b>' . _AM_XOOPSTUBE_VIDEO_FUPLOADURL . '</b> ' . XOOPS_URL . '/' . $dirarray[$rootpath] . '</div><br>';
117
        }
118
        $pathlist = isset($listarray[$rootpath]) ? $namearray[$rootpath] : '';
119
        $namelist = isset($listarray[$rootpath]) ? $namearray[$rootpath] : '';
120

admin/vupload.php 1 location

@@ 85-88 (lines=4) @@
82
83
        //xtubeRenderAdminMenu( _AM_XOOPSTUBE_VUPLOADS );
84
85
        if ($rootpath > 0) {
86
            echo '<div><b>&nbsp;' . _AM_XOOPSTUBE_VUPLOAD_FUPLOADPATH . '</b> ' . XOOPS_ROOT_PATH . '/' . $dirarray[$rootpath] . '</div>';
87
            echo '<div><b>&nbsp;' . _AM_XOOPSTUBE_VUPLOAD_FUPLOADURL . '</b> ' . XOOPS_URL . '/' . $dirarray[$rootpath] . '</div><br>';
88
        }
89
        $pathlist = isset($listarray[$rootpath]) ? $namearray[$rootpath] : '';
90
        $namelist = isset($listarray[$rootpath]) ? $namearray[$rootpath] : '';
91