Olive Branch MS Chamber of Commerce (circa Oct 1999)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

33 lines
1.2 KiB

  1. <html>
  2. <head>
  3. <title>Olive Branch, MS</title>
  4. </head>
  5. <frameset rows="50,*" border="0">
  6. <?
  7. include("bsearchmain.php3");
  8. $result = bsearch_main($category, $wordsearch, $contactsearch, $wordoption, $contactoption);
  9. if($result)
  10. {
  11. $total_rows = pg_numrows($result);
  12. if($linesperpage <= 0) $linesperpage = $total_rows;
  13. $total_pages = (($total_rows - 1) / $linesperpage) + 1;
  14. settype($total_pages, "integer");
  15. pg_freeresult($result);
  16. }
  17. $blank_args = "bsact=" . $bsact;
  18. $blank_args = "&begin=" . $begin;
  19. $blank_args .= "&page=" . $page;
  20. $blank_args .= "&linesperpage=" . $linesperpage;
  21. $blank_args .= "&category=" . urlencode($category);
  22. $blank_args .= "&wordsearch=" . urlencode($wordsearch);
  23. $blank_args .= "&contactsearch=" . urlencode($contactsearch);
  24. $blank_args .= "&wordoption=" . $wordoption;
  25. $blank_args .= "&contactoption=" . $contactoption;
  26. print("<frame src=\"bsearchnav.php3?" . $blank_args . "&bsact=$bsact&total_pages=$total_pages&total_rows=$total_rows\" name=\"section_nav\">");
  27. print("<frame src=\"bsearchresult.php3?" . $blank_args . "\" name=\"section_body\">");
  28. ?>
  29. </frameset>
  30. </html>