PHP render code made generic