Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=88070
Postga havola
code_one [508] [off]
shuni qayri xato sahifa oqarib qolyapti
/* rahmat aytish ni qayerga chiqarmoqchisiz, shu yerga yozing */ $ok_like = mysql_result(mysql_query("select count(*) from lib_like where user_id = '".$user_id."' and id = '".$res['id']."' "), 0); if ($user_id && $user_id != $res['user_id']) { if ($ok_like == 0) echo '<a href="index.php?id='.$res['id'].'&act=like#'.$res['id'].'">Rahmat</a>|'; elseif ($ok_like == 1) { echo '<a href="index.php?id='.$res['id'].'&act=unlike#'.$res['id'].'">Arzimaydi</a>|'; } } /* Rahmat aytdi: ni qayerga chiqaroqchisiz, shu yerga yozing */ $nick_user_name = mysql_query("SELECT `name` from `users` where `id` = '".$show_like['user_id']."'"); if ($user_id != $show_like['user_id']) $user_like[] = '<a href="/users/profile.php?user='.$show_like['user_id'].'">'.$name['name'].'</a>'; else $user_like[] = '<a href="/users/profile.php">Siz</a>'; } $rahmatlar = mysql_result(mysql_query("SELECT COUNT(*) FROM `lib_like` WHERE `id` = {$res['id']}"), 0); }
shuni qayri xato sahifa oqarib qolyapti