Code Duplication    Length = 9-9 lines in 2 locations

index.php 1 location

@@ 106-114 (lines=9) @@
103
                $_image = $_thumb_image->createThumbnail($GLOBALS['xoopsModuleConfig']['shotwidth'], $GLOBALS['xoopsModuleConfig']['shotheight'], $GLOBALS['xoopsModuleConfig']['imagequality'], $GLOBALS['xoopsModuleConfig']['updatethumbs'], $GLOBALS['xoopsModuleConfig']['imageAspect']);
104
            }
105
        }
106
        if (empty($_image) || '' == $_image) {
107
            $imgurl  = $indicator['image'];
108
            $_width  = 33;
109
            $_height = 24;
110
        } else {
111
            $imgurl  = "{$GLOBALS['xoopsModuleConfig']['catimage']}/$_image";
112
            $_width  = $GLOBALS['xoopsModuleConfig']['shotwidth'];
113
            $_height = $GLOBALS['xoopsModuleConfig']['shotheight'];
114
        }
115
        // End
116
117
        $xoopsTpl->append('categories', array(

viewcat.php 1 location

@@ 107-115 (lines=9) @@
104
            }
105
        }
106
107
        if (empty($_image) || '' == $_image) {
108
            $imgurl  = $indicator['image'];
109
            $_width  = 33;
110
            $_height = 24;
111
        } else {
112
            $imgurl  = "{$GLOBALS['xoopsModuleConfig']['catimage']}/$_image";
113
            $_width  = $GLOBALS['xoopsModuleConfig']['shotwidth'];
114
            $_height = $GLOBALS['xoopsModuleConfig']['shotheight'];
115
        }
116
        /*
117
        * End
118
        */