{if !empty($diyitem['data'])} {if empty($diyitem['params']['showtype']) || count($diyitem['data'])<=intval($diyitem['params']['rownum'])}