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
-1
View File
@@ -1,5 +1,4 @@
/*=Reset default browser CSS. Based on work by Eric Meyer: https://meyerweb.com/eric/tools/css/reset/index.html=*/
@charset "windows-1251";
body, html {
height: 100%;
}
+2 -2
View File
@@ -155,7 +155,7 @@ if ($u['admin'] > 0 || in_array($u['align'], $pal_al) || in_array($u['align'], $
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<meta charset="windows-1251"/>
<meta name="viewport" content="width=device-width"/>
<title>Новости браузерной онлайн игры Новый «Бойцовский клуб»</title>
<meta name="keywords"
@@ -319,7 +319,7 @@ if ($u['admin'] > 0) {
if (isset($u['id']) && $add[0] == 1 && isset($_POST['text_com']) && str_replace(
' ', '', str_replace(' ', '', $_POST['text_com'])
) != '') {
$_POST['text_com'] = htmlspecialchars($_POST['text_com'], null, 'cp1251');
$_POST['text_com'] = htmlspecialchars($_POST['text_com'], null);
if ($u['admin'] == 0) {
$_POST['text_com'] = substr($_POST['text_com'], 0, 2048);
}
-1
View File
@@ -1,5 +1,4 @@
/*=Reset default browser CSS. Based on work by Eric Meyer: https://meyerweb.com/eric/tools/css/reset/index.html=*/
@charset "windows-1251";
body, html {
height: 99%;
}