?>
</th>
                <th class="masterTooltip" title="Public checks can be subscribed to by any user while private checks remain hidden from other users"><?php 
    echo fCRUD::printSortableColumn('visiblity', 'Visibility');
    ?>
</th>
                <th>Action</th>
            </tr></thead>
        <tbody>    
            <?php 
    $first = TRUE;
    foreach ($checks as $check) {
        ?>
                <tr>
                    <td><?php 
        echo '<a href="' . CheckResult::makeUrl('list', $check) . '">' . $check->prepareName();
        ?>
</a></td>    
                    <td style="max-width:300px; overflow:scroll;"><?php 
        echo $check->prepareTarget();
        ?>
</td>
                    <td><?php 
        echo $check->prepareWarn();
        ?>
</td>
                    <td><?php 
        echo $check->prepareError();
        ?>
</td>
                    <td><?php 
    <th><?=fCRUD::printSortableColumn('name','Name'); ?></th>
    <th><?=fCRUD::printSortableColumn('target','Target'); ?></th>
    <th><?=fCRUD::printSortableColumn('warn','Warn'); ?></th>
    <th><?=fCRUD::printSortableColumn('error','Error'); ?></th>
    <th><?=fCRUD::printSortableColumn('sample','Sample'); ?></th>
    <th><?=fCRUD::printSortableColumn('baseline','Baseline'); ?></th>
    <th><?=fCRUD::printSortableColumn('over_under','Over/Under'); ?></th>
    <th><?=fCRUD::printSortableColumn('visiblity','Visibility'); ?></th>
    <th>Action</th>
       </tr></thead><tbody>    
	<?php
	$first = TRUE;
	foreach ($checks as $check) {
	?>
    	<tr>
        <td><?='<a href="' . CheckResult::makeUrl('list',$check) . '">' . $check->prepareName(); ?></a></td>
        <td><?=$check->prepareTarget(); ?></td>
        <td><?=$check->prepareWarn(); ?></td>
        <td><?=$check->prepareError(); ?></td>
        <td><?=$check->prepareSample(); ?></td>
        <td><?=$check->prepareBaseline(); ?></td>
        <td><?=$over_under_array[$check->getOver_Under()]; ?></td>
        <td><?=$visibility_array[$check->getVisibility()]; ?></td>
        <td><?php if (fSession::get('user_id') == $check->getUserId()) { 
                    echo '<a href="' . Check::makeURL('edit', $check) . '">Edit</a> |'; 
                  } ?>
        <a href="<?=Subscription::makeURL('add', $check); ?>">Subscribe</a></td>
        </tr>
    <?php } ?>
    </tbody></table>
    <?