require smarty