From cb2d7dd5b43e664341422b6d69a1bf6cc02b76ab Mon Sep 17 00:00:00 2001 From: themohooks <81331307+themohooks@users.noreply.github.com> Date: Mon, 8 Jul 2024 23:04:37 +0300 Subject: [PATCH] fix logout --- views/components/Navbar.php | 2 +- views/pages/Search.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/views/components/Navbar.php b/views/components/Navbar.php index 9610aa4..5bb7c43 100644 --- a/views/components/Navbar.php +++ b/views/components/Navbar.php @@ -86,7 +86,7 @@ if (NGALLERY['root']['title'] != null) {
  • Личные сообщения
  • Мои фотографии
  • Избранные снимки
  • -
  • Выход
  • +
  • Выход
  • diff --git a/views/pages/Search.php b/views/pages/Search.php index 973ae20..1fa7da6 100644 --- a/views/pages/Search.php +++ b/views/pages/Search.php @@ -21,7 +21,7 @@ use App\Services\{Router, Auth, DB, Date};

    Результаты поиска

    Найдено изображений: 12  ·  Новый поиск

    $_GET['id'])); + $photos = DB::query('SELECT * FROM photos WHERE user_id=:uid ORDER BY id DESC', array(':uid'=>$_GET['aid'])); foreach ($photos as $p) { echo '