Commit 91ae643c8ce65e6c7420e1b0ab9a3781460d5d2c

Authored by Administrator
1 parent 785e76f4

upload project

.htaccess
... ... @@ -6,8 +6,6 @@
6 6  
7 7 </IfModule>
8 8  
9   -
10   -
11 9 <IfModule mod_rewrite.c>
12 10  
13 11 RewriteBase /
... ...
backend/views/importers/index.php
... ... @@ -30,23 +30,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
30 30 'name',
31 31 'name_price',
32 32 'currency_id',
33   - // 'delivery',
34   - // 'email:email',
35   - // 'info:ntext',
36   - // 'active',
37   - // 'PARSER_IS_ACTIVE',
38   - // 'PARSER_COLUMN_COUNT',
39   - // 'PARSER_FIELD_BRAND',
40   - // 'PARSER_FIELD_ARTICLE',
41   - // 'PARSER_FIELD_ARTICLE_PREFIX',
42   - // 'PARSER_FIELD_PRICE',
43   - // 'PARSER_FIELD_DESCR',
44   - // 'PARSER_FIELD_BOX',
45   - // 'PARSER_FIELD_ADD_BOX',
46   - // 'PARSER_FIELD_GROUP_RG',
47   - // 'PARSER_FIELD_SIGN',
48   - // 'PARSER_FIELD_MULTIPLIER',
49   - // 'price_date_update',
  33 +
