copy index1.php to template.php