Code Duplication    Length = 4-4 lines in 2 locations

admin/upload.php 1 location

@@ 122-125 (lines=4) @@
119
120
        //xtubeRenderAdminMenu( _AM_XOOPSTUBE_MUPLOADS );
121
        xtubeGetServerStatistics();
122
        if ($rootpath > 0) {
123
            echo '<div><b>' . _AM_XOOPSTUBE_VIDEO_FUPLOADPATH . '</b> ' . XOOPS_ROOT_PATH . '/' . $dirarray[$rootpath] . '</div>';
124
            echo '<div><b>' . _AM_XOOPSTUBE_VIDEO_FUPLOADURL . '</b> ' . XOOPS_URL . '/' . $dirarray[$rootpath] . '</div><br />';
125
        }
126
        $pathlist = (isset($listarray[$rootpath])) ? $namearray[$rootpath] : '';
127
        $namelist = (isset($listarray[$rootpath])) ? $namearray[$rootpath] : '';
128

admin/vupload.php 1 location

@@ 93-96 (lines=4) @@
90
91
        //xtubeRenderAdminMenu( _AM_XOOPSTUBE_VUPLOADS );
92
93
        if ($rootpath > 0) {
94
            echo '<div><b>&nbsp;' . _AM_XOOPSTUBE_VUPLOAD_FUPLOADPATH . '</b> ' . XOOPS_ROOT_PATH . '/' . $dirarray[$rootpath] . '</div>';
95
            echo '<div><b>&nbsp;' . _AM_XOOPSTUBE_VUPLOAD_FUPLOADURL . '</b> ' . XOOPS_URL . '/' . $dirarray[$rootpath] . '</div><br />';
96
        }
97
        $pathlist = (isset($listarray[$rootpath])) ? $namearray[$rootpath] : '';
98
        $namelist = (isset($listarray[$rootpath])) ? $namearray[$rootpath] : '';
99