From 5a46aeabe9b7e5af72a48e8659e8797312eec977 Mon Sep 17 00:00:00 2001 From: artweb-job Date: Thu, 23 Aug 2018 12:10:14 +0300 Subject: [PATCH] doc home --- frontend/controllers/SiteController.php | 8 ++++++++ frontend/views/site/index.php | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ frontend/web/favicon.ico | Bin 1150 -> 0 bytes frontend/web/images/favicon.ico | Bin 1150 -> 0 bytes frontend/web/images/map/marker-1.png | Bin 5080 -> 0 bytes frontend/web/js/map.js | 2 +- 6 files changed, 130 insertions(+), 1 deletion(-) delete mode 100644 frontend/web/images/favicon.ico diff --git a/frontend/controllers/SiteController.php b/frontend/controllers/SiteController.php index 4d9da64..a89f8a0 100755 --- a/frontend/controllers/SiteController.php +++ b/frontend/controllers/SiteController.php @@ -117,6 +117,13 @@ ->orderBy('sort') ->limit(3) ->all(); + $doctors = Doctor::find() + ->where(['status' => true]) + ->orderBy([ + 'sort' => SORT_ASC, + 'id' => SORT_ASC + ]) + ->all(); $settings = Settings::getInstance(); return $this->render( 'index', @@ -126,6 +133,7 @@ 'comments' => $comments, 'settings' => $settings, 'package' => $package, + 'docs' => $doctors ] ); } diff --git a/frontend/views/site/index.php b/frontend/views/site/index.php index cf08bb8..87e4cf1 100755 --- a/frontend/views/site/index.php +++ b/frontend/views/site/index.php @@ -125,6 +125,127 @@ JS; + +
+ +
+ + +
+ + + + +
+
+
+ text)){?>
diff --git a/frontend/web/favicon.ico b/frontend/web/favicon.ico index ed64b6c..9b534c7 100755 Binary files a/frontend/web/favicon.ico and b/frontend/web/favicon.ico differ diff --git a/frontend/web/images/favicon.ico b/frontend/web/images/favicon.ico deleted file mode 100644 index ed64b6c..0000000 Binary files a/frontend/web/images/favicon.ico and /dev/null differ diff --git a/frontend/web/images/map/marker-1.png b/frontend/web/images/map/marker-1.png index e528ed6..5b4fe96 100644 Binary files a/frontend/web/images/map/marker-1.png and b/frontend/web/images/map/marker-1.png differ diff --git a/frontend/web/js/map.js b/frontend/web/js/map.js index 4aa24ed..bfabc35 100644 --- a/frontend/web/js/map.js +++ b/frontend/web/js/map.js @@ -80,7 +80,7 @@ function initialize() { } ; var map = new google.maps.Map(document.getElementById("map_canvas"), settings); - var image1 = new google.maps.MarkerImage('/images/markers/marker-we-1.png', new google.maps.Size(68, 80), new google.maps.Point(0, 0), new google.maps.Point(16, 35)); + var image1 = new google.maps.MarkerImage('/images/markers/marker-we-1-new.png', new google.maps.Size(68, 80), new google.maps.Point(0, 0), new google.maps.Point(16, 35)); var markers = []; $('.adress-map span') .each(function() { -- libgit2 0.21.4