From 555c4968f3cdf929c139ff051f89ec557efbc894 Mon Sep 17 00:00:00 2001 From: dozer111 Date: Mon, 2 Jul 2018 12:23:24 +0300 Subject: [PATCH] Изменил фото и надпись для "Наши партнеры" в site/index --- common/messages/en/app.php | 4 ++++ common/messages/ru/app.php | 26 +++++++++++++++++++------- common/messages/ua/app.php | 1 + frontend/views/site/index.php | 27 +++++---------------------- frontend/web/img/customer-1.png | Bin 24273 -> 0 bytes frontend/web/img/customer-10.png | Bin 0 -> 13684 bytes frontend/web/img/customer-11.png | Bin 0 -> 16907 bytes frontend/web/img/customer-2.jpg | Bin 0 -> 221302 bytes frontend/web/img/customer-2.png | Bin 34701 -> 0 bytes frontend/web/img/customer-2_old.png | Bin 0 -> 34701 bytes frontend/web/img/customer-3.jpg | Bin 0 -> 14628 bytes frontend/web/img/customer-3.png | Bin 13326 -> 0 bytes frontend/web/img/customer-3_old.png | Bin 0 -> 13326 bytes frontend/web/img/customer-4.png | Bin 19331 -> 0 bytes frontend/web/img/customer-5.jpeg | Bin 0 -> 18024 bytes frontend/web/img/customer-5.png | Bin 47252 -> 0 bytes frontend/web/img/customer-5_old.png | Bin 0 -> 47252 bytes frontend/web/img/customer-6.jpeg | Bin 0 -> 30692 bytes frontend/web/img/customer-6.png | Bin 47664 -> 0 bytes frontend/web/img/customer-6_old.png | Bin 0 -> 47664 bytes frontend/web/img/customer-7.png | Bin 0 -> 35990 bytes frontend/web/img/customer-8.png | Bin 0 -> 52331 bytes frontend/web/img/customer-9.jpg | Bin 0 -> 48022 bytes frontend/widgets/ParthnersList.php | 40 ++++++++++++++++++++++++++++++++++++++++ frontend/widgets/views/_parthnerList.php | 13 +++++++++++++ 25 files changed, 82 insertions(+), 29 deletions(-) mode change 100755 => 100644 frontend/web/img/customer-1.png create mode 100644 frontend/web/img/customer-10.png create mode 100644 frontend/web/img/customer-11.png create mode 100644 frontend/web/img/customer-2.jpg delete mode 100755 frontend/web/img/customer-2.png create mode 100755 frontend/web/img/customer-2_old.png create mode 100644 frontend/web/img/customer-3.jpg delete mode 100755 frontend/web/img/customer-3.png create mode 100755 frontend/web/img/customer-3_old.png mode change 100755 => 100644 frontend/web/img/customer-4.png create mode 100644 frontend/web/img/customer-5.jpeg delete mode 100755 frontend/web/img/customer-5.png create mode 100755 frontend/web/img/customer-5_old.png create mode 100644 frontend/web/img/customer-6.jpeg delete mode 100755 frontend/web/img/customer-6.png create mode 100755 frontend/web/img/customer-6_old.png create mode 100644 frontend/web/img/customer-7.png create mode 100644 frontend/web/img/customer-8.png create mode 100644 frontend/web/img/customer-9.jpg create mode 100644 frontend/widgets/ParthnersList.php create mode 100644 frontend/widgets/views/_parthnerList.php diff --git a/common/messages/en/app.php b/common/messages/en/app.php index 9dbb321..9858671 100644 --- a/common/messages/en/app.php +++ b/common/messages/en/app.php @@ -40,6 +40,10 @@ 'Читать далее' => 'Read more', 'Close' => 'Close', + 'Our parthners' => 'Our parthners', + + + 'Artbox about' =>'Openeurope is your reliable partner in Europe. Openeurope (in Lithuanian - Atvira Europa) is a non-profit public organization. The organization\'s goal is to create and support economic and cultural ties between Lithuania, as well as other countries of Europe, and the CIS countries. diff --git a/common/messages/ru/app.php b/common/messages/ru/app.php index 389f24d..2767c0f 100644 --- a/common/messages/ru/app.php +++ b/common/messages/ru/app.php @@ -1,9 +1,13 @@ 'Главная', - 'Contacts' => 'Контакты', + + 'Blog' => 'Блог', + 'Company Blog' => 'Блог компании', + + 'Home' => 'Главная', + 'Contacts' => 'Контакты', 'About' => 'О нас', - 'Blog' => 'Блог', + 'Events' => 'Мероприятия', 'You question' => 'Сообщение', 'Contact us!' => 'Свяжитесь с нами', @@ -13,7 +17,7 @@ return [ 'News' => 'Новости', 'Media' => 'Медиа', 'More' => 'Подробнее', - 'Company Blog' => 'Блог компании', + 'Close' => 'Закрыть', 'Name' => 'Имя', 'Phone' => 'Телефон', @@ -27,17 +31,25 @@ return [ 'Without category' =>'Без категории', 'No results found' =>'Ничего не найдено', 'Form sends success Header' => 'Форма успешно отправлена ', - 'Our advantages' => 'Наши преимущества', + + + 'Our advantages' => 'Наши преимущества', 'Our clients' =>'Наши клиенты', + 'Our parthners' => 'Наши партнёры', + 'Empty dataProvider' => 'Ничего не найдено', + + + 'Send' => 'Отправить', + 'Send Message' => 'Отправить сообщение', 'Empty field' => 'Поле является обязательным для заполнения', "Search" => 'Поиск', 'Search by tag' => 'Поиск по тегам', "Search by article" => 'Поиск по статьям', 'Wrong email' => 'Поле Email не валидное', 'Message' => 'Сообщение', - 'Send Message' => 'Отправить сообщение', - 'Empty dataProvider' => 'Ничего не найдено', + + 'Artbox about' => 'Openeurope — Ваш надежный партнер в Европе. diff --git a/common/messages/ua/app.php b/common/messages/ua/app.php index 36fe8ab..29909c5 100644 --- a/common/messages/ua/app.php +++ b/common/messages/ua/app.php @@ -31,6 +31,7 @@ return [ 'Close' => 'Закрити', 'Our advantages' => 'Наші переваги', 'Our clients' =>'Наші клієнти', + 'Our parthners' => 'Наші партнери', 'Empty dataProvider' => 'Нічого не знайдено', 'Search' =>'Пошук', 'Search by tag' => 'Пошук по тегам', diff --git a/frontend/views/site/index.php b/frontend/views/site/index.php index 02aa3b8..df0cf21 100755 --- a/frontend/views/site/index.php +++ b/frontend/views/site/index.php @@ -7,6 +7,7 @@ use artbox\core\helpers\ImageHelper; use artbox\core\helpers\Url; + use frontend\widgets\ParthnersList; $this->title = 'My Yii Application'; ?> @@ -184,29 +185,10 @@ _________________________________________________________ -->
-

+

- - + +
@@ -269,5 +251,6 @@ _________________________________________________________ -->
+ diff --git a/frontend/web/img/customer-1.png b/frontend/web/img/customer-1.png old mode 100755 new mode 100644 index 131bef2..fda6a1d Binary files a/frontend/web/img/customer-1.png and b/frontend/web/img/customer-1.png differ diff --git a/frontend/web/img/customer-10.png b/frontend/web/img/customer-10.png new file mode 100644 index 0000000..44d456c Binary files /dev/null and b/frontend/web/img/customer-10.png differ diff --git a/frontend/web/img/customer-11.png b/frontend/web/img/customer-11.png new file mode 100644 index 0000000..c25d382 Binary files /dev/null and b/frontend/web/img/customer-11.png differ diff --git a/frontend/web/img/customer-2.jpg b/frontend/web/img/customer-2.jpg new file mode 100644 index 0000000..f59ae8e Binary files /dev/null and b/frontend/web/img/customer-2.jpg differ diff --git a/frontend/web/img/customer-2.png b/frontend/web/img/customer-2.png deleted file mode 100755 index aefb5b0..0000000 Binary files a/frontend/web/img/customer-2.png and /dev/null differ diff --git a/frontend/web/img/customer-2_old.png b/frontend/web/img/customer-2_old.png new file mode 100755 index 0000000..aefb5b0 Binary files /dev/null and b/frontend/web/img/customer-2_old.png differ diff --git a/frontend/web/img/customer-3.jpg b/frontend/web/img/customer-3.jpg new file mode 100644 index 0000000..4657124 Binary files /dev/null and b/frontend/web/img/customer-3.jpg differ diff --git a/frontend/web/img/customer-3.png b/frontend/web/img/customer-3.png deleted file mode 100755 index 69cd03e..0000000 Binary files a/frontend/web/img/customer-3.png and /dev/null differ diff --git a/frontend/web/img/customer-3_old.png b/frontend/web/img/customer-3_old.png new file mode 100755 index 0000000..69cd03e Binary files /dev/null and b/frontend/web/img/customer-3_old.png differ diff --git a/frontend/web/img/customer-4.png b/frontend/web/img/customer-4.png old mode 100755 new mode 100644 index c906944..7cad170 Binary files a/frontend/web/img/customer-4.png and b/frontend/web/img/customer-4.png differ diff --git a/frontend/web/img/customer-5.jpeg b/frontend/web/img/customer-5.jpeg new file mode 100644 index 0000000..737eccf Binary files /dev/null and b/frontend/web/img/customer-5.jpeg differ diff --git a/frontend/web/img/customer-5.png b/frontend/web/img/customer-5.png deleted file mode 100755 index bdd6625..0000000 Binary files a/frontend/web/img/customer-5.png and /dev/null differ diff --git a/frontend/web/img/customer-5_old.png b/frontend/web/img/customer-5_old.png new file mode 100755 index 0000000..bdd6625 Binary files /dev/null and b/frontend/web/img/customer-5_old.png differ diff --git a/frontend/web/img/customer-6.jpeg b/frontend/web/img/customer-6.jpeg new file mode 100644 index 0000000..2636770 Binary files /dev/null and b/frontend/web/img/customer-6.jpeg differ diff --git a/frontend/web/img/customer-6.png b/frontend/web/img/customer-6.png deleted file mode 100755 index b9b6797..0000000 Binary files a/frontend/web/img/customer-6.png and /dev/null differ diff --git a/frontend/web/img/customer-6_old.png b/frontend/web/img/customer-6_old.png new file mode 100755 index 0000000..b9b6797 Binary files /dev/null and b/frontend/web/img/customer-6_old.png differ diff --git a/frontend/web/img/customer-7.png b/frontend/web/img/customer-7.png new file mode 100644 index 0000000..b4b776f Binary files /dev/null and b/frontend/web/img/customer-7.png differ diff --git a/frontend/web/img/customer-8.png b/frontend/web/img/customer-8.png new file mode 100644 index 0000000..d2a3ef9 Binary files /dev/null and b/frontend/web/img/customer-8.png differ diff --git a/frontend/web/img/customer-9.jpg b/frontend/web/img/customer-9.jpg new file mode 100644 index 0000000..c2565e3 Binary files /dev/null and b/frontend/web/img/customer-9.jpg differ diff --git a/frontend/widgets/ParthnersList.php b/frontend/widgets/ParthnersList.php new file mode 100644 index 0000000..cc18e75 --- /dev/null +++ b/frontend/widgets/ParthnersList.php @@ -0,0 +1,40 @@ +filesList=preg_grep('$^customer-\d{1,3}\.(png|jpg|jpeg)$',scandir('../web/img',0)); + + $this->filesList=[ + ['Www.uspp.ua​','customer-1.png'], + ['http://kiev-chamber.org.ua','customer-2.jpg'], + ['www.traidenis.lt','customer-3.jpg'], + ['www.bod.lt','customer-4.png' ], + ['www.health.gov.ua','customer-5.jpeg'], + ['http://www.medved.kiev.ua ','customer-6.jpeg'], + ['http://www.unhpa.com.ua ','customer-7.png'], + ['https://ukrvodokanal.in.ua ','customer-8.png',], + ['http://soyuz-corp.com.ua ','customer-9.jpg',], + ['http://www.ltava.com.ua ','customer-10.png',], + ['http://ittf.kiev.ua ','customer-11.png'], + ]; + } + + + public function run(){ + parent::run(); + return $this->render('_parthnerList',['data'=>$this->filesList]); + } +} + diff --git a/frontend/widgets/views/_parthnerList.php b/frontend/widgets/views/_parthnerList.php new file mode 100644 index 0000000..33a4fb6 --- /dev/null +++ b/frontend/widgets/views/_parthnerList.php @@ -0,0 +1,13 @@ + + + \ No newline at end of file -- libgit2 0.21.4