Remove cp1251. Я сильно недооценивал трудолюбие неизвестного кодера.

This commit is contained in:
2023-01-10 19:26:14 +02:00
parent 008f36c094
commit b3810d2349
147 changed files with 267 additions and 1295 deletions
+2 -2
View File
@@ -125,11 +125,11 @@ function thisInfRm($id, $tp = null, $json = false)
$inf = $rm['name'] . "\nСейчас в комнате " . (0 + $rown[0]) . ' чел.';
}
if ($json) {
return [$rm['code'], iconv("WINDOWS-1251", "UTF-8", $rm['name']), (0 + $rown[0])];
return [$rm['code'], $rm['name'], (0 + $rown[0])];
}
}
if ($json) {
return ['false', iconv("WINDOWS-1251", "UTF-8", $inf), (0 + $rown[0])];
return ['false', $inf, (0 + $rown[0])];
}
if ($tp == null) {
echo 'onMouseOver="top.hi(this,\'<div align=right>' . $inf . '</div>\',event,0,1,1,1,\'max-height:240px\');" onMouseOut="top.hic();" onMouseDown="top.hic();" onClick="goLocal(\'main.php?loc=' . $rm['code'] . '\',\'' . $rm['name'] . '\');"';