smarty截取和时间格式化、过滤html

<{$spFreeData[doc].title|mb_substr:0:7:'UTF-8'}>
<{$time|date_format:'%Y-%m-%d %H:%M:%S'}>
<{$spFreeData[doc].title|strip_tags}>