encoding and smell

This commit is contained in:
Ivor Barhansky 2023-01-10 20:14:47 +02:00
parent 2590d62f1f
commit bbb35c19f9
2 changed files with 8 additions and 16 deletions

View File

@ -250,7 +250,7 @@ $u->stats = $u->getStats($u->info['id'], 0);
}
.qel0 {
dispaly: none;
display: none;
position: absolute;
z-index: 100000;
border: 4px solid #f5cc50;
@ -950,8 +950,8 @@ $u->stats = $u->getStats($u->info['id'], 0);
height="20">
</button>
</div>
<font class="db" style="padding:0 0 8px 0;font-size: 10pt; color:#8f0000;"><b
id="roomName"></b></font>
<font class="db" style="padding:0 0 8px 0;font-size: 10pt; color:#8f0000;">
<b id="roomName"></b></font>
<div id="onlist"></div>
<div style="padding:5px;margin-top:5px;">
<div><label><input type="checkbox" value="1" checked id="autoRefOnline">Обновлять

View File

@ -100,7 +100,7 @@ if (isset($_POST['msg']) && str_replace(' ', '', $_POST['msg']) != '') {
);
if (isset($ulogin['login'])) {
$ulogin = htmlspecialchars($ulogin['login']);
$uname = '<font color=#831db7>&lt;<EFBFBD>?нформация о &quot;' . $ulogin . '&quot;&gt;</font>';
$uname = '<font color=#831db7>&lt;Информация о &quot;' . $ulogin . '&quot;&gt;</font>';
}
} elseif (strripos($x[$j], 'audio_1610649509.mp3')) { //ТУТ аудио
$uname = '<font color=#FF851B>&lt;Голосовое сообщение&gt;</font>';
@ -513,7 +513,7 @@ if (isset($_POST['msg']) && str_replace(' ', '', $_POST['msg']) != '') {
if ($nosend == 0) {
//<EFBFBD>?менные смайлики
//Именные смайлики
$_POST['msg'] = str_replace('%usersmile%-', '%usеrsmilе%-', $_POST['msg']);
$usml = explode(',', $u->info['add_smiles']);
$i = 0;
@ -572,7 +572,7 @@ if (isset($_POST['msg']) && str_replace(' ', '', $_POST['msg']) != '') {
if ($sp_all[0] > 0) {
if (rand(0, 100) < 75) {
$text_com = [
'Отстань попрошайка! ... <EFBFBD>?щу анекдоты, интернет не маленький!',
'Отстань попрошайка! ... Ищу анекдоты, интернет не маленький!',
'Подожди... Сейчас что-нибудь найду',
'Почти нашел...',
'Вот один есть, но он не интересный...',
@ -741,7 +741,6 @@ if ($_GET['r1'] != 0) {
$r['list'] .= '"' . $r['xu'] . '":["' . $pl['id'] . '","' . $pl['login'] . '","' . $pl['level'] . '","' . $pl['align'] . '","' . $pl['clan'] . '","' . $pl['cityreg'] . '","' . $pl['city'] . '","' . $pl['room'] . '","' . $pl['afk'] . '","' . $pl['dnd'] . '","' . $pl['banned'] . '","' . $pl['molch1'] . '","' . $pl['battle'] . '","' . $pl['atack'] . '","' . $trvm . '","' . ($pl['sex'] * 0) . '","' . $pl['align2'] . '"],';
$ar_id += $pl['id'];
$ar_lvl += $pl['level'];
//trigger_error('align:' . $pl['align'] . ' clan:' . $pl['clan'] . ' molch1:' . $pl['molch1'] . ' banned:' . $pl['banned'] . ' battle:' . $pl['battle']);
$ar_all .= $pl['align'] . $pl['clan'] . $pl['molch1'] . $pl['banned'] . $pl['battle'] . 1;
}
@ -1125,7 +1124,6 @@ if ($r['key'] == $_GET['key']) {
unset($r['rn'], $r['list'], $r['key'], $r['xu']);
} elseif ($_GET['r1'] != 0) {
$r['rn'] = $u->room['name'];
$r['list'] = $r['list'];
}
$posts = mysql_fetch_array(
@ -1170,11 +1168,5 @@ if (isset($trf['id'])) {
}
}
if ($r['js'] == null) {
unset($r['js']);
}
if ($r['msg'] == null) {
unset($r['msg']);
}
unset($c, $u, $db, $r['js'], $r['msg']);
echo json_encode($r);
unset($c, $u, $db);
echo json_encode($r);