Connection); $site_auth =& $Context->getAdminSiteAuth(); $params = array(); $current_date = date('Y-m-d'); $sql = <<Connection, $sql, $params, $Context->Config['pager/option/content'] ); $records = $pager->data(); ob_start(); $page_template = 'index.html.php'; include_with_param( $page_template, array( 'records' => $records, 'pager' => $pager, ) );