include("top.php");
//$crew=mysql_query("select * from crew where ID = '$id'");
//$bio=mysql_query("select * from bios where ID = '$id'");
$deco = mysql_query("select a.award_id, a.reason, a.idx, b.ID from decorations a, crew b where a.plr_id = b.ID and a.plr_id = '$id'");
$client=new xmlrpc_client("/xmlrpc/zion.php", "www.usszion.com", 80);
$client->setDebug(20);
$v = dispatch($client, 'zion.getbiodata', array(new xmlrpcval($id,"int")));
$name = $v[0]['name'];
$pbioid = $v[0]['pbioid'];
$pname = $v[0]['pname'];
$age = $v[0]['age'];
$height = $v[0]['height'];
$weight = $v[0]['weight'];
$eye = $v[0]['eye'];
$species = $v[0]['species'];
$hair = $v[0]['hair'];
$gender = $v[0]['gender'];
$pob = $v[0]['pob'];
$family = $v[0]['family'];
$child = $v[0]['childhood'];
$ee = $v[0]['ee'];
$sfc = $v[0]['sfc'];
$interests = $v[0]['interests'];
$personality = $v[0]['personality'];
$snotes = $v[0]['snotes'];
$skills = $v[0]['skills'];
$image = $v[0]['image'];
//$q3=mysql_query("select * from deptlist where ref = '$row->Department'");
//$row3 = mysql_fetch_object($q3);
$color=$v[0]['color'];
include("mainbio.php");
print("
 |
Name:
|
$name |
 Post Archives |
");
if ($pbioid> 0) {
//$pb = mysql_query("select * from player_bios where idx = '$row->p_bio'");
//$prow=mysql_fetch_object($pb);
print("
Played by:
|
$pname |
"); }
print("
Terran Age:
|
$age years |
Height:
|
$height |
Weight:
|
$weight |
Eye Color:
|
$eye |
Hair:
|
$hair |
"); if ($row->p_bio > 0) {print(" | "); } print("
Species:
|
$species |
| Gender:
|
$gender |
| Place of Birth:
|
$pob |
|
Family:
|
$family
|
Childhood (birth to Adult):
|
$child
|
Early Education
|
$ee |
Starfleet Career
|
$sfc
|
Decorations
|
");
$count=1;
print("");
while($rowd=mysql_fetch_object($deco))
{
$imgs = mysql_query("select name, idx from awards where idx = $rowd->award_id");
while ($rowe=mysql_fetch_object($imgs)) {
if ($count == 1) { print("idx&idx2=$rowe->idx> | ");}
else if ($count==2) {print("idx&idx2=$rowe->idx> | ");}
else if ($count ==3) { print("idx&idx2=$rowe->idx> | "); $count=0;}
$count++;
}
}
print("
|
Interests
|
$interests
|
Personality Profile
|
$personality |
Special Notes:
|
$snotes |
Skills:
|
$skills |
");
include("foot.php");