From ccc6baf5e6327520d0f8684c53fae5e1b145252c Mon Sep 17 00:00:00 2001 From: vova Date: Tue, 10 May 2022 18:44:51 +0300 Subject: [PATCH] products on main --- frontend/controllers/SiteController.php | 2 -- frontend/views/site/_product.php | 11 +++++++++++ frontend/views/site/index.php | 156 +++++++++++++++++------------------------------------------------------------------------------------------------------------------------------------------- 3 files changed, 28 insertions(+), 141 deletions(-) create mode 100644 frontend/views/site/_product.php diff --git a/frontend/controllers/SiteController.php b/frontend/controllers/SiteController.php index e1c0359..ecb9de2 100755 --- a/frontend/controllers/SiteController.php +++ b/frontend/controllers/SiteController.php @@ -107,8 +107,6 @@ return $this->render( 'index', [ - //'slider' => $slider, - //'objects' => $objects, 'forCompanies'=>$forCompanies, 'forPrivate'=>$forPrivate, 'tiles'=>$tiles, diff --git a/frontend/views/site/_product.php b/frontend/views/site/_product.php new file mode 100644 index 0000000..a940eb1 --- /dev/null +++ b/frontend/views/site/_product.php @@ -0,0 +1,11 @@ +
+ +
\ No newline at end of file diff --git a/frontend/views/site/index.php b/frontend/views/site/index.php index 1484dde..6a7e1e0 100755 --- a/frontend/views/site/index.php +++ b/frontend/views/site/index.php @@ -102,83 +102,22 @@ $coordinates['lon'] = empty($settings->lon) ? 0 : $settings->lon; -
-
+
@@ -194,6 +133,7 @@ $coordinates['lon'] = empty($settings->lon) ? 0 : $settings->lon;
+
@@ -202,75 +142,13 @@ $coordinates['lon'] = empty($settings->lon) ? 0 : $settings->lon;
+
-- libgit2 0.21.4