if (isset($user) && $user['id']!=$ank['id'])
{
$msgn="[url=/info.php?id=$user[id]]$user[nick][/url] mengomentari [url=/status/list.php?id=$statuse[id]]status[/url] anda"; mysql_query("INSERT INTO `jurnal` (`id_user`, `id_kont`, `msg`, `time`) values('0', '$ank[id]', '$msgn', '$time')");}
$anu = mysql_query("SELECT * FROM `statuse_anu` WHERE `id_statuse`='$statuse[id]' ORDER BY `id`");
while ($postanu = mysql_fetch_assoc($anu))
{
$useranu = get_user($postanu['id_user']);
if ($user[id]!=$useranu[id]) {
if ($user[id]==$ank[id]){
$pemberitahuan = ''.$user['nick'].' juga mengomentari [url=/status/list.php?id='.$statuse['id'].']status[/url]nya.';
}
elseif ($user[id]!=$ank[id] && $useranu[id]!=$ank[id]){
$pemberitahuan = ''.$user['nick'].' juga mengomentari [url=/status/list.php?id='.$statuse['id'].']status[/url] '.$ank['nick'].'.';
}
if ($useranu[id]!=$user[id] && $useranu[id]!=$ank[id]) {
mysql_query("INSERT INTO `jurnal` (`id_user`, `id_kont`, `msg`, `time`) VALUES ('0', '$useranu[id]', '$pemberitahuan', '$time')");
}
}
}
