{$cats[栏目id][content]}
{strcut($cats[ID][‘content‘],字数,‘...‘)}
{strcut(,350)}
//htmlspecialchars_decode:把一些预定义的 HTML 实体转换为字符 strip_tags:去除htm标签
{str_replace(array(‘ ‘, PHP_EOL, ‘ ‘), array(‘‘, ‘‘, ‘‘), strcut(clearhtml($cats[ID][content]),180))}
{mb_substr(clearhtml($t[‘description‘]),0,26,‘utf-8‘)}