<table> <tr> <td>' . $numRows . ' records found'; if ($nav[$pageNum]) { $results .= ' - Page: ' . $nav[$pageNum]; } $results .= '</td> <td align="right"><a href="' . urldecode($returnLink) . '">Modify Search</a> / <a href="property_search.php">New Search</a></td> </tr> </table> </div> '; $results .= '<table> <tr> ' . columnHeader(array(array('title' => 'Address', 'column' => 'pro_addr3', 'colspan' => '2'), array('title' => 'Vendor(s)', 'column' => 'cli_name'), array('title' => 'Status', 'column' => 'dea_status'), array('title' => 'Price'), array('title' => ' ')), $_SERVER["QUERY_STRING"]) . ' </tr>'; foreach ($pager->getPageData($i) as $item) { $results .= $item; } $results .= '</table>'; $results .= '</div>' . "\n\n"; } /* $params = array( 'mode' => 'Sliding', 'perPage' => 20, 'delta' => 2, 'itemData' => $data );
<table> <tr> <td>' . $pager->numItems() . ' records found'; if ($pager->numPages() > 1) { $header .= ' - Page: ' . $back . ' ' . str_replace(" ", " ", $links['pages']) . ' ' . $next . ''; } $header .= '</td> <td align="right"><a href="' . urldecode($returnLink) . '">Modify Search</a> / <a href="client_search.php">New Search</a></td> </tr> </table> </div> '; $results = ' <table class="resTbl"> <tr> ' . columnHeader(array(array('title' => 'Name', 'column' => 'cli_name', 'colspan' => '2'), array('title' => 'Email', 'column' => 'cli_email'), array('title' => 'Address', 'column' => 'pro_addr'), array('title' => 'Date', 'column' => 'cli_created'), array('title' => 'Reg\'d', 'column' => 'regd_initial'), array('title' => 'Neg', 'column' => 'use_initial'), array('title' => ' ')), $_SERVER["QUERY_STRING"]) . ' </tr>'; foreach ($data as $output) { $results .= $output; } $results .= '</table> '; // not using email form until further testing and logging is done /* $footer = ' <div id="footer"> <table> <tr> <td>With selected: <input type="hidden" name="return" value="'.$_SERVER['SCRIPT_NAME'].'?'.urlencode($_SERVER['QUERY_STRING']).'"> <input type="submit" name="contact_method" value="Email" class="button"></td>
<div id="header"> <table> <tr> <td>' . $pager->numItems() . ' records found'; if ($pager->numPages() > 1) { $header .= ' - Page: ' . $back . ' ' . str_replace(" ", " ", $links['pages']) . ' ' . $next . ''; } $header .= '</td> </tr> </table> </div> '; $results = ' <table> <tr> ' . columnHeader(array(array('title' => 'User', 'column' => 'use_name', 'colspan' => '2'), array('title' => 'Branch', 'column' => 'bra_title'), array('title' => 'Mobile'), array('title' => 'Ext')), $_SERVER["QUERY_STRING"]) . ' </tr>'; foreach ($data as $output) { $results .= $output; } $results .= '</table> '; } else { // no results $results = ' <table cellpadding="5"> <tr> <td>Your search returned no matches, please <strong><a href="' . urldecode($returnLink) . '">try again</a></strong></td> </tr> </table>'; }
<div id="header"> <table> <tr> <td>' . $numRows . ' records found'; if ($nav[$pageNum]) { $results .= ' - Page: ' . $nav[$pageNum]; } $results .= '</td> </tr> </table> </div> '; $results .= '<table> <tr> ' . columnHeader(array(array('title' => 'Address', 'column' => 'pro_addr3'), array('title' => 'Deal Status', 'column' => 'dea_status'), array('title' => 'Branch', 'column' => 'dea_branch'), array('title' => 'Board Status', 'column' => 'dea_board'), array('title' => ' ')), $_SERVER["QUERY_STRING"]) . ' </tr>'; foreach ($pager->getPageData($i) as $item) { $results .= $item; } $results .= '</table>'; $results .= '</div>' . "\n\n"; } $results .= ' <div id="footer"> <table> <tr> <td> <input type="submit" value="Update" class="button" style="width:150px;"> </td> </tr>
<table> <tr> <td>' . $pager->numItems() . ' records found'; if ($pager->numPages() > 1) { $header .= ' - Page: ' . $back . ' ' . str_replace(" ", " ", $links['pages']) . ' ' . $next . ''; } $header .= '</td> <td align="right"><a href="' . urldecode($returnLink) . '">Modify Search</a> / <a href="client_search.php">New Search</a></td> </tr> </table> </div> '; $results = ' <table> <tr> ' . columnHeader(array(array('title' => 'Name', 'column' => 'cli_name', 'colspan' => '2'), array('title' => 'Email', 'column' => 'cli_email'), array('title' => 'Address', 'column' => 'cli_addr'), array('title' => 'Telephone', 'column' => 'tel_number'), array('title' => 'First Reg\'d', 'column' => 'cli_created'), array('title' => 'Last Updated', 'column' => 'cli_timestamp'), array('title' => ' ')), $_SERVER["QUERY_STRING"]) . ' </tr>'; foreach ($data as $output) { $results .= $output; } $results .= '</table> '; } else { $results = ' No pending clients found'; } $page = new HTML_Page2($page_defaults); $form = new Form(); $form->addHtml("<div id=\"standard_form\">\n"); $form->addForm("", "get", "client_contact.php"); $form->addHtml("<fieldset>\n"); $form->addHtml('<div class="block-header">Pending Lettings</div>');
<table> <tr> <td>' . $pager->numItems() . ' records found'; if ($pager->numPages() > 1) { $header .= ' - Page: ' . $back . ' ' . str_replace(" ", " ", $links['pages']) . ' ' . $next . ''; } $header .= '</td> <td align="right"><a href="contact_add.php?dest=inspection_add.php&returnTo=' . urlencode($searchLink) . '&dea_id=' . $dea_id . '&app_subtype=' . $app_subtype . '&app_id=' . $app_id . '">Add Inspector</a></td> </tr> </table> </div> '; $results = ' <table> <tr> ' . columnHeader(array(array('title' => 'Name', 'column' => 'con_name', 'colspan' => '2'), array('title' => 'Company', 'column' => 'com_title'), array('title' => 'Type', 'column' => 'cty_title'), array('title' => ' ')), $_SERVER["QUERY_STRING"]) . ' </tr>'; foreach ($data as $output) { $results .= $output; } $results .= '</table> '; $footer = ' <div id="footer"> <table> <tr> <td> <input type="submit" value="Use Selected Inspector" class="button" /></td> </tr> </table> </div>
<table> <tr> <td>' . $pager->numItems() . ' records found'; if ($pager->numPages() > 1) { $header .= ' - Page: ' . $back . ' ' . str_replace(" ", " ", $links['pages']) . ' ' . $next . ''; } $header .= '</td> <td align="right"><a href="' . $return . '">Modify Search</a> / <a href="appointment_search.php">New Search</a></td> </tr> </table> </div> '; $results = ' <table> <tr> ' . columnHeader(array(array('title' => 'Date', 'column' => 'app_start', 'colspan' => '2'), array('title' => 'Type', 'column' => 'app_type'), array('title' => 'Location(s)'), array('title' => 'Client/Contact'), array('title' => 'User(s)', 'column' => 'use_name'), array('title' => ' ')), $_SERVER["QUERY_STRING"]) . ' </tr>'; foreach ($data as $output) { $results .= $output; } $results .= '</table> '; $footer = ' <div id="footer"> <table> <tr> <td>With selected: <input type="button" name="action" value="View" class="button"> <input type="button" name="action" value="Print" class="button"></td> </tr> </table>
<table class=TH id=T_TH cellspacing=0> <tr><th><div class=col_cl><?php echo $ncomps ? columnHeader("id", "i") : ""; ?> </div></th><th><div class=col_wi>WCA id</div></th><th><div class=col_nm><?php echo columnHeader("name", "n"); ?> </div></th><th><div class=col_bd><?php echo columnHeader("birthday", "b"); ?> </div></th><th><div class=col_ct><?php echo columnHeader("country", "c"); ?> </div></th><th><div class=col_gd><?php echo columnHeader("m/f", "g"); ?> </div></th> <? if (!$ncomps) echo "<th><div class=col_ot> </div></th></tr></table><SPAN id=container><table id=T_TD class=TD cellspacing=0><tr>"; else { $closedevents = strict_query("SELECT id FROM $eventstable WHERE r2_open=TRUE"); $closed = array(); while ($row=cased_mysql_fetch_array($closedevents)) $closed[(int)$row["id"]] = true; // while ($rcat=cased_mysql_fetch_array($categories)) echo "<th><div title=\"".$rcat["name"]."\" style='width:".$catwidth."px;'>".abbr($rcat["abbr"])."</div></th>"; echo "<th><div class=col_ot> </div></th></tr></table><DIV><SPAN id=container><table id=T_TD class=TD cellspacing=0>";
<table> <tr> <td>' . $pager->numItems() . ' records found'; if ($pager->numPages() > 1) { $header .= ' - Page: ' . $back . ' ' . str_replace(" ", " ", $links['pages']) . ' ' . $next . ''; } $header .= '</td> <td align="right"><a href="' . urldecode($returnLink) . '">Modify Search</a> / <a href="client_search.php">New Search</a></td> </tr> </table> </div> '; $results = ' <table> <tr> ' . columnHeader(array(array('title' => 'Name', 'column' => 'cli_name', 'colspan' => '2'), array('title' => 'Contact', 'column' => 'cli_preferred'), array('title' => 'Date', 'column' => 'cli_created'), array('title' => ' ')), $_SERVER["QUERY_STRING"]) . ' </tr>'; foreach ($data as $output) { $results .= $output; } $results .= '</table> '; $footer = ' <div id="footer"> <table> <tr> <td>With selected: <!--<select name="contact_method"> <option value="view">View</option> <option value="email">Email</option> </select>-->
<table> <tr> <td>' . $pager->numItems() . ' records found'; if ($pager->numPages() > 1) { $header .= ' - Page: ' . $back . ' ' . str_replace(" ", " ", $links['pages']) . ' ' . $next . ''; } $header .= '</td> <td align="right"><a href="contact_add.php?searchLink=' . $searchLink . '">Add Contact</a> / <a href="company_add.php?searchLink=' . $searchLink . '">Add Company</a></td> </tr> </table> </div> '; $results = ' <table> <tr> ' . columnHeader(array(array('title' => 'Company or Name', 'colspan' => '2'), array('title' => 'Type'), array('title' => 'Employees'), array('title' => ' ')), $_SERVER["QUERY_STRING"]) . ' </tr>'; foreach ($data as $output) { $results .= $output; } $results .= '</table> '; if ($_GET["dest"] == 'inspection_add.php') { $formAction = "inspection_add.php?stage=appointment&dea_id={$dea_id}&app_subtype={$app_subtype}&app_id={$app_id}"; $footer = ' <div id="footer"> <table> <tr> <td> <input type="submit" value="Use Selected Inspector" class="button" /></td> </tr>
<table> <tr> <td>' . $pager->numItems() . ' records found'; if ($pager->numPages() > 1) { $header .= ' - Page: ' . $back . ' ' . str_replace(" ", " ", $links['pages']) . ' ' . $next . ''; } $header .= '</td> <td align="right"><a href="' . urldecode($returnLink) . '">Modify Search</a> / <a href="client_search.php">New Search</a></td> </tr> </table> </div> '; $results = ' <table> <tr> ' . columnHeader(array(array('title' => 'Name', 'column' => 'cli_name', 'colspan' => '2'), array('title' => 'Email', 'column' => 'cli_email'), array('title' => 'Address', 'column' => 'pro_addr'), array('title' => 'Telephone', 'column' => 'tel_number'), array('title' => 'Date', 'column' => 'cli_created'), array('title' => ' ')), $_SERVER["QUERY_STRING"]) . ' </tr>'; foreach ($data as $output) { $results .= $output; } $results .= '</table> '; // not using email form until further testing and logging is done /* $footer = ' <div id="footer"> <table> <tr> <td>With selected: <input type="hidden" name="return" value="'.$_SERVER['SCRIPT_NAME'].'?'.urlencode($_SERVER['QUERY_STRING']).'"> <input type="submit" name="contact_method" value="Email" class="button"></td>
<table> <tr> <td>' . $pager->numItems() . ' records found'; if ($pager->numPages() > 1) { $header .= ' - Page: ' . $back . ' ' . str_replace(" ", " ", $links['pages']) . ' ' . $next . ''; } $header .= '</td> <td align="right"><a href="' . urldecode($returnLink) . '">Modify Search</a> / <a href="property_search.php">New Search</a></td> </tr> </table> </div> '; $results = ' <table> <tr> ' . columnHeader(array(array('title' => 'Title', 'column' => 'dir_title', 'colspan' => '2'), array('title' => 'Address', 'column' => 'pro_addr'), array('title' => 'Category', 'column' => 'cat_title'), array('title' => ' ')), $_SERVER["QUERY_STRING"]) . ' </tr>'; foreach ($data as $output) { $results .= $output; } $results .= '</table> '; $footer = ' <div id="footer"> <table> <tr> <td>With selected: <!--<select name="contact_method"> <option value="view">View</option> <option value="email">Email</option> </select>-->