<?php if ($this->hasResults): ?>
<?php foreach ($this->results as $arrResult): ?>
    <tr data-row class="<?php echo $arrResult['rowClass']; ?><?php if ($this->isAjax):?> found<?php endif; ?><?php if ($arrResult['isChecked']): ?> selected<?php endif; ?>">
        <td class="col_0 col_first">
            <?php if ($this->fieldType == 'radio'): ?>
                <input type="radio" class="radio" name="<?php echo $this->strId; ?>" value="<?php echo $arrResult['rowId']; ?>"<?php if ($arrResult['isChecked']):?> checked="checked"<?php endif; ?>>
            <?php else: ?>
                <input type="checkbox" class="checkbox" name="<?php echo $this->strId; ?>[]" value="<?php echo $arrResult['rowId']; ?>"<?php if ($arrResult['isChecked']):?> checked="checked"<?php endif; ?>>
            <?php endif; ?>
            <?php $i = 1; ?>
            <?php foreach ($arrResult['formattedData'] as $k => $varData): ?>
            <td class="col_<?php echo $i++; ?>" data-<?php echo standardize($k) ?>><?php echo $varData; ?></td>
            <?php endforeach; ?>
            <?php if ($this->enableSorting): ?>
                <td class="operations">
                    <img src="<?php echo $this->dragHandleIcon; ?>" width="14" height="16" alt="" class="drag-handle"<?php if ($this->isAjax): ?> style="display:none"<?php endif; ?>>
                </td>
            <?php endif; ?>
        </td>
    </tr>
    <?php endforeach; ?>
    <?php if ($this->moreResults): ?>
        <tr class="found more">
            <td colspan="<?php echo $this->colspan; ?>"><span class="tl_info"><?php echo $this->moreResultsMessage; ?></span></td>
        </tr>
    <?php endif; ?>
<?php else: ?>
<tr class="found empty"><td colspan="<?php echo $this->colspan; ?>"><?php echo $this->noResultsMessage; ?></td></tr>
<?php endif; ?>
