} ?> </tr> <?php } ?> </tbody> <?php if (count($tickets_list) > 0 and count($totals) > 0) { ?> <tfoot> <tr> <td colspan="<?php echo $lc->count_columns($is_filter, 6); ?> "></td> <?php echo ExtraFieldsList::renderListingTotals($totals, $extra_fields); ?> <?php if (!$sf_request->hasParameter('projects_id')) { echo '<td></td>'; } ?> </tr> </tfoot> <?php } ?>