|
13 | 13 | ],
|
14 | 14 | [
|
15 | 15 | 'index' => 1,
|
16 |
| - 'text' => "#1: " . $json['donors'][0]['name'] . " - Total WUS: " . $json['donors'][0]['wus'] . " - Total credits: " . $json['donors'][0]['credit'] . " - Actual rank: " . $json['donors'][0]['rank'], |
| 16 | + 'text' => "#1: " . $json['donors'][0]['name'] . " - Total WUS: " . number_format($json['donors'][0]['wus'], 0, '', "'") . " - Total credits: " . number_format($json['donors'][0]['credit'], 0, '', "'") . " - Actual rank: " . number_format($json['donors'][0]['rank'], 0, '', "'"), |
17 | 17 | 'icon' => ''
|
18 | 18 | ],
|
19 | 19 | [
|
20 | 20 | 'index' => 2,
|
21 |
| - 'text' => "#2: " . $json['donors'][1]['name'] . " - Total WUS: " . $json['donors'][1]['wus'] . " - Total credits: " . $json['donors'][1]['credit'] . " - Actual rank: " . $json['donors'][1]['rank'], |
| 21 | + 'text' => "#2: " . $json['donors'][1]['name'] . " - Total WUS: " . number_format($json['donors'][1]['wus'], 0, '', "'") . " - Total credits: " . number_format($json['donors'][1]['credit'], 0, '', "'") . " - Actual rank: " . number_format($json['donors'][1]['rank'], 0, '', "'"), |
22 | 22 | 'icon' => ''
|
23 | 23 | ],
|
24 | 24 | [
|
25 | 25 | 'index' => 3,
|
26 |
| - 'text' => "#3: " . $json['donors'][2]['name'] . " - Total WUS: " . $json['donors'][2]['wus'] . " - Total credits: " . $json['donors'][2]['credit'] . " - Actual rank: " . $json['donors'][2]['rank'], |
| 26 | + 'text' => "#3: " . $json['donors'][2]['name'] . " - Total WUS: " . number_format($json['donors'][2]['wus'], 0, '', "'") . " - Total credits: " . number_format($json['donors'][2]['credit'], 0, '', "'") . " - Actual rank: " . number_format($json['donors'][2]['rank'], 0, '', "'"), |
27 | 27 | 'icon' => ''
|
28 | 28 | ],
|
29 | 29 | [
|
30 | 30 | 'index' => 4,
|
31 |
| - 'text' => "#4: " . $json['donors'][3]['name'] . " - Total WUS: " . $json['donors'][3]['wus'] . " - Total credits: " . $json['donors'][3]['credit'] . " - Actual rank: " . $json['donors'][3]['rank'], |
| 31 | + 'text' => "#4: " . $json['donors'][3]['name'] . " - Total WUS: " . number_format($json['donors'][3]['wus'], 0, '', "'") . " - Total credits: " . number_format($json['donors'][3]['credit'], 0, '', "'") . " - Actual rank: " . number_format($json['donors'][3]['rank'], 0, '', "'"), |
32 | 32 | 'icon' => ''
|
33 | 33 | ],
|
34 | 34 | [
|
35 | 35 | 'index' => 5,
|
36 |
| - 'text' => "#5: " . $json['donors'][4]['name'] . " - Total WUS: " . $json['donors'][4]['wus'] . " - Total credits: " . $json['donors'][4]['credit'] . " - Actual rank: " . $json['donors'][4]['rank'], |
| 36 | + 'text' => "#5: " . $json['donors'][4]['name'] . " - Total WUS: " . number_format($json['donors'][4]['wus'], 0, '', "'") . " - Total credits: " . number_format($json['donors'][4]['credit'], 0, '', "'") . " - Actual rank: " . number_format($json['donors'][4]['rank'], 0, '', "'"), |
37 | 37 | 'icon' => ''
|
38 | 38 | ],
|
39 | 39 | [
|
40 | 40 | 'index' => 6,
|
41 |
| - 'text' => "#6: " . $json['donors'][5]['name'] . " - Total WUS: " . $json['donors'][5]['wus'] . " - Total credits: " . $json['donors'][5]['credit'] . " - Actual rank: " . $json['donors'][5]['rank'], |
| 41 | + 'text' => "#6: " . $json['donors'][5]['name'] . " - Total WUS: " . number_format($json['donors'][5]['wus'], 0, '', "'") . " - Total credits: " . number_format($json['donors'][5]['credit'], 0, '', "'") . " - Actual rank: " . number_format($json['donors'][5]['rank'], 0, '', "'"), |
42 | 42 | 'icon' => ''
|
43 | 43 | ],
|
44 | 44 | [
|
|
0 commit comments