The basic operation of a template engine is to assign variables or arrays and integrate them with your html page.
Let's try something simple first. Open your index.php page and add this line before the $smarty->display function.
$smarty->assign ("name", "Hermawan Haryanto");
Open your index.html page and add this line:
My name is {$name}
The result would be:
My name is Hermawan Haryanto
Now, let's try assigning arrays to your template. Add these lines in index.php remembering all added lines would be before the $smarty->display function.