with all columns and annotations necessary to // render the full page // $count - number of records matching the search / filter part of the // query $page = ($_GET['p'] && is_numeric($_GET['p']))?$_GET['p']:1; $pageNav = new Pagenate($count, $page, PAGE_LIMIT); $pageNav->setURL('tickets.php', $args); $tickets = $pageNav->paginate($tickets); // Identify columns of output $columns = $queue->getColumns(); // Apply default sort option if ($queue_sort = $queue->getDefaultSort()) { $tickets = $queue_sort->applySort($tickets); } ?> %s', $C->getWidth(), Format::htmlchars($C->getHeading())); } ?> '; echo ''; foreach ($columns as $C) { list($content, $styles) = $C->render($T); $style = $styles ? 'style="'.$styles.'"' : ''; echo ""; } echo ''; } ?>
"; echo "
$content
"; echo "