50 34  
51 35 ['class' => 'yii\grid\ActionColumn'],
52 36 ],
... ...
backend/views/layouts/column.php
... ... @@ -299,7 +299,6 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
299 299 ['label' => 'Администраторы', 'url' => ['user/index']],
300 300 ['label' => 'Команда', 'url' => ['team/index']],
301 301 ['label' => 'Группы команды', 'url' => ['team-group/index']],
302   - ['label' => 'Цены для менеджера', 'url' => ['team-group/index']],
303 302 ],
304 303 ],
305 304 ['label' => 'Ценообразование', 'url' => ['#'], 'items' => [
... ...
common/models/Accounts.php
... ... @@ -46,6 +46,7 @@ use Yii;
46 46 */
47 47 class Accounts extends \yii\db\ActiveRecord
48 48 {
  49 +
49 50 /**
50 51 * @inheritdoc
51 52 */
... ...
frontend/assets/InternalAsset.php
... ... @@ -19,6 +19,7 @@ class InternalAsset extends AssetBundle
19 19 public $baseUrl = '@web';
20 20 public $jsOptions = ['position' => \yii\web\View::POS_HEAD];
21 21 public $css = [
  22 + 'css/main.css',
22 23 'css/general_styles.css',
23 24 'css/style/selectize.css',
24 25 'css/perfect-scrollbar/css/perfect-scrollbar.css',
... ...
frontend/assets/OuterAsset.php
... ... @@ -19,6 +19,7 @@ class OuterAsset extends AssetBundle
19 19 public $baseUrl = '@web';
20 20 public $jsOptions = ['position' => \yii\web\View::POS_HEAD];
21 21 public $css = [
  22 + 'css/main.css',
22 23 'css/style.css',
23 24 'css/style/selectize.css',
24 25 'css/perfect-scrollbar/css/perfect-scrollbar.css',
... ...
frontend/controllers/SiteController.php
... ... @@ -18,6 +18,7 @@ use yii\filters\AccessControl;
18 18 */
19 19 class SiteController extends Controller
20 20 {
  21 +
21 22 /**
22 23 * @inheritdoc
23 24 */
... ... @@ -86,11 +87,7 @@ class SiteController extends Controller
86 87 $this->layout = '/internal';
87 88 return $this->render('404');
88 89 }
89   - public function actionAboutCompany()
90   - {
91   - $this->layout = '/internal';
92   - return $this->render('about_company');
93   - }
  90 +
94 91  
95 92 public function actionArticle()
96 93 {
... ... @@ -329,6 +326,7 @@ class SiteController extends Controller
329 326 */
330 327 public function actionAbout()
331 328 {
  329 + $this->layout = '/internal';
332 330 return $this->render('about');
333 331 }
334 332  
... ...
frontend/views/layouts/internal.php
... ... @@ -7,136 +7,6 @@ use yii\helpers\Html;
7 7 /* @var $content string */
8 8 $this->beginContent('@app/views/layouts/main.php');
9 9 ?>
10   -
11   - <div class="yellow_block">
12   - <div class="upper_menu">
13   - <ul>
14   - <li><a href="">О компании</a></li>
15   - <li><a href="">Каталоги</a></li>
16   - <li><a href="">Оптовикам</a></li>
17   - <li><a href="">Поставщикам</a></li>
18   - <li><a href="">Оплата и доставка</a></li>
19   - <li><a href="">Контакты</a></li>
20   -
21   - </ul>
22   - <div class="squere" style="background-color: transparent;">
23   - <img src="/images/icon1.png">
24   - <a href="" class="our_project" id="go_project">Наши проекты</a>
25   - <img src="/images/icon2.png" class="arrow_down" style="transform: rotate(0deg);">
26   - <div id="modal_form_project">
27   - <span id="modal_close"></span>
28   - <div class="modal_form_project_first">
29   - <img src="/images/logo-lr-small.png">
30   - <a href="">lr.italauto.com.ua</a>
31   - <h4>Запчасти на Land Rover<br> и Range Rover</h4>
32   - <ul style="margin-top: -13px;">
33   - <li>Оригинальные запчасти</li>
34   - <li>Сертифицированый продавец</li>
35   - <li>Более 300 000 товаров</li>
36   - </ul>
37   - </div>
38   -
39   - <div class="modal_form_project_second">
40   - <img src="/images/logo-fiat-small.png">
41   - <a href="">lr.italauto.com.ua</a>
42   - <h4 style="margin-right: 116px!important;
43   - margin-top: -75px;">Запчасти на Fiat</h4>
44   - <ul style="margin-top: -47px;">
45   - <li>Оригинальные запчасти</li>
46   - <li>Сертифицированый продавец</li>
47   - <li>Более 300 000 товаров</li>
48   - </ul>
49   - </div>
50   -
51   - <div class="modal_form_project_third">
52   - <img src="/images/logo-mersedes-small.png">
53   - <a href="">lr.italauto.com.ua</a>
54   - <h4 style="
55   - margin-right: 126px;
56   - margin-top: -83px;
57   - ">Запчасти на<br> Mercedes Benz</h4>
58   - <ul style="
59   - margin-top: -37px;
60   - ">
61   - <li>Оригинальные запчасти</li>
62   - <li>Сертифицированый продавец</li>
63   - <li>Более 300 000 товаров</li>
64   - </ul>
65   - </div>
66   -
67   - </div>
68   - </div>
69   - </div>
70   - </div>
71   -
72   - <div class="contacts">
73   - <img src="/images/logo.png">
74   - <!-- Split button -->
75   -
76   - <!-- <select class='dropdown_contacts'>
77   - <option value="mts" data-image="/images/mts.png"></option>
78   - <option value="life"></option>
79   - <option value="kyivstar"></option>
80   - </select> -->
81   - <p class="number"><span class="number_space">050 </span>-0400-192</p>
82   - <div class="phone_select">
83   - <img src="/images/mts.png" class="mts">
84   - </div>
85   - <div class="phone_control"></div>
86   - <div class="phone_placeholder">
87   - <img src="/images/mts.png" class="mts">
88   - <img src="/images/life_contacts.png" class="life">
89   - <img src="/images/kyiv_contacts.png" class="kyiv">
90   -
91   - </div>
92   -
93   - <input type="telephone" placeholder="(0XX) XXX-XX-XX" id="get_telephone">
94   - <button class="orange" data-toggle="modal" data-target="#myModal" id="get_user_number">Обратный звонок</button>
95   - <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
96   - <div class="modal-dialog" role="document">
97   - <div class="modal-content">
98   - <div class="modal-header">
99   - <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><img src="/images/close_form.png"><span></span></span></button>
100   - </div>
101   - <div class="modal-body">
102   - <div id="modal_form_call">
103   -
104   - <form method="get" class="cmxform" action="" id="call_form">
105   - <fieldset>
106   - <h3>Обратный звонок</h3>
107   -
108   -
109   -
110   - <input name="name" id="name" placeholder="Имя" minlength="2" type="text" required=""><span class="star">*</span>
111   - <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class="star1">*</span>
112   - <button class="purple" type="submit" value="Submit">Запросить</button>
113   -
114   - </fieldset>
115   - </form>
116   -
117   -
118   -
119   - </div>
120   - </div>
121   -
122   - </div>
123   - </div>
124   - </div>
125   - <div class="user">
126   - <img src="/images/user.png">
127   - <p>Войти</p>
128   - <a href="" class="own_page" id="go">Личный кабинет</a>
129   - </div>
130   -
131   - <div class="box">
132   - <img src="/images/korzina.png">
133   - <p>Корзина</p>
134   - <a href="" class="own_page">7 товаров</a>
135   - </div>
136   -
137   -
138   - </div>
139   -
140 10 <nav class="purple_menu1">
141 11 <div class="menu_block_center2" style="display: none;">
142 12 <img src="/images/logo-big.png" id="theImg">
... ... @@ -609,6 +479,15 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
609 479  
610 480 </nav>
611 481  
  482 + <div class="vin">
  483 +<!-- <a href="" class="navigation">Италавто</a>-->
  484 +<!-- <img src="/images/arrow_dots.png" class='arrow_go'>-->
  485 +<!-- <span>О компании</span>-->
  486 +
  487 + <?= Breadcrumbs::widget([
  488 + 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
  489 + ]) ?>
  490 + </div>
612 491  
613 492 <?= $content ?>
614 493  
... ... @@ -914,5 +793,4 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
914 793 <script type="text/javascript">
915 794 $('#registration_form').validate();
916 795 </script>
917   -
918 796 <?php $this->endContent() ?>
919 797 \ No newline at end of file
... ...
frontend/views/layouts/main.php
... ... @@ -9,7 +9,8 @@ use yii\bootstrap\NavBar;
9 9 use yii\widgets\Breadcrumbs;
10 10 use frontend\assets\AppAsset;
11 11 use common\widgets\Alert;
12   -
  12 +use \yii\widgets\Menu;
  13 +use \yii\helpers\Url;
13 14  
14 15 ?>
15 16 <?php $this->beginPage() ?>
... ... @@ -26,7 +27,137 @@ use common\widgets\Alert;
26 27 </head>
27 28 <body>
28 29 <?php $this->beginBody() ?>
  30 +<div class="yellow_block">
  31 + <div class="upper_menu">
  32 + <?php
  33 + echo Menu::widget([
  34 + 'items' => [
  35 + ['label' => 'О компании', 'url'=>Url::toRoute('/site/about')],
  36 + ['label' => 'Каталоги', 'url'=>'/page/FAQ'],
  37 + ['label' => 'Оптовикам','url'=>'/events/index'],
  38 + ['label' => 'Поставщикам','url'=>'/articles/index'],
  39 + ['label' => 'Оплата и доставка', 'url'=>Url::toRoute('/site/contact')],
  40 + ['label' => 'Контакты', 'url'=>Url::toRoute('/site/contact')],
  41 + ],
  42 + ]);
  43 + ?>
  44 + <div class="squere">
  45 + <img src="/images/icon1.png">
  46 + <a href="" class="our_project" id="go_project">Наши проекты</a>
  47 + <img src="/images/icon2.png" class="arrow_down" style="transform: rotate(0deg);">
  48 + <div id="modal_form_project">
  49 + <span id="modal_close"></span>
  50 + <div class="modal_form_project_first">
  51 + <img src="/images/logo-lr-small.png">
  52 + <a href="">lr.italauto.com.ua</a>
  53 + <h4>Запчасти на Land Rover<br> и Range Rover</h4>
  54 + <ul style="margin-top: -13px;">
  55 + <li>Оригинальные запчасти</li>
  56 + <li>Сертифицированый продавец</li>
  57 + <li>Более 300 000 товаров</li>
  58 + </ul>
  59 + </div>
  60 +
  61 + <div class="modal_form_project_second">
  62 + <img src="/images/logo-fiat-small.png">
  63 + <a href="">lr.italauto.com.ua</a>
  64 + <h4 style="margin-right: 116px!important;
  65 + margin-top: -75px;">Запчасти на Fiat</h4>
  66 + <ul style="margin-top: -47px;">
  67 + <li>Оригинальные запчасти</li>
  68 + <li>Сертифицированый продавец</li>
  69 + <li>Более 300 000 товаров</li>
  70 + </ul>
  71 + </div>
  72 +
  73 + <div class="modal_form_project_third">
  74 + <img src="/images/logo-mersedes-small.png">
  75 + <a href="">lr.italauto.com.ua</a>
  76 + <h4 style="
  77 + margin-right: 126px;
  78 + margin-top: -83px;
  79 + ">Запчасти на<br> Mercedes Benz</h4>
  80 + <ul style="
  81 + margin-top: -37px;
  82 + ">
  83 + <li>Оригинальные запчасти</li>
  84 + <li>Сертифицированый продавец</li>
  85 + <li>Более 300 000 товаров</li>
  86 + </ul>
  87 + </div>
  88 +
  89 + </div>
  90 + </div>
  91 + </div>
  92 +</div>
  93 +
  94 +<div class="contacts">
  95 + <img src="/images/logo.png">
  96 + <!-- Split button -->
  97 +
  98 + <!-- <select class='dropdown_contacts'>
  99 + <option value="mts" data-image="/images/mts.png"></option>
  100 + <option value="life"></option>
  101 + <option value="kyivstar"></option>
  102 + </select> -->
  103 + <p class="number"><span class="number_space">050 </span>-0400-192</p>
  104 + <div class="phone_select">
  105 + <img src="/images/mts.png" class="mts">
  106 + </div>
  107 + <div class="phone_control"></div>
  108 + <div class="phone_placeholder">
  109 + <img src="/images/mts.png" class="mts">
  110 + <img src="/images/life_contacts.png" class="life">
  111 + <img src="/images/kyiv_contacts.png" class="kyiv">
  112 +
  113 + </div>
  114 +
  115 + <input type="telephone" placeholder="(0XX) XXX-XX-XX" id='get_telephone'>
  116 + <button class="orange" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal" id='get_user_number'>Обратный звонок</button>
  117 + <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  118 + <div class="modal-dialog" role="document">
  119 + <div class="modal-content" >
  120 + <div class="modal-header">
  121 + <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><img src="/images/close_form.png"><span></button>
  122 + </div>
  123 + <div class="modal-body">
  124 + <div id="modal_form_call" >
  125 +
  126 + <form method="get" class="cmxform" action="" id="call_form">
  127 + <fieldset>
  128 + <h3>Обратный звонок</h3>
  129 +
  130 +
  131 +
  132 + <input name="name" id="name" placeholder="Имя" minlength="2" type="text" required=""><span class='star'>*</span>
  133 + <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class='star1'>*</span>
  134 + <button class="purple" type="submit" value="Submit">Запросить</button>
  135 +
  136 + </fieldset>
  137 + </form>
  138 +
  139 +
  140 +
  141 + </div>
  142 + </div>
  143 +
  144 + </div>
  145 + </div>
  146 + </div>
  147 + <div class="user">
  148 + <img src="/images/user.png">
  149 + <p>Войти</p>
  150 + <a href="" class="own_page" id="go">Личный кабинет</a>
  151 + </div>
  152 +
  153 + <div class="box">
  154 + <img src="/images/korzina.png">
  155 + <p>Корзина</p>
  156 + <a href="" class="own_page">7 товаров</a>
  157 + </div>
  158 +
29 159  
  160 +</div>
30 161 <?= $content ?>
31 162  
32 163 <?php $this->endBody() ?>
... ...
frontend/views/layouts/outer.php
... ... @@ -2,153 +2,28 @@
2 2  
3 3 use yii\widgets\Breadcrumbs;
4 4 use yii\helpers\Html;
  5 +use \yii\widgets\Menu;
  6 +use \yii\helpers\Url;
5 7  
6 8 \frontend\assets\OuterAsset::register($this);
7 9 /* @var $content string */
8 10 $this->beginContent('@app/views/layouts/main.php');
9 11 ?>
10 12  
11   - <div class="yellow_block">
12   - <div class="upper_menu">
13   - <ul>
14   - <li><a href="">О компании</a></li>
15   - <li><a href="">Каталоги</a></li>
16   - <li><a href="">Оптовикам</a></li>
17   - <li><a href="">Поставщикам</a></li>
18   - <li><a href="">Оплата и доставка</a></li>
19   - <li><a href="">Контакты</a></li>
20   -
21   - </ul>
22   - <div class="squere">
23   - <img src="images/icon1.png">
24   - <a href="" class="our_project" id="go_project">Наши проекты</a>
25   - <img src="images/icon2.png" class="arrow_down" style="transform: rotate(0deg);">
26   - <div id="modal_form_project">
27   - <span id="modal_close"></span>
28   - <div class="modal_form_project_first">
29   - <img src="images/logo-lr-small.png">
30   - <a href="">lr.italauto.com.ua</a>
31   - <h4>Запчасти на Land Rover<br> и Range Rover</h4>
32   - <ul style="margin-top: -13px;">
33   - <li>Оригинальные запчасти</li>
34   - <li>Сертифицированый продавец</li>
35   - <li>Более 300 000 товаров</li>
36   - </ul>
37   - </div>
38   -
39   - <div class="modal_form_project_second">
40   - <img src="images/logo-fiat-small.png">
41   - <a href="">lr.italauto.com.ua</a>
42   - <h4 style="margin-right: 116px!important;
43   - margin-top: -75px;">Запчасти на Fiat</h4>
44   - <ul style="margin-top: -47px;">
45   - <li>Оригинальные запчасти</li>
46   - <li>Сертифицированый продавец</li>
47   - <li>Более 300 000 товаров</li>
48   - </ul>
49   - </div>
50   -
51   - <div class="modal_form_project_third">
52   - <img src="images/logo-mersedes-small.png">
53   - <a href="">lr.italauto.com.ua</a>
54   - <h4 style="
55   - margin-right: 126px;
56   - margin-top: -83px;
57   - ">Запчасти на<br> Mercedes Benz</h4>
58   - <ul style="
59   - margin-top: -37px;
60   - ">
61   - <li>Оригинальные запчасти</li>
62   - <li>Сертифицированый продавец</li>
63   - <li>Более 300 000 товаров</li>
64   - </ul>
65   - </div>
66   -
67   - </div>
68   - </div>
69   - </div>
70   - </div>
71 13  
72   - <div class="contacts">
73   - <img src="images/logo.png">
74   - <!-- Split button -->
75   -
76   - <!-- <select class='dropdown_contacts'>
77   - <option value="mts" data-image="images/mts.png"></option>
78   - <option value="life"></option>
79   - <option value="kyivstar"></option>
80   - </select> -->
81   - <p class="number"><span class="number_space">050 </span>-0400-192</p>
82   - <div class="phone_select">
83   - <img src="images/mts.png" class="mts">
84   - </div>
85   - <div class="phone_control"></div>
86   - <div class="phone_placeholder">
87   - <img src="images/mts.png" class="mts">
88   - <img src="images/life_contacts.png" class="life">
89   - <img src="images/kyiv_contacts.png" class="kyiv">
90   -
91   - </div>
92   -
93   - <input type="telephone" placeholder="(0XX) XXX-XX-XX" id='get_telephone'>
94   - <button class="orange" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal" id='get_user_number'>Обратный звонок</button>
95   - <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
96   - <div class="modal-dialog" role="document">
97   - <div class="modal-content" >
98   - <div class="modal-header">
99   - <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><img src="images/close_form.png"><span></button>
100   - </div>
101   - <div class="modal-body">
102   - <div id="modal_form_call" >
103   -
104   - <form method="get" class="cmxform" action="" id="call_form">
105   - <fieldset>
106   - <h3>Обратный звонок</h3>
107   -
108   -
109   -
110   - <input name="name" id="name" placeholder="Имя" minlength="2" type="text" required=""><span class='star'>*</span>
111   - <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class='star1'>*</span>
112   - <button class="purple" type="submit" value="Submit">Запросить</button>
113   -
114   - </fieldset>
115   - </form>
116   -
117   -
118   -
119   - </div>
120   - </div>
121   -
122   - </div>
123   - </div>
124   - </div>
125   - <div class="user">
126   - <img src="images/user.png">
127   - <p>Войти</p>
128   - <a href="" class="own_page" id="go">Личный кабинет</a>
129   - </div>
130   -
131   - <div class="box">
132   - <img src="images/korzina.png">
133   - <p>Корзина</p>
134   - <a href="" class="own_page">7 товаров</a>
135   - </div>
136   -
137   -
138   - </div>
139 14 <nav class="purple_menu">
140 15 <div class="menu_block_center_main">
141 16 <ul class="menu_block">
142 17 <li id="auto_staff">
143   - <img src="images/key.png">
  18 + <img src="/images/key.png">
144 19 <a href="">Автозапчасти</a></li><li>
145   - <img src="images/oil.png">
  20 + <img src="/images/oil.png">
146 21 <a href="">Масла, Автохимия</a>
147   - </li><li><img src="images/materials.png" style=" left: 19px;">
  22 + </li><li><img src="/images/materials.png" style=" left: 19px;">
148 23 <a href="">Расходные материалы</a>
149   - </li><li><img src="images/wheel.png">
  24 + </li><li><img src="/images/wheel.png">
150 25 <a href="">Аксессуары</a>
151   - </li><li style="border-right: 1px solid #5f76a3"><img src="images/charger.png">
  26 + </li><li style="border-right: 1px solid #5f76a3"><img src="/images/charger.png">
152 27 <a href="">Инструменты</a>
153 28 </li>
154 29  
... ... @@ -157,7 +32,7 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
157 32 <div class="search_span">
158 33 <h4>Рекомендуем выбрать<br>
159 34 <span>автомобиль</span></h4>
160   - <img src="images/car1.png">
  35 + <img src="/images/car1.png">
161 36 <p>по умолчанию выводятся<br><span style=" margin-left: 9px;">
162 37 товары для всех марок</span> </p>
163 38 <div class="selectize_item2">
... ... @@ -234,17 +109,17 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
234 109 <div class="first_block">
235 110 <p style="font-size:22px; margin-bottom:20px;font-weight: normal">Контакты</p><br>
236 111 <p style="font-size:16px">г.Киев ул.Изюмская 5</p><br>
237   - <img src="images/pointer.png">
  112 + <img src="/images/pointer.png">
238 113 <a href="" name="map" id="go_contacts">посмотреть на карте</a><br><br>
239 114 <div class="telephone">
240   - <span><img src="images/mts_contacts.png"></span>
  115 + <span><img src="/images/mts_contacts.png"></span>
241 116 <p>050-0400-192</p><br>
242   - <span><img src="images/kyiv_contacts.png"></span>
  117 + <span><img src="/images/kyiv_contacts.png"></span>
243 118 <p>097-0400-192</p><br>
244   - <span><img src="images/life_contacts.png"></span>
  119 + <span><img src="/images/life_contacts.png"></span>
245 120 <p>093-0400-192</p><br>
246 121 </div>
247   - <img src="images/call_back.png">
  122 + <img src="/images/call_back.png">
248 123 <a href="" data-toggle="modal" data-target="#myModal">обратный звонок</a>
249 124 </div>
250 125  
... ... @@ -268,9 +143,9 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
268 143  
269 144 <div class="forth_block">
270 145 <p style="font-size:22px;font-weight: normal">Обратная связь</p><br>
271   - <img src="images/envelope.png">
  146 + <img src="/images/envelope.png">
272 147 <a href="">kiev@italauto.com.ua</a><br>
273   - <img src="images/skype.png">
  148 + <img src="/images/skype.png">
274 149 <a href="">retror0107</a>
275 150  
276 151  
... ... @@ -283,7 +158,7 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
283 158 <div class="purple_stripe">
284 159 <div class="purple_stripe_center">
285 160 <p id="footer_first">© 2015 Italauto. Все права защищены.</p>
286   - <a href=""><img src="images/facebook.png" style="
  161 + <a href=""><img src="/images/facebook.png" style="
287 162 position: absolute;
288 163 left: 327px;
289 164 top: 14px;
... ... @@ -291,7 +166,7 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
291 166 <p id="footer_second"><a href="">Присоединяйтесь</a></p>
292 167  
293 168 <p id="footer_third"><a href="http://artweb.ua/">Создание сайтов</a></p>
294   - <a href=""><img src="images/icon_artweb.png" style="
  169 + <a href=""><img src="/images/icon_artweb.png" style="
295 170 position: absolute;
296 171 right: 83px;
297 172 top: 16px;
... ... @@ -300,7 +175,7 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
300 175 </div>
301 176  
302 177 <div id="modal_form" style="opacity: 0; top: 45%; display: none;">
303   - <span id="modal_close"><img src="images/close_form.png"></span>
  178 + <span id="modal_close"><img src="/images/close_form.png"></span>
304 179 <form method="get" class="cmxform" action="" id="enter_form">
305 180 <fieldset>
306 181 <h3>Вход в личный кабинет</h3>
... ... @@ -332,7 +207,7 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
332 207 <div class="modal-dialog" role="document">
333 208 <div class="modal-content1">
334 209 <div class="modal-header">
335   - <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><img src="images/button_close.jpg"></span></button>
  210 + <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><img src="/images/button_close.jpg"></span></button>
336 211 </div>
337 212 <div class="modal-body1">
338 213 <div id="modal_form_registration" >
... ... @@ -395,7 +270,7 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
395 270  
396 271 <input type="text" placeholder="Введите код" id="code_input" required="4"><span class='star5'>*</span>
397 272 <div class="code_generate">
398   - <img src="images/code_generator.png">
  273 + <img src="/images/code_generator.png">
399 274 </div>
400 275 <button class="purple" type="submit" value="Submit">Зарегистрироваться</button>
401 276  
... ... @@ -456,7 +331,7 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
456 331  
457 332 <input type="text" placeholder="Введите код" id="code_input" required='4'>
458 333 <div class="code_generate">
459   - <img src="images/code_generator.png">
  334 + <img src="/images/code_generator.png">
460 335 </div><span class='star5'>*</span>
461 336 <button class="purple" type="submit" value="Submit">Зарегистрироваться</button>
462 337  
... ... @@ -491,7 +366,7 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
491 366 </div>
492 367 <div id="modal_form_idea" style="opacity: 0; top: 45%; display: none;">
493 368  
494   - <span id="modal_close"><img src="images/close_form.png"></span>
  369 + <span id="modal_close"><img src="/images/close_form.png"></span>
495 370 <form method="get" class="cmxform" action="" id="idea_form">
496 371 <fieldset>
497 372 <h3>Предложить идею</h3>
... ... @@ -514,7 +389,7 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
514 389 <div id="modal_form_project">
515 390 <span id="modal_close"></span>
516 391 <div class="modal_form_project_first">
517   - <img src="images/logo-lr-small.png">
  392 + <img src="/images/logo-lr-small.png">
518 393 <a href="">lr.italauto.com.ua</a>
519 394 <h4>Запчасти на Land Rover<br> и Range Rover</h4>
520 395 <ul>
... ... @@ -525,7 +400,7 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
525 400 </div>
526 401  
527 402 <div class="modal_form_project_second" style="margin-top:51px">
528   - <img src="images/logo-fiat-small.png">
  403 + <img src="/images/logo-fiat-small.png">
529 404 <a href="">lr.italauto.com.ua</a>
530 405 <h4 style=" margin-right: 85px;
531 406 margin-top: -75px;">Запчасти на Fiat</h4>
... ... @@ -537,7 +412,7 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
537 412 </div>
538 413  
539 414 <div class="modal_form_project_third">
540   - <img src="images/logo-mersedes-small.png">
  415 + <img src="/images/logo-mersedes-small.png">
541 416 <a href="">lr.italauto.com.ua</a>
542 417 <h4 style="
543 418 margin-right: 89px;
... ... @@ -556,15 +431,15 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
556 431 </div>
557 432  
558 433 <div id="modal_form_contact" style="display: none; top: 45%; opacity: 0;">
559   - <span id="modal_close"><img src="images/close_form.png"></span>
  434 + <span id="modal_close"><img src="/images/close_form.png"></span>
560 435 <h3>Контакты</h3>
561 436 <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2542.5526259582884!2d30.51665609999999!3d50.4121746!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x40d4cf3af97c6063%3A0x29c06e78aacc11fc!2z0LLRg9C7LiDQhtC30Y7QvNGB0YzQutCwLCA1LCDQmtC40ZfQsg!5e0!3m2!1sru!2sua!4v1441100203696" width="880" height="297" frameborder="0" style="border:0" allowfullscreen=""></iframe>
562   - <img src="images/adress.png" class="ital_auto_adress">
  437 + <img src="/images/adress.png" class="ital_auto_adress">
563 438  
564 439 </div>
565 440 <div id="modal_form_consultation" style="opacity: 0; top: 45%; display: none;">
566 441  
567   - <span id="modal_close"><img src="images/close_form.png"></span>
  442 + <span id="modal_close"><img src="/images/close_form.png"></span>
568 443 <form method="get" class="cmxform" action="" id="idea_form">
569 444 <fieldset>
570 445 <h3>Помощь консультанта</h3>
... ... @@ -617,4 +492,7 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
617 492 });
618 493  
619 494 </script>
620   -<?php $this->endContent() ?>
621 495 \ No newline at end of file
  496 +<?php $this->endContent() ?>
  497 +
  498 +<head>
  499 +
... ...
frontend/views/site/about_company.php renamed to frontend/views/site/about.php
1 1 <?php
  2 +use yii\widgets\Menu;
  3 +
2 4  
3 5 $this->registerCssFile('/css/about_company.css');
4 6  
  7 +$this->title = "О компании";
5 8 $this->params['breadcrumbs'][] = $this->title;
6 9 ?>
7 10  
8 11  
9 12 <div class="vin">
10   - <a href="" class="navigation">Италавто</a>
11   - <img src="/images/arrow_dots.png" class='arrow_go'>
12   - <span>О компании</span>
13   - <p class="vin_article">О компании</p>
  13 + <p class="vin_article">О компании</p>
14 14 <div class='side_menu'>
15 15 <ul class="side_menu-list" role="tablist">
16 16 <li class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">Миссия</a></li>
... ...
frontend/views/site/index.php
1   -
2   -
3 1 <div class="layer_catalog">
4 2 <div class="choose_tovar">
5 3 <p>Выберите как вам удобнее искать товар:</p>
... ...
frontend/web/css/general_styles.css
1   -/*general styles*/
2   -*{
3   - margin: 0;
4   - padding: 0;}
5   -html,body{
6   - width: 100%;
7   - min-width: 960px;
8   -}
9   -body {
10   - font-family: 'Ubuntu', Arial;
11   - font-weight: normal;
12   - font-size: 14px;
13   - line-height: 1.2;
14   - color: #363636;
15   -
16   -}
17   -img {
18   - border: none;
19   -}
20   -a{
21   - text-decoration: none;
22   -}
23   -a:hover{
24   - text-decoration: none;
25   -}
26   -ul{
27   - margin: 0 0 10px 0;
28   -}
29   -
30   -li a{
31   - text-decoration: none !important;
32   - color:#555555;
33   -}
34   -.upper_menu {
35   - font-size: 13px;
36   - color: #555555;
37   - width: 960px;
38   - height: 40px;
39   - margin: 0 auto;
40   -}
41 1  
42   -.upper_menu ul {
43   - display: inline-block;
44   - padding-top: 12px;
45   -}
46   -
47   -.squere {
48   - border-right: 1px solid #dfdfdf;
49   - border-left: 1px solid #dfdfdf;
50   - height: 42px;
51   - width: 155px;
52   - display: inline-block;
53   - text-align: center;
54   - padding-top: 12px;
55   - float: right;
56   - position: relative;
57   -}
58   -
59   -.squere img {
60   - position: absolute;
61   - left: 13px;
62   - top: 14px;
63   -}
64   -
65   -.upper_menu li{
66   - display: inline;
67   - margin-right: 18px;
68   -}
69   -.arrow_go{
70   - margin-left: 4px;
71   - margin-right: 4px;
72   -}
73   -.upper_menu li img{
74   - margin-left: 233px;
75   - margin-top:5px;
76   -}
77 2 .arrow_down {
78 3 left: 129px!important;
79 4 top: 18px!important;
... ... @@ -88,13 +13,6 @@ li a{
88 13 -ms-border-bottom: 1px dashed;
89 14 }
90 15  
91   -.contacts{
92   - margin: 25px auto;
93   - width:960px;
94   - position: relative;
95   -}
96   -
97   -
98 16 .contacts .orange {
99 17 height: 27px;
100 18 width: 115px;
... ... @@ -186,18 +104,7 @@ li a{
186 104 cursor: pointer;
187 105 }
188 106  
189   -.contacts input {
190   - height: 31px;
191   - width: 109px;
192   - border-radius: 7px 0 0 7px;
193   - border: 1px solid #dfdfdf;
194   - position: absolute;
195   - bottom: 3px;
196   - margin-left: 78px;
197   - padding-left: 7px;
198   - font-size: 12px;
199   - background-color: #f5f5f5;
200   -}
  107 +
201 108  
202 109 .orange_call{
203 110 height: 27px;
... ... @@ -235,33 +142,6 @@ li a{
235 142 -ms-border-bottom: 1px dashed;
236 143 }
237 144  
238   -.box {
239   - position: absolute;
240   - right: 49px;
241   - bottom: 0;
242   - width: 105px;
243   - border-left: 1px solid #dfdfdf;
244   -}
245   -
246   -.box img{
247   - margin:0 47%;
248   -
249   -}
250   -.box p{
251   - font-size: 18px;
252   - margin: 0 31%;
253   -}
254   -.box a{
255   - margin-left: 34px;
256   - color:#6b84b5;
257   - text-decoration: none;
258   - border-bottom: 1px dashed;
259   - -moz-border-bottom: 1px dashed;
260   - -webkit-border-bottom: 1px dashed;
261   - -o-border-bottom: 1px dashed;
262   - -ms-border-bottom: 1px dashed;
263   -}
264   -
265 145 .purple_menu{
266 146 position: relative;
267 147 width:100%;
... ... @@ -2367,20 +2247,6 @@ left: -444px;
2367 2247  
2368 2248  
2369 2249  
2370   -.yellow_block {
2371   - position: relative;
2372   - z-index: 15;
2373   - width: 100%;
2374   - height: 42px;
2375   - background: rgba(255,255,255,1);
2376   - background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 52%, rgba(248,248,248,1) 100%);
2377   - background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(52%, rgba(248,248,248,1)), color-stop(100%, rgba(248,248,248,1)));
2378   - background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 52%, rgba(248,248,248,1) 100%);
2379   - background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 52%, rgba(248,248,248,1) 100%);
2380   - background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 52%, rgba(248,248,248,1) 100%);
2381   - background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 52%, rgba(248,248,248,1) 100%);
2382   - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f8f8f8', GradientType=0 );
2383   -}
2384 2250  
2385 2251 .vin_article{
2386 2252 }
... ... @@ -3002,3 +2868,26 @@ input{
3002 2868 top: 6px;
3003 2869 }
3004 2870  
  2871 +.breadcrumb{
  2872 + background: none;
  2873 + padding: 0;
  2874 + font-family: "Ubuntu";
  2875 + font-size: 14px;
  2876 +}
  2877 +
  2878 +.breadcrumb a {
  2879 + color: #6b84b5;
  2880 + text-decoration: underline !important;
  2881 +}
  2882 +
  2883 +.breadcrumb a:hover{
  2884 + color: #6b84b5;
  2885 +}
  2886 +
  2887 +.breadcrumb > li + li::before{
  2888 + content: '';
  2889 + background: url("/images/arrow_dots.png") no-repeat center;
  2890 + display: inline-block;
  2891 + height: 10px;
  2892 + width: 10px;
  2893 +}
... ...
frontend/web/css/main.css 0 → 100644
  1 +*{
  2 + margin: 0;
  3 + padding: 0;
  4 +}
  5 +html,body{
  6 + width: 100%;
  7 + min-width: 960px;
  8 +}
  9 +body {
  10 + font-family: 'Ubuntu', Arial;
  11 + font-weight: normal;
  12 + font-size: 14px;
  13 + line-height: 1.2;
  14 + color: #363636;
  15 +
  16 +}
  17 +img {
  18 + border: none;
  19 +}
  20 +a{
  21 + text-decoration: none;
  22 +}
  23 +
  24 +ul{
  25 + margin: 0 0 10px 0;
  26 +}
  27 +
  28 +li a{
  29 + text-decoration: none !important;
  30 + color:#555555;
  31 +}
  32 +
  33 +.upper_menu {
  34 + font-size: 13px;
  35 + color: #555555;
  36 + width: 960px;
  37 + height: 40px;
  38 + margin: 0 auto;
  39 +}
  40 +
  41 +.upper_menu ul {
  42 + display: inline-block;
  43 + padding-top: 12px;
  44 +}
  45 +
  46 +.squere {
  47 + border-right: 1px solid #dfdfdf;
  48 + border-left: 1px solid #dfdfdf;
  49 + height: 42px;
  50 + width: 155px;
  51 + display: inline-block;
  52 + text-align: center;
  53 + padding-top: 12px;
  54 + float: right;
  55 + position: relative;
  56 +}
  57 +
  58 +.squere img {
  59 + position: absolute;
  60 + left: 13px;
  61 + top: 14px;
  62 +}
  63 +
  64 +.upper_menu li{
  65 + display: inline;
  66 + margin-right: 18px;
  67 +}
  68 +.arrow_go{
  69 + margin-left: 4px;
  70 + margin-right: 4px;
  71 +}
  72 +.upper_menu li img{
  73 + margin-left: 233px;
  74 + margin-top:5px;
  75 +}
  76 +
  77 +.yellow_block {
  78 + position: relative;
  79 + z-index: 15;
  80 + width: 100%;
  81 + height: 42px;
  82 + background: rgba(255,255,255,1);
  83 + background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 52%, rgba(248,248,248,1) 100%);
  84 + background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(52%, rgba(248,248,248,1)), color-stop(100%, rgba(248,248,248,1)));
  85 + background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 52%, rgba(248,248,248,1) 100%);
  86 + background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 52%, rgba(248,248,248,1) 100%);
  87 + background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 52%, rgba(248,248,248,1) 100%);
  88 + background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 52%, rgba(248,248,248,1) 100%);
  89 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f8f8f8', GradientType=0 );
  90 +}
  91 +
  92 +.contacts{
  93 + margin: 25px auto;
  94 + width:960px;
  95 + position: relative;
  96 +}
  97 +
  98 +.contacts input {
  99 + height: 31px;
  100 + width: 109px;
  101 + border-radius: 7px 0 0 7px;
  102 + border: 1px solid #dfdfdf;
  103 + position: absolute;
  104 + bottom: 3px;
  105 + margin-left: 78px;
  106 + padding-left: 7px;
  107 + font-size: 12px;
  108 + background-color: #f5f5f5;
  109 +}
  110 +
  111 +
  112 +.box {
  113 + position: absolute;
  114 + right: 49px;
  115 + bottom: 0;
  116 + width: 105px;
  117 + border-left: 1px solid #dfdfdf;
  118 +}
  119 +
  120 +.box img{
  121 + margin:0 47%;
  122 +
  123 +}
  124 +.box p{
  125 + font-size: 18px;
  126 + margin: 0 31%;
  127 +}
  128 +.box a{
  129 + margin-left: 34px;
  130 + color:#6b84b5;
  131 + text-decoration: none;
  132 + border-bottom: 1px dashed;
  133 + -moz-border-bottom: 1px dashed;
  134 + -webkit-border-bottom: 1px dashed;
  135 + -o-border-bottom: 1px dashed;
  136 + -ms-border-bottom: 1px dashed;
  137 +}
  138 +
