Remove cp1251. Я сильно недооценивал трудолюбие неизвестного кодера.
This commit is contained in:
@@ -161,7 +161,7 @@ $plus = $plus[0];
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="https://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251"/>
|
||||
|
||||
<title>Отчетность проекта</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
|
||||
@@ -120,7 +120,6 @@ if (isset($_POST['saveObjPosition'])) {
|
||||
'SELECT * FROM `dungeon_obj` WHERE `id` = "' . mysql_real_escape_string($_POST['ore_id']) . '" LIMIT 1'
|
||||
)
|
||||
);
|
||||
$_POST['ore_name'] = iconv("UTF-8", "cp1251", $_POST['ore_name']);
|
||||
if (isset($obj['id'])) {
|
||||
mysql_query(
|
||||
'UPDATE `dungeon_obj` SET
|
||||
@@ -235,7 +234,7 @@ if (!isset($_GET['look'])) {
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251"/>
|
||||
|
||||
<title>Визуальный редактор Лабиринтов © new-combats.com</title>
|
||||
|
||||
<script type="text/javascript" src="../js/jquery.js"></script>
|
||||
|
||||
@@ -16,7 +16,7 @@ $r = round((int)$_GET['r']);
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="windows-1251">
|
||||
|
||||
<title>Редактор предметов в магазине</title>
|
||||
<link href="https://img.new-combats.com/css/main.css" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript">
|
||||
|
||||
+3
-3
@@ -37,7 +37,7 @@ if($u->info['admin']=0){
|
||||
?><!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
|
||||
|
||||
<meta http-equiv=Cache-Control Content=no-cache>
|
||||
<meta http-equiv=PRAGMA content=NO-CACHE>
|
||||
<meta http-equiv=Expires Content=0>
|
||||
@@ -258,8 +258,8 @@ if($u->info['admin']=0){
|
||||
<td valign="top" style="padding:10px;">
|
||||
<?
|
||||
if(isset($_GET['mod'])){
|
||||
if(file_exists('../adminion/mod/'.htmlspecialchars($_GET['mod'],NULL,'cp1251').'.php')){
|
||||
include('../adminion/mod/'.htmlspecialchars($_GET['mod'],NULL,'cp1251').'.php');
|
||||
if(file_exists('../adminion/mod/'.htmlspecialchars($_GET['mod'],NULL).'.php')){
|
||||
include('../adminion/mod/'.htmlspecialchars($_GET['mod'],NULL).'.php');
|
||||
}else{
|
||||
echo '<center>У вас нет доступа к данному разделу</center>';
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ if (isset($_POST['it_name'])) {
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="https://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251"/>
|
||||
|
||||
<title>Редактор предметов</title>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
|
||||
<script>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="https://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
|
||||
|
||||
<title>Документ без названия</title>
|
||||
</head>
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
# Admin Only Area
|
||||
header('Content-Type: text/html; charset=windows-1251');
|
||||
|
||||
|
||||
const GAME = true;
|
||||
include('_incl_data/__config.php');
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
# Admin Only Area
|
||||
const GAME = true;
|
||||
setlocale(LC_CTYPE ,"ru_RU.CP1251");
|
||||
|
||||
include('_incl_data/__config.php');
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
$u = User::start();
|
||||
|
||||
@@ -16,7 +16,7 @@ $r = round((int)$_GET['r']);
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="windows-1251">
|
||||
|
||||
<title>Рредактор предметов в магазине</title>
|
||||
<link href="https://img.new-combats.com/css/main.css" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript">
|
||||
|
||||
@@ -22,7 +22,7 @@ while ($i < 100) {
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251"/>
|
||||
|
||||
<title>Тестирование ботов</title>
|
||||
<script src="https://img.new-combats.com/js/Lite/gameEngine.js" type="text/javascript"></script>
|
||||
<script src="js/jquery-1.11.3.min.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user