fixed #26 Smarty: clean up index.php file
Merge pull request #31 from cnmicha/26

fixed #26 Smarty: clean up index.php file