Remove cp1251. Я сильно недооценивал трудолюбие неизвестного кодера.
This commit is contained in:
@@ -460,7 +460,7 @@ if(!isset($backdoor)) {
|
||||
function is_login($login) {
|
||||
$r = true;
|
||||
//
|
||||
$login = htmlspecialchars($login,NULL,'cp1251');
|
||||
$login = htmlspecialchars($login,NULL);
|
||||
//
|
||||
$bad = array(
|
||||
'Мусорщик' => 1,
|
||||
@@ -513,7 +513,7 @@ if(!isset($backdoor)) {
|
||||
}elseif( $u->info['money2'] < 25 ) {
|
||||
$u->error = 'Недостаточно средств.';
|
||||
}else{
|
||||
$login = htmlspecialchars($_POST['login'],NULL,'cp1251');
|
||||
$login = htmlspecialchars($_POST['login'],NULL);
|
||||
if( is_login($login) == true ) {
|
||||
mysql_query('INSERT INTO `lastnames` ( `uid`,`login`,`newlogin`,`time` ) VALUES (
|
||||
"'.$u->info['id'].'","'.$u->info['login'].'","'.mysql_real_escape_string($login).'","'.time().'"
|
||||
@@ -652,7 +652,7 @@ if(!isset($backdoor)) {
|
||||
<title>Покупка ЕвроКредитов - Бойцовский Клуб</title>
|
||||
<!--<link rel=stylesheet type="text/css" href="/i/main.css">-->
|
||||
<script type="text/javascript" src="https://new-combats.com/res/js/jquery-1.7.1.min.js"></script>
|
||||
<meta content="text/html; charset=windows-1251" http-equiv=Content-Type>
|
||||
|
||||
<link href="/res/css/style.css" rel="stylesheet" type="text/css" media="all" />
|
||||
<META Http-Equiv=Cache-Control Content=no-cache>
|
||||
<meta http-equiv=PRAGMA content=NO-CACHE>
|
||||
|
||||
Reference in New Issue
Block a user