"; if ($s=="Buffalo Soldier Lookup... Enter a Name") { $s =""; } ?>
"; ?> "; $lpm1 = $lastpage - 1; //last page minus 1 /* Now we apply our rules and draw the pagination object. We're actually saving the code to a variable in case we want to draw it more than once. */ $pagination = ""; if($lastpage > 1) { $pagination .= "
"; //previous button if ($page > 1) $pagination.= " « previous"; else $pagination.= " « previous"; //pages if ($lastpage < 7 + ($adjacents * 2)) //not enough pages to bother breaking it up { for ($counter = 1; $counter <= $lastpage; $counter++) { if ($counter == $page) $pagination.= " $counter"; else $pagination.= " $counter"; } } elseif($lastpage > 5 + ($adjacents * 2)) //enough pages to hide some { //close to beginning; only hide later pages if($page < 1 + ($adjacents * 2)) { for ($counter = 1; $counter < 4 + ($adjacents * 2); $counter++) { if ($counter == $page) $pagination.= " $counter"; else $pagination.= " $counter"; } $pagination.= "..."; $pagination.= " $lpm1"; $pagination.= " $lastpage"; } //in middle; hide some front and some back elseif($lastpage - ($adjacents * 2) > $page && $page > ($adjacents * 2)) { $pagination.= " 1"; $pagination.= " 2"; $pagination.= "..."; for ($counter = $page - $adjacents; $counter <= $page + $adjacents; $counter++) { if ($counter == $page) $pagination.= " $counter"; else $pagination.= " $counter"; } $pagination.= "..."; $pagination.= " $lpm1"; $pagination.= " $lastpage"; } //close to end; only hide early pages else { $pagination.= " 1"; $pagination.= " 2"; $pagination.= "..."; for ($counter = $lastpage - (2 + ($adjacents * 2)); $counter <= $lastpage; $counter++) { if ($counter == $page) $pagination.= " $counter"; else $pagination.= " $counter"; } } } //next button if ($page < $counter - 1) $pagination.= " next »"; else $pagination.= " next »"; $pagination.= "
\n"; } // ### $resultx = mysql_db_query($dbname,$sqlx); while($value = mysql_fetch_array($resultx)) { $aa = $value[0]; $ab = $value[1]; $ac = $value[2]; $ad = $value[3]; $ae = $value[4]; $af = $value[5]; $ag = $value[6]; $ah = $value[7]; $ai = $value[8]; $aj = $value[9]; $ak = $value[10]; $al = $value[11]; $am = $value[12]; // print ""; print ""; print ""; print ""; print ""; print ""; print ""; print ""; print ""; print ""; print ""; } ?> "; print "
"; ?>

Online Donations may be made and are greatly appreciated.



Click Here to Download our Acquisitions and Donations Policy


Buffalo Soldier Roster Lookup: $s
 

Surname Given Name Occupation Place of Birth Age Date Enlistment Place Reg't ROE ref.
AllumsFelixlaborerNashville, Tennessee214/10/1867Nashville, Tennessee38 Inf65.008.0298
$aa$ab$ac$ad$ae$ag$ah$ai$al