[insert_php]
$response = wp_remote_get(‘http://greenmetric.ui.ac.id/backend/services/year/2014’ );
try {
$json = json_decode( $response[‘body’] );

} catch ( Exception $ex ) {
$json = null;
}
$x=1;
echo ”

“;
foreach($json as $value){
echo ”

“;
echo ”

“;
echo ”

“;
echo ”

“;
echo ”

“;
echo ”

“;
echo ”

“;
echo ”

“;
echo ”

“;
echo “

“;
}
echo “

Ranking University Country Total Score Setting and Infrastructure Energy and Climate Change Waste Water Transportation Education
“.$x++.” bendera.”‘ /> “.round($value->rankTotal).” “.round($value->rankSettingAndInfrastructure).” “.round($value->rankEnergyAndClimateChange).” “.round($value->rankWaste).” “.round($value->rankWater).” “.round($value->rankTransportation).” “.round($value->rankEducation).”

“;
[/insert_php]