harmonize formatting of frontend php