Simple PHP templating engine