Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=7894
Postga havola
Shoxzod_M [52] [off]
Bu kodni headga quysam nima sababdan forum xabar ni yonidan emas tepadan kurnaybdi
$ch = mysql_result
(mysql_query('select count(*)
from `chat` where `time` > ' .
(time() - 3600) . ''), 0); $chati = mysql_query
("SELECT COUNT(*) FROM `chatga`
WHERE `id_u` = '" . $user_id . "'"); $chats = mysql_result($chati,
0);
if ($chats > 0) { $chatga = mysql_query
("select * from `chatga` where
id_u='" . $user_id . "' limit 2;");
while ($chat =
mysql_fetch_array($chatga))
{$chatt = '<br/>' . $chat['name'] .
'';}} echo '<a href="' . $home . '/
chat.php"><img src="/images/
panel/chat.png" alt="#"/>'.$ch.''.
$chatt.'</a>';
$ch = mysql_result
(mysql_query('select count(*)
from `chat` where `time` > ' .
(time() - 3600) . ''), 0); $chati = mysql_query
("SELECT COUNT(*) FROM `chatga`
WHERE `id_u` = '" . $user_id . "'"); $chats = mysql_result($chati,
0);
if ($chats > 0) { $chatga = mysql_query
("select * from `chatga` where
id_u='" . $user_id . "' limit 2;");
while ($chat =
mysql_fetch_array($chatga))
{$chatt = '<br/>' . $chat['name'] .
'';}} echo '<a href="' . $home . '/
chat.php"><img src="/images/
panel/chat.png" alt="#"/>'.$ch.''.
$chatt.'</a>';