$uid )); $uid = $uid['login']; } \Core\Database::query( 'INSERT INTO `chat` (`to`,`time`,`type`,`text`,`color`,`typeTime`,`new`) VALUES ( :to , :time , :type , :text , :color , :typeTime , :new )', array( 'to' => $uid, 'time' => OK, 'type' => 6, 'text' => $text, 'color' => 'Black', 'typeTime' => 0, 'new' => 1 ) ); } } ?>