From c04dab7da0fd63a278ae9d7a5fc6a121e8847e74 Mon Sep 17 00:00:00 2001 From: themohooks <81331307+themohooks@users.noreply.github.com> Date: Sun, 21 Jul 2024 16:58:26 +0300 Subject: [PATCH] fix comments pallete --- app/Models/Comment.php | 9 ++++++++- views/pages/Photo.php | 10 +++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) 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)?>