-
BINdata/obms-2.sql.gz
-
BINdata/obms.sql.gz
-
89obms_r1/about.txt
-
41obms_r1/banner.php3
-
7obms_r1/blank.html
-
17obms_r1/blank.php3
-
7obms_r1/blank.php3~
-
64obms_r1/bsearch.php3
-
61obms_r1/bsearch.php3~
-
33obms_r1/bsearchbody.php3
-
9obms_r1/bsearchbody.php3~
-
71obms_r1/bsearchmain.php3
-
228obms_r1/bsearchmain.php3~
-
76obms_r1/bsearchnav.php3
-
228obms_r1/bsearchnav.php3~
-
228obms_r1/bsearchresult.php3
-
228obms_r1/bsearchresult.php3~
-
241obms_r1/bsearchresult_v1.php3
-
228obms_r1/bsearchresult_v2.php3
-
47obms_r1/commdev.html
-
42obms_r1/commhome.html
-
9obms_r1/community.html
-
21obms_r1/ecohome.html
-
47obms_r1/econdev.html
-
9obms_r1/economy.html
-
113obms_r1/eminfo.html
-
BINobms_r1/graphics/36.jpg
-
BINobms_r1/graphics/ad.bancorp.gif
-
BINobms_r1/graphics/ad.centurytel.gif
-
BINobms_r1/graphics/ad.plantation.gif
-
BINobms_r1/graphics/ad.wright.gif
-
BINobms_r1/graphics/hea.check.gif
-
BINobms_r1/graphics/ico.obsm.gif
-
BINobms_r1/graphics/map.gif
-
BINobms_r1/graphics/ob.logo.gif
-
BINobms_r1/graphics/pho.golf.jpg
-
55obms_r1/history.txt
-
26obms_r1/home.html
-
13obms_r1/index.php3
-
99obms_r1/listall.php3
-
17obms_r1/mainnav.html
-
32obms_r1/newcomer.html
-
116obms_r1/schools.txt
-
9obms_r1/search.html
-
17obms_r1/upload.html
-
57obms_r1/utility.html
-
14obms_r2/banner.php3
-
45obms_r2/comm_dev.php3
-
9obms_r2/config/db.config
-
9obms_r2/config/db.config.mysql
-
8obms_r2/config/db.config.pgsql
-
38obms_r2/config/db.functions.mysql
-
36obms_r2/config/db.functions.pgsql
-
8obms_r2/contest.php3
-
14obms_r2/dhtml/banner.html
-
27obms_r2/dhtml/menu.html
-
47obms_r2/econ_dev.php3
-
115obms_r2/em_info.php3
-
115obms_r2/em_info.php3.old
-
BINobms_r2/graphics/.xvpics/ob.logo2.gif
-
BINobms_r2/graphics/36b.jpg
-
BINobms_r2/graphics/ad.bancorp.gif
-
BINobms_r2/graphics/ad.centurytel.gif
-
BINobms_r2/graphics/ad.plantation.gif
-
BINobms_r2/graphics/ad.wright.gif
-
BINobms_r2/graphics/banner.gif
-
BINobms_r2/graphics/comm_dev.gif
-
BINobms_r2/graphics/econ_dev.gif
-
BINobms_r2/graphics/em_info.gif
-
BINobms_r2/graphics/home.gif
-
5obms_r2/graphics/index.php3
-
BINobms_r2/graphics/map.gif
-
BINobms_r2/graphics/member.gif
-
BINobms_r2/graphics/ob.logo.gif
-
BINobms_r2/graphics/ob.logo2.gif
-
BINobms_r2/graphics/pho.golf.jpg
-
34obms_r2/home.php3
-
90obms_r2/html/body.about
-
55obms_r2/html/body.history
-
3obms_r2/html/body.incomplete
-
8obms_r2/html/body.location
-
25obms_r2/html/body.newcomer
-
26obms_r2/html/body.request
-
28obms_r2/html/body.search
-
48obms_r2/html/body.utilities
-
9obms_r2/html/head.std
-
5obms_r2/html/index.php3
-
2obms_r2/html/tail.std
-
10obms_r2/index.html
-
8obms_r2/mini.php3
-
25obms_r2/navbar.php3
-
46obms_r2/search.php3
-
120obms_r2/search_result.php3
-
27obms_r2/sponsors.php3
-
62obms_r2/styles/basic.css
-
7obms_r3/admin/.htaccess
-
BINobms_r3/admin/admin_header.jpg
-
61obms_r3/admin/btn.php3
-
41obms_r3/admin/index.php3
-
9obms_r3/admin/intro.php3
@ -0,0 +1,89 @@ |
|||||
|
<html> |
||||
|
<body> |
||||
|
<b> |
||||
|
Current Chamber Programs: |
||||
|
</b> |
||||
|
<p> |
||||
|
The City of Olive Branch, a suburb of Memphis,<br> |
||||
|
TN, is the fastest growing community in<br> |
||||
|
Mississippi with a population growth of well<br> |
||||
|
over 20% in 1998. Its industrial development<br> |
||||
|
began in 1973 with the opening of a 3,000 acre<br> |
||||
|
industrial park by Holiday Inns, Inc. More than<br> |
||||
|
26 employers were attracted to the community in<br> |
||||
|
the first 6 1/2 years. |
||||
|
<p> |
||||
|
The Chamber's major thrust is: To help the<br> |
||||
|
community respond to the opportunities and<br> |
||||
|
challenges of Mississippi's fastest growing<br> |
||||
|
city. Key elements of its objectives are<br> |
||||
|
assuring adequate transportation corridors; a<br> |
||||
|
new postal facility; the development of strong<br> |
||||
|
relationships between new residents and the<br> |
||||
|
retail community through a proprietary Coupon<br> |
||||
|
Book mailed in monthly welcome packets to each<br> |
||||
|
new household; and helping local employers with<br> |
||||
|
their expansion plans while assisting<br> |
||||
|
prospective new employers. |
||||
|
<p> |
||||
|
<b> |
||||
|
Contact Information |
||||
|
</b> |
||||
|
<p> |
||||
|
Olive Branch Chamber of Commerce<br> |
||||
|
P.O. Box 608<br> |
||||
|
6820 Cockrum Street<br> |
||||
|
Olive Branch, MS 38654-0608<br> |
||||
|
Phone: 601-895-2600<br> |
||||
|
FAX: 601-895-2625<br> |
||||
|
Email: OliveMiss@aol.com |
||||
|
<p> |
||||
|
<dl> |
||||
|
<dt><b>President:</b> John P. McDonald<br> |
||||
|
<dd>President, Cargo Logistics Co., Inc.<br> |
||||
|
<dt><b>Vice President</b>: Steve Nelson<br> |
||||
|
<dd>Manager, Milwaukee Electric Tool Corp.<br> |
||||
|
<dt><b>Secretary/Treasurer</b>: Samuel I. Ware, Sr.<br> |
||||
|
<dd>President, ATS, Inc.<br> |
||||
|
<dt><b>Manager</b>: Vickie DuPree<br> |
||||
|
<dt><b>Executive Director Emeritus</b>: Jack McCauley |
||||
|
</dl> |
||||
|
<p> |
||||
|
<table border=0 width=400> |
||||
|
<tr align=center> |
||||
|
<td colspan=2> |
||||
|
<b> |
||||
|
Members of the Board of Directors<br> |
||||
|
in addition to the Officers |
||||
|
</b> |
||||
|
</td> |
||||
|
</tr> |
||||
|
<tr align=center> |
||||
|
<td>Carol Allen</td><td>David Taylor</td> |
||||
|
</tr> |
||||
|
<tr align=center> |
||||
|
<td>Cherokee Valley Golf Club</td><td>Metro Aviation</td> |
||||
|
</tr> |
||||
|
<tr align=center> |
||||
|
<td>Rita Bright Fink</td><td>Patrick Jordan</td> |
||||
|
</tr> |
||||
|
<tr align=center> |
||||
|
<td>House of Fink</td><td>Whispering Woods Hotel</td> |
||||
|
</tr> |
||||
|
<tr align=center> |
||||
|
<td>Tate Murley</td><td>Arthur Wright</td> |
||||
|
</tr> |
||||
|
<tr align=center> |
||||
|
<td>Northcentral MS Power</td><td>Wright Floor Coverings</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</body> |
||||
|
</html> |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
@ -0,0 +1,41 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<? |
||||
|
if($banner == 0) |
||||
|
$banner = (rand() % 4) + 1; |
||||
|
|
||||
|
$banner_num = $banner++; |
||||
|
if($banner > 4) $banner = 1; |
||||
|
|
||||
|
print("<meta http-equiv=\"Refresh\" content=\"15; URL=banner.php3?banner=$banner\">");
|
||||
|
?>
|
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
<base target="_blank"> |
||||
|
</head> |
||||
|
<body> |
||||
|
<table border=0 cellspacing=0 cellpadding=0> |
||||
|
<tr> |
||||
|
<td colspan=2><img src="graphics/hea.check.gif" width="580" height="20"></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><img src="graphics/ico.obsm.gif" width="112" height="65"></td> |
||||
|
<td valign="top"> |
||||
|
<? |
||||
|
switch($banner_num) |
||||
|
{ |
||||
|
case 1: $banner_name = "ad.bancorp.gif"; |
||||
|
break; |
||||
|
case 2: $banner_name = "ad.centurytel.gif"; |
||||
|
break; |
||||
|
case 3: $banner_name = "ad.plantation.gif"; |
||||
|
break; |
||||
|
case 4: $banner_name = "ad.wright.gif"; |
||||
|
break; |
||||
|
} |
||||
|
print("<img src=\"graphics/$banner_name\" width=\"468\" height=\"60\">"); |
||||
|
?>
|
||||
|
</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,7 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,17 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
<? |
||||
|
print("begin: $begin<br>"); |
||||
|
print("page: $page<br>"); |
||||
|
print("linesperpage: $linesperpage<br>"); |
||||
|
print("category: $category<br>"); |
||||
|
print("wordsearch: $wordsearch<br>"); |
||||
|
print("contactsearch: $contactsearch<br>"); |
||||
|
print("wordoption: $wordoption<br>"); |
||||
|
print("contactoption: $contactoption<br>"); |
||||
|
?>
|
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,7 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,64 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS</title> |
||||
|
<base target="section_body"> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
<form method="post" action="bsearchbody.php3"> |
||||
|
<? |
||||
|
// connect to the database
|
||||
|
$connection = pg_connect("localhost", "5432", "olivebranch"); |
||||
|
if($connection) |
||||
|
{ |
||||
|
$query = "SELECT distinct category FROM member"; |
||||
|
$result = pg_exec($connection, $query); |
||||
|
|
||||
|
if($result) |
||||
|
{ |
||||
|
print("Category:<br><select name=\"category\">\n"); |
||||
|
print("<option value=\"\">--- All Categories ---\n"); |
||||
|
for($row = 0; $row < pg_NumRows($result); $row++) |
||||
|
{ |
||||
|
print("<option value=\"" . pg_result($result, $row, 0) . "\">"); |
||||
|
print(pg_result($result, $row, 0)); |
||||
|
print("\n"); |
||||
|
} |
||||
|
|
||||
|
pg_freeresult($result); |
||||
|
} |
||||
|
|
||||
|
print("</select><br>\n"); |
||||
|
|
||||
|
pg_close($connection); |
||||
|
} |
||||
|
|
||||
|
print("<input type=\"hidden\" name=\"begin\" value=\"0\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"page\" value=\"0\">\n"); |
||||
|
|
||||
|
print("<table border=0 cellpadding=0 cellspacing=0>"); |
||||
|
print("<tr><td colspan=2 align=left>Company Name:</td></tr>"); |
||||
|
print("<tr><td colspan=2><input type=\"text\" name=\"wordsearch\" maxlength=32 size=17><br>\n</td></tr>"); |
||||
|
print("<tr><td align=left><input type=\"radio\" name=\"wordoption\" value=\"start\">Starts with</td>"); |
||||
|
print("<td align=right><input type=\"radio\" name=\"wordoption\" value=\"end\">Ends with</td></tr>"); |
||||
|
print("<tr><td colspan=2 align=center><input type=\"radio\" checked name=\"wordoption\" value=\"contain\">Contains<br></td></tr>"); |
||||
|
print("</table>"); |
||||
|
|
||||
|
print("<table border=0>"); |
||||
|
print("<tr><td colspan=2 align=left>Contact Name:</td></tr>"); |
||||
|
print("<tr><td colspan=2><input type=\"text\" name=\"contactsearch\" maxlength=32 size=17><br>\n</td></tr>"); |
||||
|
print("<tr><td align=left><input type=\"radio\" name=\"contactoption\" value=\"start\">Starts with</td>"); |
||||
|
print("<td align=right><input type=\"radio\" name=\"contactoption\" value=\"end\">Ends with</td></tr>"); |
||||
|
print("<tr><td colspan=2 align=center><input type=\"radio\" checked name=\"contactoption\" value=\"contain\">Contains<br></td></tr>"); |
||||
|
print("</table>"); |
||||
|
|
||||
|
print("<table border=0>"); |
||||
|
print("<tr><td colspan=2 align=left>Results per Page:</td></tr>"); |
||||
|
print("<tr><td colspan=2><input type=\"text\" value = \"5\"name=\"linesperpage\" maxlength=32 size=17><br>\n</td></tr>"); |
||||
|
print("</table>"); |
||||
|
?>
|
||||
|
<input type="submit"> |
||||
|
</p> |
||||
|
</form> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,61 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS</title> |
||||
|
<base target="section_body"> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
<form method="post" action="bsearchbody.php3"> |
||||
|
<? |
||||
|
// connect to the database |
||||
|
$connection = pg_connect("localhost", "5432", "olivebranch"); |
||||
|
if($connection) |
||||
|
{ |
||||
|
$query = "SELECT distinct category FROM member"; |
||||
|
$result = pg_exec($connection, $query); |
||||
|
|
||||
|
if($result) |
||||
|
{ |
||||
|
print("Category:<br><select name=\"category\">\n"); |
||||
|
print("<option value=\"\">--- All Categories ---\n"); |
||||
|
for($row = 0; $row < pg_NumRows($result); $row++) |
||||
|
{ |
||||
|
print("<option value=\"" . pg_result($result, $row, 0) . "\">"); |
||||
|
print(pg_result($result, $row, 0)); |
||||
|
print("\n"); |
||||
|
} |
||||
|
|
||||
|
pg_freeresult($result); |
||||
|
} |
||||
|
|
||||
|
print("</select><br>\n"); |
||||
|
|
||||
|
pg_close($connection); |
||||
|
} |
||||
|
|
||||
|
print("<table border=0 cellpadding=0 cellspacing=0>"); |
||||
|
print("<tr><td colspan=2 align=left>Company Name:</td></tr>"); |
||||
|
print("<tr><td colspan=2><input type=\"text\" name=\"wordsearch\" maxlength=32 size=17><br>\n</td></tr>"); |
||||
|
print("<tr><td align=left><input type=\"radio\" name=\"wordoption\" value=\"start\">Starts with</td>"); |
||||
|
print("<td align=right><input type=\"radio\" name=\"wordoption\" value=\"end\">Ends with</td></tr>"); |
||||
|
print("<tr><td colspan=2 align=center><input type=\"radio\" checked name=\"wordoption\" value=\"contain\">Contains<br></td></tr>"); |
||||
|
print("</table>"); |
||||
|
|
||||
|
print("<table border=0>"); |
||||
|
print("<tr><td colspan=2 align=left>Contact Name:</td></tr>"); |
||||
|
print("<tr><td colspan=2><input type=\"text\" name=\"contactsearch\" maxlength=32 size=17><br>\n</td></tr>"); |
||||
|
print("<tr><td align=left><input type=\"radio\" name=\"contactoption\" value=\"start\">Starts with</td>"); |
||||
|
print("<td align=right><input type=\"radio\" name=\"contactoption\" value=\"end\">Ends with</td></tr>"); |
||||
|
print("<tr><td colspan=2 align=center><input type=\"radio\" checked name=\"contactoption\" value=\"contain\">Contains<br></td></tr>"); |
||||
|
print("</table>"); |
||||
|
|
||||
|
print("<table border=0>"); |
||||
|
print("<tr><td colspan=2 align=left>Results per Page:</td></tr>"); |
||||
|
print("<tr><td colspan=2><input type=\"text\" value = \"5\"name=\"linesperpage\" maxlength=32 size=17><br>\n</td></tr>"); |
||||
|
print("</table>"); |
||||
|
?> |
||||
|
<input type="submit"> |
||||
|
</p> |
||||
|
</form> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,33 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS</title> |
||||
|
</head> |
||||
|
<frameset rows="50,*" border="0"> |
||||
|
<? |
||||
|
include("bsearchmain.php3"); |
||||
|
|
||||
|
$result = bsearch_main($category, $wordsearch, $contactsearch, $wordoption, $contactoption); |
||||
|
if($result) |
||||
|
{ |
||||
|
$total_rows = pg_numrows($result); |
||||
|
if($linesperpage <= 0) $linesperpage = $total_rows; |
||||
|
$total_pages = (($total_rows - 1) / $linesperpage) + 1; |
||||
|
settype($total_pages, "integer"); |
||||
|
pg_freeresult($result); |
||||
|
} |
||||
|
|
||||
|
$blank_args = "bsact=" . $bsact; |
||||
|
$blank_args = "&begin=" . $begin; |
||||
|
$blank_args .= "&page=" . $page; |
||||
|
$blank_args .= "&linesperpage=" . $linesperpage; |
||||
|
$blank_args .= "&category=" . urlencode($category); |
||||
|
$blank_args .= "&wordsearch=" . urlencode($wordsearch); |
||||
|
$blank_args .= "&contactsearch=" . urlencode($contactsearch); |
||||
|
$blank_args .= "&wordoption=" . $wordoption; |
||||
|
$blank_args .= "&contactoption=" . $contactoption; |
||||
|
|
||||
|
print("<frame src=\"bsearchnav.php3?" . $blank_args . "&bsact=$bsact&total_pages=$total_pages&total_rows=$total_rows\" name=\"section_nav\">"); |
||||
|
print("<frame src=\"bsearchresult.php3?" . $blank_args . "\" name=\"section_body\">"); |
||||
|
?>
|
||||
|
</frameset> |
||||
|
</html> |
@ -0,0 +1,9 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS</title> |
||||
|
</head> |
||||
|
<frameset rows="50,*" border="0"> |
||||
|
<frame src="bsearchnav.php3" name="section_nav"> |
||||
|
<frame src="blank.php3" name="section_body"> |
||||
|
</frameset> |
||||
|
</html> |
@ -0,0 +1,71 @@ |
|||||
|
<? |
||||
|
function bsearch_main($category, $wordsearch, $contactsearch, $wordoption, $contactoption) |
||||
|
{ |
||||
|
$database_name = "olivebranch"; |
||||
|
$result = 0; |
||||
|
|
||||
|
$connection = pg_connect("localhost", "5432", $database_name); |
||||
|
if($connection) |
||||
|
{ |
||||
|
$multiple = 0; |
||||
|
$query = "SELECT * FROM member WHERE "; |
||||
|
|
||||
|
if($category || $wordsearch || $contactsearch) |
||||
|
{ |
||||
|
if($category) |
||||
|
{ |
||||
|
$query .= "category = '" . $category . "'"; |
||||
|
|
||||
|
$multiple = 1; |
||||
|
} |
||||
|
|
||||
|
if($wordsearch) |
||||
|
{ |
||||
|
if($multiple) $query .= " AND "; |
||||
|
|
||||
|
switch($wordoption) |
||||
|
{ |
||||
|
case "start": |
||||
|
$query .= "upper(company) LIKE upper('" . $wordsearch . "%')"; |
||||
|
break; |
||||
|
case "contain": |
||||
|
$query .= "upper(company) LIKE upper('%" . $wordsearch . "%')"; |
||||
|
break; |
||||
|
case "end": |
||||
|
$query .= "upper(company) LIKE upper('%" . $wordsearch . "')"; |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
$multiple = 1; |
||||
|
} |
||||
|
|
||||
|
if($contactsearch) |
||||
|
{ |
||||
|
if($multiple) $query .= " AND "; |
||||
|
|
||||
|
switch($contactoption) |
||||
|
{ |
||||
|
case "start": |
||||
|
$query .= "upper(contact) LIKE upper('" . $contactsearch . "%')"; |
||||
|
break; |
||||
|
case "contain": |
||||
|
$query .= "upper(contact) LIKE upper('%" . $contactsearch . "%')"; |
||||
|
break; |
||||
|
case "end": |
||||
|
$query .= "upper(contact) LIKE upper('%" . $contactsearch . "')"; |
||||
|
break; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
else $query .= "category is not null"; |
||||
|
|
||||
|
$query .= " ORDER BY category,company,contact"; |
||||
|
|
||||
|
$result = pg_exec($connection, $query); |
||||
|
pg_close($connection); |
||||
|
} |
||||
|
|
||||
|
return($result); |
||||
|
} |
||||
|
?>
|
||||
|
|
@ -0,0 +1,228 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS</title> |
||||
|
</head> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
<body> |
||||
|
|
||||
|
<? |
||||
|
// $linesperpage = 10; |
||||
|
$database_name = "olivebranch"; |
||||
|
|
||||
|
//print("<b>Search criteria:</b><br>\n"); |
||||
|
|
||||
|
print("<form method=\"post\" action=\"bsearchresult.php3\">"); |
||||
|
|
||||
|
$connection = pg_connect("localhost", "5432", $database_name); |
||||
|
if($connection) |
||||
|
{ |
||||
|
$multiple = 0; |
||||
|
$query = "SELECT * FROM member WHERE "; |
||||
|
|
||||
|
if($category || $wordsearch || $contactsearch) |
||||
|
{ |
||||
|
if($category) |
||||
|
{ |
||||
|
$query .= "category = '" . $category . "'"; |
||||
|
|
||||
|
$multiple = 1; |
||||
|
} |
||||
|
|
||||
|
if($wordsearch) |
||||
|
{ |
||||
|
if($multiple) $query .= " AND "; |
||||
|
|
||||
|
switch($wordoption) |
||||
|
{ |
||||
|
case "start": |
||||
|
$query .= "upper(company) LIKE upper('" . $wordsearch . "%')"; |
||||
|
break; |
||||
|
case "contain": |
||||
|
$query .= "upper(company) LIKE upper('%" . $wordsearch . "%')"; |
||||
|
break; |
||||
|
case "end": |
||||
|
$query .= "upper(company) LIKE upper('%" . $wordsearch . "')"; |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
$multiple = 1; |
||||
|
} |
||||
|
|
||||
|
if($contactsearch) |
||||
|
{ |
||||
|
if($multiple) $query .= " AND "; |
||||
|
|
||||
|
switch($contactoption) |
||||
|
{ |
||||
|
case "start": |
||||
|
$query .= "upper(contact) LIKE upper('" . $contactsearch . "%')"; |
||||
|
break; |
||||
|
case "contain": |
||||
|
$query .= "upper(contact) LIKE upper('%" . $contactsearch . "%')"; |
||||
|
break; |
||||
|
case "end": |
||||
|
$query .= "upper(contact) LIKE upper('%" . $contactsearch . "')"; |
||||
|
break; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
else $query .= "category is not null"; |
||||
|
|
||||
|
$query .= " ORDER BY category,company,contact"; |
||||
|
|
||||
|
// print("<p><b>query:</b> " . $query . "<p>\n"); |
||||
|
|
||||
|
$result = pg_exec($connection, $query); |
||||
|
if($result) |
||||
|
{ |
||||
|
$total_rows = pg_numrows($result); |
||||
|
if($linesperpage <= 0) $linesperpage = $total_rows; |
||||
|
$total_pages = (($total_rows - 1) / $linesperpage) + 1; |
||||
|
settype($total_pages, "integer"); |
||||
|
|
||||
|
switch($bsact) |
||||
|
{ |
||||
|
case " < ": |
||||
|
$begin -= $linesperpage; |
||||
|
if($begin < 0) { $begin = 0; $page = 1; } |
||||
|
else $page--; |
||||
|
break; |
||||
|
case " > ": |
||||
|
$begin += $linesperpage; |
||||
|
if($begin > ($total_rows - $linesperpage)) |
||||
|
{ |
||||
|
$begin = $total_rows - $linesperpage; |
||||
|
$page = $total_pages; |
||||
|
} |
||||
|
else $page++; |
||||
|
break; |
||||
|
case ">>": |
||||
|
$begin = $total_rows - $linesperpage; |
||||
|
$page = $total_pages; |
||||
|
break; |
||||
|
default: |
||||
|
$begin = 0; |
||||
|
$page = 1; |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
$last_row = $begin + $linesperpage; |
||||
|
if($last_row > $total_rows) $last_row = $total_rows; |
||||
|
|
||||
|
print("<input type=\"hidden\" name=\"linesperpage\" value=\"" . $linesperpage . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"begin\" value=\"" . $begin . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"page\" value=\"" . $page . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"category\" value=\"" . $category . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"wordsearch\" value=\"" . $wordsearch . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"wordoption\" value=\"" . $wordoption . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"contactsearch\" value=\"" . $contactsearch . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"contactoption\" value=\"" . $contactoption . "\">\n"); |
||||
|
|
||||
|
// $url_args = "&begin=$begin&page=$page&category="; |
||||
|
// $url_args .= urlencode($category); |
||||
|
// $url_args .= "&wordsearch=$wordsearch&wordoption=$wordoption&contactsearch=$contactsearch&contactoption=$contactoption"; |
||||
|
|
||||
|
print("<table border=0 width=\"450\" cellspacing=0 cellpadding=0><tr>"); |
||||
|
|
||||
|
if($total_rows > $linesperpage && $begin > 0) |
||||
|
{ |
||||
|
print("<td align=left width=\"100\"><input type=\"submit\" name=\"bsact\" value=\"<<\">\n"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\" < \"></td>\n"); |
||||
|
// print("<td align=left width=\"100\"><a href=\"bsearchresult.php3?bsact=first" . $url_args . "\">First</a>\n"); |
||||
|
// print("<a href=\"bsearchresult.php3?bsact=prev" . $url_args . "\">Prev</a></td>\n"); |
||||
|
} |
||||
|
else print("<td width=\"100\"></td>\n"); |
||||
|
|
||||
|
print("<th align=center><b>Page $page of $total_pages</b></th>\n"); |
||||
|
|
||||
|
if($total_rows > $linesperpage && $begin != ($total_rows - $linesperpage)) |
||||
|
{ |
||||
|
print("<td align=right width=\"100\"><input type=\"submit\" name=\"bsact\" value=\" > \">\n"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\">>\"></td>\n"); |
||||
|
// print("<td align=right width=\"100\"><a href=\"bsearchresult.php3?bsact=next" . $url_args . "\">Next</a>\n"); |
||||
|
// print("<a href=\"bsearchresult.php3?bsact=last" . $url_args . "\">Last</a></td>\n"); |
||||
|
} |
||||
|
else print("<th width=\"100\"></th>\n"); |
||||
|
|
||||
|
print("</tr></table><br>\n"); |
||||
|
|
||||
|
print("<table border=0 width=450 cellspacing=0 cellpadding=0>\n"); |
||||
|
|
||||
|
print("<tr><td colspan=2></td></tr>\n"); |
||||
|
|
||||
|
for($row = $begin, $row_style=0; $row < $last_row; $row++, $row_style++) |
||||
|
{ |
||||
|
$row_data = pg_fetch_row($result, $row); |
||||
|
if($row_data[0] != $previous_category) |
||||
|
{ |
||||
|
if(isset($previous_category)) |
||||
|
print("<tr><td colspan=2> </td></tr>\n"); |
||||
|
$previous_category = $row_data[0]; |
||||
|
print("<tr class=header><th align=center colspan=2>$row_data[0]</th></tr>\n"); |
||||
|
$row_style = 0; |
||||
|
} |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left>"); |
||||
|
if($row_data[1]) |
||||
|
{ |
||||
|
print($row_data[1]); |
||||
|
if($row_data[2]) print(" (" . $row_data[2] . ")"); |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
if($row_data[2]) print($row_data[2]); |
||||
|
else print(" "); |
||||
|
} |
||||
|
print("</td>"); |
||||
|
|
||||
|
print("<td align=right>"); |
||||
|
if($row_data[8] && $row_data[9]) print($row_data[8] . ":" . $row_data[9]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
print("</tr>\n"); |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left>"); |
||||
|
if($row_data[3]) print($row_data[3]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
|
||||
|
print("<td align=right>"); |
||||
|
if($row_data[10] && $row_data[11]) print($row_data[10] . ":" . $row_data[11]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
print("</tr>\n"); |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left>"); |
||||
|
if($row_data[4] && $row_data[5] && $row_data[6]) |
||||
|
print($row_data[4] . "," . $row_data[5] . " " . $row_data[6]); |
||||
|
else print(" "); |
||||
|
if($row_data[7]) print("-" . $row_data[7]); |
||||
|
print("</td>"); |
||||
|
|
||||
|
print("<td align=right>"); |
||||
|
if($row_data[12] && $row_data[13]) print($row_data[12] . ":" . $row_data[13]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
print("</tr>\n"); |
||||
|
} |
||||
|
|
||||
|
print("</table>\n"); |
||||
|
|
||||
|
pg_freeresult($result); |
||||
|
} |
||||
|
else print("Search criteria yield no results.<br>\n"); |
||||
|
|
||||
|
pg_close($connection); |
||||
|
|
||||
|
print("</form>\n"); |
||||
|
} |
||||
|
|
||||
|
?> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,76 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS</title> |
||||
|
</head> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
<body> |
||||
|
|
||||
|
<? |
||||
|
print("<form method=\"post\" action=\"bsearchbody.php3\">"); |
||||
|
|
||||
|
switch($bsact) |
||||
|
{ |
||||
|
case " < ": |
||||
|
$begin -= $linesperpage; |
||||
|
if($begin < 0) { $begin = 0; $page = 1; } |
||||
|
else $page--; |
||||
|
break; |
||||
|
case " > ": |
||||
|
$begin += $linesperpage; |
||||
|
if($begin > ($total_rows - $linesperpage)) |
||||
|
{ |
||||
|
$begin = $total_rows - $linesperpage; |
||||
|
$page = $total_pages; |
||||
|
} |
||||
|
else $page++; |
||||
|
break; |
||||
|
case ">>": |
||||
|
$begin = $total_rows - $linesperpage; |
||||
|
$page = $total_pages; |
||||
|
break; |
||||
|
default: |
||||
|
$begin = 0; |
||||
|
$page = 1; |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
$last_row = $begin + $linesperpage; |
||||
|
if($last_row > $total_rows) $last_row = $total_rows; |
||||
|
|
||||
|
print("<input type=\"hidden\" name=\"foobar\" value=\"" . $bsact . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"linesperpage\" value=\"" . $linesperpage . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"total_pages\" value=\"" . $total_pages . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"total_rows\" value=\"" . $total_rows . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"begin\" value=\"" . $begin . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"page\" value=\"" . $page . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"category\" value=\"" . $category . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"wordsearch\" value=\"" . $wordsearch . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"wordoption\" value=\"" . $wordoption . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"contactsearch\" value=\"" . $contactsearch . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"contactoption\" value=\"" . $contactoption . "\">\n"); |
||||
|
|
||||
|
print("<table border=0 width=\"450\" cellspacing=0 cellpadding=0><tr>"); |
||||
|
|
||||
|
if($total_rows > $linesperpage && $begin > 0) |
||||
|
{ |
||||
|
print("<td align=left width=\"100\"><input type=\"submit\" name=\"bsact\" value=\"<<\">\n"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\" < \"></td>\n"); |
||||
|
} |
||||
|
else print("<td width=\"100\"></td>\n"); |
||||
|
|
||||
|
print("<th align=center><b>Page $page of $total_pages</b></th>\n"); |
||||
|
|
||||
|
if($total_rows > $linesperpage && $begin != ($total_rows - $linesperpage)) |
||||
|
{ |
||||
|
print("<td align=right width=\"100\"><input type=\"submit\" name=\"bsact\" value=\" > \">\n"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\">>\"></td>\n"); |
||||
|
} |
||||
|
else print("<th width=\"100\"></th>\n"); |
||||
|
|
||||
|
print("</tr></table><br>\n"); |
||||
|
|
||||
|
print("</form>\n"); |
||||
|
|
||||
|
?>
|
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,228 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS</title> |
||||
|
</head> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
<body> |
||||
|
|
||||
|
<? |
||||
|
// $linesperpage = 10; |
||||
|
$database_name = "olivebranch"; |
||||
|
|
||||
|
//print("<b>Search criteria:</b><br>\n"); |
||||
|
|
||||
|
print("<form method=\"post\" action=\"bsearchresult.php3\">"); |
||||
|
|
||||
|
$connection = pg_connect("localhost", "5432", $database_name); |
||||
|
if($connection) |
||||
|
{ |
||||
|
$multiple = 0; |
||||
|
$query = "SELECT * FROM member WHERE "; |
||||
|
|
||||
|
if($category || $wordsearch || $contactsearch) |
||||
|
{ |
||||
|
if($category) |
||||
|
{ |
||||
|
$query .= "category = '" . $category . "'"; |
||||
|
|
||||
|
$multiple = 1; |
||||
|
} |
||||
|
|
||||
|
if($wordsearch) |
||||
|
{ |
||||
|
if($multiple) $query .= " AND "; |
||||
|
|
||||
|
switch($wordoption) |
||||
|
{ |
||||
|
case "start": |
||||
|
$query .= "upper(company) LIKE upper('" . $wordsearch . "%')"; |
||||
|
break; |
||||
|
case "contain": |
||||
|
$query .= "upper(company) LIKE upper('%" . $wordsearch . "%')"; |
||||
|
break; |
||||
|
case "end": |
||||
|
$query .= "upper(company) LIKE upper('%" . $wordsearch . "')"; |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
$multiple = 1; |
||||
|
} |
||||
|
|
||||
|
if($contactsearch) |
||||
|
{ |
||||
|
if($multiple) $query .= " AND "; |
||||
|
|
||||
|
switch($contactoption) |
||||
|
{ |
||||
|
case "start": |
||||
|
$query .= "upper(contact) LIKE upper('" . $contactsearch . "%')"; |
||||
|
break; |
||||
|
case "contain": |
||||
|
$query .= "upper(contact) LIKE upper('%" . $contactsearch . "%')"; |
||||
|
break; |
||||
|
case "end": |
||||
|
$query .= "upper(contact) LIKE upper('%" . $contactsearch . "')"; |
||||
|
break; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
else $query .= "category is not null"; |
||||
|
|
||||
|
$query .= " ORDER BY category,company,contact"; |
||||
|
|
||||
|
// print("<p><b>query:</b> " . $query . "<p>\n"); |
||||
|
|
||||
|
$result = pg_exec($connection, $query); |
||||
|
if($result) |
||||
|
{ |
||||
|
$total_rows = pg_numrows($result); |
||||
|
if($linesperpage <= 0) $linesperpage = $total_rows; |
||||
|
$total_pages = (($total_rows - 1) / $linesperpage) + 1; |
||||
|
settype($total_pages, "integer"); |
||||
|
|
||||
|
switch($bsact) |
||||
|
{ |
||||
|
case " < ": |
||||
|
$begin -= $linesperpage; |
||||
|
if($begin < 0) { $begin = 0; $page = 1; } |
||||
|
else $page--; |
||||
|
break; |
||||
|
case " > ": |
||||
|
$begin += $linesperpage; |
||||
|
if($begin > ($total_rows - $linesperpage)) |
||||
|
{ |
||||
|
$begin = $total_rows - $linesperpage; |
||||
|
$page = $total_pages; |
||||
|
} |
||||
|
else $page++; |
||||
|
break; |
||||
|
case ">>": |
||||
|
$begin = $total_rows - $linesperpage; |
||||
|
$page = $total_pages; |
||||
|
break; |
||||
|
default: |
||||
|
$begin = 0; |
||||
|
$page = 1; |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
$last_row = $begin + $linesperpage; |
||||
|
if($last_row > $total_rows) $last_row = $total_rows; |
||||
|
|
||||
|
print("<input type=\"hidden\" name=\"linesperpage\" value=\"" . $linesperpage . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"begin\" value=\"" . $begin . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"page\" value=\"" . $page . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"category\" value=\"" . $category . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"wordsearch\" value=\"" . $wordsearch . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"wordoption\" value=\"" . $wordoption . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"contactsearch\" value=\"" . $contactsearch . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"contactoption\" value=\"" . $contactoption . "\">\n"); |
||||
|
|
||||
|
// $url_arg = "&begin=$begin&page=$page&category="; |
||||
|
// $url_args .= urlencode($category); |
||||
|
// $url_args .= "&wordsearch=$wordsearch&wordoption=$wordoption&contactsearch=$contactsearch&contactoption=$contactoption"; |
||||
|
|
||||
|
print("<table border=0 width=\"450\" cellspacing=0 cellpadding=0><tr>"); |
||||
|
|
||||
|
if($total_rows > $linesperpage && $begin > 0) |
||||
|
{ |
||||
|
print("<td align=left width=\"100\"><input type=\"submit\" name=\"bsact\" value=\"<<\">\n"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\" < \"></td>\n"); |
||||
|
// print("<td align=left width=\"100\"><a href=\"bsearchresult.php3?bsact=first" . $url_args . "\">First</a>\n"); |
||||
|
// print("<a href=\"bsearchresult.php3?bsact=prev" . $url_args . "\">Prev</a></td>\n"); |
||||
|
} |
||||
|
else print("<td width=\"100\"></td>\n"); |
||||
|
|
||||
|
print("<th align=center><b>Page $page of $total_pages</b></th>\n"); |
||||
|
|
||||
|
if($total_rows > $linesperpage && $begin != ($total_rows - $linesperpage)) |
||||
|
{ |
||||
|
print("<td align=right width=\"100\"><input type=\"submit\" name=\"bsact\" value=\" > \">\n"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\">>\"></td>\n"); |
||||
|
// print("<td align=right width=\"100\"><a href=\"bsearchresult.php3?bsact=next" . $url_args . "\">Next</a>\n"); |
||||
|
// print("<a href=\"bsearchresult.php3?bsact=last" . $url_args . "\">Last</a></td>\n"); |
||||
|
} |
||||
|
else print("<th width=\"100\"></th>\n"); |
||||
|
|
||||
|
print("</tr></table><br>\n"); |
||||
|
|
||||
|
print("<table border=0 width=450 cellspacing=0 cellpadding=0>\n"); |
||||
|
|
||||
|
print("<tr><td colspan=2></td></tr>\n"); |
||||
|
|
||||
|
for($row = $begin, $row_style=0; $row < $last_row; $row++, $row_style++) |
||||
|
{ |
||||
|
$row_data = pg_fetch_row($result, $row); |
||||
|
if($row_data[0] != $previous_category) |
||||
|
{ |
||||
|
if(isset($previous_category)) |
||||
|
print("<tr><td colspan=2> </td></tr>\n"); |
||||
|
$previous_category = $row_data[0]; |
||||
|
print("<tr class=header><th align=center colspan=2>$row_data[0]</th></tr>\n"); |
||||
|
$row_style = 0; |
||||
|
} |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left>"); |
||||
|
if($row_data[1]) |
||||
|
{ |
||||
|
print($row_data[1]); |
||||
|
if($row_data[2]) print(" (" . $row_data[2] . ")"); |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
if($row_data[2]) print($row_data[2]); |
||||
|
else print(" "); |
||||
|
} |
||||
|
print("</td>"); |
||||
|
|
||||
|
print("<td align=right>"); |
||||
|
if($row_data[8] && $row_data[9]) print($row_data[8] . ":" . $row_data[9]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
print("</tr>\n"); |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left>"); |
||||
|
if($row_data[3]) print($row_data[3]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
|
||||
|
print("<td align=right>"); |
||||
|
if($row_data[10] && $row_data[11]) print($row_data[10] . ":" . $row_data[11]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
print("</tr>\n"); |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left>"); |
||||
|
if($row_data[4] && $row_data[5] && $row_data[6]) |
||||
|
print($row_data[4] . "," . $row_data[5] . " " . $row_data[6]); |
||||
|
else print(" "); |
||||
|
if($row_data[7]) print("-" . $row_data[7]); |
||||
|
print("</td>"); |
||||
|
|
||||
|
print("<td align=right>"); |
||||
|
if($row_data[12] && $row_data[13]) print($row_data[12] . ":" . $row_data[13]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
print("</tr>\n"); |
||||
|
} |
||||
|
|
||||
|
print("</table>\n"); |
||||
|
|
||||
|
pg_freeresult($result); |
||||
|
} |
||||
|
else print("Search criteria yield no results.<br>\n"); |
||||
|
|
||||
|
pg_close($connection); |
||||
|
|
||||
|
print("</form>\n"); |
||||
|
} |
||||
|
|
||||
|
?> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,228 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS</title> |
||||
|
</head> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
<body> |
||||
|
|
||||
|
<? |
||||
|
// $linesperpage = 10;
|
||||
|
$database_name = "olivebranch"; |
||||
|
|
||||
|
//print("<b>Search criteria:</b><br>\n");
|
||||
|
|
||||
|
print("<form method=\"post\" action=\"bsearchresult.php3\">"); |
||||
|
|
||||
|
$connection = pg_connect("localhost", "5432", $database_name); |
||||
|
if($connection) |
||||
|
{ |
||||
|
$multiple = 0; |
||||
|
$query = "SELECT * FROM member WHERE "; |
||||
|
|
||||
|
if($category || $wordsearch || $contactsearch) |
||||
|
{ |
||||
|
if($category) |
||||
|
{ |
||||
|
$query .= "category = '" . $category . "'"; |
||||
|
|
||||
|
$multiple = 1; |
||||
|
} |
||||
|
|
||||
|
if($wordsearch) |
||||
|
{ |
||||
|
if($multiple) $query .= " AND "; |
||||
|
|
||||
|
switch($wordoption) |
||||
|
{ |
||||
|
case "start": |
||||
|
$query .= "upper(company) LIKE upper('" . $wordsearch . "%')"; |
||||
|
break; |
||||
|
case "contain": |
||||
|
$query .= "upper(company) LIKE upper('%" . $wordsearch . "%')"; |
||||
|
break; |
||||
|
case "end": |
||||
|
$query .= "upper(company) LIKE upper('%" . $wordsearch . "')"; |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
$multiple = 1; |
||||
|
} |
||||
|
|
||||
|
if($contactsearch) |
||||
|
{ |
||||
|
if($multiple) $query .= " AND "; |
||||
|
|
||||
|
switch($contactoption) |
||||
|
{ |
||||
|
case "start": |
||||
|
$query .= "upper(contact) LIKE upper('" . $contactsearch . "%')"; |
||||
|
break; |
||||
|
case "contain": |
||||
|
$query .= "upper(contact) LIKE upper('%" . $contactsearch . "%')"; |
||||
|
break; |
||||
|
case "end": |
||||
|
$query .= "upper(contact) LIKE upper('%" . $contactsearch . "')"; |
||||
|
break; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
else $query .= "category is not null"; |
||||
|
|
||||
|
$query .= " ORDER BY category,company,contact"; |
||||
|
|
||||
|
// print("<p><b>query:</b> " . $query . "<p>\n");
|
||||
|
|
||||
|
$result = pg_exec($connection, $query); |
||||
|
if($result) |
||||
|
{ |
||||
|
$total_rows = pg_numrows($result); |
||||
|
if($linesperpage <= 0) $linesperpage = $total_rows; |
||||
|
$total_pages = (($total_rows - 1) / $linesperpage) + 1; |
||||
|
settype($total_pages, "integer"); |
||||
|
|
||||
|
switch($bsact) |
||||
|
{ |
||||
|
case " < ": |
||||
|
$begin -= $linesperpage; |
||||
|
if($begin < 0) { $begin = 0; $page = 1; } |
||||
|
else $page--; |
||||
|
break; |
||||
|
case " > ": |
||||
|
$begin += $linesperpage; |
||||
|
if($begin > ($total_rows - $linesperpage)) |
||||
|
{ |
||||
|
$begin = $total_rows - $linesperpage; |
||||
|
$page = $total_pages; |
||||
|
} |
||||
|
else $page++; |
||||
|
break; |
||||
|
case ">>": |
||||
|
$begin = $total_rows - $linesperpage; |
||||
|
$page = $total_pages; |
||||
|
break; |
||||
|
default: |
||||
|
$begin = 0; |
||||
|
$page = 1; |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
$last_row = $begin + $linesperpage; |
||||
|
if($last_row > $total_rows) $last_row = $total_rows; |
||||
|
|
||||
|
print("<input type=\"hidden\" name=\"linesperpage\" value=\"" . $linesperpage . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"begin\" value=\"" . $begin . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"page\" value=\"" . $page . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"category\" value=\"" . $category . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"wordsearch\" value=\"" . $wordsearch . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"wordoption\" value=\"" . $wordoption . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"contactsearch\" value=\"" . $contactsearch . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"contactoption\" value=\"" . $contactoption . "\">\n"); |
||||
|
|
||||
|
// $url_args = "&begin=$begin&page=$page&category=";
|
||||
|
// $url_args .= urlencode($category);
|
||||
|
// $url_args .= "&wordsearch=$wordsearch&wordoption=$wordoption&contactsearch=$contactsearch&contactoption=$contactoption";
|
||||
|
|
||||
|
print("<table border=0 width=\"450\" cellspacing=0 cellpadding=0><tr>"); |
||||
|
|
||||
|
if($total_rows > $linesperpage && $begin > 0) |
||||
|
{ |
||||
|
print("<td align=left width=\"100\"><input type=\"submit\" name=\"bsact\" value=\"<<\">\n"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\" < \"></td>\n"); |
||||
|
// print("<td align=left width=\"100\"><a href=\"bsearchresult.php3?bsact=first" . $url_args . "\">First</a>\n");
|
||||
|
// print("<a href=\"bsearchresult.php3?bsact=prev" . $url_args . "\">Prev</a></td>\n");
|
||||
|
} |
||||
|
else print("<td width=\"100\"></td>\n"); |
||||
|
|
||||
|
print("<th align=center><b>Page $page of $total_pages</b></th>\n"); |
||||
|
|
||||
|
if($total_rows > $linesperpage && $begin != ($total_rows - $linesperpage)) |
||||
|
{ |
||||
|
print("<td align=right width=\"100\"><input type=\"submit\" name=\"bsact\" value=\" > \">\n"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\">>\"></td>\n"); |
||||
|
// print("<td align=right width=\"100\"><a href=\"bsearchresult.php3?bsact=next" . $url_args . "\">Next</a>\n");
|
||||
|
// print("<a href=\"bsearchresult.php3?bsact=last" . $url_args . "\">Last</a></td>\n");
|
||||
|
} |
||||
|
else print("<th width=\"100\"></th>\n"); |
||||
|
|
||||
|
print("</tr></table><br>\n"); |
||||
|
|
||||
|
print("<table border=0 width=450 cellspacing=0 cellpadding=0>\n"); |
||||
|
|
||||
|
print("<tr><td colspan=2></td></tr>\n"); |
||||
|
|
||||
|
for($row = $begin, $row_style=0; $row < $last_row; $row++, $row_style++) |
||||
|
{ |
||||
|
$row_data = pg_fetch_row($result, $row); |
||||
|
if($row_data[0] != $previous_category) |
||||
|
{ |
||||
|
if(isset($previous_category)) |
||||
|
print("<tr><td colspan=2> </td></tr>\n"); |
||||
|
$previous_category = $row_data[0]; |
||||
|
print("<tr class=header><th align=center colspan=2>$row_data[0]</th></tr>\n"); |
||||
|
$row_style = 0; |
||||
|
} |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left>"); |
||||
|
if($row_data[1]) |
||||
|
{ |
||||
|
print($row_data[1]); |
||||
|
if($row_data[2]) print(" (" . $row_data[2] . ")"); |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
if($row_data[2]) print($row_data[2]); |
||||
|
else print(" "); |
||||
|
} |
||||
|
print("</td>"); |
||||
|
|
||||
|
print("<td align=right>"); |
||||
|
if($row_data[8] && $row_data[9]) print($row_data[8] . ":" . $row_data[9]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
print("</tr>\n"); |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left>"); |
||||
|
if($row_data[3]) print($row_data[3]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
|
||||
|
print("<td align=right>"); |
||||
|
if($row_data[10] && $row_data[11]) print($row_data[10] . ":" . $row_data[11]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
print("</tr>\n"); |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left>"); |
||||
|
if($row_data[4] && $row_data[5] && $row_data[6]) |
||||
|
print($row_data[4] . "," . $row_data[5] . " " . $row_data[6]); |
||||
|
else print(" "); |
||||
|
if($row_data[7]) print("-" . $row_data[7]); |
||||
|
print("</td>"); |
||||
|
|
||||
|
print("<td align=right>"); |
||||
|
if($row_data[12] && $row_data[13]) print($row_data[12] . ":" . $row_data[13]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
print("</tr>\n"); |
||||
|
} |
||||
|
|
||||
|
print("</table>\n"); |
||||
|
|
||||
|
pg_freeresult($result); |
||||
|
} |
||||
|
else print("Search criteria yield no results.<br>\n"); |
||||
|
|
||||
|
pg_close($connection); |
||||
|
|
||||
|
print("</form>\n"); |
||||
|
} |
||||
|
|
||||
|
?>
|
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,228 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS</title> |
||||
|
</head> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
<body> |
||||
|
|
||||
|
<? |
||||
|
// $linesperpage = 10; |
||||
|
$database_name = "olivebranch"; |
||||
|
|
||||
|
//print("<b>Search criteria:</b><br>\n"); |
||||
|
|
||||
|
print("<form method=\"post\" action=\"bsearchresult.php3\">"); |
||||
|
|
||||
|
$connection = pg_connect("localhost", "5432", $database_name); |
||||
|
if($connection) |
||||
|
{ |
||||
|
$multiple = 0; |
||||
|
$query = "SELECT * FROM member WHERE "; |
||||
|
|
||||
|
if($category || $wordsearch || $contactsearch) |
||||
|
{ |
||||
|
if($category) |
||||
|
{ |
||||
|
$query .= "category = '" . $category . "'"; |
||||
|
|
||||
|
$multiple = 1; |
||||
|
} |
||||
|
|
||||
|
if($wordsearch) |
||||
|
{ |
||||
|
if($multiple) $query .= " AND "; |
||||
|
|
||||
|
switch($wordoption) |
||||
|
{ |
||||
|
case "start": |
||||
|
$query .= "upper(company) LIKE upper('" . $wordsearch . "%')"; |
||||
|
break; |
||||
|
case "contain": |
||||
|
$query .= "upper(company) LIKE upper('%" . $wordsearch . "%')"; |
||||
|
break; |
||||
|
case "end": |
||||
|
$query .= "upper(company) LIKE upper('%" . $wordsearch . "')"; |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
$multiple = 1; |
||||
|
} |
||||
|
|
||||
|
if($contactsearch) |
||||
|
{ |
||||
|
if($multiple) $query .= " AND "; |
||||
|
|
||||
|
switch($contactoption) |
||||
|
{ |
||||
|
case "start": |
||||
|
$query .= "upper(contact) LIKE upper('" . $contactsearch . "%')"; |
||||
|
break; |
||||
|
case "contain": |
||||
|
$query .= "upper(contact) LIKE upper('%" . $contactsearch . "%')"; |
||||
|
break; |
||||
|
case "end": |
||||
|
$query .= "upper(contact) LIKE upper('%" . $contactsearch . "')"; |
||||
|
break; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
else $query .= "category is not null"; |
||||
|
|
||||
|
$query .= " ORDER BY category,company,contact"; |
||||
|
|
||||
|
// print("<p><b>query:</b> " . $query . "<p>\n"); |
||||
|
|
||||
|
$result = pg_exec($connection, $query); |
||||
|
if($result) |
||||
|
{ |
||||
|
$total_rows = pg_numrows($result); |
||||
|
if($linesperpage <= 0) $linesperpage = $total_rows; |
||||
|
$total_pages = (($total_rows - 1) / $linesperpage) + 1; |
||||
|
settype($total_pages, "integer"); |
||||
|
|
||||
|
switch($bsact) |
||||
|
{ |
||||
|
case " < ": |
||||
|
$begin -= $linesperpage; |
||||
|
if($begin < 0) { $begin = 0; $page = 1; } |
||||
|
else $page--; |
||||
|
break; |
||||
|
case " > ": |
||||
|
$begin += $linesperpage; |
||||
|
if($begin > ($total_rows - $linesperpage)) |
||||
|
{ |
||||
|
$begin = $total_rows - $linesperpage; |
||||
|
$page = $total_pages; |
||||
|
} |
||||
|
else $page++; |
||||
|
break; |
||||
|
case ">>": |
||||
|
$begin = $total_rows - $linesperpage; |
||||
|
$page = $total_pages; |
||||
|
break; |
||||
|
default: |
||||
|
$begin = 0; |
||||
|
$page = 1; |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
$last_row = $begin + $linesperpage; |
||||
|
if($last_row > $total_rows) $last_row = $total_rows; |
||||
|
|
||||
|
print("<input type=\"hidden\" name=\"linesperpage\" value=\"" . $linesperpage . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"begin\" value=\"" . $begin . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"page\" value=\"" . $page . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"category\" value=\"" . $category . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"wordsearch\" value=\"" . $wordsearch . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"wordoption\" value=\"" . $wordoption . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"contactsearch\" value=\"" . $contactsearch . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"contactoption\" value=\"" . $contactoption . "\">\n"); |
||||
|
|
||||
|
// $url_arg = "&begin=$begin&page=$page&category="; |
||||
|
// $url_args .= urlencode($category); |
||||
|
// $url_args .= "&wordsearch=$wordsearch&wordoption=$wordoption&contactsearch=$contactsearch&contactoption=$contactoption"; |
||||
|
|
||||
|
print("<table border=0 width=\"450\" cellspacing=0 cellpadding=0><tr>"); |
||||
|
|
||||
|
if($total_rows > $linesperpage && $begin > 0) |
||||
|
{ |
||||
|
print("<td align=left width=\"100\"><input type=\"submit\" name=\"bsact\" value=\"<<\">\n"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\" < \"></td>\n"); |
||||
|
// print("<td align=left width=\"100\"><a href=\"bsearchresult.php3?bsact=first" . $url_args . "\">First</a>\n"); |
||||
|
// print("<a href=\"bsearchresult.php3?bsact=prev" . $url_args . "\">Prev</a></td>\n"); |
||||
|
} |
||||
|
else print("<td width=\"100\"></td>\n"); |
||||
|
|
||||
|
print("<th align=center><b>Page $page of $total_pages</b></th>\n"); |
||||
|
|
||||
|
if($total_rows > $linesperpage && $begin != ($total_rows - $linesperpage)) |
||||
|
{ |
||||
|
print("<td align=right width=\"100\"><input type=\"submit\" name=\"bsact\" value=\" > \">\n"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\">>\"></td>\n"); |
||||
|
// print("<td align=right width=\"100\"><a href=\"bsearchresult.php3?bsact=next" . $url_args . "\">Next</a>\n"); |
||||
|
// print("<a href=\"bsearchresult.php3?bsact=last" . $url_args . "\">Last</a></td>\n"); |
||||
|
} |
||||
|
else print("<th width=\"100\"></th>\n"); |
||||
|
|
||||
|
print("</tr></table><br>\n"); |
||||
|
|
||||
|
print("<table border=0 width=450 cellspacing=0 cellpadding=0>\n"); |
||||
|
|
||||
|
print("<tr><td colspan=2></td></tr>\n"); |
||||
|
|
||||
|
for($row = $begin, $row_style=0; $row < $last_row; $row++, $row_style++) |
||||
|
{ |
||||
|
$row_data = pg_fetch_row($result, $row); |
||||
|
if($row_data[0] != $previous_category) |
||||
|
{ |
||||
|
if(isset($previous_category)) |
||||
|
print("<tr><td colspan=2> </td></tr>\n"); |
||||
|
$previous_category = $row_data[0]; |
||||
|
print("<tr class=header><th align=center colspan=2>$row_data[0]</th></tr>\n"); |
||||
|
$row_style = 0; |
||||
|
} |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left>"); |
||||
|
if($row_data[1]) |
||||
|
{ |
||||
|
print($row_data[1]); |
||||
|
if($row_data[2]) print(" (" . $row_data[2] . ")"); |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
if($row_data[2]) print($row_data[2]); |
||||
|
else print(" "); |
||||
|
} |
||||
|
print("</td>"); |
||||
|
|
||||
|
print("<td align=right>"); |
||||
|
if($row_data[8] && $row_data[9]) print($row_data[8] . ":" . $row_data[9]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
print("</tr>\n"); |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left>"); |
||||
|
if($row_data[3]) print($row_data[3]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
|
||||
|
print("<td align=right>"); |
||||
|
if($row_data[10] && $row_data[11]) print($row_data[10] . ":" . $row_data[11]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
print("</tr>\n"); |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left>"); |
||||
|
if($row_data[4] && $row_data[5] && $row_data[6]) |
||||
|
print($row_data[4] . "," . $row_data[5] . " " . $row_data[6]); |
||||
|
else print(" "); |
||||
|
if($row_data[7]) print("-" . $row_data[7]); |
||||
|
print("</td>"); |
||||
|
|
||||
|
print("<td align=right>"); |
||||
|
if($row_data[12] && $row_data[13]) print($row_data[12] . ":" . $row_data[13]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
print("</tr>\n"); |
||||
|
} |
||||
|
|
||||
|
print("</table>\n"); |
||||
|
|
||||
|
pg_freeresult($result); |
||||
|
} |
||||
|
else print("Search criteria yield no results.<br>\n"); |
||||
|
|
||||
|
pg_close($connection); |
||||
|
|
||||
|
print("</form>\n"); |
||||
|
} |
||||
|
|
||||
|
?> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,241 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS</title> |
||||
|
</head> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
<body> |
||||
|
|
||||
|
<? |
||||
|
// $linesperpage = 10;
|
||||
|
$database_name = "olivebranch"; |
||||
|
|
||||
|
//print("<b>Search criteria:</b><br>\n");
|
||||
|
|
||||
|
print("<form method=\"post\" action=\"bsearchresult.php3\">"); |
||||
|
|
||||
|
$connection = pg_connect("localhost", "5432", $database_name); |
||||
|
if($connection) |
||||
|
{ |
||||
|
$multiple = 0; |
||||
|
$query = "SELECT * FROM member WHERE "; |
||||
|
|
||||
|
if($category || $wordsearch || $contactsearch) |
||||
|
{ |
||||
|
if($category) |
||||
|
{ |
||||
|
$query .= "category = '" . $category . "'"; |
||||
|
|
||||
|
$multiple = 1; |
||||
|
} |
||||
|
|
||||
|
if($wordsearch) |
||||
|
{ |
||||
|
if($multiple) $query .= " AND "; |
||||
|
|
||||
|
switch($wordoption) |
||||
|
{ |
||||
|
case "start": |
||||
|
$query .= "upper(company) LIKE upper('" . $wordsearch . "%')"; |
||||
|
break; |
||||
|
case "contain": |
||||
|
$query .= "upper(company) LIKE upper('%" . $wordsearch . "%')"; |
||||
|
break; |
||||
|
case "end": |
||||
|
$query .= "upper(company) LIKE upper('%" . $wordsearch . "')"; |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
$multiple = 1; |
||||
|
} |
||||
|
|
||||
|
if($contactsearch) |
||||
|
{ |
||||
|
if($multiple) $query .= " AND "; |
||||
|
|
||||
|
switch($contactoption) |
||||
|
{ |
||||
|
case "start": |
||||
|
$query .= "upper(contact) LIKE upper('" . $contactsearch . "%')"; |
||||
|
break; |
||||
|
case "contain": |
||||
|
$query .= "upper(contact) LIKE upper('%" . $contactsearch . "%')"; |
||||
|
break; |
||||
|
case "end": |
||||
|
$query .= "upper(contact) LIKE upper('%" . $contactsearch . "')"; |
||||
|
break; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
else $query .= "category is not null"; |
||||
|
|
||||
|
$query .= " ORDER BY category,company,contact"; |
||||
|
|
||||
|
// print("<p><b>query:</b> " . $query . "<p>\n");
|
||||
|
|
||||
|
$result = pg_exec($connection, $query); |
||||
|
if($result) |
||||
|
{ |
||||
|
$total_rows = pg_numrows($result); |
||||
|
if($linesperpage <= 0) $linesperpage = $total_rows; |
||||
|
$total_pages = (($total_rows - 1) / $linesperpage) + 1; |
||||
|
settype($total_pages, "integer"); |
||||
|
|
||||
|
switch($bsact) |
||||
|
{ |
||||
|
case " < ": |
||||
|
$begin -= $linesperpage; |
||||
|
if($begin < 0) { $begin = 0; $page = 1; } |
||||
|
else $page--; |
||||
|
break; |
||||
|
case " > ": |
||||
|
$begin += $linesperpage; |
||||
|
if($begin > ($total_rows - $linesperpage)) |
||||
|
{ |
||||
|
$begin = $total_rows - $linesperpage; |
||||
|
$page = $total_pages; |
||||
|
} |
||||
|
else $page++; |
||||
|
break; |
||||
|
case ">>": |
||||
|
$begin = $total_rows - $linesperpage; |
||||
|
$page = $total_pages; |
||||
|
break; |
||||
|
default: |
||||
|
$begin = 0; |
||||
|
$page = 1; |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
$last_row = $begin + $linesperpage; |
||||
|
if($last_row > $total_rows) $last_row = $total_rows; |
||||
|
|
||||
|
print("<input type=\"hidden\" name=\"linesperpage\" value=\"" . $linesperpage . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"begin\" value=\"" . $begin . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"page\" value=\"" . $page . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"category\" value=\"" . $category . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"wordsearch\" value=\"" . $wordsearch . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"wordoption\" value=\"" . $wordoption . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"contactsearch\" value=\"" . $contactsearch . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"contactoption\" value=\"" . $contactoption . "\">\n"); |
||||
|
|
||||
|
// $url_arg = "&begin=$begin&page=$page&category=";
|
||||
|
// $url_args .= urlencode($category);
|
||||
|
// $url_args .= "&wordsearch=$wordsearch&wordoption=$wordoption&contactsearch=$contactsearch&contactoption=$contactoption";
|
||||
|
|
||||
|
print("<table border=0 width=\"450\" cellspacing=0 cellpadding=0><tr>"); |
||||
|
|
||||
|
if($total_rows > $linesperpage && $begin > 0) |
||||
|
{ |
||||
|
print("<td align=left width=\"100\"><input type=\"submit\" name=\"bsact\" value=\"<<\">\n"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\" < \"></td>\n"); |
||||
|
// print("<td align=left width=\"100\"><a href=\"bsearchresult.php3?bsact=first" . $url_args . "\">First</a>\n");
|
||||
|
// print("<a href=\"bsearchresult.php3?bsact=prev" . $url_args . "\">Prev</a></td>\n");
|
||||
|
} |
||||
|
else print("<td width=\"100\"></td>\n"); |
||||
|
|
||||
|
print("<th align=center><b>Page $page of $total_pages</b></th>\n"); |
||||
|
|
||||
|
if($total_rows > $linesperpage && $begin != ($total_rows - $linesperpage)) |
||||
|
{ |
||||
|
print("<td align=right width=\"100\"><input type=\"submit\" name=\"bsact\" value=\" > \">\n"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\">>\"></td>\n"); |
||||
|
// print("<td align=right width=\"100\"><a href=\"bsearchresult.php3?bsact=next" . $url_args . "\">Next</a>\n");
|
||||
|
// print("<a href=\"bsearchresult.php3?bsact=last" . $url_args . "\">Last</a></td>\n");
|
||||
|
} |
||||
|
else print("<th width=\"100\"></th>\n"); |
||||
|
|
||||
|
print("</tr></table><br>\n"); |
||||
|
|
||||
|
print("<table border=0 width=450 cellspacing=0 cellpadding=0>\n"); |
||||
|
|
||||
|
print("<tr><td colspan=3></td></tr>\n"); |
||||
|
|
||||
|
for($row = $begin, $row_style=0; $row < $last_row; $row++, $row_style++) |
||||
|
{ |
||||
|
$row_data = pg_fetch_row($result, $row); |
||||
|
if($row_data[0] != $previous_category) |
||||
|
{ |
||||
|
if(isset($previous_category)) |
||||
|
print("<tr><td colspan=3> </td></tr>\n"); |
||||
|
$previous_category = $row_data[0]; |
||||
|
print("<tr class=header><th align=center colspan=3>$row_data[0]</th></tr>\n"); |
||||
|
// print("<tr><td colspan=3></td></tr>\n");
|
||||
|
$row_style = 0; |
||||
|
} |
||||
|
// else print("<tr><td colspan=3><hr></td></tr>\n");
|
||||
|
|
||||
|
if($row_data[1]) |
||||
|
{ |
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left colspan=2>"); |
||||
|
print($row_data[1]); |
||||
|
print("</td><td align=right colspan=1>"); |
||||
|
if($row_data[2]) print($row_data[2]); |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left colspan=3>"); |
||||
|
if($row_data[2]) print($row_data[2]); |
||||
|
} |
||||
|
print("</td></tr>\n"); |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left colspan=2 width=\"60%\">"); |
||||
|
if($row_data[3]) print($row_data[3]); |
||||
|
print("</td><td align=right colspan=1 width=\"40%\">"); |
||||
|
if($row_data[4]) print("$row_data[4], "); |
||||
|
if($row_data[5]) print("$row_data[5]"); |
||||
|
if($row_data[6]) print(" $row_data[6]"); |
||||
|
if($row_data[7]) print("-$row_data[7]"); |
||||
|
print("</td></tr>\n"); |
||||
|
|
||||
|
$num_phones = (pg_numfields($result) - 8) / 2; |
||||
|
for($phone = 0, $field = 8; $phone < $num_phones; $phone++, $field += 2) |
||||
|
{ |
||||
|
if(($phone % 3) == 0) |
||||
|
{ |
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
} |
||||
|
print("<td"); |
||||
|
switch($phone % 3) |
||||
|
{ |
||||
|
case 0: |
||||
|
print(" align=left"); |
||||
|
break; |
||||
|
case 1: |
||||
|
if(($phone+1) == $num_phones) |
||||
|
print(" align=right colspan=2"); |
||||
|
else print(" align=middle"); |
||||
|
break; |
||||
|
case 2: |
||||
|
print(" align=right"); |
||||
|
break; |
||||
|
} |
||||
|
print(">"); |
||||
|
if($row_data[$field] && $row_data[$field+1]) |
||||
|
print($row_data[$field] . " : " . $row_data[$field+1]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
if(($phone % 3) == 2) print("</tr>\n"); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
print("</table>\n"); |
||||
|
|
||||
|
pg_freeresult($result); |
||||
|
} |
||||
|
else print("Search criteria yield no results.<br>\n"); |
||||
|
|
||||
|
pg_close($connection); |
||||
|
|
||||
|
print("</form>\n"); |
||||
|
} |
||||
|
|
||||
|
?>
|
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,228 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS</title> |
||||
|
</head> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
<body> |
||||
|
|
||||
|
<? |
||||
|
// $linesperpage = 10;
|
||||
|
$database_name = "olivebranch"; |
||||
|
|
||||
|
//print("<b>Search criteria:</b><br>\n");
|
||||
|
|
||||
|
print("<form method=\"post\" action=\"bsearchresult.php3\">"); |
||||
|
|
||||
|
$connection = pg_connect("localhost", "5432", $database_name); |
||||
|
if($connection) |
||||
|
{ |
||||
|
$multiple = 0; |
||||
|
$query = "SELECT * FROM member WHERE "; |
||||
|
|
||||
|
if($category || $wordsearch || $contactsearch) |
||||
|
{ |
||||
|
if($category) |
||||
|
{ |
||||
|
$query .= "category = '" . $category . "'"; |
||||
|
|
||||
|
$multiple = 1; |
||||
|
} |
||||
|
|
||||
|
if($wordsearch) |
||||
|
{ |
||||
|
if($multiple) $query .= " AND "; |
||||
|
|
||||
|
switch($wordoption) |
||||
|
{ |
||||
|
case "start": |
||||
|
$query .= "upper(company) LIKE upper('" . $wordsearch . "%')"; |
||||
|
break; |
||||
|
case "contain": |
||||
|
$query .= "upper(company) LIKE upper('%" . $wordsearch . "%')"; |
||||
|
break; |
||||
|
case "end": |
||||
|
$query .= "upper(company) LIKE upper('%" . $wordsearch . "')"; |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
$multiple = 1; |
||||
|
} |
||||
|
|
||||
|
if($contactsearch) |
||||
|
{ |
||||
|
if($multiple) $query .= " AND "; |
||||
|
|
||||
|
switch($contactoption) |
||||
|
{ |
||||
|
case "start": |
||||
|
$query .= "upper(contact) LIKE upper('" . $contactsearch . "%')"; |
||||
|
break; |
||||
|
case "contain": |
||||
|
$query .= "upper(contact) LIKE upper('%" . $contactsearch . "%')"; |
||||
|
break; |
||||
|
case "end": |
||||
|
$query .= "upper(contact) LIKE upper('%" . $contactsearch . "')"; |
||||
|
break; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
else $query .= "category is not null"; |
||||
|
|
||||
|
$query .= " ORDER BY category,company,contact"; |
||||
|
|
||||
|
// print("<p><b>query:</b> " . $query . "<p>\n");
|
||||
|
|
||||
|
$result = pg_exec($connection, $query); |
||||
|
if($result) |
||||
|
{ |
||||
|
$total_rows = pg_numrows($result); |
||||
|
if($linesperpage <= 0) $linesperpage = $total_rows; |
||||
|
$total_pages = (($total_rows - 1) / $linesperpage) + 1; |
||||
|
settype($total_pages, "integer"); |
||||
|
|
||||
|
switch($bsact) |
||||
|
{ |
||||
|
case " < ": |
||||
|
$begin -= $linesperpage; |
||||
|
if($begin < 0) { $begin = 0; $page = 1; } |
||||
|
else $page--; |
||||
|
break; |
||||
|
case " > ": |
||||
|
$begin += $linesperpage; |
||||
|
if($begin > ($total_rows - $linesperpage)) |
||||
|
{ |
||||
|
$begin = $total_rows - $linesperpage; |
||||
|
$page = $total_pages; |
||||
|
} |
||||
|
else $page++; |
||||
|
break; |
||||
|
case ">>": |
||||
|
$begin = $total_rows - $linesperpage; |
||||
|
$page = $total_pages; |
||||
|
break; |
||||
|
default: |
||||
|
$begin = 0; |
||||
|
$page = 1; |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
$last_row = $begin + $linesperpage; |
||||
|
if($last_row > $total_rows) $last_row = $total_rows; |
||||
|
|
||||
|
print("<input type=\"hidden\" name=\"linesperpage\" value=\"" . $linesperpage . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"begin\" value=\"" . $begin . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"page\" value=\"" . $page . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"category\" value=\"" . $category . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"wordsearch\" value=\"" . $wordsearch . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"wordoption\" value=\"" . $wordoption . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"contactsearch\" value=\"" . $contactsearch . "\">\n"); |
||||
|
print("<input type=\"hidden\" name=\"contactoption\" value=\"" . $contactoption . "\">\n"); |
||||
|
|
||||
|
// $url_arg = "&begin=$begin&page=$page&category=";
|
||||
|
// $url_args .= urlencode($category);
|
||||
|
// $url_args .= "&wordsearch=$wordsearch&wordoption=$wordoption&contactsearch=$contactsearch&contactoption=$contactoption";
|
||||
|
|
||||
|
print("<table border=0 width=\"450\" cellspacing=0 cellpadding=0><tr>"); |
||||
|
|
||||
|
if($total_rows > $linesperpage && $begin > 0) |
||||
|
{ |
||||
|
print("<td align=left width=\"100\"><input type=\"submit\" name=\"bsact\" value=\"<<\">\n"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\" < \"></td>\n"); |
||||
|
// print("<td align=left width=\"100\"><a href=\"bsearchresult.php3?bsact=first" . $url_args . "\">First</a>\n");
|
||||
|
// print("<a href=\"bsearchresult.php3?bsact=prev" . $url_args . "\">Prev</a></td>\n");
|
||||
|
} |
||||
|
else print("<td width=\"100\"></td>\n"); |
||||
|
|
||||
|
print("<th align=center><b>Page $page of $total_pages</b></th>\n"); |
||||
|
|
||||
|
if($total_rows > $linesperpage && $begin != ($total_rows - $linesperpage)) |
||||
|
{ |
||||
|
print("<td align=right width=\"100\"><input type=\"submit\" name=\"bsact\" value=\" > \">\n"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\">>\"></td>\n"); |
||||
|
// print("<td align=right width=\"100\"><a href=\"bsearchresult.php3?bsact=next" . $url_args . "\">Next</a>\n");
|
||||
|
// print("<a href=\"bsearchresult.php3?bsact=last" . $url_args . "\">Last</a></td>\n");
|
||||
|
} |
||||
|
else print("<th width=\"100\"></th>\n"); |
||||
|
|
||||
|
print("</tr></table><br>\n"); |
||||
|
|
||||
|
print("<table border=0 width=450 cellspacing=0 cellpadding=0>\n"); |
||||
|
|
||||
|
print("<tr><td colspan=2></td></tr>\n"); |
||||
|
|
||||
|
for($row = $begin, $row_style=0; $row < $last_row; $row++, $row_style++) |
||||
|
{ |
||||
|
$row_data = pg_fetch_row($result, $row); |
||||
|
if($row_data[0] != $previous_category) |
||||
|
{ |
||||
|
if(isset($previous_category)) |
||||
|
print("<tr><td colspan=2> </td></tr>\n"); |
||||
|
$previous_category = $row_data[0]; |
||||
|
print("<tr class=header><th align=center colspan=2>$row_data[0]</th></tr>\n"); |
||||
|
$row_style = 0; |
||||
|
} |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left>"); |
||||
|
if($row_data[1]) |
||||
|
{ |
||||
|
print($row_data[1]); |
||||
|
if($row_data[2]) print(" (" . $row_data[2] . ")"); |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
if($row_data[2]) print($row_data[2]); |
||||
|
else print(" "); |
||||
|
} |
||||
|
print("</td>"); |
||||
|
|
||||
|
print("<td align=right>"); |
||||
|
if($row_data[8] && $row_data[9]) print($row_data[8] . ":" . $row_data[9]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
print("</tr>\n"); |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left>"); |
||||
|
if($row_data[3]) print($row_data[3]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
|
||||
|
print("<td align=right>"); |
||||
|
if($row_data[10] && $row_data[11]) print($row_data[10] . ":" . $row_data[11]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
print("</tr>\n"); |
||||
|
|
||||
|
if($row_style & 1) print("<tr class=darkrow>"); |
||||
|
else print("<tr class=lightrow>"); |
||||
|
print("<td align=left>"); |
||||
|
if($row_data[4] && $row_data[5] && $row_data[6]) |
||||
|
print($row_data[4] . "," . $row_data[5] . " " . $row_data[6]); |
||||
|
else print(" "); |
||||
|
if($row_data[7]) print("-" . $row_data[7]); |
||||
|
print("</td>"); |
||||
|
|
||||
|
print("<td align=right>"); |
||||
|
if($row_data[12] && $row_data[13]) print($row_data[12] . ":" . $row_data[13]); |
||||
|
else print(" "); |
||||
|
print("</td>"); |
||||
|
print("</tr>\n"); |
||||
|
} |
||||
|
|
||||
|
print("</table>\n"); |
||||
|
|
||||
|
pg_freeresult($result); |
||||
|
} |
||||
|
else print("Search criteria yield no results.<br>\n"); |
||||
|
|
||||
|
pg_close($connection); |
||||
|
|
||||
|
print("</form>\n"); |
||||
|
} |
||||
|
|
||||
|
?>
|
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,47 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Local Chamber Site</title> |
||||
|
<base target="section_body"> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
<table border=0> |
||||
|
<tr> |
||||
|
<td><a href="graphics/map.gif">Location Map</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="history.html">History Of Area</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="about.html">About The Chamber</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="bsearchresult.php3?category=Real+Estate+Brokers">Finding A Home</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">Calendar Of Events</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">Community News</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="schools.html">Schools</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="utility.html">Utilities</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="newcomer.html">Newcomer's Guide</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">Local Attractions</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">Photo Tour</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="eminfo.html">Information Request Form</a></td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,42 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
<table border=0> |
||||
|
<tr align=center><td><img src="graphics/36.jpg" width=299 height=194></td></tr> |
||||
|
<tr align=center> |
||||
|
<td> |
||||
|
<small> |
||||
|
The Wesson House is the restored home (circa 1885-1890)<br> |
||||
|
of Olive Branch's first mayor, B. F. Wesson It is designated<br> |
||||
|
a Mississippi Landmark and is available for a variety of<br> |
||||
|
community uses. |
||||
|
</small> |
||||
|
<p> |
||||
|
<p align=center> |
||||
|
<em><big> |
||||
|
Olive Branch is a Great Place<br>to Live and Work |
||||
|
</big></em> |
||||
|
</p> |
||||
|
Olive Branch, Mississippi. A community with 5 golf courses;<br> |
||||
|
Mississippi's largest Post Office at catalog publishing<br> |
||||
|
house, Qubecor; the nation's largest bonsai nursery,<br> |
||||
|
Brussell's, and one of the State's busiest airports. A<br> |
||||
|
unique name that distinguishes...<br> |
||||
|
<p> |
||||
|
<p align=center> |
||||
|
<em><b> |
||||
|
...A Nice Place in The Country<br> |
||||
|
With A City Next Door! |
||||
|
</b></em> |
||||
|
</p> |
||||
|
<p> |
||||
|
P.S. If you're curious about the state in which the other<br> |
||||
|
Olive Branch is located email us. We will be glad to save<br> |
||||
|
you time looking for it. |
||||
|
</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,9 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS</title> |
||||
|
</head> |
||||
|
<frameset cols="20%,80%" border="0"> |
||||
|
<frame src="commdev.html" name="section_nav"> |
||||
|
<frame src="commhome.html" name="section_body"> |
||||
|
</frameset> |
||||
|
</html> |
@ -0,0 +1,21 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
<table border=0> |
||||
|
<tr> |
||||
|
<td><img src="graphics/36.jpg" width=299 height=194></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td> |
||||
|
<em><big> |
||||
|
<p align="center"> |
||||
|
Olive Branch is a Great Place<br>to Locate Your Business |
||||
|
</p> |
||||
|
</big></em> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,47 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Local Chamber Site</title> |
||||
|
<base target="section_body"> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
<table border=0> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">Overview</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">Demographics</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">Industrial Parks</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">Sites & Buildings</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">Employers Directory</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">Transportation Resources</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">Workforce Development</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">State & Regional Resources</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">Incentives</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">Links & Contacts</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">Development News Releases</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a href="blank.html">Information Request Form</a></td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,9 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS</title> |
||||
|
</head> |
||||
|
<frameset cols="20%,80%" border="0"> |
||||
|
<frame src="econdev.html" name="section_nav"> |
||||
|
<frame src="ecohome.html" name="section_body"> |
||||
|
</frameset> |
||||
|
</html> |
@ -0,0 +1,113 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Local Chamber Site</title> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
<table border=0> |
||||
|
<TR> |
||||
|
<TD valign="top" width="98%"> |
||||
|
<P align="center"><FONT face="Arial"><SMALL><BR></SMALL><EM><BIG>Request For More Information</BIG></EM></FONT></P> |
||||
|
<FORM method="POST" action="_vti_bin/shtml.dll/req.htm" webbot-action="--WEBBOT-SELF--"> |
||||
|
<INPUT TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><DIV align="center"> |
||||
|
<CENTER> |
||||
|
<TABLE border="0" width="80%"> |
||||
|
<TR> |
||||
|
<TD colspan="3" valign="top"> |
||||
|
<SMALL><FONT face="Arial">I have looked at the Chamber's website but I need more information. I need more information on:</FONT></SMALL> |
||||
|
</TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD valign="top"> |
||||
|
<STRONG><FONT face="Arial"><SMALL><BR>Visiting or Moving to your area</SMALL><BR></FONT></STRONG> |
||||
|
<P> |
||||
|
<SMALL><FONT face="Arial"> |
||||
|
<INPUT type="checkbox" name="MovingArea" value="Need Printed Map">I need a printed map of the area.<BR> |
||||
|
<INPUT type="checkbox" name="MovingArea" value="Need Newcomers Guide">I need a printed Newcomer's Guide for the area |
||||
|
</FONT></SMALL> |
||||
|
</TD> |
||||
|
<TD valign="top"></TD> |
||||
|
<TD valign="top"> |
||||
|
<STRONG><SMALL><FONT face="Arial"> |
||||
|
<BR>Starting a Business or Moving a Business to your area</FONT></SMALL></STRONG> |
||||
|
<P><SMALL><FONT face="Arial"> |
||||
|
<INPUT type="checkbox" name="StartingBusiness" value="Need Site And Building Info"> |
||||
|
I need more information about sites and buildings.<BR> |
||||
|
<INPUT type="checkbox" name="StartingBusiness" value="Need Personal Contact"> |
||||
|
I need someone to contact me for specific answers to my questions. |
||||
|
</FONT></SMALL></STRONG> |
||||
|
</TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD valign="top"></TD> |
||||
|
<TD valign="top"></TD> |
||||
|
<TD valign="top"></TD> |
||||
|
</TR> |
||||
|
</TABLE> |
||||
|
<TABLE border="0" width="80%"> |
||||
|
<TR> |
||||
|
<TD align="right"> |
||||
|
<STRONG><SMALL><FONT face="Arial"><BR>Name</FONT></SMALL></STRONG> |
||||
|
</TD> |
||||
|
<TD> |
||||
|
<SMALL><FONT face="Arial"> |
||||
|
<BR><INPUT type="text" name="Name" size="30"> |
||||
|
</FONT></SMALL> |
||||
|
</TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Title</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Title" size="30"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Company</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Company" size="30"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Address</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Address" size="30"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">City</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="City" size="20"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">State</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="State" size="20"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Zip</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Zip" size="15"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Phone</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Phone" size="15"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Fax</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Fax" size="15"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Email Address</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="EmailAddress" size="20"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"></TD> |
||||
|
<TD></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD valign="top" align="right"></TD> |
||||
|
<TD valign="top"> |
||||
|
<SMALL><FONT face="Arial"> |
||||
|
<INPUT type="submit" value="Submit" name="B1"> <INPUT type="reset" value="Reset" name="B2"><BR><BR> |
||||
|
</FONT></SMALL> |
||||
|
</TD> |
||||
|
</TR> |
||||
|
</TABLE> |
||||
|
</CENTER> |
||||
|
</FORM> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</body> |
||||
|
</html> |
After Width: 299 | Height: 194 | Size: 24 KiB |
After Width: 468 | Height: 60 | Size: 6.0 KiB |
After Width: 468 | Height: 60 | Size: 8.1 KiB |
After Width: 468 | Height: 60 | Size: 9.8 KiB |
After Width: 468 | Height: 60 | Size: 8.2 KiB |
After Width: 580 | Height: 20 | Size: 1.2 KiB |
After Width: 112 | Height: 65 | Size: 3.1 KiB |
After Width: 370 | Height: 263 | Size: 11 KiB |
After Width: 197 | Height: 131 | Size: 7.0 KiB |
After Width: 292 | Height: 213 | Size: 20 KiB |
@ -0,0 +1,55 @@ |
|||||
|
Olive Branch, Mississippi |
||||
|
History of Area |
||||
|
|
||||
|
What A Unique Name, You Say. |
||||
|
And You're Right! Only One |
||||
|
Other Community In The |
||||
|
United States Is Also |
||||
|
Named Olive Branch |
||||
|
|
||||
|
Like many other cities, Olive Branch had a |
||||
|
different name when it was first founded near |
||||
|
where several old Chickasaw Indian Trails |
||||
|
crossed. It was originally called Watson's |
||||
|
Crossroad. Then, in 1846, when the first Post |
||||
|
Office was established, Mrs. Frances Wilson |
||||
|
Blocker - a descendant of one of the |
||||
|
community's founders - suggested the name Olive |
||||
|
Branch. She thought, it is said, that the new |
||||
|
name symbolized a dove bringing a Branch to the |
||||
|
seagoing Noah. |
||||
|
|
||||
|
Whatever the reason for her choice, the name |
||||
|
was informally adopted by the 185 residents. On |
||||
|
May 1, 1874 Olive Branch was incorporated as a |
||||
|
town and on March 6, 1888 it progressed to |
||||
|
Village status. |
||||
|
|
||||
|
But there was a lot of history before Olive |
||||
|
Branch was formally named. Mississippi had |
||||
|
become a State on December 10, 1817. Until then |
||||
|
it had been known as Mississippi Territory and |
||||
|
included what is now Alabama. |
||||
|
|
||||
|
Fourteen years before the Olive Branch Post |
||||
|
Office opened, President Andrew Jackson was |
||||
|
just beginning his second term. He decided that |
||||
|
extensive Indian-held land east of the |
||||
|
Mississippi River should be given to frontier |
||||
|
settlers for clearing and farming so he |
||||
|
dispatched General John Coffee to northern |
||||
|
Mississippi. General Coffee's assignment was to |
||||
|
persuade the Chickasaw Indians to sell some of |
||||
|
their land. He succeeded when in October, 1832 |
||||
|
the tribal chieftains signed the Pontotoc |
||||
|
Treaty which allowed them to keep certain |
||||
|
designated lands. The remainder was opened to |
||||
|
settlers. |
||||
|
|
||||
|
A Spanish Explorer Leaves His Mark... |
||||
|
|
||||
|
Seventeen counties were created soon after the |
||||
|
Treaty including, in 1836, DeSoto County. The |
||||
|
name was derived from the famous Spanish |
||||
|
explorer Hernando DeSoto. And Hernando, |
||||
|
Mississippi became the DeSoto County Seat. |
@ -0,0 +1,26 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
<center> |
||||
|
<table border=0> |
||||
|
<tr> |
||||
|
<td valign="middle" rowspan=2><img src="graphics/pho.golf.jpg" width=292 height=213></td> |
||||
|
<td valign="top"><img src="graphics/ob.logo.gif" width=197 height=131 hspace=20></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td valign="middle"> |
||||
|
<p> |
||||
|
Golf Bonanza for Four - Register to Win!<br> |
||||
|
<br> |
||||
|
<a href="search.html">Check out the Olive Branch Online<br>Business Directory</a><br> |
||||
|
<br> |
||||
|
Olive Branch Major Employers |
||||
|
</p> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</center> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,13 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS</title> |
||||
|
</head> |
||||
|
<? |
||||
|
srand(time()); |
||||
|
?>
|
||||
|
<frameset rows="95,*,35" border=0 framespacing=0 frameborder=no> |
||||
|
<frame src="banner.php3" name="banner_ad" scrolling="no"> |
||||
|
<frame src="home.html" name="middle_sec"> |
||||
|
<frame src="mainnav.html" name="main_nav"> |
||||
|
</frameset> |
||||
|
</html> |
@ -0,0 +1,99 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olivebranch MS</title> |
||||
|
</head> |
||||
|
<body> |
||||
|
<form method="post" action="listall.php3"> |
||||
|
<? |
||||
|
$lines_per_page = 15; |
||||
|
|
||||
|
// connect to the database
|
||||
|
$connection = pg_connect("localhost", "5432", "olivebranch"); |
||||
|
|
||||
|
$query = "SELECT * FROM member"; |
||||
|
$result = pg_exec($connection, $query); |
||||
|
|
||||
|
$total_rows = pg_numrows($result); |
||||
|
switch($bsact) |
||||
|
{ |
||||
|
case "First Page": |
||||
|
$begin = 0; |
||||
|
break; |
||||
|
case "Previous Page": |
||||
|
$begin -= $lines_per_page; |
||||
|
if($begin < 0) $begin = 0; |
||||
|
break; |
||||
|
case "Next Page": |
||||
|
$begin += $lines_per_page; |
||||
|
if($begin > ($total_rows - $lines_per_page)) $begin = $total_rows - $lines_per_page; |
||||
|
break; |
||||
|
case "Last Page": |
||||
|
$begin = $total_rows - $lines_per_page; |
||||
|
break; |
||||
|
default: |
||||
|
$begin = 0; |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
print("<TABLE border=1>\n"); |
||||
|
|
||||
|
$last_row = $begin + $lines_per_page; |
||||
|
if($last_row > $total_rows) $last_row = $total_rows; |
||||
|
|
||||
|
print("<input type=\"hidden\" name=\"begin\" value=\"" . $begin . "\">"); |
||||
|
|
||||
|
for($row = $begin; $row < $last_row; $row++) |
||||
|
{ |
||||
|
print("<TR>\n"); |
||||
|
print("<td>$row</td>"); |
||||
|
for($field = 0; $field < pg_numfields($result); $field++) |
||||
|
{ |
||||
|
print("<td>"); |
||||
|
if(pg_fieldisnull($result, $row, $field)) |
||||
|
{ |
||||
|
$price = "NULL"; |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
print(pg_result($result, $row, $field)); |
||||
|
} |
||||
|
print("</td>\n"); |
||||
|
} |
||||
|
print("</TR>\n"); |
||||
|
} |
||||
|
|
||||
|
print("</TABLE>"); |
||||
|
|
||||
|
// close connection to the database
|
||||
|
pg_freeresult($result); |
||||
|
pg_close($connection); |
||||
|
|
||||
|
$total_pages = ($total_rows / $lines_per_page) + 1; |
||||
|
settype($total_pages, "integer"); |
||||
|
if($begin == ($total_rows - $lines_per_page)) $page = $total_pages; |
||||
|
else |
||||
|
{ |
||||
|
$page = ($begin / $lines_per_page) + 1.99; |
||||
|
settype($page, "integer"); |
||||
|
} |
||||
|
|
||||
|
print("<br>Page $page of $total_pages<br>\n"); |
||||
|
|
||||
|
if($total_rows > $lines_per_page) |
||||
|
{ |
||||
|
if($begin > 0) |
||||
|
{ |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\"First Page\">"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\"Previous Page\">"); |
||||
|
} |
||||
|
|
||||
|
if($begin != ($total_rows - $lines_per_page)) |
||||
|
{ |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\"Next Page\">"); |
||||
|
print("<input type=\"submit\" name=\"bsact\" value=\"Last Page\">"); |
||||
|
} |
||||
|
} |
||||
|
?>
|
||||
|
</form> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,17 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Local Chamber Site</title> |
||||
|
<base target="middle_sec"> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
<table border=0 width="100%" height="100%" cellpadding=0> |
||||
|
<tr> |
||||
|
<td align="top" width="25%"><a href="economy.html">Economic Development</a></td> |
||||
|
<td align="top" width="25%"><a href="community.html">Community Development</a></td> |
||||
|
<td align="top" width="25%"><a href="search.html">Membership Directory & Web Links</a></td> |
||||
|
<td align="top" width="25%"><a href="eminfo.html">E-mail Information Request</a></td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,32 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
<h2> |
||||
|
For Newcomers |
||||
|
</h2> |
||||
|
<p> |
||||
|
Automobiles |
||||
|
Vehicle Licenses |
||||
|
Olive Branch - (601) 893-8989 |
||||
|
Southaven - (601) 342-6411 |
||||
|
Hernando - (601) 429-1340 |
||||
|
Driver's License |
||||
|
MS Highway Patrol - (601) 429-1353 |
||||
|
Vehicle Inspection |
||||
|
Required Annually - various locations |
||||
|
<p> |
||||
|
Emergencies |
||||
|
Police/Fire/Ambulance - 911 |
||||
|
<p> |
||||
|
Government |
||||
|
City of Olive Branch - (601) 895-4131 |
||||
|
Mayor's Office - (601) 895-3166 |
||||
|
City Park - (601) 893-5219 |
||||
|
DeSoto County Supervisors - Olive Branch Area |
||||
|
District 1 - Jessie Medlin - (601) |
||||
|
429-5590 |
||||
|
District 2 - Gene Thach - (601) 429-5590 |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,116 @@ |
|||||
|
Schools & Lifelong Learning |
||||
|
<p> |
||||
|
(Public Schools)<br> |
||||
|
Chickasaw Elementary 895-6664<br> |
||||
|
Patrica Hefley, Prinicipal<br> |
||||
|
<p> |
||||
|
Olive Branch Elementary 895-2256<br> |
||||
|
Sunni Barkley, Principal<br> |
||||
|
<p> |
||||
|
Olive Branch Intermediate 893-1221<br> |
||||
|
Joe C. Eoff, Principal<br> |
||||
|
<p> |
||||
|
Olive Branch Middle 895-4610<br> |
||||
|
Ken Reid, Principal<br> |
||||
|
<p> |
||||
|
Olive Branch High School 893-3344<br> |
||||
|
Dr. Charles Garrett, Principal<br> |
||||
|
<p> |
||||
|
Northwest Mississippi Community College<br> |
||||
|
Olive Branch Campus 895-7600<br> |
||||
|
Southaven Campus 342-1570<br> |
||||
|
<p> |
||||
|
(Private Schools)<br> |
||||
|
DeSoto Academy 895-6385<br> |
||||
|
Mrs. Bruce Graybel, Administrator<br> |
||||
|
<p> |
||||
|
Sacred Heart School-Walls 781-0650<br> |
||||
|
Ms. Cathleen Fuccaro, Principal<br> |
||||
|
<p> |
||||
|
SBEC 349-3096<br> |
||||
|
Paul Young, Administrator<br> |
||||
|
<p> |
||||
|
The Olive Branch Schools (two elementary, one<br> |
||||
|
middle, one intermediate and one high school)<br> |
||||
|
are part of the DeSoto County School system,<br> |
||||
|
the second largest in the state and highly<br> |
||||
|
ranked academically.<br> |
||||
|
<p> |
||||
|
Jerry Baird, Superintendent<br> |
||||
|
DeSoto County Schools<br> |
||||
|
5 East South Street<br> |
||||
|
Hernando, MS 38632<br> |
||||
|
(601)429-5271<br> |
||||
|
<p> |
||||
|
Northwest Mississippi Community College opened<br> |
||||
|
its new DeSoto Center only minutes from Olive<br> |
||||
|
Branch in late 1995. The Center is designed to<br> |
||||
|
accomodate overe 1,400 students at a time, with<br> |
||||
|
25 classrooms, four computer labs, two science<br> |
||||
|
labs, one practical nursing lab, a spacious<br> |
||||
|
library and other facilities.<br> |
||||
|
<p> |
||||
|
Keith Godbold, Director |
||||
|
DeSoto Center |
||||
|
Northwest Mississippi Community College |
||||
|
5197 W.E. Ross Parkway |
||||
|
Southaven, MS 38671 |
||||
|
(601)342-1570 |
||||
|
<p> |
||||
|
Northwest also offers a Skill/Tech program to, |
||||
|
among other things, bridge the gap between the |
||||
|
skills of the available labor pool and the |
||||
|
performance needs opf area employers. |
||||
|
<p> |
||||
|
Joyce Brasell, Center Director |
||||
|
510 N. Panola Street |
||||
|
Senatobia, MS 38668 |
||||
|
(601)562-3458 |
||||
|
FAX (601)562-3951 |
||||
|
<p> |
||||
|
Allied Enterprises, part of the State |
||||
|
Department of Rehabilitation, located in Olive |
||||
|
Branch, serves disabled people training to |
||||
|
re-enter the work force. |
||||
|
<p> |
||||
|
Tarea Stout, Facility Manager |
||||
|
Allied Enterprises of Olive Branch |
||||
|
P.O.Box 550 |
||||
|
Olive Branch, MS 38654 |
||||
|
(601)895-4363 |
||||
|
FAX (601)893-2792 |
||||
|
<p> |
||||
|
DeSoto Students beat U.S. average |
||||
|
By Stephen D. Price |
||||
|
The Commercial Appeal (2/12/99) |
||||
|
<p> |
||||
|
DeSoto County Schools students scored better |
||||
|
than state and national averages in achievement |
||||
|
tests taken in the fall of 1998. |
||||
|
District test coordinator Peggy Slaugther |
||||
|
credited the improvement on the Iowa Test of |
||||
|
Basic Skills, the Test of Achievement and |
||||
|
Proficiency and the Functional Literacy Exam to |
||||
|
"students' hard work and parents being |
||||
|
concerned." |
||||
|
In composite test scores that include reading, |
||||
|
language and math, DeSoto County fourth-graders |
||||
|
scored in the 54th percentile nationally, which |
||||
|
means they scored equal to or better than 54 |
||||
|
percent of other students. In 1997, |
||||
|
fourth-graders scored in the 53rd percentile. |
||||
|
Fifth-graders scored in the 54th percentile, up |
||||
|
from the 52nd percentile in 1997; sixth-graders |
||||
|
were in the 55th percentile, dipping from the |
||||
|
56th; seventh-graders scored in the 57th |
||||
|
percentile, up from the 55th; eight-graders |
||||
|
scored in the 57th percentile, up from the |
||||
|
55th. |
||||
|
Ninth-graders took the Test of Achievements and |
||||
|
Proficency and scored in the 54th percentile, |
||||
|
compared with the 50th the preceeding year. |
||||
|
In Mississippi students must take the |
||||
|
Functional Literacy Exam and score at least 770 |
||||
|
percent to graduate from high school. In DeSoto |
||||
|
County 96 percent of students passed in 1998, |
||||
|
compared with 94 percent in 1997. |
@ -0,0 +1,9 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS</title> |
||||
|
</head> |
||||
|
<frameset cols="500,*" border=0 framespacing=0> |
||||
|
<frame src="blank.html" name="section_body"> |
||||
|
<frame src="bsearch.php3" name="section_nav"> |
||||
|
</frameset> |
||||
|
</html> |
@ -0,0 +1,17 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Upload file</title> |
||||
|
<link rel="stylesheet" href="/styles/basic.css"> |
||||
|
</head> |
||||
|
<body> |
||||
|
<form method="post" action="/cgi-bin/save_file" enctype="multipart/form-data"> |
||||
|
User: <input type="text" size=32 name="user_name"> |
||||
|
<br> |
||||
|
Pathname: <input type="text" size=32 name="path_name"> |
||||
|
<br> |
||||
|
Filename: <input type="file" size=32 name="file_name" accept="image/jpg,image/gif"> |
||||
|
<br> |
||||
|
<input type=submit> |
||||
|
</form> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,57 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
<h2> |
||||
|
Utilities |
||||
|
</h2> |
||||
|
<p> |
||||
|
Electricity |
||||
|
<p> |
||||
|
Supplier: |
||||
|
Northcentral Mississippi Electric Power |
||||
|
Association (TVA Co-Op) |
||||
|
Customers: 14,121 |
||||
|
Maximum Yearly Peak Demand: 116 megawatts |
||||
|
Capacity: 180 megawatts |
||||
|
<p> |
||||
|
Natural Gas |
||||
|
<p> |
||||
|
Supplier: |
||||
|
City of Olive Branch |
||||
|
Customers: 4,770 |
||||
|
Capacity: 8,245 MCF |
||||
|
Peak Demand: 7,450 MCF |
||||
|
Avg. Daily Usage: 2,760 MCF |
||||
|
<p> |
||||
|
Water |
||||
|
<p> |
||||
|
Suppliers: |
||||
|
City of Olive Branch |
||||
|
Customers: 4,063 |
||||
|
Capacity: 3.6 million gallons/day |
||||
|
Peak Demand: 1.5 million gallons/day |
||||
|
Avg. Daily Usage: 1.2 million gallons |
||||
|
<p> |
||||
|
Metro DeSoto Utilities (Metro Industrial Park) |
||||
|
Customers: 96 |
||||
|
Capacity: 1.15 million gallons/day |
||||
|
Peak Demand: 705,000 gallons/day |
||||
|
Avg/ Daily Usage: 565,000 gallons/day |
||||
|
<p> |
||||
|
Sewer |
||||
|
<p> |
||||
|
Suppliers: |
||||
|
City of Olive Branch |
||||
|
Customers: 3,300 |
||||
|
Capacity: 1 million gallons/day |
||||
|
Peak Demand: 840,000 gallons/day |
||||
|
Avg. Daily Usage: 750,000 gallons/day |
||||
|
<p> |
||||
|
Metro DeSoto Utilities (Metro Industrial Park) |
||||
|
Customers: 69 |
||||
|
Capacity: 500,000 gallons/day |
||||
|
Avg. Daily Usage: 400,000 gallons/day |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,14 @@ |
|||||
|
<?php // contents of the ad banner frame
|
||||
|
header("Content-type: text/html"); |
||||
|
$basetarget="_blank"; |
||||
|
include("html/head.std"); |
||||
|
$banner = "graphics/banner.gif"; |
||||
|
$banner_size = getimagesize($banner); |
||||
|
|
||||
|
print("<a href=\"sponsors.php3\">\n"); |
||||
|
print("<img src=\"$banner\" $banner_size[3] ");
|
||||
|
print("alt=\"-Click here to visit our Sponsors!-\" "); |
||||
|
print("border=0>\n</a>\n"); |
||||
|
|
||||
|
include("html/tail.std"); |
||||
|
?>
|
@ -0,0 +1,45 @@ |
|||||
|
<?php // community development menu
|
||||
|
header("Pragma: no-cache"); |
||||
|
header("Content-type: text/html"); |
||||
|
include("html/head.std"); |
||||
|
?>
|
||||
|
<div> |
||||
|
<h2 class=center>Community Development Menu<hr></h2> |
||||
|
<div class=offset> |
||||
|
<dl> |
||||
|
<dt><b>Select from the items below:</b> |
||||
|
<dl> |
||||
|
<dt><a href="mini.php3?content=location"><b>Our Location:</b></a> |
||||
|
<dd>This link display a map of how to find our community. |
||||
|
<dt><a href="mini.php3?content=history"><b>Our History:</b></a> |
||||
|
<dd>A summary of the history of our community. |
||||
|
<dt><a href="mini.php3?content=about"><b>About the Chamber:</b></a> |
||||
|
<dd>Information about us, the Olive Branch Chamber of Commerce. |
||||
|
<dt><a href="search_result.php3?category=Real+Estate+Brokers"> |
||||
|
<b>Finding a Home:</b></a> |
||||
|
<dd>This will help put you in contact with a local Real Estate |
||||
|
Broker to help you locate a new home. |
||||
|
<dt><b>Calendar of Events:</b> |
||||
|
<dd>A listing of current and upcoming events of interest. |
||||
|
<dt><b>Community News Source:</b> |
||||
|
<dd>Your guide to the news that matters to you. |
||||
|
<dt><a href="search_result.php3?category=Schools"><b>Schools</b></a> |
||||
|
<dd>Information about the educational resources in our community. |
||||
|
<dt><a href="mini.php3?content=utilities"><b>Utility Companies:</b></a> |
||||
|
<dd>Information about our local utility suppliers. |
||||
|
<dt><a href="mini.php3?content=newcomer"><b>Newcomers Guide:</b></a> |
||||
|
<dd>A list of useful numbers and contacts for people that |
||||
|
have just joined, or will soon be joining our community. |
||||
|
<dt><b>Local Attractions:</b> |
||||
|
<dd>Interesting sights and sounds found in our area. |
||||
|
<dt><b>Photo Tour:</b> |
||||
|
<dd>A collection of photography to give you an idea |
||||
|
of what our community looks like. |
||||
|
<dt><a href="em_info.php3"><b>Request More Information:</b></a> |
||||
|
<dd>This will take you to our easy to use form for requesting |
||||
|
more information about the topics that are of interest you. |
||||
|
</dl> |
||||
|
</dl> |
||||
|
<?php |
||||
|
include("html/tail.std"); |
||||
|
?>
|
@ -0,0 +1,9 @@ |
|||||
|
<?php // set up db variables |
||||
|
$dbserver= "mysql"; |
||||
|
$host = "localhost"; |
||||
|
$user = "nobody"; |
||||
|
$passwd = ""; |
||||
|
$dbname = "olivebranch"; |
||||
|
$table = "contacts"; |
||||
|
$columns = "*" |
||||
|
?> |
@ -0,0 +1,9 @@ |
|||||
|
<?php // set up db variables |
||||
|
$dbserver= "mysql"; |
||||
|
$host = "localhost"; |
||||
|
$user = "nobody"; |
||||
|
$passwd = ""; |
||||
|
$dbname = "olivebranch"; |
||||
|
$table = "contacts"; |
||||
|
$columns = "*" |
||||
|
?> |
@ -0,0 +1,8 @@ |
|||||
|
<?php // set up db variables |
||||
|
$dbserver= "pgsql"; |
||||
|
$host = "localhost"; |
||||
|
$port = "5432"; |
||||
|
$dbname = "olivebranch"; |
||||
|
$table = "member"; |
||||
|
$columns = "*" |
||||
|
?> |
@ -0,0 +1,38 @@ |
|||||
|
<?php // define our generic db calls for use with mysql |
||||
|
|
||||
|
function connect($host, $dbname) { |
||||
|
global $user, $passwd; |
||||
|
$link = mysql_connect($host,$user,$passwd); |
||||
|
if(mysql_select_db($dbname,$link)) { |
||||
|
return($link); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
function query($link, $query) { |
||||
|
$result = mysql_query($query, $link); |
||||
|
return($result); |
||||
|
} |
||||
|
|
||||
|
function numrows($result) { |
||||
|
$count = mysql_num_rows($result); |
||||
|
return($count); |
||||
|
} |
||||
|
|
||||
|
function fetch_object($result, $row) { |
||||
|
$data = mysql_fetch_object($result); |
||||
|
return($data); |
||||
|
} |
||||
|
|
||||
|
function free_result($result) { |
||||
|
mysql_free_result($result); |
||||
|
} |
||||
|
|
||||
|
function close($link) { |
||||
|
mysql_close($link); |
||||
|
} |
||||
|
|
||||
|
function errormessage($link) { |
||||
|
return(mysql_error()); |
||||
|
} |
||||
|
|
||||
|
?> |
@ -0,0 +1,36 @@ |
|||||
|
<?php // define our generic db call for use with pgsql |
||||
|
|
||||
|
function connect($host, $dbname) { |
||||
|
global $port; |
||||
|
$link = pg_connect($host,$port,$dbname); |
||||
|
return($link); |
||||
|
} |
||||
|
|
||||
|
function query($link, $query) { |
||||
|
$result = pg_exec($link, $query); |
||||
|
return($result); |
||||
|
} |
||||
|
|
||||
|
function numrows($result) { |
||||
|
$count = pg_numrows($result); |
||||
|
return($count); |
||||
|
} |
||||
|
|
||||
|
function fetch_object($result, $row) { |
||||
|
$data = pg_fetch_object($result, $row); |
||||
|
return($data); |
||||
|
} |
||||
|
|
||||
|
function free_result($result) { |
||||
|
pg_freeresult($result); |
||||
|
} |
||||
|
|
||||
|
function close($link) { |
||||
|
pg_close($link); |
||||
|
} |
||||
|
|
||||
|
function errormessage($link) { |
||||
|
return(pg_errormessage($link)); |
||||
|
} |
||||
|
|
||||
|
?> |
@ -0,0 +1,8 @@ |
|||||
|
<?php // form for the contest ????
|
||||
|
header("Pragma: no-cache"); |
||||
|
header("Content-type: text/html"); |
||||
|
$basetarget="main"; |
||||
|
include("html/head.std"); |
||||
|
include("html/body.incomplete"); |
||||
|
include("html/tail.std"); |
||||
|
?>
|
@ -0,0 +1,14 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title></title> |
||||
|
<base target="_blank"> |
||||
|
<link rel=stylesheet href=/styles/chamber.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
<div class=banner> |
||||
|
<a href="page.php3?content=sponsors"> |
||||
|
<img src="graphics/banner.gif" width="580" height="80" |
||||
|
alt="Click here to visit our sponsors" border=0></a> |
||||
|
</div> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,27 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<base target="main"> |
||||
|
<link rel=stylesheet href="/styles/chamber.css" type=text/css> |
||||
|
</head> |
||||
|
<body> |
||||
|
<div class=menu> |
||||
|
<h2 class=title>Navigation Menu<hr></h2> |
||||
|
<a class=main href="body.php3?content=home" target="_parent">Homepage</a><br> |
||||
|
<a class=main href="body.php3?content=community" target="_parent">Community Info</a><br> |
||||
|
<a class=sub href="page.php3?content=location">  Our Location</a><br> |
||||
|
<a class=sub href="page.php3?content=history">  Our History</a><br> |
||||
|
<a class=sub href="page.php3?content=about">  About the Chamber</a><br> |
||||
|
<a class=sub href="page.php3?content=finding">  Finding a Home</a><br> |
||||
|
<a class=sub href="page.php3?content=events">  Calendar of Events</a><br> |
||||
|
<a class=sub href="page.php3?content=news">  Community News</a><br> |
||||
|
<a class=sub href="page.php3?content=schools">  Local Schools</a><br> |
||||
|
<a class=sub href="page.php3?content=utilities">  Utility Companies</a><br> |
||||
|
<a class=sub href="page.php3?content=newcomer">  Newcomer's Guide</a><br> |
||||
|
<a class=sub href="page.php3?content=attractions">  Local Attractions</a><br> |
||||
|
<a class=sub href="page.php3?content=photo">  Photo Tour</a><br> |
||||
|
<a class=main href="body.php3?content=economic" target="_parent">Economic Info</a><br> |
||||
|
<a class=main href="page.php3?content=member">Member Directory</a><br> |
||||
|
<a class=main href="page.php3?content=request">Request More Info</a><br> |
||||
|
</div> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,47 @@ |
|||||
|
<?php // economic development menu
|
||||
|
header("Pragma: no-cache"); |
||||
|
header("Content-type: text/html"); |
||||
|
$basetarget="main"; |
||||
|
include("html/head.std"); |
||||
|
?>
|
||||
|
<div> |
||||
|
<h2 class=center>Economic Development Menu<hr></h2> |
||||
|
<div class=offset> |
||||
|
<dl> |
||||
|
<dt><b>Select from the items below:</b> |
||||
|
<dl> |
||||
|
<dt><b>Overview:</b> |
||||
|
<dd>An overview of the economic resources in our area. |
||||
|
<dt><b>Demographics:</b> |
||||
|
<dd>A printable report of the demographics of our area. |
||||
|
<dt><b>Industrial Parks:</b> |
||||
|
<dd>Your guide to the industrial parks located in our community. |
||||
|
<dt><b>Sites & Buildings:</b> |
||||
|
<dd>A searchable database of the available sites and buildings |
||||
|
located in our community. |
||||
|
<dt><b>Employers Directory:</b> |
||||
|
<dd>A searchable listing of the area's major employers. |
||||
|
<dt><b>Transportation Resources</b> |
||||
|
<dd>A map-based presentation of transportation facilities |
||||
|
in the area. |
||||
|
<dt><b>Workforce Development:</b> |
||||
|
<dd>A map-based presentation of the workforce development |
||||
|
resources available in our community. |
||||
|
<dt><b>State & Regional Resources:</b> |
||||
|
<dd>A listing of useful contacts at the state and regional level. |
||||
|
<dt><b>Incentives:</b> |
||||
|
<dd>A listing of incentives, tax abatements, and low-interest |
||||
|
financing options. |
||||
|
<dt><b>Links & Contacts:</b> |
||||
|
<dd>A listing of useful contacts. |
||||
|
<dt><b>Developmental News Releases:</b> |
||||
|
<dd>A listing of news releases pertaining to economic development. |
||||
|
<dt><a href="em_info.php3"><b>Request More Information:</b></a> |
||||
|
<dd>An easy to use form for requesting more information about the |
||||
|
topics that interest you. |
||||
|
</dl> |
||||
|
</dl> |
||||
|
|
||||
|
<?php |
||||
|
include("html/tail.std"); |
||||
|
?>
|
@ -0,0 +1,115 @@ |
|||||
|
<?php // the email requst form
|
||||
|
header("Pragma: no-cache"); |
||||
|
header("Content-type: text/html"); |
||||
|
$basetarget="main"; |
||||
|
include("html/head.std"); |
||||
|
?>
|
||||
|
|
||||
|
<table border=0> |
||||
|
<TR> |
||||
|
<TD valign="top" width="98%"> |
||||
|
<P align="center"><FONT face="Arial"><SMALL><BR></SMALL><EM><BIG>Request For More Information</BIG></EM></FONT></P> |
||||
|
<FORM method="POST" action="_vti_bin/shtml.dll/req.htm" webbot-action="--WEBBOT-SELF--"> |
||||
|
<INPUT TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><DIV align="center"> |
||||
|
<CENTER> |
||||
|
<TABLE border="0" width="80%"> |
||||
|
<TR> |
||||
|
<TD colspan="3" valign="top"> |
||||
|
<SMALL><FONT face="Arial">I have looked at the Chamber's website but I need more information. I need more information on:</FONT></SMALL> |
||||
|
</TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD valign="top"> |
||||
|
<STRONG><FONT face="Arial"><SMALL><BR>Visiting or Moving to your area</SMALL><BR></FONT></STRONG> |
||||
|
<P> |
||||
|
<SMALL><FONT face="Arial"> |
||||
|
<INPUT type="checkbox" name="MovingArea" value="Need Printed Map">I need a printed map of the area.<BR> |
||||
|
<INPUT type="checkbox" name="MovingArea" value="Need Newcomers Guide">I need a printed Newcomer's Guide for the area |
||||
|
</FONT></SMALL> |
||||
|
</TD> |
||||
|
<TD valign="top"></TD> |
||||
|
<TD valign="top"> |
||||
|
<STRONG><SMALL><FONT face="Arial"> |
||||
|
<BR>Starting a Business or Moving a Business to your area</FONT></SMALL></STRONG> |
||||
|
<P><SMALL><FONT face="Arial"> |
||||
|
<INPUT type="checkbox" name="StartingBusiness" value="Need Site And Building Info"> |
||||
|
I need more information about sites and buildings.<BR> |
||||
|
<INPUT type="checkbox" name="StartingBusiness" value="Need Personal Contact"> |
||||
|
I need someone to contact me for specific answers to my questions. |
||||
|
</FONT></SMALL></STRONG> |
||||
|
</TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD valign="top"></TD> |
||||
|
<TD valign="top"></TD> |
||||
|
<TD valign="top"></TD> |
||||
|
</TR> |
||||
|
</TABLE> |
||||
|
<TABLE border="0" width="80%"> |
||||
|
<TR> |
||||
|
<TD align="right"> |
||||
|
<STRONG><SMALL><FONT face="Arial"><BR>Name</FONT></SMALL></STRONG> |
||||
|
</TD> |
||||
|
<TD> |
||||
|
<SMALL><FONT face="Arial"> |
||||
|
<BR><INPUT type="text" name="Name" size="30"> |
||||
|
</FONT></SMALL> |
||||
|
</TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Title</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Title" size="30"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Company</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Company" size="30"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Address</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Address" size="30"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">City</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="City" size="20"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">State</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="State" size="20"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Zip</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Zip" size="15"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Phone</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Phone" size="15"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Fax</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Fax" size="15"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Email Address</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="EmailAddress" size="20"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"></TD> |
||||
|
<TD></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD valign="top" align="right"></TD> |
||||
|
<TD valign="top"> |
||||
|
<SMALL><FONT face="Arial"> |
||||
|
<INPUT type="submit" value="Submit" name="B1"> <INPUT type="reset" value="Reset" name="B2"><BR><BR> |
||||
|
</FONT></SMALL> |
||||
|
</TD> |
||||
|
</TR> |
||||
|
</TABLE> |
||||
|
</CENTER> |
||||
|
</FORM> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
<?php |
||||
|
include("html/tail.std"); |
||||
|
?>
|
@ -0,0 +1,115 @@ |
|||||
|
<?php // the email requst form |
||||
|
header("Pragma: no-cache"); |
||||
|
header("Content-type: text/html"); |
||||
|
$basetarget="main"; |
||||
|
include("html/head.std"); |
||||
|
?> |
||||
|
|
||||
|
<table border=0> |
||||
|
<TR> |
||||
|
<TD valign="top" width="98%"> |
||||
|
<P align="center"><FONT face="Arial"><SMALL><BR></SMALL><EM><BIG>Request For More Information</BIG></EM></FONT></P> |
||||
|
<FORM method="POST" action="_vti_bin/shtml.dll/req.htm" webbot-action="--WEBBOT-SELF--"> |
||||
|
<INPUT TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><DIV align="center"> |
||||
|
<CENTER> |
||||
|
<TABLE border="0" width="80%"> |
||||
|
<TR> |
||||
|
<TD colspan="3" valign="top"> |
||||
|
<SMALL><FONT face="Arial">I have looked at the Chamber's website but I need more information. I need more information on:</FONT></SMALL> |
||||
|
</TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD valign="top"> |
||||
|
<STRONG><FONT face="Arial"><SMALL><BR>Visiting or Moving to your area</SMALL><BR></FONT></STRONG> |
||||
|
<P> |
||||
|
<SMALL><FONT face="Arial"> |
||||
|
<INPUT type="checkbox" name="MovingArea" value="Need Printed Map">I need a printed map of the area.<BR> |
||||
|
<INPUT type="checkbox" name="MovingArea" value="Need Newcomers Guide">I need a printed Newcomer's Guide for the area |
||||
|
</FONT></SMALL> |
||||
|
</TD> |
||||
|
<TD valign="top"></TD> |
||||
|
<TD valign="top"> |
||||
|
<STRONG><SMALL><FONT face="Arial"> |
||||
|
<BR>Starting a Business or Moving a Business to your area</FONT></SMALL></STRONG> |
||||
|
<P><SMALL><FONT face="Arial"> |
||||
|
<INPUT type="checkbox" name="StartingBusiness" value="Need Site And Building Info"> |
||||
|
I need more information about sites and buildings.<BR> |
||||
|
<INPUT type="checkbox" name="StartingBusiness" value="Need Personal Contact"> |
||||
|
I need someone to contact me for specific answers to my questions. |
||||
|
</FONT></SMALL></STRONG> |
||||
|
</TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD valign="top"></TD> |
||||
|
<TD valign="top"></TD> |
||||
|
<TD valign="top"></TD> |
||||
|
</TR> |
||||
|
</TABLE> |
||||
|
<TABLE border="0" width="80%"> |
||||
|
<TR> |
||||
|
<TD align="right"> |
||||
|
<STRONG><SMALL><FONT face="Arial"><BR>Name</FONT></SMALL></STRONG> |
||||
|
</TD> |
||||
|
<TD> |
||||
|
<SMALL><FONT face="Arial"> |
||||
|
<BR><INPUT type="text" name="Name" size="30"> |
||||
|
</FONT></SMALL> |
||||
|
</TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Title</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Title" size="30"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Company</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Company" size="30"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Address</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Address" size="30"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">City</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="City" size="20"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">State</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="State" size="20"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Zip</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Zip" size="15"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Phone</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Phone" size="15"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Fax</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="Fax" size="15"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"><STRONG><SMALL><FONT face="Arial">Email Address</FONT></SMALL></STRONG></TD> |
||||
|
<TD><SMALL><FONT face="Arial"><INPUT type="text" name="EmailAddress" size="20"></FONT></SMALL></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD align="right"></TD> |
||||
|
<TD></TD> |
||||
|
</TR> |
||||
|
<TR> |
||||
|
<TD valign="top" align="right"></TD> |
||||
|
<TD valign="top"> |
||||
|
<SMALL><FONT face="Arial"> |
||||
|
<INPUT type="submit" value="Submit" name="B1"> <INPUT type="reset" value="Reset" name="B2"><BR><BR> |
||||
|
</FONT></SMALL> |
||||
|
</TD> |
||||
|
</TR> |
||||
|
</TABLE> |
||||
|
</CENTER> |
||||
|
</FORM> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
<?php |
||||
|
include("html/tail.std"); |
||||
|
?> |
After Width: 299 | Height: 194 | Size: 22 KiB |
After Width: 468 | Height: 60 | Size: 6.0 KiB |
After Width: 468 | Height: 60 | Size: 8.1 KiB |
After Width: 468 | Height: 60 | Size: 9.8 KiB |
After Width: 468 | Height: 60 | Size: 8.2 KiB |
After Width: 580 | Height: 80 | Size: 39 KiB |
After Width: 114 | Height: 24 | Size: 744 B |
After Width: 114 | Height: 24 | Size: 724 B |
After Width: 114 | Height: 24 | Size: 756 B |
After Width: 114 | Height: 24 | Size: 599 B |
@ -0,0 +1,5 @@ |
|||||
|
<?php |
||||
|
// send the user to our parent directory
|
||||
|
// rather than listing the files here.
|
||||
|
header("Location: ./../"); |
||||
|
?>
|
After Width: 370 | Height: 263 | Size: 11 KiB |
After Width: 114 | Height: 24 | Size: 733 B |
After Width: 197 | Height: 131 | Size: 6.4 KiB |
After Width: 205 | Height: 136 | Size: 6.4 KiB |
After Width: 292 | Height: 213 | Size: 22 KiB |
@ -0,0 +1,34 @@ |
|||||
|
<?php // initial startup content
|
||||
|
header("Content-type: text/html"); |
||||
|
$basetarget="main"; |
||||
|
include("html/head.std"); |
||||
|
|
||||
|
// load our startup graphics
|
||||
|
$img1 = "graphics/pho.golf.jpg"; |
||||
|
$img1_size = getimagesize($img1); |
||||
|
$img2 = "graphics/ob.logo.gif"; |
||||
|
$img2_size = getimagesize($img2); |
||||
|
?>
|
||||
|
<table border=0 width=580 height="auto"> |
||||
|
<tr align="top"> |
||||
|
<td rowspan=2 width=320> |
||||
|
<?php |
||||
|
print("<img src=\"$img1\" $img1_size[3]>\n");
|
||||
|
?></td>
|
||||
|
<td> |
||||
|
<?php |
||||
|
print("<img src=\"$img2\" $img2_size[3]>\n");
|
||||
|
?></td>
|
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td> |
||||
|
<a href="search.php3?content=member"> |
||||
|
Olive Branch Online Business Directory</a><br> |
||||
|
<a href="search.php3?content=employer"> |
||||
|
Olive Branch's Major Employers</a><br><br><br><br> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
<?php // close up the std html tags
|
||||
|
include("html/tail.std"); |
||||
|
?>
|
@ -0,0 +1,90 @@ |
|||||
|
<div> |
||||
|
<h2 class=center>About the Olive Branch Chamber<hr></h2> |
||||
|
|
||||
|
<p><img src="graphics/ob.logo2.gif" align=left> |
||||
|
The City of Olive Branch, a suburb of Memphis, |
||||
|
TN, is the fastest growing community in |
||||
|
Mississippi with a population growth of well |
||||
|
over 20% in 1998. Its industrial development |
||||
|
began in 1973 with the opening of a 3,000 acre |
||||
|
industrial park by Holiday Inns, Inc. More than |
||||
|
26 employers were attracted to the community in |
||||
|
the first 6 1/2 years. |
||||
|
<p> |
||||
|
The Chamber's major thrust is: To help the |
||||
|
community respond to the opportunities and |
||||
|
challenges of Mississippi's fastest growing |
||||
|
city. Key elements of its objectives are |
||||
|
assuring adequate transportation corridors; a |
||||
|
new postal facility; the development of strong |
||||
|
relationships between new residents and the |
||||
|
retail community through a proprietary Coupon |
||||
|
Book mailed in monthly welcome packets to each |
||||
|
new household; and helping local employers with |
||||
|
their expansion plans while assisting |
||||
|
prospective new employers. |
||||
|
<hr> |
||||
|
<div class=center> |
||||
|
<table border=0 cellpadding=5> |
||||
|
<tr valign=top><td> |
||||
|
<h3>Contact Information</h3> |
||||
|
<dl> |
||||
|
<dt>Address: |
||||
|
<dd>Olive Branch Chamber of Commerce |
||||
|
<dd>P.O. Box 608 |
||||
|
<dd>6820 Cockrum Street |
||||
|
<dd>Olive Branch, MS 38654-0608 |
||||
|
<dd>  |
||||
|
<dd>(601)895-2600, phone |
||||
|
<dd>(601)895-2625, fax |
||||
|
<dd><a href=mailto:olivemiss@aol.com>OliveMiss@aol.com</a> |
||||
|
</dl> |
||||
|
</td><td> |
||||
|
<h3>Board of Directors</h3> |
||||
|
<dl> |
||||
|
<dt>President: |
||||
|
<dd>John P. McDonald |
||||
|
<dd>President, Cargo Logistics Co., Inc. |
||||
|
<dt>Vice President: |
||||
|
<dd>Steve Nelson Manager |
||||
|
<dd>Milwaukee Electric Tool Corp. |
||||
|
<dt>Secretary/Treasurer: |
||||
|
<dd>Samuel I. Ware, Sr. |
||||
|
<dd>President, ATS, Inc. |
||||
|
<dt>Manager: |
||||
|
<dd>Vickie DuPree |
||||
|
<dt>Executive Director Emeritus: |
||||
|
<dd>Jack McCauley |
||||
|
</dl> |
||||
|
</td></tr> |
||||
|
</table> |
||||
|
<hr> |
||||
|
<table border=0> |
||||
|
<tr align=center> |
||||
|
<td colspan=2> |
||||
|
<h3>Members of the Board of Directors |
||||
|
in addition to the Officers</h3> |
||||
|
</td> |
||||
|
</tr> |
||||
|
<tr align=center> |
||||
|
<td>Carol Allen</td><td>David Taylor</td> |
||||
|
</tr> |
||||
|
<tr align=center> |
||||
|
<td>Cherokee Valley Golf Club</td><td>Metro Aviation</td> |
||||
|
</tr> |
||||
|
<tr align=center> |
||||
|
<td>Rita Bright Fink</td><td>Patrick Jordan</td> |
||||
|
</tr> |
||||
|
<tr align=center> |
||||
|
<td>House of Fink</td><td>Whispering Woods Hotel</td> |
||||
|
</tr> |
||||
|
<tr align=center> |
||||
|
<td>Tate Murley</td><td>Arthur Wright</td> |
||||
|
</tr> |
||||
|
<tr align=center> |
||||
|
<td>Northcentral MS Power</td><td>Wright Floor Coverings</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</div> |
||||
|
<p> |
||||
|
<a href="comm_dev.php3">-back-</a> |
@ -0,0 +1,55 @@ |
|||||
|
<div> |
||||
|
<h2 class=center>History of The Olive Branch Area<hr></h2> |
||||
|
<p class=intro> |
||||
|
What a unique name, you say... And you're right! |
||||
|
Only one other community in the United States |
||||
|
has the name, Olive Branch. |
||||
|
|
||||
|
<p><img src="graphics/36b.jpg" align=right> |
||||
|
Like many other cities, Olive Branch had a |
||||
|
different name when it was first founded near |
||||
|
where several old Chickasaw Indian Trails |
||||
|
crossed. It was originally called Watson's |
||||
|
Crossroad. Then, in 1846, when the first Post |
||||
|
Office was established, Mrs. Frances Wilson |
||||
|
Blocker - a descendant of one of the |
||||
|
community's founders - suggested the name Olive |
||||
|
Branch. She thought, it is said, that the new |
||||
|
name symbolized a dove bringing a Branch to the |
||||
|
seagoing Noah. |
||||
|
<p> |
||||
|
Whatever the reason for her choice, the name |
||||
|
was informally adopted by the 185 residents. On |
||||
|
May 1, 1874 Olive Branch was incorporated as a |
||||
|
town and on March 6, 1888 it progressed to |
||||
|
Village status. |
||||
|
<p> |
||||
|
But there was a lot of history before Olive |
||||
|
Branch was formally named. Mississippi had |
||||
|
become a State on December 10, 1817. Until then |
||||
|
it had been known as Mississippi Territory and |
||||
|
included what is now Alabama. |
||||
|
<p> |
||||
|
Fourteen years before the Olive Branch Post |
||||
|
Office opened, President Andrew Jackson was |
||||
|
just beginning his second term. He decided that |
||||
|
extensive Indian-held land east of the |
||||
|
Mississippi River should be given to frontier |
||||
|
settlers for clearing and farming so he |
||||
|
dispatched General John Coffee to northern |
||||
|
Mississippi. General Coffee's assignment was to |
||||
|
persuade the Chickasaw Indians to sell some of |
||||
|
their land. He succeeded when in October, 1832 |
||||
|
the tribal chieftains signed the Pontotoc |
||||
|
Treaty which allowed them to keep certain |
||||
|
designated lands. The remainder was opened to |
||||
|
settlers. |
||||
|
<p class=note> |
||||
|
<b>A Spanish Explorer Leaves His Mark...</b><br> |
||||
|
Seventeen counties were created soon after the |
||||
|
Treaty including, in 1836, DeSoto County. The |
||||
|
name was derived from the famous Spanish |
||||
|
explorer Hernando DeSoto. And Hernando, |
||||
|
Mississippi became the DeSoto County Seat. |
||||
|
<p> |
||||
|
<a href="comm_dev.php3">-back-</a> |
@ -0,0 +1,3 @@ |
|||||
|
<div> |
||||
|
<h2 class=center>Incomplete Page<hr></h2> |
||||
|
<h3 class=center>This page is incomplete...</h3> |
@ -0,0 +1,8 @@ |
|||||
|
<div> |
||||
|
<table><tr> |
||||
|
<h2 class=center>Location of Olive Branch, Mississippi<hr></h2> |
||||
|
<p class=center> |
||||
|
<img src="graphics/map.gif"> |
||||
|
<p> |
||||
|
<a href="comm_dev.php3">-back-</a> |
||||
|
</tr></table> |
@ -0,0 +1,25 @@ |
|||||
|
<div> |
||||
|
<h2 class=center>Information for Newcomers<hr></h2> |
||||
|
<div class=offset> |
||||
|
<dl> |
||||
|
<dt>Vehicle Licenses |
||||
|
<dd>Olive Branch - (601) 893-8989 |
||||
|
<dd>Southaven - (601) 342-6411 |
||||
|
<dd>Hernando - (601) 429-1340 |
||||
|
<dt>Driver's License |
||||
|
<dd>MS Highway Patrol - (601) 429-1353 |
||||
|
<dt>Vehicle Inspection |
||||
|
<dd>Required Annually - various locations |
||||
|
<dt>Emergencies |
||||
|
<dd>Police/Fire/Ambulance - 911 |
||||
|
<dt>Government |
||||
|
<dd>City of Olive Branch - (601) 895-4131 |
||||
|
<dd>Mayor's Office - (601) 895-3166 |
||||
|
<dd>City Park - (601) 893-5219 |
||||
|
<dt>DeSoto County Supervisors - Olive Branch Area |
||||
|
<dd>District 1 - Jessie Medlin - (601) 429-5590 |
||||
|
<dd>District 2 - Gene Thach - (601) 429-5590 |
||||
|
</dl> |
||||
|
</div> |
||||
|
<p> |
||||
|
<a href="comm_dev.php3">-back-</a> |
@ -0,0 +1,26 @@ |
|||||
|
<div> |
||||
|
<h2 class=center>Request More Information<hr></h2> |
||||
|
<form method="post" action="send_email.php3"> |
||||
|
<table width=580 border=1> |
||||
|
<tr class=header> |
||||
|
<th colspan=2>Email Request Form</th></tr> |
||||
|
<tr><td class=label>Company:</td> |
||||
|
<td class=data> |
||||
|
<input type="text" name="company" size=46 maxlength=44> |
||||
|
</td></tr> |
||||
|
<tr><td class=label>Name/Title:</td> |
||||
|
<td class=data> |
||||
|
<input type="text" name="name" size=22 maxlength=21> |
||||
|
<input type="text" name="title" size=21 maxlength=21> |
||||
|
</td></tr> |
||||
|
<tr><td class=label>Address:</td> |
||||
|
<td class=data> |
||||
|
<input type="text" name="address" size=46 maxlength=44> |
||||
|
</td></tr> |
||||
|
<tr><td class=label>City/State/Zip:</td> |
||||
|
<td class=data> |
||||
|
<input type="text" name="city" size=25 maxlength=25> |
||||
|
<input type="text" name="state" size=5 maxlength=2> |
||||
|
<input type="text" name="zip" size=10 maxlength=5> |
||||
|
</td></tr> |
||||
|
</table> |
@ -0,0 +1,28 @@ |
|||||
|
<div> |
||||
|
<tr> |
||||
|
<td class=label>Company Name:</td> |
||||
|
<td align=left> |
||||
|
<input type="text" name="name" size=28 maxlength=28></td></tr> |
||||
|
<tr> |
||||
|
<td></td> |
||||
|
<td align=left> |
||||
|
<input type="radio" name="nameoption" value="start">starts with |
||||
|
<input type="radio" checked name="nameoption" value="contain">contains |
||||
|
<input type="radio" name="nameoption" value="end">ends with |
||||
|
</td></tr> |
||||
|
<tr> |
||||
|
<td class=label>Contact Name:</td> |
||||
|
<td align=left> |
||||
|
<input type="text" name="contact" size=28 maxlength=28></td></tr> |
||||
|
<tr> |
||||
|
<td></td> |
||||
|
<td align=left> |
||||
|
<input type="radio" name="contactoption" value="start">starts with |
||||
|
<input type="radio" checked name="contactoption" value="contain">contains |
||||
|
<input type="radio" name="contactoption" value="end">ends with |
||||
|
</td></tr> |
||||
|
<tr><td colspan=2>   </td></tr> |
||||
|
<tr> |
||||
|
<td colspan=2 align=center><input type="submit"></td> |
||||
|
</tr> |
||||
|
</table> |
@ -0,0 +1,48 @@ |
|||||
|
<div class=center> |
||||
|
<h2>Utility Companies for Olive Branch, Mississippi<hr></h2> |
||||
|
<table><tr> |
||||
|
<td> |
||||
|
<dl> |
||||
|
<dt><b>Electricity:</b> |
||||
|
<dd>Northcentral Mississippi Electric Power |
||||
|
<dd>Association (TVA Co-Op) |
||||
|
<dd>Customers: 14,121 |
||||
|
<dd>Maximum Yearly Peak Demand: 116 megawatts |
||||
|
<dd>Capacity: 180 megawatts |
||||
|
<dt><b>Water:</b> |
||||
|
<dd>City of Olive Branch |
||||
|
<dd>Customers: 4,063 |
||||
|
<dd>Capacity: 3.6 million gallons/day |
||||
|
<dd>Peak Demand: 1.5 million gallons/day |
||||
|
<dd>Avg. Daily Usage: 1.2 million gallons |
||||
|
<dd>  |
||||
|
<dd>Metro DeSoto Utilities (Metro Industrial Park) |
||||
|
<dd>Customers: 96 |
||||
|
<dd>Capacity: 1.15 million gallons/day |
||||
|
<dd>Peak Demand: 705,000 gallons/day |
||||
|
<dd>Avg/ Daily Usage: 565,000 gallons/day |
||||
|
</td><td> |
||||
|
<dt><b>Natural Gas:</b> |
||||
|
<dd>City of Olive Branch |
||||
|
<dd>Customers: 4,770 |
||||
|
<dd>Capacity: 8,245 MCF |
||||
|
<dd>Peak Demand: 7,450 MCF |
||||
|
<dd>Avg. Daily Usage: 2,760 MCF |
||||
|
<dt><b>Sewer:</b> |
||||
|
<dd>City of Olive Branch |
||||
|
<dd>Customers: 3,300 |
||||
|
<dd>Capacity: 1 million gallons/day |
||||
|
<dd>Peak Demand: 840,000 gallons/day |
||||
|
<dd>Avg. Daily Usage: 750,000 gallons/day |
||||
|
<dd>  |
||||
|
<dd>Metro DeSoto Utilities (Metro Industrial Park) |
||||
|
<dd>Customers: 69 |
||||
|
<dd>Capacity: 500,000 gallons/day |
||||
|
<dd>Avg. Daily Usage: 400,000 gallons/day |
||||
|
</dl> |
||||
|
</td></tr> |
||||
|
</table> |
||||
|
</div> |
||||
|
<div> |
||||
|
<br> |
||||
|
<a href="comm_dev.php3">-back-</a> |
@ -0,0 +1,9 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<?php // get the title and base target from our parent page |
||||
|
print("<title>$pagetitle</title>\n"); |
||||
|
print("<base target=\"$basetarget\">\n"); |
||||
|
?> |
||||
|
<link rel=stylesheet href=/styles/basic.css type=text/css> |
||||
|
</head> |
||||
|
<body> |
@ -0,0 +1,5 @@ |
|||||
|
<?php |
||||
|
// send the user to our parent directory
|
||||
|
// rather than listing the files here.
|
||||
|
header("Location: ./../"); |
||||
|
?>
|
@ -0,0 +1,2 @@ |
|||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,10 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Olive Branch, MS. - Chamber of Commerce</title> |
||||
|
</head> |
||||
|
<frameset rows="95,*,45" border=0 framespacing=0 frameborder="no"> |
||||
|
<frame src="banner.php3" name="banner" scrolling="no"> |
||||
|
<frame src="home.php3" name="main"> |
||||
|
<frame src="navbar.php3" name"navbar" scrolling="no"> |
||||
|
</frameset> |
||||
|
</html> |
@ -0,0 +1,8 @@ |
|||||
|
<?php // mini page skeleton
|
||||
|
header("Pragma: no-cache"); |
||||
|
header("Content-type: text/html"); |
||||
|
$basetarget = "main"; |
||||
|
include("html/head.std"); |
||||
|
include("html/body." . $content); |
||||
|
include("html/tail.std"); |
||||
|
?>
|
@ -0,0 +1,25 @@ |
|||||
|
<?php // the ever-present navigation bar
|
||||
|
header("Pragma: no-cache"); |
||||
|
header("Content-type: text/html"); |
||||
|
$basetarget = "main"; |
||||
|
include("html/head.std"); |
||||
|
?>
|
||||
|
|
||||
|
<table border=0 width=580> |
||||
|
<tr> |
||||
|
<td class=nav><a href="home.php3"> |
||||
|
<img src="graphics/home.gif" width=114 height=24 border=0></a></td> |
||||
|
<td class=nav><a href="econ_dev.php3"> |
||||
|
<img src="graphics/econ_dev.gif" width=114 height=24 border=0></a></td> |
||||
|
<td class=nav><a href="comm_dev.php3"> |
||||
|
<img src="graphics/comm_dev.gif" width=114 height=24 border=0></a></td> |
||||
|
<td class=nav><a href="search.php3?content=member"> |
||||
|
<img src="graphics/member.gif" width=114 height=24 border=0></a></td> |
||||
|
<td class=nav><a href="mini.php3?content=request"> |
||||
|
<img src="graphics/em_info.gif" width=114 height=24 border=0></a></td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
|
||||
|
<?php // clean up html tags
|
||||
|
include("html/tail.std"); |
||||
|
?>
|
@ -0,0 +1,46 @@ |
|||||
|
<?php // member search form
|
||||
|
header("Content-type: text/html"); |
||||
|
header("Pragma: no-cache"); |
||||
|
$basetarget = "main"; |
||||
|
include("html/head.std"); |
||||
|
include("config/db.config"); |
||||
|
include("config/db.functions." . $dbserver); |
||||
|
// connect to the db and build the category list
|
||||
|
$connection = connect($host, $dbname); |
||||
|
if($connection) { |
||||
|
$query = "select distinct category from $table"; |
||||
|
$result = query($connection, $query); |
||||
|
$count = numrows($result); |
||||
|
// if we return a list of categories,
|
||||
|
// build our form for the data query
|
||||
|
if($count) { |
||||
|
print("<div class=center>\n<h2>" . ucwords($content)); |
||||
|
print(" Search<hr>\n"); |
||||
|
print("<form method=\"post\" action=\"search_result.php3\">\n"); |
||||
|
print("<table border=0>\n"); |
||||
|
print("<tr>\n<td class=label>Category:</td>\n"); |
||||
|
print("<td align=left><select name=\"category\">\n"); |
||||
|
print("<option value=\"\">--- All Categories ---\n"); |
||||
|
for($row = 0; $row < $count; $row++) { |
||||
|
$data = fetch_object($result, $row); |
||||
|
print("<option value=\"" . $data->category . "\">"); |
||||
|
print($data->category . "\n"); |
||||
|
} |
||||
|
free_result($result); |
||||
|
print("</select></td></tr>\n"); |
||||
|
print("<input type=\"hidden\" name=\"content\" value=\""); |
||||
|
print($content . "\">"); |
||||
|
include("html/body.search"); |
||||
|
} else { |
||||
|
print("<h2 class=center>Empty Result<hr></h2>\n"); |
||||
|
print("<h2>The following query returned an empty result:</h2>\n"); |
||||
|
print("<p class=center>" . $query . "\n"); |
||||
|
} |
||||
|
close($connection); |
||||
|
} else { |
||||
|
print("<h2 class=center>Database Error<hr></h2>\n"); |
||||
|
print("<h2 class=center>Failed to connect to database: "); |
||||
|
print($dbname . "</h2>\n"); |
||||
|
} |
||||
|
include("html/tail.std"); |
||||
|
?>
|
@ -0,0 +1,120 @@ |
|||||
|
<?php // process the query data passed to us
|
||||
|
header("Pragma: no-cache"); |
||||
|
header("Content-type: text/html"); |
||||
|
$basetarget="main"; |
||||
|
include("html/head.std"); |
||||
|
include("config/db.config"); |
||||
|
include("config/db.functions." . $dbserver); |
||||
|
//
|
||||
|
// connect to the database
|
||||
|
$connection = connect($host, $dbname); |
||||
|
if($connection) { |
||||
|
// set up the initial values
|
||||
|
$multiple = 0; |
||||
|
// begin building the query string
|
||||
|
$query = "select $columns from $table"; |
||||
|
if($category || $name || $contact) { |
||||
|
// append any qualifiers
|
||||
|
$query .= " where "; |
||||
|
if($category) { |
||||
|
$query .= "category = '" . $category . "'"; |
||||
|
$multiple++; |
||||
|
} |
||||
|
if($name) { |
||||
|
if($multiple) $query .= " and "; |
||||
|
switch($nameoption) { |
||||
|
case "start"; |
||||
|
$query .= "upper(name) like upper('" . $name . "%')"; |
||||
|
break; |
||||
|
case "contain"; |
||||
|
$query .= "upper(name) like upper('%" . $name . "%')"; |
||||
|
break; |
||||
|
case "end"; |
||||
|
$query .= "upper(name) like upper('%" . $name . "')"; |
||||
|
break; |
||||
|
} |
||||
|
$multiple++; |
||||
|
} |
||||
|
if($contact) { |
||||
|
if($multiple) $query .= " and "; |
||||
|
switch($contactoption) { |
||||
|
case "start"; |
||||
|
$query .= "upper(contact) like upper('" . $contact . "%')"; |
||||
|
break; |
||||
|
case "contain"; |
||||
|
$query .= "upper(contact) like upper('%" . $contact . "%')"; |
||||
|
break; |
||||
|
case "end"; |
||||
|
$query .= "upper(contact) like upper('%" . $contact . "')"; |
||||
|
break; |
||||
|
} |
||||
|
$multiple++; |
||||
|
} |
||||
|
} |
||||
|
// append an order by clause
|
||||
|
$query .= " order by category, name, contact"; |
||||
|
//
|
||||
|
// print("<p><b>query:</b> " . $query . "<br>\n");
|
||||
|
//
|
||||
|
$result = query($connection, $query); |
||||
|
$total_rows = numrows($result); |
||||
|
if($total_rows) { |
||||
|
// create the table for the results
|
||||
|
print("<table width=580 border=0 cellpadding=0 cellspacing=0>\n"); |
||||
|
for($row=0; $row < $total_rows; $row++) { |
||||
|
$data = fetch_object($result, $row); |
||||
|
print("<tbody>\n"); |
||||
|
// create a category header
|
||||
|
if($data->category != $samecategory) { |
||||
|
if(isset($samecategory)) |
||||
|
print("<tr><td colspan=2>  </td></tr>\n"); |
||||
|
print("<tr class=header><th colspan=2>"); |
||||
|
print($data->category . "</th></tr>\n"); |
||||
|
$rowshade = 0; |
||||
|
$samecategory = $data->category; |
||||
|
} |
||||
|
// alternate bgcolors
|
||||
|
$shade = (($rowshade++ & 1) ? "dark" : "light"); |
||||
|
// first line
|
||||
|
print("<tr class=" . $shade . "><td>"); |
||||
|
if($data->name && $data->contact) { |
||||
|
print($data->name . " (" . $data->contact . ")"); |
||||
|
} else { print($data->name . $data->contact); } |
||||
|
print("</td><td align=right>"); |
||||
|
print($data->phtyp1 . "  " . $data->phnum1); |
||||
|
print("</td></tr>\n"); |
||||
|
// second line
|
||||
|
print("<tr class=" . $shade . "><td>"); |
||||
|
print($data->address); |
||||
|
print("</td><td align=right>"); |
||||
|
print($data->phtyp2 . "  " . $data->phnum2); |
||||
|
print("</td></tr>\n"); |
||||
|
// third line
|
||||
|
print("<tr class=" . $shade . "><td>"); |
||||
|
print($data->city . ", " . $data->state . ". " . $data->zip); |
||||
|
if($data->zipext) { print("-" . $data->zipext); } |
||||
|
print("</td><td align=right>"); |
||||
|
print($data->phtyp3 . "  " . $data->phnum3); |
||||
|
print("</td></tr>\n"); |
||||
|
print("</tbody>\n"); |
||||
|
} |
||||
|
print("</table>\n"); |
||||
|
|
||||
|
// release the database query result
|
||||
|
free_result($result); |
||||
|
} else { |
||||
|
print("<h1 class=center>Empty Result<hr></h1>\n"); |
||||
|
print("<h2>The following query returned an empty result:</h2>\n"); |
||||
|
print("<p class=center>" . $query . "\n"); |
||||
|
} |
||||
|
// close the database connection
|
||||
|
close($connection); |
||||
|
} else { |
||||
|
print("<h1 class=center>Database Error<hr></h1>\n"); |
||||
|
print("<h2 class=center>Failed to connect to database: "); |
||||
|
print($dbname . "</h2>\n"); |
||||
|
} |
||||
|
|
||||
|
// close up the html tags
|
||||
|
include("html/tail.std"); |
||||
|
?>
|
@ -0,0 +1,27 @@ |
|||||
|
<?php // Sponsor Page
|
||||
|
header("Content-type: text/html"); |
||||
|
//
|
||||
|
// import database configuration and functions
|
||||
|
require("config/db.config"); |
||||
|
require("config/db.functions." . $dbserver); |
||||
|
//
|
||||
|
// connect to the database
|
||||
|
$connection = connect($host, $dbname); |
||||
|
if($connection) { |
||||
|
// import minipage functions
|
||||
|
require("config/mini.functions"); |
||||
|
// setup query value
|
||||
|
$query = "select * from minisite where content = "sponsors" order by ord"; |
||||
|
$result = query($connection, $query); |
||||
|
$count = numrows($result); |
||||
|
if($count) { |
||||
|
// dynamically call a function for each record
|
||||
|
// based on the contents of its "type" field
|
||||
|
for($row=0; $row < $count; $row++) { |
||||
|
$data = fetch_object($result, $row); |
||||
|
$function = $data->type; |
||||
|
$function($data); |
||||
|
} |
||||
|
|
||||
|
include("html/tail.std"); |
||||
|
?>
|
@ -0,0 +1,62 @@ |
|||||
|
<!-- |
||||
|
body { background-color: #faf0e6 ; |
||||
|
margin-left: 60px; |
||||
|
width: 580px } |
||||
|
|
||||
|
h1 { font-family: Helvetica,Arial; |
||||
|
font-size: 12pt; |
||||
|
font-weight: bold } |
||||
|
|
||||
|
h2 { font-family: Helvetica,Arial; |
||||
|
font-size: 10pt; |
||||
|
font-weight: bold } |
||||
|
|
||||
|
h3 { font-family: Helvetica,Arial; |
||||
|
font-size: 10pt; |
||||
|
font-weight: bold } |
||||
|
|
||||
|
th { font-family: Helvetica,Arial; |
||||
|
font-size: 10pt; |
||||
|
font-weight: bold } |
||||
|
|
||||
|
td { font-family: Helvetica,Arial; |
||||
|
font-size: 10pt } |
||||
|
|
||||
|
dd { font-family: Helvetica,Arial; |
||||
|
font-size: 8pt } |
||||
|
|
||||
|
p { font-family: Helvetica,Arial; |
||||
|
font-size: 10pt; |
||||
|
text-indent: 1em } |
||||
|
|
||||
|
dl { font-family: Helvetica,Arial; |
||||
|
font-size: 10pt } |
||||
|
|
||||
|
dt { font-family: Helvetica,Arial; |
||||
|
font-size: 10pt; |
||||
|
font-weight: bold } |
||||
|
|
||||
|
.label { font-weight: bold; |
||||
|
text-align: right; |
||||
|
vertical-align: baseline } |
||||
|
|
||||
|
.header { background-color: #efdac6 } |
||||
|
|
||||
|
.dark { background-color: #f7e9dc } |
||||
|
|
||||
|
.light { background-color: #faf0e6 } |
||||
|
|
||||
|
.nav { border-width: 0; |
||||
|
border-style: none; |
||||
|
padding-left: 0; |
||||
|
padding-right: 0 } |
||||
|
|
||||
|
.center { text-align: center } |
||||
|
|
||||
|
.intro { font-family: Helvetica,Arial; |
||||
|
font-style: italic; |
||||
|
font-size: 9pt; |
||||
|
text-indent: 0; |
||||
|
margin-left: +2em; |
||||
|
margin-right: +2em } |
||||
|
--> |
@ -0,0 +1,7 @@ |
|||||
|
AuthUserFile /home/admin/.passwd |
||||
|
AuthGroupFile /home/admin/.group |
||||
|
AuthName "Minipage Administration" |
||||
|
AuthType Basic |
||||
|
<Limit GET POST> |
||||
|
require group users |
||||
|
</Limit> |
After Width: 694 | Height: 74 | Size: 11 KiB |
@ -0,0 +1,61 @@ |
|||||
|
<?php |
||||
|
header("Content-type: image/gif"); |
||||
|
|
||||
|
if(!isset($width)) $width = 80; |
||||
|
if(!isset($height)) $height = 20; |
||||
|
if(!isset($font)) $font = 2; |
||||
|
if(!isset($label)) $label = "Click Me!"; |
||||
|
|
||||
|
$image = imagecreate($width,$height); |
||||
|
|
||||
|
// set up the image colors
|
||||
|
$body = imagecolorallocate($image, 0xCC, 0xCC, 0xCC); |
||||
|
$shadow = imagecolorallocate($image, 0x99, 0x99, 0x99); |
||||
|
$light = imagecolorallocate($image, 0xE0, 0xE0, 0xE0); |
||||
|
$text = imagecolorallocate($image, 0x33, 0x33, 0x33); |
||||
|
|
||||
|
// draw button body
|
||||
|
imagefilledrectangle($image, |
||||
|
1,1, |
||||
|
$width-2,$height-2, |
||||
|
$body); |
||||
|
// draw bottom shadow
|
||||
|
imageline($image, |
||||
|
0,$height-1, |
||||
|
$width-1,$height-1, |
||||
|
$shadow); |
||||
|
// draw right shadow
|
||||
|
imageline($image, |
||||
|
$width-1,1, |
||||
|
$width-1,$height-1, |
||||
|
$shadow); |
||||
|
// draw top highlight
|
||||
|
imageline($image, |
||||
|
0, 0, |
||||
|
$width-1, 0, |
||||
|
$light); |
||||
|
// draw left highlight
|
||||
|
imageline($image, |
||||
|
0, 0, |
||||
|
0, $height-2, |
||||
|
$light); |
||||
|
|
||||
|
// calculate label size
|
||||
|
$labelheight = imagefontheight($font); |
||||
|
$labelwidth = imagefontwidth($font) * strlen($label); |
||||
|
|
||||
|
// calculate label position
|
||||
|
$labelx = ($width - $labelwidth)/2; |
||||
|
$labely = ($height - $labelheight)/2; |
||||
|
|
||||
|
// draw label offset
|
||||
|
//imagestring($image,$font,$labelx+1,$labely+1,$label,$shadow);
|
||||
|
|
||||
|
// draw label
|
||||
|
imagestring($image,$font,$labelx,$labely,$label,$text); |
||||
|
|
||||
|
// output the image
|
||||
|
header("Content-type: image/gif"); |
||||
|
imagegif($image); |
||||
|
|
||||
|
?>
|
@ -0,0 +1,41 @@ |
|||||
|
<?php // minipage administration
|
||||
|
|
||||
|
require("../db.php3"); |
||||
|
|
||||
|
// connect to the db and generate a list of minipages
|
||||
|
$connection = connect($host, $dbname); |
||||
|
if($connection) { |
||||
|
$query = "select id,content,title,changed from page order by id"; |
||||
|
$result = query($connection, $query); |
||||
|
$count = numrows($result); |
||||
|
// stuff the db query into an html comment
|
||||
|
print("<!--\n query = $query\n-->\n"); |
||||
|
// display our intro and motd files
|
||||
|
include("intro.php3"); |
||||
|
if(is_readable("motd.php3")) include("motd.php3"); |
||||
|
// begin a table of links
|
||||
|
print("<div class=center>\n<table border=1 cellspacing=0 cellpadding=5>\n"); |
||||
|
print("<tr class=header>\n <th>Content</th>\n <th>Page Title</th>"); |
||||
|
print("<th>Last Changed</th></tr>\n"); |
||||
|
if($count) { // if we returned a list of pages...
|
||||
|
for($row=0; $row < $count; $row++) { |
||||
|
$shade = (($row & 1) ? "dark" : "light"); |
||||
|
$page = fetch_object($result, $row); |
||||
|
print("<tr class=$shade>\n "); |
||||
|
print("<td class=right><a href=\"page_edit.php3?pid=$page->id\">");
|
||||
|
print("$page->content</a></td>\n "); |
||||
|
$title = (($page->title) ? $page->title : "   "); |
||||
|
print("<td class=left>$title</td>\n"); |
||||
|
print("<td class=center>$page->changed</td></tr>\n"); |
||||
|
} |
||||
|
} else { |
||||
|
print("<td colspan=2>No pages are available</td>\n"); |
||||
|
} |
||||
|
print("</table>\n<br clear=all>\n<div class=\"footer\">\n<hr>\n"); |
||||
|
require("../footer.php3"); |
||||
|
print("</body>\n</html>"); |
||||
|
} else { |
||||
|
print("<div class=center>\n<h2>Database Error</h2>\n"); |
||||
|
print("<h2>Failed to connect to database: $dbname</h2>\n"); |
||||
|
} |
||||
|
?>
|
@ -0,0 +1,9 @@ |
|||||
|
<?php // admin intro section
|
||||
|
$img = "admin_header.jpg"; |
||||
|
$size = getimagesize($img); |
||||
|
print("<html>\n<head>\n<title>Minipage Administration</title>\n"); |
||||
|
print("<link rel=stylesheet href=/styles/admin.css type=text/css>\n"); |
||||
|
print("<base target=\"_self\">\n</head>\n<body>\n<div class=center>\n"); |
||||
|
print("<img src=\"$img\" $size[3]>\n<br clear=all>\n<h2>Welcome to ");
|
||||
|
print("the Minipage Administration Area</h2>\n<br>\n</div>\n"); |
||||
|
?>
|