change to php tpl