';
                $text = ' 
(' . functions::display_date($res['time']) . ')';
                    $res['name'] = functions::checkout($res['name']);
                    $post = functions::checkout($res['sts'], 1, 1);
                    if ($set_user['smileys'])
                        $post = '
'.functions::smileys($post, $res['rights'] >= 1 ? 1 : 0).'
';
$sts_izoh=mysql_num_rows(mysql_query("select * from yosh_status_kom where  type='status' and id_kogo='$res[sid]'"));
$ajoyib_sts=mysql_query("SELECT * FROM `yosh_status_klass` WHERE `type`='status' AND `zakogo`='$res['sid']' AND `kto`='$user_id' LIMIT 1");
$sts1=mysql_query("select * from yosh_status where id='$res['sid']' limit 1");
$zor_sts=mysql_fetch_array($sts1);
if($res['id'] != $user_id) {
if($user_id and mysql_num_rows($ajoyib_sts)==0 and $user_id!=$res['id']){
                        $statik = '