Файл: user/nwmes.php
Строк: 13
<?php
//-----Подключаем функции-----//
require_once ('../system/function.php');
$msg = mysql_query("SELECT * FROM `message` WHERE `komy` = '".$user['id']."' and `readlen` = '0' ORDER BY `time` DESC LIMIT 1");
while($m = mysql_fetch_assoc($msg))
{
echo '<div class="arr" style="background: #4d4d4d; padding: 10px; margin:5px; opacity: 0.9; filter: alpha(Opacity=70);color: #fff; border-radius: 6px; width: 260px;"> <b>Новое сообщение</b><br /><table><tr><td style="vertical-align:top; width:50px;"></td> <td style="vertical-align:top; display: block;overflow: hidden; max-height:52px; "><b style="color:#8dadef">'.nick($m['kto']).' , </b>';
echo ''.bb(smile($m['text'])).'</a></td></tr></table></div>';
}
?>