[RESOLVED] How can I refactor this code?

Printable View