part 4 of results
<a href="<?php printf("%s?pageNum_WADAReport=%d%s", $currentPage, min($totalPages_WADAReport, $pageNum_WADAReport + 1), $queryString_WADAReport); ?>">Next</a>
</span><?php } // Show if not last page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAReport < $totalPages_WADAReport) { // Show if not last page ?><span id="Last1" class="WADATextButton">
<a href="<?php printf("%s?pageNum_WADAReport=%d%s", $currentPage, $totalPages_WADAReport, $queryString_WADAReport); ?>">Last</a>
</span><?php } // Show if not last page ?></td>
</tr>
</table>
</div>
</div>
</div>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_WADAReport == 0) { // Show if recordset empty ?>
<div class="WADANoResults">
<div class="WADANoResultsMessage">No results for your search</div>
<div></div>
</div>
<?php } // Show if recordset empty ?>
</div>
<div class="WADAResultsContainer"> <a name="top"></a>
<div id="WADAPageTitleArea">
<div id="WADAPageTitle">Page Title</div>
<div><a href="HBCCSearch.php">New Search</a></div>
</div>
<?php if ($totalRows_WADAReport > 0) { // Show if recordset not empty ?>
<div class="WADAResults">
<div class="WADAResultsNavigation">
<div class="WADAResultsCount">Records
<?php echo ($startRow_WADAReport + 1) ?>
to
<?php echo min($startRow_WADAReport + $maxRows_WADAReport, $totalRows_WADAReport) ?>
of
<?php echo $totalRows_WADAReport ?>
</div>
<div class="WADAResultsNavTop">
<table border="0" cellpadding="0" cellspacing="0" class="WADAResultsNavTable">
<tr valign="middle">
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAReport > 0) { // Show if not first page ?><span id="First" class="WADATextButton">
<a href="<?php printf("%s?pageNum_WADAReport=%d%s", $currentPage, 0, $queryString_WADAReport); ?>">First</a>
</span><?php } // Show if not first page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAReport > 0) { // Show if not first page ?><span id="Previous" class="WADATextButton">
<a href="<?php printf("%s?pageNum_WADAReport=%d%s", $currentPage, max(0, $pageNum_WADAReport - 1), $queryString_WADAReport); ?>">Previous</a>
</span><?php } // Show if not first page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAReport < $totalPages_WADAReport) { // Show if not last page ?><span id="Next" class="WADATextButton">
<a href="<?php printf("%s?pageNum_WADAReport=%d%s", $currentPage, min($totalPages_WADAReport, $pageNum_WADAReport + 1), $queryString_WADAReport); ?>">Next</a>
</span><?php } // Show if not last page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAReport < $totalPages_WADAReport) { // Show if not last page ?><span id="Last" class="WADATextButton">
<a href="<?php printf("%s?pageNum_WADAReport=%d%s", $currentPage, $totalPages_WADAReport, $queryString_WADAReport); ?>">Last</a>
</span><?php } // Show if not last page ?></td>
</tr>
</table>
</div>
<div class="WADAResultsInsertButton"></div> </div>
<table class="WADAResultsTable" border="0" cellpadding="0" cellspacing="0">
<tr>
<th class="WADAResultsTableHeader">Case Number:</th>
<th class="WADAResultsTableHeader">Date Submitted:</th>
<th class="WADAResultsTableHeader">Event date:</th>
<th class="WADAResultsTableHeader">Event country:</th>
<th class="WADAResultsTableHeader">Event state:</th>
<th class="WADAResultsTableHeader">Event province:</th>
<th class="WADAResultsTableHeader">Short description:</th>
<th class="WADAResultsTableHeader">upload1:</th>
<th class="WADAResultsTableHeader">upload2:</th>
<th class="WADAResultsTableHeader">upload3:</th>
<th class="WADAResultsTableHeader">Within 500 ft of ground:</th>
<th> </th>
</tr>
<?php do { ?>
<tr class="<?php echo $WARRT_AltClass1->getClass(true); ?>">
<td class="WADAResultsTableCell"><a href="HBCCDetails.php?id=<?php echo(rawurlencode($row_WADAReport['id'])); ?>" ><?php echo($row_WADAReport['id']); ?></a></td>
<td class="WADAResultsTableCell"><?php echo($row_WADAReport['submittedDate']); ?></td>
<td class="WADAResultsTableCell"><?php echo($row_WADAReport['event_date']); ?></td>
<td class="WADAResultsTableCell"><?php echo($row_WADAReport['event_country']); ?></td>
<td class="WADAResultsTableCell"><?php echo($row_WADAReport['event_state_us']); ?></td>
<td class="WADAResultsTableCell"><?php echo($row_WADAReport['event_province_ca']); ?></td>
<td class="WADAResultsTableCell"><?php echo($row_WADAReport['short_description']); ?></td>
<td class="WADAResultsTableCell"><?php echo($row_WADAReport['upload1']); ?></td>
<td class="WADAResultsTableCell"><?php echo($row_WADAReport['upload2']); ?></td>
<td class="WADAResultsTableCell"><?php echo($row_WADAReport['upload3']); ?></td>
<td class="WADAResultsTableCell"><?php echo($row_WADAReport['_fivehundfeet']); ?></td>
<td class="WADAResultsEditButtons" nowrap="nowrap"><table class="WADAEditButton_Table">
<tr>
<td><span id="View<?php echo(rawurlencode($row_WADAReport['id'])); ?>" class="WADATextButton"><a href="HBCCDetails.php?id=<?php echo(rawurlencode($row_WADAReport['id'])); ?>">View</a></span></td>
</tr>
</table></td>
</tr>
<?php } while ($row_WADAReport = mysql_fetch_assoc($WADAReport)); ?>
</table>
<div class="WADAResultsNavigation">
<div class="WADAResultsCount">Records
<?php echo ($startRow_WADAReport + 1) ?>
to
<?php echo min($startRow_WADAReport + $maxRows_WADAReport, $totalRows_WADAReport) ?>
of
<?php echo $totalRows_WADAReport ?>
</div>
<div class="WADAResultsNavBottom">
<table border="0" cellpadding="0" cellspacing="0" class="WADAResultsNavTable">
<tr valign="middle">
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAReport > 0) { // Show if not first page ?><span id="First1" class="WADATextButton">
<a href="<?php printf("%s?pageNum_WADAReport=%d%s", $currentPage, 0, $queryString_WADAReport); ?>">First</a>
</span><?php } // Show if not first page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAReport > 0) { // Show if not first page ?><span id="Previous1" class="WADATextButton">
<a href="<?php printf("%s?pageNum_WADAReport=%d%s", $currentPage, max(0, $pageNum_WADAReport - 1), $queryString_WADAReport); ?>">Previous</a>
</span><?php } // Show if not first page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAReport < $totalPages_WADAReport) { // Show if not last page ?><span id="Next1" class="WADATextButton">
<a href="<?php printf("%s?pageNum_WADAReport=%d%s", $currentPage, min($totalPages_WADAReport, $pageNum_WADAReport + 1), $queryString_WADAReport); ?>">Next</a>
</span><?php } // Show if not last page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAReport < $totalPages_WADAReport) { // Show if not last page ?><span id="Last1" class="WADATextButton">
<a href="<?php printf("%s?pageNum_WADAReport=%d%s", $currentPage, $totalPages_WADAReport, $queryString_WADAReport); ?>">Last</a>
</span><?php } // Show if not last page ?></td>
</tr>
</table>
</div>
</div>
</div>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_WADAReport == 0) { // Show if recordset empty ?>
<div class="WADANoResults">
<div class="WADANoResultsMessage">No results for your search</div>
<div></div>
</div>
<?php } // Show if recordset empty ?>
</div>
</body>
</html>
<?php
mysql_free_result($WADAReport);
?>