From 42730bac080fd04d7c223b238e6b15fc94b44798 Mon Sep 17 00:00:00 2001 From: themohooks <81331307+themohooks@users.noreply.github.com> Date: Tue, 15 Oct 2024 20:39:44 +0300 Subject: [PATCH] Vehicles Search + Vehicles Pin + Faces Recognition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit сегодня день обновлений --- app/Controllers/Api/Vehicles/Load.php | 39 +++- app/Controllers/ApiController.php | 4 + app/Core/Routes.php | 1 + app/Models/Vote.php | 1 - static/css/style.css | 30 +++ static/js/core_lk.js | 116 +++++++++-- static/js/selector.js | 211 ++++++++++++++++++++ static/js/selector2.js | 97 ++++++++++ static/js/tablesort.js | 193 +++++++++++++++++++ views/components/LoadHead.php | 3 + views/pages/Photo.php | 2 + views/pages/Profile/UploadPhoto.php | 264 +++++++++++++++++++++++++- views/pages/Vehicle.php | 37 ++-- views/pages/t.php | 94 ++++++++- 14 files changed, 1038 insertions(+), 54 deletions(-) create mode 100644 static/js/selector.js create mode 100644 static/js/selector2.js create mode 100644 static/js/tablesort.js diff --git a/app/Controllers/Api/Vehicles/Load.php b/app/Controllers/Api/Vehicles/Load.php index 693f8e2..3fcebd5 100644 --- a/app/Controllers/Api/Vehicles/Load.php +++ b/app/Controllers/Api/Vehicles/Load.php @@ -1,11 +1,11 @@ explode('/', $_SERVER['REQUEST_URI'])[4])); + $entities_data = DB::query('SELECT * FROM entities_data WHERE (LOWER(title) LIKE :value) OR (LOWER(id) LIKE :value) AND entityid=:pid', array(':pid' => $_GET['type'], ':value'=>'%'.$_GET['num'].'%')); + echo '
ID | +Название | +Примечание | +Тип | +
---|---|---|---|
'.$e['id'].' + | +hhhhh | ++ '.$e['comment'].' + | ++ '.$vehicle->i('title').' + | +
Предложить медиа на публикациюВаш текущий индекс загрузки: = $user->i('uploadindex') ?> @@ -261,9 +263,124 @@ $user = new User(Auth::userid()); JPG, JPEG, PNG, GIF, WEBP, MP4, AVI, 3GP, MKVДля наибольшей совместимости, ваше видео будет обработано в формат MP4 в кодеке H264 - + |
|
Дата съёмки: | @@ -502,7 +619,7 @@ $user = new User(Auth::userid()); '.$g['title'].''; + echo ''; } ?> @@ -544,7 +661,7 @@ $user = new User(Auth::userid()); |
- + | @@ -552,8 +669,141 @@ $user = new User(Auth::userid()); |
'.$vb['name'].': | 1975 |
' . $vb['name'] . ': | ' . $vehicledatavariables[$num]['value'] . ' |