Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=87947
Postga havola
TimX [613] [off]
shu kodda qanaqa xato bor?
$off = mysql_result(mysql_query("SELECT COUNT(*) FROM `cms_contact` WHERE `from_id`='$user_id' AND `type`='2' AND `friends`='0' AND `ban`='0'"), 0); if ($off) echo '<td width="10%"><a class="panelmenu" href="' . $home . '/users/profile.php?act=friends&do=offers" title="druzya"><img src="/images/panel/friends.png" alt="#"/> ' . $off . '</a></td>';