скрин
и зачем засерать зц этим шлаком?
if (isset($user) && $user['id'] == $ank['id']) {
$k_notif = mysql_result(mysql_query("SELECT COUNT(`read`) FROM `notification` WHERE `id_user` = '$user[id]' AND `read` = '0'", 0); // Уведомления
if ($k_notif > 0) {
echo "<div class='nav1'>";
echo "<a href='/user/notification/index.php'><img src='/style/icons/notif.png' alt='*' /> <font color='red'>Уведомления</font> ";
echo "<span class='count'><font color=\"red\">+$k_notif</font></span>";
echo "</a>";
echo "</br>";
}
if (isset($user) && $user['id'] == $ank['id']) {
$new_g = mysql_result(mysql_query("SELECT COUNT(*) FROM `discussions` WHERE `id_user` = '$user[id]' AND `count` > '0'", 0);
if ($new_g != 0) {
echo "<a href='/user/discussions/index.php'><img src='/style/icons/chat.png' alt='*' /> <font color='red'>Обсуждения</font></a> ";
echo "<span class='count'><font color=\"red\">+$new_g</font></span></a>";
} else {
echo "<a href='/user/discussions/index.php'><img src='/style/icons/chat.png' alt='*' /> Обсуждения</a> ";
}
echo "</br>";
}
}
if ($user['id'] == $ank['id']) {
$k_l = mysql_result(mysql_query("SELECT COUNT(*) FROM `tape` WHERE `id_user` = '$user[id]' AND `read` = '0'", 0);
if ($k_l != 0) {
$color = "<font color='red'>";
$color2 = "</font>";
} else {
$color = null;
$color2 = null;
}
echo "<a href='/user/tape/'><img src='/style/icons/lenta.png' alt='*' /> " . $color . "Лента" . $color2 . "";
if ($k_l != 0)
echo "<font color=\"red\"><span class='count'>+$k_l</span></font>";
echo "</a>";
}
echo "</div>";
}
}
скрин загрузил
Говно же
ЗОМБИ,
Final Destination,
ЗОМБИ, диз ка4ка говно?
да
ДА!