From f3e18468a078ec0d6917baa044d895696975c889 Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Sat, 7 Mar 2015 11:17:22 +0300 Subject: [PATCH] Thumbs navigator for Fotorama --- ground/views/point.php | 83 ++++++++++++++++++------------------------ 1 file changed, 36 insertions(+), 47 deletions(-) diff --git a/ground/views/point.php b/ground/views/point.php index c25a354..eff09db 100644 --- a/ground/views/point.php +++ b/ground/views/point.php @@ -6,8 +6,8 @@
Координаты:  - lat > 0 ? 'N' : 'S' ?>lat),5,'.','') ?>° - lng > 0 ? 'E' : 'W' ?>lng),5,'.','') ?>° + lat > 0 ? 'N' : 'S' ?>lat), 5, '.', '') ?>° + lng > 0 ? 'E' : 'W' ?>lng), 5, '.', '') ?>°   /   @@ -19,54 +19,43 @@
- 4) - { - for ($index = 0; $index < 4; $index++) - { - print $text[$index]; + 4) { + for ($index = 0; $index < 4; $index++) { + print $text[$index]; + } + } else { + print $point->descriptionHtml; } - } else - { - print $point->descriptionHtml; - } - ?> + ?> - img): ?> -

- - - - - - -
-
- img): ?> - - - - - - - - -
-
-
-
-

- + img): ?> +

+
+
+ img): ?> + + + + + + + + +
+
+
+
+

+ - 3) - { - for ($index = $index; $index < count($text); $index++) - { - print $text[$index] . ' '; + 3) { + for ($index = $index; $index < count($text); $index++) { + print $text[$index] . ' '; + } } - } - ?> + ?>

@@ -77,7 +66,7 @@ [ - в закладках ] [ - нравится ] - [ authorUser->nick ?> - authorUser->getPointsCount() ?> ] + [ authorUser->nick ?> - authorUser->getPointsCount() ?> ] isAdmin == 1): ?> [ источник: source ?> ]