Refactoring the theme_myntcd_rrds function.