Update template file

Hi, the template file contains old php code.