Update Smarty
Update index.php

Signed-off-by: Marcin Pyrka <pyrka.marcin@gmail.com>