php: refactoring (admin) inc