Blog App using Smarty3