PHP Template-inheritance Resources