change template main.php