first exercise templates with Smarty