@@ -96,8 +96,8 @@ function drawHistory(&$im, $x, $y, $w, $h, &$server) {
96
96
97
97
imagettftext ($ im , 10 , 0 , 62 , 19 , $ color_nm , $ font , /* name */ $ server ->getName (true ));
98
98
imagettftext ($ im , 8 , 0 , 62 , 32 , $ color_ip , $ font , /* ip&port */ str_replace ('https:// ' , '' , $ link ));
99
- imagettftext ($ im , 7 , 0 , 154 , 47 , $ color_mp , $ font , /* map */ "{$ lgsl_config ['text ' ]['map ' ]}: {$ server ->getMap ()}" );
100
- imagettftext ($ im , 7 , 0 , 62 , 48 , $ color_pl , $ font , /* players */ "{$ lgsl_config ['text ' ]['plr ' ]}: {$ server ->getPlayersCount ()}{$ max }" );
99
+ imagettftext ($ im , 7 , 0 , 154 , 47 , $ color_mp , $ font , /* map */ "{$ lgsl_config ['text ' ]['map ' ]}: {$ server ->getMap ()}" );
100
+ imagettftext ($ im , 7 , 0 , 62 , 48 , $ color_pl , $ font , /* players */ "{$ lgsl_config ['text ' ]['plr ' ]}: {$ server ->getPlayersCount ()}{$ max }" );
101
101
imagettftext ($ im , 7 , 0 , 62 , 59 , $ color_tm , $ font , /* game */ ucfirst ($ server ->getGame ()));
102
102
imagettftext ($ im , 7 , 0 , 238 , 59 , $ color_tm , $ font , /* updated */ "upd: {$ time } / {$ server ->getGame ()}" );
103
103
@@ -212,11 +212,11 @@ function drawHistory(&$im, $x, $y, $w, $h, &$server) {
212
212
imagecopy ($ im , $ on_id , 7 , 2 , 0 , 0 , 16 , 16 ); // place status icon
213
213
imagecopy ($ im , $ game_id , 25 , 2 , 0 , 0 , 16 , 16 ); // place game icon
214
214
215
- imagettftext ($ im , 7 , 0 , 43 , 17 , $ color_mp , $ font , /* map */ "{$ lgsl_config ['text ' ]['map ' ]}: {$ map }" );
215
+ imagettftext ($ im , 7 , 0 , 43 , 17 , $ color_mp , $ font , /* map */ "{$ lgsl_config ['text ' ]['map ' ]}: {$ map }" );
216
216
imagettftext ($ im , 7 , 0 , 43 , 9 , $ color_ip , $ font , /* ip&port */ str_replace ('https:// ' , '' , $ link ));
217
217
imagettftext ($ im , 8 , 0 , 156 , 9 , $ color_nm , $ font , /* name */ $ server ->getName (false ));
218
- imagettftext ($ im , 7 , 0 , 156 , 17 , $ color_pl , $ font , /* players */ "{$ lgsl_config ['text ' ]['plr ' ]}: {$ server ->getPlayersCount ()}{$ max }" );
219
- imagettftext ($ im , 5 , 0 , 238 , 18 , $ color_tm , $ font , /* updated */ "upd: {$ time } / {$ server ->getGame ()}" );
218
+ imagettftext ($ im , 7 , 0 , 156 , 17 , $ color_pl , $ font , /* players */ "{$ lgsl_config ['text ' ]['plr ' ]}: {$ server ->getPlayersCount ()}{$ max }" );
219
+ imagettftext ($ im , 5 , 0 , 238 , 18 , $ color_tm , $ font , /* updated */ "upd: {$ time } / {$ server ->getGame ()}" );
220
220
}
221
221
}
222
222
0 commit comments