Utf8 convert
This commit is contained in:
+6
-6
@@ -5,11 +5,11 @@ include_once('_incl_data/__config.php');
|
||||
include_once('_incl_data/class/__db_connect.php');
|
||||
$u = User::start();
|
||||
|
||||
if ($u->room['name'] != 'Îäíîðóêèé áàíäèò') {
|
||||
if ($u->room['name'] != 'Однорукий бандит') {
|
||||
die();
|
||||
}
|
||||
|
||||
//Ðàçäàåì âûéãðûøè
|
||||
//Раздаем выйгрыши
|
||||
|
||||
|
||||
function get2str($key = '', $val = '')
|
||||
@@ -49,7 +49,7 @@ if (isset($_GET['bet'])) {
|
||||
$s = 3;
|
||||
}
|
||||
if ($u->bank['money2'] >= $s) {
|
||||
//Èãðàåì!
|
||||
//Играем!
|
||||
$w1 = rand(0, 4);
|
||||
$w2 = rand(0, 4);
|
||||
$w3 = rand(0, 4);
|
||||
@@ -88,7 +88,7 @@ if (isset($_GET['bet'])) {
|
||||
}
|
||||
|
||||
if (($n == 5 || $n == 4 || $n == 3) && rand(0, 100) >= 50) {
|
||||
//Èãðàåì!
|
||||
//Играем!
|
||||
$w1 = rand(0, 2);
|
||||
$w2 = rand(0, 3);
|
||||
$w3 = rand(0, 3);
|
||||
@@ -143,9 +143,9 @@ if (isset($_GET['bet'])) {
|
||||
//
|
||||
if ($win > 0) {
|
||||
mysql_query(
|
||||
"INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $u->info['city'] . "','390','','','<small>[<b><font color=0066ff>Êðóïüå</font></b>] Èãðîê <b>" . mysql_real_escape_string(
|
||||
"INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $u->info['city'] . "','390','','','<small>[<b><font color=0066ff>Крупье</font></b>] Игрок <b>" . mysql_real_escape_string(
|
||||
$u->info['login']
|
||||
) . "</b> âûèãðàë <b>" . ($s * $win) . ".00</b> åêð., ñòàâêà: " . $s . ".00 åêð., èãðà ¹" . $gid . "</small>','" . time(
|
||||
) . "</b> выиграл <b>" . ($s * $win) . ".00</b> екр., ставка: " . $s . ".00 екр., игра №" . $gid . "</small>','" . time(
|
||||
) . "','6','0')"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user