... ...
frontend/web/css/style.css
1   -*{
2   - margin: 0;
3   - padding: 0;
4   -}
5   -html,body{
6   - width: 100%;
7   - min-width: 960px;
8   -}
9   -body {
10   - font-family: 'Ubuntu', Arial;
11   - font-weight: normal;
12   - font-size: 14px;
13   - line-height: 1.2;
14   - color: #363636;
15   -
16   -}
17   -img {
18   - border: none;
19   -}
20   -a{
21   - text-decoration: none;
22   -}
23   -
24   -ul{
25   - margin: 0 0 10px 0;
26   -}
27   -
28   -li a{
29   - text-decoration: none !important;
30   - color:#555555;
31   -}
32   -.upper_menu{
33   - font-size: 13px;
34   - color: #555555;
35   - width:960px;
36   - height:40px;
37   - margin:0 auto;
38   -}
39   -
40   -.upper_menu li{
41   - display: inline;
42   - margin-right: 22px;
43   -}
44   -
45   -.upper_menu li img{
46   - margin-left: 233px;
47   - margin-top:5px;
48   -}
49 1 .arrow_down{
50 2 left: 129px!important;
51 3 top: 18px!important;
... ... @@ -62,11 +14,7 @@ li a{
62 14 .our_project:hover{
63 15 text-decoration: none;
64 16 }
65   -.contacts{
66   - margin: 25px auto;
67   - width:960px;
68   - position: relative;
69   -}
  17 +
70 18 .number{
71 19 font-family: 'Helvetica';
72 20 font-size: 24px;
... ... @@ -146,19 +94,6 @@ li a{
146 94 cursor: pointer;
147 95 }
148 96  
149   -.contacts input{
150   - height: 31px;
151   - width: 109px;
152   - border-radius: 7px 0 0 7px;
153   - border: 1px solid #dfdfdf;
154   - position: absolute;
155   - bottom: 0px;
156   - margin-left: 78px;
157   - padding-left: 7px;
158   - font-size: 12px;
159   - background-color: #f5f5f5;
160   -
161   -}
162 97  
163 98 .orange{
164 99 height: 27px;
... ... @@ -166,7 +101,7 @@ li a{
166 101 border-radius: 0 7px 7px 0;
167 102 border: 1px solid #ffc523;
168 103 position: absolute;
169   - bottom: 4px;
  104 + bottom: 7px;
170 105 margin-left: 186px;
171 106 font-size: 11px;
172 107 background-color: #ffc523;
... ... @@ -204,32 +139,6 @@ li a{
204 139 -ms-border-bottom: 1px dashed;
205 140 }
206 141  
207   -.box {
208   - position: absolute;
209   - right: 49px;
210   - bottom: 0;
211   - width: 105px;
212   - border-left: 1px solid #dfdfdf;
213   -}
214   -
215   -.box img{
216   - margin:0 47%;
217   -
218   -}
219   -.box p{
220   - font-size: 18px;
221   - margin: 0 31%;
222   -}
223   -.box a{
224   - margin-left: 35px;
225   - color:#6b84b5;
226   - text-decoration: none;
227   - border-bottom: 1px dashed;
228   - -moz-border-bottom: 1px dashed;
229   - -webkit-border-bottom: 1px dashed;
230   - -o-border-bottom: 1px dashed;
231   - -ms-border-bottom: 1px dashed;
232   -}
233 142  
234 143 .purple_menu{
235 144 position: relative;
... ... @@ -2321,22 +2230,6 @@ span:first-child .tovars{
2321 2230 left: 13px;
2322 2231 top: 14px;
2323 2232 }
2324   -
2325   -.yellow_block {
2326   - position: relative;
2327   - z-index: 15;
2328   - width: 100%;
2329   - height:42px;
2330   - background: rgba(255,255,255,1);
2331   - background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 52%, rgba(248,248,248,1) 100%);
2332   - background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(52%, rgba(248,248,248,1)), color-stop(100%, rgba(248,248,248,1)));
2333   - background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 52%, rgba(248,248,248,1) 100%);
2334   - background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 52%, rgba(248,248,248,1) 100%);
2335   - background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 52%, rgba(248,248,248,1) 100%);
2336   - background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 52%, rgba(248,248,248,1) 100%);
2337   - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f8f8f8', GradientType=0 );
2338   -}
2339   -
2340 2233 .number_of{
2341 2234 font-weight: 500;
2342 2235 font-size: 22px;
... ... @@ -3072,4 +2965,5 @@ input[type=&quot;checkbox&quot;]:checked + label span {
3072 2965  
3073 2966 .search_by_vin .selectize-input{
3074 2967 margin-top: -1px;
3075   -}
3076 2968 \ No newline at end of file
  2969 +}
  2970 +
... ...