On line 364 you have:
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($WADAdbmScreen->PageNum > 0) { // Show if mysqli not first page ?>
That appears to be a duplicate of line 343. I'm not sure how that line got duplicated, but deleting it seems to have fixed the problems on the results page.