smarty init