php: simple template generator based on hash tags