Code Duplication    Length = 8-8 lines in 2 locations

admin/country_manager.php 2 locations

@@ 150-157 (lines=8) @@
147
            unlink(XOOPS_ROOT_PATH . $flag);
148
        }
149
        redirect_header('country_manager.php', 2, _AM_XFGB_FLAGDELETED);
150
    } else {
151
        xoops_cp_header();
152
        $index_admin = new ModuleAdmin();
153
        echo $index_admin->addNavigation(basename(__FILE__));
154
        xoops_confirm(array('op' => 'flagDel', 'country_code' => $country_code, 'ok' => 1), 'country_manager.php', _AM_XFGB_CONFDELFLAG);
155
        include __DIR__ . '/admin_footer.php';
156
        //xoops_cp_footer();
157
    }
158
}
159
160
/**
@@ 235-242 (lines=8) @@
232
            unlink(XOOPS_ROOT_PATH . $flag);
233
        }
234
        redirect_header('country_manager.php', 1, _AM_XFGB_COUNTRYDELETED);
235
    } else {
236
        xoops_cp_header();
237
        $index_admin = new ModuleAdmin();
238
        echo $index_admin->addNavigation(basename(__FILE__));
239
        xoops_confirm(array('op' => 'countryDel', 'country_id' => $country_id, 'ok' => 1), 'country_manager.php', _AM_XFGB_CONFDELCOUNTRY);
240
        include __DIR__ . '/admin_footer.php';
241
        //xoops_cp_footer();
242
    }
243
}
244
245
/**