{php} if (isset($this->_tpl_vars['row']['status'])) { $statusClass = 'report-' . $this->_tpl_vars['row']['status']; if (empty($this->_tpl_vars['attribs']['class'])) { $this->_tpl_vars['attribs']['class'] = $statusClass; } else { $this->_tpl_vars['attribs']['class'] = $statusClass; } } {/php} {foreach from = $item->columns item = column} {include file=$item->getTemplate('cell.tpl')} {/foreach}