USS ESTES  AGC-12
USS ESTES1 ASSOCIATION HOME PAGE

U.S.S. Estes AGC/LCC-12 Crew Roster
Click HERE to submit your Name, Rank/Rate, Division, Years Aboard, and optionally Contact Info
or to submit questions, changes, or comments

Order by:

$line) { // Index 0 = Column Headers if ($lk == 0) { // Explode on Tabs $columns = explode("\t", $line); } else { // Index not 0 = Data Records $fields = explode("\t", $line); foreach ($fields as $fk=>$field) { $records[$fk][$lk] = $field; } } } $order = (!empty($_GET['order']) ? $_GET['order'] : 0); $sorted = $records[$order]; asort($sorted); foreach ($sorted as $lidx=>$whole) { } ?> ".$columns[0]."" : "$columns[0]"; $orderby2=$order != 2 ? "".$columns[2]."" : "$columns[2]"; $orderby3=$order != 3 ? "".$columns[3]."" : "$columns[3]"; $orderby4=$order != 4 ? "".$columns[4]."" : "$columns[4]"; // echo "\n

Order by:
"; echo "\n

"; $ordertable=''; echo "\n$ordertable"; echo ""; $starttd=''; echo "\n$starttd"; echo $orderby0; echo "\n$endtd"; echo "\n$starttd"; echo $orderby2; echo "\n$endtd"; echo "\n$starttd"; echo $orderby3; echo "\n$endtd"; echo "\n$starttd"; echo $orderby4; echo "\n$endtd"; echo ""; echo "
'; $endtd='

"; /* ------------------------------ echo "\n

Order by:
$orderby0 $orderby2 $orderby3 $orderby4

"; echo "
"; ------------------------------ */ // Start Table $nb_sp=" "; $infotag=''; $infoendtag=''; $tr_ct=1; $table=''; echo "\n$table"; // Place Table Header $thead1=$order == 0 ? "$columns[0]" : $columns[0]; $thead2=$columns[1]; $thead3=$order == 2 ? "$columns[2]" : $columns[2]; $thead4=$order == 3 ? "$columns[3]" : $columns[3]; $thead5=$order == 4 ? "$columns[4]" : $columns[4]; $thead6=$columns[5]; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n \n \n"; foreach ($sorted as $k=>$v) { $contr_link = (substr($records[7][$k],-4) == ".htm" ? true : false); $cont_link = (substr($records[6][$k],-4) == ".htm" ? true : false); echo "\n"; $tr_ct++; // 0 = Last Name // 1 = First Name // 2 = Rank/Rate // 3 = Division // 4 = Years // 5 = Contact for ($i=0; $i<=5; $i++) { // Contribution Link if ($i == 0 && $contr_link == true) { $href="Contributions/".$records[7][$k]; $hrefl=$records[$i][$k]; echo "\n"; } // i contr_link // Contact Link elseif ($i == 5) { echo "\n"; } // i 5 // Other Columns else { $word=$records[$i][$k]; if ($word == "") { echo "\n"; } else { echo "\n"; } } // else } // for i echo "\n\n"; } // foreach echo "\n \n
$thead1$thead2$thead3$thead4$thead5$thead6
$hrefl"; $cont_text=$records[$i][$k]; if ($cont_text == "") { echo "$nb_sp"; } else { echo "$infotag"; echo "\n$cont_text"; echo "\n$infoendtag"; if ($cont_link == true) { echo "\n
"; } } if ($cont_link == true) { $contact_file=$records[6][$k]; echo "\"Contact\"Contact Info"; } // true cont_link echo "
$nb_sp$word
"; $orderbyhd='

Order by:

'; echo "\n$orderbyhd"; echo "\n$ordertable"; echo ""; $starttd='
'; $endtd='
'; echo "\n$starttd"; echo $orderby0; echo "\n$endtd"; echo "\n$starttd"; echo $orderby2; echo "\n$endtd"; echo "\n$starttd"; echo $orderby3; echo "\n$endtd"; echo "\n$starttd"; echo $orderby4; echo "\n$endtd"; echo ""; echo "
"; echo "\n
Currently ". $tr_ct ." crewmembers listed"; ?>
 

Thank you to Darian Rodgers for the above programming!


Return to USS Estes Association Home