Просмотр поста

.
ReaLs

у меня уведомления из кармы не работают,
вот я прописал там

if($type) {
            $color = 'green';
            $type_points = '+';
           } else {
           $color = 'red';
           $type_points = '-';
           }
           $link = 'http://site.ru/str/karma.php?id=' . $id . '&type=' . $type .'';
           $msg = '<img src="../images/' . $type_points . '.gif" width="16" height="16" alt="' . $type_points . '" /> '.$login.'  поставил тебе [' . $color . ']' . $type_points . $points . '[/' . $color . '] в карму';
                        mysql_query("INSERT INTO `myjornal` SET `login`='".$res['name']."', `text1`='" . mysql_real_escape_string($msg) . "', `time`='".$realtime."', `modul`='6', `link`='".$link."', `by`='$login'");
                        echo '<div class="gmenu">Выполнено!<br /><a href="anketa.php?id=' . $id . '">Продолжить</a></div>';