little format change, completed admin edit part,

little format change, completed admin edit part, only include SQL code
for report, not yet explain