diff --git a/app/Models/Comment.php b/app/Models/Comment.php index a103d29..dc858f1 100644 --- a/app/Models/Comment.php +++ b/app/Models/Comment.php @@ -7,14 +7,21 @@ class Comment { public $commentid; public $c; + public $class; function __construct($user_id) { $this->c = $user_id; } + public function class($class) { + $this->class = $class; + } public function i() { $user = new User($this->c['user_id']); - echo '
+ Цитировать + · + Ссылка
Комментарии · =count($comments)?>