diff --git a/views/pages/Profile/Index.php b/views/pages/Profile/Index.php
index 5dd769f..bd4ec7e 100644
--- a/views/pages/Profile/Index.php
+++ b/views/pages/Profile/Index.php
@@ -208,7 +208,7 @@ $userprofile = new User(explode('/', $_SERVER['REQUEST_URI'])[2]);
-
+
diff --git a/views/pages/Search.php b/views/pages/Search.php
index 1fa7da6..0e4b3d3 100644
--- a/views/pages/Search.php
+++ b/views/pages/Search.php
@@ -19,11 +19,11 @@ use App\Services\{Router, Auth, DB, Date};
Результаты поиска
-
+ Найдено изображений: =DB::query('SELECT COUNT(*) FROM photos WHERE user_id=:uid ORDER BY id DESC', array(':uid'=>$_GET['id']))[0]['COUNT(*)']?> · Новый поиск
$_GET['aid']));
+ $photos = DB::query('SELECT * FROM photos WHERE user_id=:uid ORDER BY id DESC', array(':uid'=>$_GET['id']));
foreach ($photos as $p) {
- echo '
+ echo '
@@ -47,18 +47,6 @@ use App\Services\{Router, Auth, DB, Date};
-
-
-
-
-
-
-
-
-
-
-
-
|