"); $client=new xmlrpc_client("/xmlrpc/zion.php", "www.usszion.com", 80); $v = dispatch($client, 'zion.getdepts', array(new xmlrpcval($ship_num,"int"))); $count=0; while(list($b) = each($v)) { $deptcolor = $v[$count]['color']; $deptno = $v[$count]['reference']; $dept = $v[$count]['department']; $client=new xmlrpc_client("/xmlrpc/zion.php", "www.usszion.com", 80); $resp = dispatch($client, 'zion.getcrewlist', array(new xmlrpcval($deptno,"int"), new xmlrpcval($ship_num,"int"))); if ($resp) { print(""); $count2=0; while(list($c) = each($resp)) { $pips=0; $service_type = $resp[$count2]['servicetype']; $rank = $resp[$count2]['rank']; $name = $resp[$count2]['name']; $position = $resp[$count2]['position']; $species = $resp[$count2]['species']; $gender = $resp[$count2]['gender']; $status = $resp[$count2]['status']; $branch = $resp[$count2]['branch']; $idx = $resp[$count2]['id']; $lrank = $resp[$count2]['lrank']; $color = $deptcolor; if ($service_type == 'C') {$pips = "pips/$color/$rank.jpg";} else {$pips = "pips/$color/enlisted/$rank.jpg"; } if ($branch == "W") { $pips = "pips/$color/warrant/$rank.jpg"; } if ($deptno == 29) { $pips = "pips/purple.jpg"; } if ($deptno == 41) { $pips = "pips/black.jpg"; } if ($deptno == 42) { $pips = "pips/orange.jpg"; } print(""); if ($branch == "Civilian") { print("");} else { print(" "); } print(" "); $count2++; } } $count++; } print("
Name Rank Position Species Gender Status
$dept
"); if ($name == "Apply Now") { print("$name"); } else { print("$name"); } print(" Civilian\"$lrank\" $position $species $gender $status

 

TYPES OF CHARACTERS
PC Played Character These characters are established by players and are their primary roles. Inclusion of these characters should only be done through a joint post.
NPC Non-Played Character A re-occuring character which may or may not have been established through a bio. These characters may be included in in any post.
RNPC Reserved Non-Played Character Typically a supporting character for a PC. Reserved characters should only be played with permission of the character's author or through a JP with the author.

"); include("foot.php"); ?>");