|
@@ -132,12 +132,12 @@ |
|
|
block discarded – undo |
|
132
|
132
|
$data = new SimpleXMLElement(downloadData("https://api.eve-central.com/api/marketstat?usesystem={$solarSystemID}&typeid={$typeID}")); |
|
133
|
133
|
} |
|
134
|
134
|
|
|
135
|
|
- $lowBuy = str_pad(number_format((float) $data->marketstat->type->buy->min, 2),18," ",STR_PAD_LEFT); |
|
136
|
|
- $avgBuy = str_pad(number_format((float) $data->marketstat->type->buy->avg, 2),18," ",STR_PAD_LEFT); |
|
137
|
|
- $highBuy = str_pad(number_format((float) $data->marketstat->type->buy->max, 2),18," ",STR_PAD_LEFT); |
|
138
|
|
- $lowSell = str_pad(number_format((float) $data->marketstat->type->sell->min, 2),18," ",STR_PAD_LEFT); |
|
139
|
|
- $avgSell = str_pad(number_format((float) $data->marketstat->type->sell->avg, 2),18," ",STR_PAD_LEFT); |
|
140
|
|
- $highSell = str_pad(number_format((float) $data->marketstat->type->sell->max, 2),18," ",STR_PAD_LEFT); |
|
|
135
|
+ $lowBuy = str_pad(number_format((float) $data->marketstat->type->buy->min, 2), 18, " ", STR_PAD_LEFT); |
|
|
136
|
+ $avgBuy = str_pad(number_format((float) $data->marketstat->type->buy->avg, 2), 18, " ", STR_PAD_LEFT); |
|
|
137
|
+ $highBuy = str_pad(number_format((float) $data->marketstat->type->buy->max, 2), 18, " ", STR_PAD_LEFT); |
|
|
138
|
+ $lowSell = str_pad(number_format((float) $data->marketstat->type->sell->min, 2), 18, " ", STR_PAD_LEFT); |
|
|
139
|
+ $avgSell = str_pad(number_format((float) $data->marketstat->type->sell->avg, 2), 18, " ", STR_PAD_LEFT); |
|
|
140
|
+ $highSell = str_pad(number_format((float) $data->marketstat->type->sell->max, 2), 18, " ", STR_PAD_LEFT); |
|
141
|
141
|
|
|
142
|
142
|
$this->logger->addInfo("Price: Sending pricing info to {$user}"); |
|
143
|
143
|
$solarSystemName = $systemName === 'pc' ? 'Global' : ucfirst($systemName); |