Updated template.php and front.php for assignment-4