Recent Pilot Promotions

[insert_php]
echo ‘

‘;
$str = file_get_contents(‘http://ptd.vatsim.net/api/certifications.json/’);
$json = json_decode($str, true); // decode the JSON into an associative array
echo ‘

‘;
echo ‘

‘;
$amount_shown = 20;

for($i=0;$i<$amount_shown;$i++) { echo '

‘;
echo ‘

‘;
echo ‘

‘;
echo ‘

‘;
echo ‘

‘;
}

echo ‘

Issued Pilot Name Instructor Rating
‘.date(‘Y-m-d H:i:s’,strtotime($json[$i][‘created_at’])).’ ‘.$json[$i][‘pilot_name’].’ ‘.$json[$i][‘user’][‘name’].’ ‘.$json[$i][‘rating’][‘name’].’

‘;

echo ‘

‘;

[/insert_php]

Help-Desk