";
include 'includes/class.config.php';
$usafachCore->pgHeader();
//echo " 2 : " . $name . "
";
$usafachCore->database();
//echo " 3 : " . $name . "
";
include 'includes/functions.php';
get_deployed($year);
$name = $_GET['name'];
//echo " 4 : " . $name . "
";
date_default_timezone_set('America/New_York');
?>
Class of
0)
{
echo '
Click for:
';
}
else
{
echo '
No Videos:
';
}
if($phnum > 0)
{
echo '
Click for:
';
}
else
{
echo '
No photos/documents:
';
}
echo '
Biography as of: ' . date("M d, Y",$lastup) . '
' . $biotext . '
';
if($vidnum > 0)
{
echo '
Click for:
';
}
else
{
echo '
No Videos:
';
}
if($phnum > 0)
{
echo '
Click for:
';
}
else
{
echo '
No photos/documents:
';
}
}
else
{
function display_db_table($tablename,$person,$yr)
{
$sql = "select * from name_master
left join state on name_master.bthstate = state.value
where name_master.id_num = '$person'";
$result = mysql_query($sql);
while($tbllRow = mysql_fetch_array($result))
{
if ($tbllRow['deceased'] == 'Yes')
{
$decsd = 'd. ' . substr($tbllRow['deceased_date'],0,4) ;
}
else
{
$decsd = '';
}
echo '
' . $tbllRow['name_at_graduation'] . '
' . $decsd . '
State of Origin ' . $tbllRow[22] . ' |
|
Cadet Squadron ' . $tbllRow['grad_sqdn'] . ' |
' ;
$res = mysql_query("select type from meta where id_grad = '$person'");
$video = 0;
while($Row = mysql_fetch_array($res))
{
if($Row[0] == 'vid')
{
$video = 1;
}
}
if($video == 1)
{
echo '
Jump to:
';
}
}
}
// echo $name . " " . $year;
display_db_table("name_master",$name,$year);
}
?>