Commit aeb0c8b3dbbf99d6b50f08aac7f93deb7f48e49c

Authored by Administrator
1 parent c46ae512

upload project

common/models/News.php
@@ -47,6 +47,11 @@ class News extends \yii\db\ActiveRecord @@ -47,6 +47,11 @@ class News extends \yii\db\ActiveRecord
47 ]; 47 ];
48 } 48 }
49 49
  50 + public function getDate(){
  51 + return date("Y-m-d", $this->dt);
  52 +
  53 + }
  54 +
50 /** 55 /**
51 * @inheritdoc 56 * @inheritdoc
52 */ 57 */
console/migrations/m151109_085627_update_news_img.php 0 → 100644
  1 +<?php
  2 +
  3 +use yii\db\Schema;
  4 +use yii\db\Migration;
  5 +
  6 +class m151109_085627_update_news_img extends Migration
  7 +{
  8 + public function saveUp()
  9 + {
  10 + $view = <<< MySQL
  11 + update
  12 + italautocomua.w_news
  13 + set img = CONCAT('/storage/news/',img)
  14 +MySQL;
  15 + $this->execute($view);
  16 +
  17 + }
  18 +
  19 + public function down()
  20 + {
  21 + echo "m151109_085627_update_news_img cannot be reverted.\n";
  22 +
  23 + return false;
  24 + }
  25 +
  26 + /*
  27 + // Use safeUp/safeDown to run migration code within a transaction
  28 + public function safeUp()
  29 + {
  30 + }
  31 +
  32 + public function safeDown()
  33 + {
  34 + }
  35 + */
  36 +}
frontend/controllers/CartController.php 0 → 100644
  1 +<?php
  2 +/**
  3 + * Created by PhpStorm.
  4 + * User: vitaliy
  5 + * Date: 08.11.15
  6 + * Time: 22:06
  7 + */
  8 +
  9 +namespace frontend\controllers;
  10 +
  11 +use Yii;
  12 +use yii\web\Controller;
  13 +
  14 +class CartController extends Controller {
  15 + public $layout = '/internal';
  16 +
  17 + public function actionIndex()
  18 + {
  19 +
  20 + return $this->render('index');
  21 + }
  22 +
  23 + public function actionStep()
  24 + {
  25 +
  26 + return $this->render('step');
  27 + }
  28 +
  29 +
  30 +}
0 \ No newline at end of file 31 \ No newline at end of file
frontend/controllers/NewsController.php 0 → 100644
  1 +<?php
  2 +namespace frontend\controllers;
  3 +
  4 +
  5 +use Yii;
  6 +use common\models\News;
  7 +use yii\data\ActiveDataProvider;
  8 +use yii\web\Controller;
  9 +
  10 +
  11 +/**
  12 + * Site controller
  13 + */
  14 +class NewsController extends Controller
  15 +{
  16 + public $layout = '/internal';
  17 +
  18 + public function actionIndex()
  19 + {
  20 + $dataProvider = new ActiveDataProvider([
  21 + 'query' => News::find(),
  22 + 'pagination' => [
  23 + 'pageSize' => 16,
  24 + ],
  25 +
  26 + ]);
  27 + return $this->render('index',[
  28 + 'dataProvider' => $dataProvider
  29 + ]);
  30 + }
  31 +
  32 + public function actionView()
  33 + {
  34 +
  35 + return $this->render('view');
  36 + }
  37 +
  38 +
  39 +}
frontend/views/site/busket.php renamed to frontend/views/cart/index.php
@@ -2,150 +2,69 @@ @@ -2,150 +2,69 @@
2 2
3 $this->registerCssFile('/css/style/busket.css'); 3 $this->registerCssFile('/css/style/busket.css');
4 4
  5 +$this->title = 'Корзина';
5 $this->params['breadcrumbs'][] = $this->title; 6 $this->params['breadcrumbs'][] = $this->title;
6 ?> 7 ?>
7 <div class="vin"> 8 <div class="vin">
8 - <a href="" class="navigation">Италавто</a>  
9 - <img src="/images/arrow_dots.png" class='arrow_go'>  
10 - <span>Корзина</span>  
11 - <p class="vin_article">Корзина</p>  
12 - </div>  
13 -<div class="choose_tovar">  
14 -<p class="currency opposite" id="dollars">грн</p>  
15 -<p class="currency active_button_purple1" id="grivna">$</p>  
16 -<table>  
17 - <tr class="header">  
18 - <td style="width:39px">№</td>  
19 - <td style="width:638px">Деталь</td>  
20 - <td style="width:70px">Цена,$<img src="/images/icon2.png"></td>  
21 - <td style="width:68px;">Колл.<img src="/images/icon2.png"></td>  
22 - <td style="width:91px">Сумма,$<img src="/images/icon2.png"></td>  
23 - <td style="width:45px"></td>  
24 - </tr>  
25 - <tr>  
26 - <td style="width:39px">1</td>  
27 - <td style="width:638px"><a href=''>55565: EXIDE TECHNOLOGIES S.A.: Аккумулятор 55Ah-12v VOLTMASTER (242х175х190),L,EN460</a></td>  
28 - <td style="width:70px">4.93</td>  
29 - <td style="width:68px"><div class="lend-tovar-cart-left">  
30 - <input type="text" class="lend-tovar-cart-number" value="1">  
31 - <div class="arrow-cart-lend-wr">  
32 - <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt="">  
33 - <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt="">  
34 - </div>  
35 - </div></td>  
36 - <td style="width:91px">4.93</td>  
37 - <td style="width:45px"><img src="/images/red_close.png"></td>  
38 - </tr>  
39 - <tr>  
40 - <td style="width:39px">2</td>  
41 - <td style="width:638px"><a href=''>Аккумулятор 200Ah-12v Energizer Com. (518х276х242), L,EN1050 Energizer 700038105</a></td>  
42 - <td style="width:70px">124.96</td>  
43 - <td style="width:68px"><div class="lend-tovar-cart-left">  
44 - <input type="text" class="lend-tovar-cart-number" value="1">  
45 - <div class="arrow-cart-lend-wr">  
46 - <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt="">  
47 - <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt="">  
48 - </div>  
49 - </div></td>  
50 - <td style="width:91px">124.96</td>  
51 - <td style="width:45px"><img src="/images/red_close.png"></td>  
52 - </tr>  
53 - <tr>  
54 - <td style="width:39px">3</td>  
55 - <td style="width:638px"><a href=''>Антифриз 1л. Land Rover stc50529</a></td>  
56 - <td style="width:70px">2.85</td>  
57 - <td style="width:68px"><div class="lend-tovar-cart-left">  
58 - <input type="text" class="lend-tovar-cart-number" value="1">  
59 - <div class="arrow-cart-lend-wr">  
60 - <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt="">  
61 - <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt="">  
62 - </div>  
63 - </div></td>  
64 - <td style="width:91px">2.85</td>  
65 - <td style="width:45px"><img src="/images/red_close.png"></td>  
66 - </tr>  
67 -</table>  
68 -<div class="sum">  
69 -Итого: <span>142.52$</span>  
70 -</div>  
71 -<button class="purple"><a href="file:///C:/Users/%D0%9B%D0%B5%D0%BD%D0%B0/Desktop/ital/ital/busket_step2.html">Подтвердить заказ</a></button>  
72 -</div>  
73 -  
74 -<div class="slider_block1">  
75 - <div class="tovars">  
76 - <p style="display:inline-block">Наши проекты</p>  
77 - <span><img src="/images/arrow_slider_back.png"></span>  
78 - <span class="number_of">1/</span>  
79 - <span class="general_number">5</span>  
80 - <span><img src="/images/arrow_slider_go.png"></span>  
81 - <div class="slider_tovars">  
82 -  
83 - <table class="block_project">  
84 - <tbody><tr><td>  
85 - <img src="/images/logo-lr-small.png">  
86 - </td></tr>  
87 - <tr><td>  
88 - <a href="">lr.italauto.com.ua</a>  
89 - </td></tr>  
90 - <tr><td>  
91 - <ul>  
92 - <h4>Запчасти на Land Rover<br> и Range Rover</h4>  
93 - <li>Оригинальные запчасти</li>  
94 - <li>Сертифицированый продавец</li>  
95 - <li>Более 300 000 товаров</li>  
96 - </ul>  
97 - </td></tr>  
98 - </tbody></table>  
99 - <table class="block_project">  
100 - <tbody><tr><td>  
101 - <img src="/images/logo-mersedes-small.png">  
102 - </td></tr>  
103 - <tr><td>  
104 - <a href="">lr.italauto.com.ua</a>  
105 - </td></tr>  
106 - <tr><td>  
107 - <ul>  
108 - <h4>Запчасти на<br> Mercedes Benz</h4>  
109 - <li>Оригинальные запчасти</li>  
110 - <li>Сертифицированый продавец</li>  
111 - <li>Более 300 000 товаров</li>  
112 - </ul>  
113 - </td></tr>  
114 - </tbody></table>  
115 - <table class="block_project">  
116 - <tbody><tr><td>  
117 - <img src="/images/logo-fiat-small.png">  
118 - </td></tr>  
119 - <tr><td>  
120 - <a href="">lr.italauto.com.ua</a>  
121 - </td></tr>  
122 - <tr><td>  
123 - <ul>  
124 - <h4>Запчасти на FIAT</h4>  
125 - <li>Оригинальные запчасти</li>  
126 - <li>Сертифицированый продавец</li>  
127 - <li>Более 300 000 товаров</li>  
128 - </ul>  
129 - </td></tr>  
130 - </tbody></table>  
131 - <table class="block_project">  
132 - <tbody><tr><td>  
133 - <img src="/images/logo-lr-small.png">  
134 - </td></tr>  
135 - <tr><td>  
136 - <a href="">lr.italauto.com.ua</a>  
137 - </td></tr>  
138 - <tr><td>  
139 - <ul>  
140 - <h4>Запчасти на Land Rover<br> и Range Rover</h4>  
141 - <li>Оригинальные запчасти</li>  
142 - <li>Сертифицированый продавец</li>  
143 - <li>Более 300 000 товаров</li>  
144 - </ul>  
145 - </td></tr>  
146 - </tbody></table>  
147 -  
148 - </div>  
149 -  
150 - </div>  
151 - </div>  
152 \ No newline at end of file 9 \ No newline at end of file
  10 + <p class="vin_article">Корзина</p>
  11 + <div class="choose_tovar">
  12 + <p class="currency opposite" id="dollars">грн</p>
  13 + <p class="currency active_button_purple1" id="grivna">$</p>
  14 + <table>
  15 + <tr class="header">
  16 + <td style="width:39px">№</td>
  17 + <td style="width:638px">Деталь</td>
  18 + <td style="width:70px">Цена,$<img src="/images/icon2.png"></td>
  19 + <td style="width:68px;">Колл.<img src="/images/icon2.png"></td>
  20 + <td style="width:91px">Сумма,$<img src="/images/icon2.png"></td>
  21 + <td style="width:45px"></td>
  22 + </tr>
  23 + <tr>
  24 + <td style="width:39px">1</td>
  25 + <td style="width:638px"><a href=''>55565: EXIDE TECHNOLOGIES S.A.: Аккумулятор 55Ah-12v VOLTMASTER (242х175х190),L,EN460</a></td>
  26 + <td style="width:70px">4.93</td>
  27 + <td style="width:68px"><div class="lend-tovar-cart-left">
  28 + <input type="text" class="lend-tovar-cart-number" value="1">
  29 + <div class="arrow-cart-lend-wr">
  30 + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt="">
  31 + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt="">
  32 + </div>
  33 + </div></td>
  34 + <td style="width:91px">4.93</td>
  35 + <td style="width:45px"><img src="/images/red_close.png"></td>
  36 + </tr>
  37 + <tr>
  38 + <td style="width:39px">2</td>
  39 + <td style="width:638px"><a href=''>Аккумулятор 200Ah-12v Energizer Com. (518х276х242), L,EN1050 Energizer 700038105</a></td>
  40 + <td style="width:70px">124.96</td>
  41 + <td style="width:68px"><div class="lend-tovar-cart-left">
  42 + <input type="text" class="lend-tovar-cart-number" value="1">
  43 + <div class="arrow-cart-lend-wr">
  44 + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt="">
  45 + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt="">
  46 + </div>
  47 + </div></td>
  48 + <td style="width:91px">124.96</td>
  49 + <td style="width:45px"><img src="/images/red_close.png"></td>
  50 + </tr>
  51 + <tr>
  52 + <td style="width:39px">3</td>
  53 + <td style="width:638px"><a href=''>Антифриз 1л. Land Rover stc50529</a></td>
  54 + <td style="width:70px">2.85</td>
  55 + <td style="width:68px"><div class="lend-tovar-cart-left">
  56 + <input type="text" class="lend-tovar-cart-number" value="1">
  57 + <div class="arrow-cart-lend-wr">
  58 + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt="">
  59 + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt="">
  60 + </div>
  61 + </div></td>
  62 + <td style="width:91px">2.85</td>
  63 + <td style="width:45px"><img src="/images/red_close.png"></td>
  64 + </tr>
  65 + </table>
  66 + <div class="sum">
  67 + Итого: <span>142.52$</span>
  68 + </div>
  69 + <button class="purple"><a href="file:///C:/Users/%D0%9B%D0%B5%D0%BD%D0%B0/Desktop/ital/ital/busket_step2.html">Подтвердить заказ</a></button>
  70 + </div>
  71 +</div>
153 \ No newline at end of file 72 \ No newline at end of file
frontend/views/site/busket_step2.php renamed to frontend/views/cart/step.php
@@ -2,140 +2,59 @@ @@ -2,140 +2,59 @@
2 2
3 $this->registerCssFile('/css/style/busket.css'); 3 $this->registerCssFile('/css/style/busket.css');
4 4
  5 +$this->title = 'Корзина';
5 $this->params['breadcrumbs'][] = $this->title; 6 $this->params['breadcrumbs'][] = $this->title;
6 ?> 7 ?>
7 8
8 9
9 <div class="vin"> 10 <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> 11 <p class="vin_article">Корзина</p>
14 - </div>  
15 -<div class="choose_tovar">  
16 -<form method="get" class="cmxform" action="" id="profile_form">  
17 -<div class="personal_info">  
18 - <fieldset>  
19 - <h3>Данные</h3>  
20 -  
21 -  
22 -  
23 - <input name="name" id="name" placeholder="Ф.И.О" minlength="4" type="text" required="">  
24 - <span class="star">*</span>  
25 - <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required="">  
26 - <span class="star3">*</span>  
27 - <input type="email" name="email" id="email" placeholder="email" minlength="" required="">  
28 - <input type="text" name="idea" id="idea" placeholder="Комментарий" >  
29 -  
30 -  
31 - </fieldset>  
32 -</div>  
33 -<div class="delievery">  
34 -<h3>Доставка</h3>  
35 -<ul>  
36 - <li>  
37 - <input type="radio" id="autolux" class="filter-two" name="delivery" value="autolux" checked="">  
38 - <label for="autolux"><span></span><p>Автолюкс до 16:20</p></label>  
39 - </li>  
40 - <li>  
41 - <input type="radio" id="gunsel" class="filter-two" name="delivery" value="gunsel">  
42 - <label for="gunsel"><span></span><p>Гюнсел до 16:20</p></label>  
43 - </li>  
44 - <li>  
45 - <input type="radio" id="post" class="filter-two" name="delivery" value="post">  
46 - <label for="post"><span></span><p>Новая почта до 17:20</p></label>  
47 - </li>  
48 - <li>  
49 - <input type="radio" id="personal" class="filter-two" name="delivery" value="personal">  
50 - <label for="personal"><span></span><p>Самовывоз</p></label>  
51 - </li>  
52 - <li>  
53 - <input type="checkbox" id="assurance" class="filter-two" name="assurance" value="assurance" checked> <label for="assurance"><span></span><a href="">Застраховать заказ</a></label>  
54 - </li>  
55 -</ul>  
56 -  
57 -</div>  
58 -  
59 -<button class="purple">Подтвердить заказ</button>  
60 -</form>  
61 -  
62 -</div>  
63 -  
64 -<div class="slider_block1">  
65 - <div class="tovars">  
66 - <p style="display:inline-block">Наши проекты</p>  
67 - <span><img src="/images/arrow_slider_back.png"></span>  
68 - <span class="number_of">1/</span>  
69 - <span class="general_number">5</span>  
70 - <span><img src="/images/arrow_slider_go.png"></span>  
71 - <div class="slider_tovars">  
72 -  
73 - <table class="block_project">  
74 - <tbody><tr><td>  
75 - <img src="/images/logo-lr-small.png">  
76 - </td></tr>  
77 - <tr><td>  
78 - <a href="">lr.italauto.com.ua</a>  
79 - </td></tr>  
80 - <tr><td>  
81 - <ul>  
82 - <h4>Запчасти на Land Rover<br> и Range Rover</h4>  
83 - <li>Оригинальные запчасти</li>  
84 - <li>Сертифицированый продавец</li>  
85 - <li>Более 300 000 товаров</li>  
86 - </ul>  
87 - </td></tr>  
88 - </tbody></table>  
89 - <table class="block_project">  
90 - <tbody><tr><td>  
91 - <img src="/images/logo-mersedes-small.png">  
92 - </td></tr>  
93 - <tr><td>  
94 - <a href="">lr.italauto.com.ua</a>  
95 - </td></tr>  
96 - <tr><td>  
97 - <ul>  
98 - <h4>Запчасти на<br> Mercedes Benz</h4>  
99 - <li>Оригинальные запчасти</li>  
100 - <li>Сертифицированый продавец</li>  
101 - <li>Более 300 000 товаров</li>  
102 - </ul>  
103 - </td></tr>  
104 - </tbody></table>  
105 - <table class="block_project">  
106 - <tbody><tr><td>  
107 - <img src="/images/logo-fiat-small.png">  
108 - </td></tr>  
109 - <tr><td>  
110 - <a href="">lr.italauto.com.ua</a>  
111 - </td></tr>  
112 - <tr><td>  
113 - <ul>  
114 - <h4>Запчасти на FIAT</h4>  
115 - <li>Оригинальные запчасти</li>  
116 - <li>Сертифицированый продавец</li>  
117 - <li>Более 300 000 товаров</li>  
118 - </ul>  
119 - </td></tr>  
120 - </tbody></table>  
121 - <table class="block_project">  
122 - <tbody><tr><td>  
123 - <img src="/images/logo-lr-small.png">  
124 - </td></tr>  
125 - <tr><td>  
126 - <a href="">lr.italauto.com.ua</a>  
127 - </td></tr>  
128 - <tr><td>  
129 - <ul>  
130 - <h4>Запчасти на Land Rover<br> и Range Rover</h4>  
131 - <li>Оригинальные запчасти</li>  
132 - <li>Сертифицированый продавец</li>  
133 - <li>Более 300 000 товаров</li>  
134 - </ul>  
135 - </td></tr>  
136 - </tbody></table>  
137 -  
138 - </div>  
139 -  
140 - </div>  
141 - </div>  
142 \ No newline at end of file 12 \ No newline at end of file
  13 + <div class="choose_tovar">
  14 + <form method="get" class="cmxform" action="" id="profile_form">
  15 + <div class="personal_info">
  16 + <fieldset>
  17 + <h3>Данные</h3>
  18 +
  19 +
  20 +
  21 + <input name="name" id="name" placeholder="Ф.И.О" minlength="4" type="text" required="">
  22 + <span class="star">*</span>
  23 + <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required="">
  24 + <span class="star3">*</span>
  25 + <input type="email" name="email" id="email" placeholder="email" minlength="" required="">
  26 + <input type="text" name="idea" id="idea" placeholder="Комментарий" >
  27 +
  28 +
  29 + </fieldset>
  30 + </div>
  31 + <div class="delievery">
  32 + <h3>Доставка</h3>
  33 + <ul>
  34 + <li>
  35 + <input type="radio" id="autolux" class="filter-two" name="delivery" value="autolux" checked="">
  36 + <label for="autolux"><span></span><p>Автолюкс до 16:20</p></label>
  37 + </li>
  38 + <li>
  39 + <input type="radio" id="gunsel" class="filter-two" name="delivery" value="gunsel">
  40 + <label for="gunsel"><span></span><p>Гюнсел до 16:20</p></label>
  41 + </li>
  42 + <li>
  43 + <input type="radio" id="post" class="filter-two" name="delivery" value="post">
  44 + <label for="post"><span></span><p>Новая почта до 17:20</p></label>
  45 + </li>
  46 + <li>
  47 + <input type="radio" id="personal" class="filter-two" name="delivery" value="personal">
  48 + <label for="personal"><span></span><p>Самовывоз</p></label>
  49 + </li>
  50 + <li>
  51 + <input type="checkbox" id="assurance" class="filter-two" name="assurance" value="assurance" checked> <label for="assurance"><span></span><a href="">Застраховать заказ</a></label>
  52 + </li>
  53 + </ul>
  54 +
  55 + </div>
  56 +
  57 + <button class="purple">Подтвердить заказ</button>
  58 + </form>
  59 +
  60 + </div>
  61 +</div>
143 \ No newline at end of file 62 \ No newline at end of file
frontend/views/layouts/internal.php
@@ -490,307 +490,4 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;); @@ -490,307 +490,4 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
490 </div> 490 </div>
491 491
492 <?= $content ?> 492 <?= $content ?>
493 -  
494 - <div class="footer_width">  
495 - <div class="footer">  
496 -  
497 -  
498 - <div class="first_block">  
499 - <p style="font-size:22px; margin-bottom:20px;font-weight: normal">Контакты</p><br>  
500 - <p style="font-size:16px">г.Киев ул.Изюмская 5</p><br>  
501 - <img src="/images/pointer.png">  
502 - <a href="" name="map" id="go_contacts">посмотреть на карте</a><br><br>  
503 - <div class="telephone">  
504 - <span><img src="/images/mts_contacts.png"></span>  
505 - <p>050-0400-192</p><br>  
506 - <span><img src="/images/kyiv_contacts.png"></span>  
507 - <p>097-0400-192</p><br>  
508 - <span><img src="/images/life_contacts.png"></span>  
509 - <p>093-0400-192</p><br>  
510 - </div>  
511 - <img src="/images/call_back.png">  
512 - <a href="" data-toggle="modal" data-target="#myModal">обратный звонок</a>  
513 - </div>  
514 -  
515 - <div class="second_block">  
516 - <p style="font-size:22px;font-weight: normal">Интернет магазин</p><br>  
517 - <a href=""><p>Оплата и доставка</p></a>  
518 - <a href=""><p>О компании</p></a>  
519 - <a href=""><p>Наша команда</p></a>  
520 - <a href=""><p>Миссия</p></a>  
521 - <a href=""><p>Гарантия и условия возврата</p></a>  
522 - <a href=""><p>Помощь</p></a>  
523 -  
524 - </div>  
525 - <div class="third_block">  
526 - <p style="font-size:22px;font-weight: normal">Для партнеров</p><br>  
527 - <a href=""><p>Поставщикам</p></a>  
528 - <a href=""><p>Оптовикам</p></a>  
529 - <a href="" name="idea" id="go_idea">Предложить идею</a>  
530 -  
531 - </div>  
532 -  
533 - <div class="forth_block">  
534 - <p style="font-size:22px;font-weight: normal">Обратная связь</p><br>  
535 - <img src="/images/envelope.png">  
536 - <a href="">kiev@italauto.com.ua</a><br>  
537 - <img src="/images/skype.png">  
538 - <a href="">retror0107</a>  
539 -  
540 -  
541 - </div>  
542 -  
543 -  
544 -  
545 - </div>  
546 - </div>  
547 -  
548 -  
549 - <div id="modal_form" style="opacity: 0; top: 45%; display: none;">  
550 - <span id="modal_close"><img src="/images/close_form.png"></span>  
551 - <form method="get" class="cmxform" action="" id="enter_form">  
552 - <fieldset>  
553 - <h3>Вход в личный кабинет</h3>  
554 -  
555 -  
556 -  
557 - <input type="email" name="email" id="email" placeholder="email" minlength="" required=""><span class="star">*</span>  
558 -  
559 - <input type="password" name="password" id="password" placeholder="Пароль" minlength="5" maxlength="12" required=""><span class="star1">*</span>  
560 - <input type="checkbox" id="assurance" class="filter-two" name="assurance" value="assurance">  
561 - <label for="assurance"><span></span><a href=""></a></label>  
562 -  
563 - <a href="" class="own_page1">Запомнить меня</a>  
564 - <a href="" class="own_page2">Забыли пароль?</a>  
565 - <button class="purple" type="submit" value="Submit">Войти</button>  
566 -  
567 -  
568 - </fieldset>  
569 - </form>  
570 -  
571 - <a href="" class="own_page3" data-toggle="modal" data-target="#basicModal" data-remote="registration_form.html"><span>Зарегистрироваться</span></a>  
572 -  
573 - </div>  
574 - <div class="modal fade" id="basicModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">  
575 - <div class="modal-dialog" role="document">  
576 - <div class="modal-content1">  
577 - <div class="modal-header">  
578 - <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><img src="/images/button_close.jpg"></span></button>  
579 - </div>  
580 - <div class="modal-body1">  
581 - <div id="modal_form_registration">  
582 - <form action="" method="post" id="registration_form">  
583 - <h3>Заявка на регистрацию</h3>  
584 - <div class="purple_registration active_button" style=" border-radius:12px 0 0 0 " id="person"><p>Частное лицо</p></div><div id="company" class="purple_registration"><p>Оптовик</p></div>  
585 - <div class="registration_holder">  
586 -  
587 - <div class="registration_for_person">  
588 -  
589 -  
590 - <input type="text" name="familyname" id="family_name" placeholder="Фамилия  
591 - " minlength="2" required=""><span class="star">*</span>  
592 -  
593 - <input name="name" id="name" placeholder="Имя" minlength="2" type="text" required=""><span class="star1">*</span>  
594 - <input type="email" name="email" id="email_registration" placeholder="email" minlength="10" required=""><span class="star2">*</span>  
595 -  
596 - <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class="star3">*</span>  
597 - <input type="telephone" name="telephone" id="telephone_registration_add" placeholder="Телефон"><span class="star4">*</span>  
598 - <p class="add_telephone" style="font-size: 14px;  
599 - margin-right: 12px;  
600 - margin-top: 10px;">добавить еще 1 телефон</p>  
601 - <p>Фактический адрес</p>  
602 - <div class="selectize_item2">  
603 -  
604 -  
605 - <select class="area">  
606 - <option value="" disabled="" selected="">Выберите область</option>  
607 - <option value="2">Выбери меня!</option>  
608 - <option value="3">Выбери меня!</option>  
609 - <option value="5">Меня!</option>  
610 - <option value="4">Меня</option>  
611 - </select>  
612 -  
613 - </div>  
614 - <div class="selectize_item2">  
615 -  
616 -  
617 - <select class="city">  
618 - <option value="" disabled="" selected="">Выберите город</option>  
619 - <option value="2">Выбери меня!</option>  
620 - <option value="3">Выбери меня!</option>  
621 - <option value="5">Меня!</option>  
622 - <option value="4">Меня</option>  
623 - </select>  
624 -  
625 - </div>  
626 - <div class="selectize_item2">  
627 -  
628 -  
629 - <select class="steel1">  
630 - <option value="" disabled="" selected="">Перевозчик</option>  
631 - <option value="2">Выбери меня!</option>  
632 - <option value="3">Выбери меня!</option>  
633 - <option value="5">Меня!</option>  
634 - <option value="4">Меня</option>  
635 - </select>  
636 -  
637 - </div>  
638 -  
639 - <input type="text" placeholder="Введите код" id="code_input" required="4"><span class="star5">*</span>  
640 - <div class="code_generate">  
641 - <img src="/images/code_generator.png">  
642 - </div>  
643 - <button class="purple" type="submit" value="Submit">Зарегистрироваться</button>  
644 -  
645 -  
646 - </div>  
647 - <div class="registration_for_company">  
648 -  
649 - <input type="text" name="fullname" id="company_name" placeholder="Компания  
650 - " minlength="2" required="">  
651 - <input type="text" name="fullname" id="family_name" placeholder="Фамилия  
652 - " minlength="2" required=""><span class="star">*</span>  
653 -  
654 - <input type="" name="name" id="name" placeholder="Имя" minlength="2" required=""><span class="star1">*</span>  
655 - <input type="email" name="email" id="email_registration" placeholder="email" minlength="10" required=""><span class="star3">*</span>  
656 -  
657 - <input type="telephone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class="star4">*</span><span class="star6">*</span>  
658 - <input type="telephone" name="telephone" id="telephone_registration_add1" placeholder="Телефон" style="display:none">  
659 - <p class="add_telephone1" style="font-size: 14px;  
660 - margin-right: 12px;  
661 - margin-top: 10px;">добавить еще 1 телефон</p>  
662 - <p>Фактический адрес</p>  
663 - <div class="selectize_item2">  
664 -  
665 -  
666 - <select class="area">  
667 - <option value="" disabled="" selected="">Выберите область</option>  
668 - <option value="2">Выбери меня!</option>  
669 - <option value="3">Выбери меня!</option>  
670 - <option value="5">Меня!</option>  
671 - <option value="4">Меня</option>  
672 - </select>  
673 -  
674 - </div>  
675 - <div class="selectize_item2">  
676 -  
677 -  
678 - <select class="city">  
679 - <option value="" disabled="" selected="">Выберите город</option>  
680 - <option value="2">Выбери меня!</option>  
681 - <option value="3">Выбери меня!</option>  
682 - <option value="5">Меня!</option>  
683 - <option value="4">Меня</option>  
684 - </select>  
685 -  
686 - </div>  
687 - <div class="selectize_item2">  
688 -  
689 -  
690 - <select class="steel1">  
691 - <option value="" disabled="" selected="">Перевозчик</option>  
692 - <option value="2">Выбери меня!</option>  
693 - <option value="3">Выбери меня!</option>  
694 - <option value="5">Меня!</option>  
695 - <option value="4">Меня</option>  
696 - </select>  
697 -  
698 - </div>  
699 -  
700 - <input type="text" placeholder="Введите код" id="code_input" required="4">  
701 - <div class="code_generate">  
702 - <img src="/images/code_generator.png">  
703 - </div><span class="star5">*</span>  
704 - <button class="purple" type="submit" value="Submit">Зарегистрироваться</button>  
705 -  
706 -  
707 - </div>  
708 - </div></form>  
709 -  
710 -  
711 -  
712 - </div>  
713 - </div>  
714 -  
715 - </div>  
716 - </div>  
717 - </div>  
718 - <div id="modal_form_idea" style="opacity: 0; top: 45%; display: none;">  
719 -  
720 - <span id="modal_close"><img src="/images/close_form.png"></span>  
721 - <form method="get" class="cmxform" action="" id="idea_form">  
722 - <fieldset>  
723 - <h3>Предложить идею</h3>  
724 -  
725 -  
726 -  
727 - <input name="name" id="name" placeholder="Имя" minlength="2" type="text" required=""><span class="star">*</span>  
728 - <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class="star3">*</span>  
729 - <input type="email" name="email" id="email" placeholder="email" minlength="" required=""><span class="star2">*</span>  
730 - <input type="text" name="idea" id="idea" placeholder="Что вы хотите сообщить?" minlength="5" required=""><span class="star4">*</span>  
731 - <button class="purple" type="submit" value="Submit">Отправить</button>  
732 -  
733 - </fieldset>  
734 - </form>  
735 -  
736 -  
737 -  
738 - </div>  
739 -  
740 -  
741 -  
742 - <div id="modal_form_contact" style="opacity: 0; top: 45%; display: none;">  
743 - <span id="modal_close"><img src="/images/close_form.png"></span>  
744 - <h3>Контакты</h3>  
745 - <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>  
746 - <img src="/images/adress.png" class="ital_auto_adress">  
747 -  
748 - </div>  
749 - <div id="overlay" style="display: none;"></div>  
750 - <div id="overlay1" style="display: none;"></div>  
751 - <div id="overlay2" style="display: none;"></div>  
752 -  
753 - <div class="purple_stripe">  
754 - <div class="purple_stripe_center">  
755 - <p id="footer_first">© 2015 Italauto. Все права защищены.</p>  
756 - <a href=""><img src="/images/facebook.png" style="  
757 - position: absolute;  
758 - left: 327px;  
759 - top: 14px;  
760 - "></a>  
761 - <p id="footer_second"><a href="">Присоединяйтесь</a></p>  
762 -  
763 - <p id="footer_third"><a href="http://artweb.ua/">Создание сайтов</a></p>  
764 - <a href=""><img src="/images/icon_artweb.png" style="  
765 - position: absolute;  
766 - right: 83px;  
767 - top: 16px;  
768 - "></a>  
769 - </div>  
770 - </div>  
771 - <script type="text/javascript">  
772 -  
773 - $("#enter_form").validate({  
774 - rules: {  
775 - field: {  
776 - required: true,  
777 - email: true  
778 - }  
779 - }  
780 - });  
781 -  
782 -  
783 - </script>  
784 - <script type="text/javascript">  
785 - $('#call_form').validate();  
786 - </script>  
787 - <script type="text/javascript">  
788 - $('#idea_form').validate();  
789 - </script>  
790 - <script type="text/javascript">  
791 - $('#jform1').validate();  
792 - </script>  
793 - <script type="text/javascript">  
794 - $('#registration_form').validate();  
795 - </script>  
796 <?php $this->endContent() ?> 493 <?php $this->endContent() ?>
797 \ No newline at end of file 494 \ No newline at end of file
frontend/views/layouts/main.php
@@ -153,13 +153,484 @@ use \yii\helpers\Url; @@ -153,13 +153,484 @@ use \yii\helpers\Url;
153 <div class="box"> 153 <div class="box">
154 <img src="/images/korzina.png"> 154 <img src="/images/korzina.png">
155 <p>Корзина</p> 155 <p>Корзина</p>
156 - <a href="" class="own_page">7 товаров</a> 156 + <a href="/cart/index" class="own_page">7 товаров</a>
157 </div> 157 </div>
158 158
159 159
160 </div> 160 </div>
161 <?= $content ?> 161 <?= $content ?>
162 162
  163 +<div class="slider_block1">
  164 + <div class="tovars">
  165 + <p style="display:inline-block">Наши проекты</p>
  166 + <span><img src="/images/arrow_slider_back.png"></span>
  167 + <span class="number_of">1/</span>
  168 + <span class="general_number">5</span>
  169 + <span><img src="/images/arrow_slider_go.png"></span>
  170 + <div class="slider_tovars">
  171 +
  172 + <table class="block_project">
  173 + <tbody><tr><td>
  174 + <img src="/images/logo-lr-small.png">
  175 + </td></tr>
  176 + <tr><td>
  177 + <a href="">lr.italauto.com.ua</a>
  178 + </td></tr>
  179 + <tr><td>
  180 + <ul>
  181 + <h4>Запчасти на Land Rover<br> и Range Rover</h4>
  182 + <li>Оригинальные запчасти</li>
  183 + <li>Сертифицированый продавец</li>
  184 + <li>Более 300 000 товаров</li>
  185 + </ul>
  186 + </td></tr>
  187 + </tbody></table>
  188 + <table class="block_project">
  189 + <tbody><tr><td>
  190 + <img src="/images/logo-mersedes-small.png">
  191 + </td></tr>
  192 + <tr><td>
  193 + <a href="">lr.italauto.com.ua</a>
  194 + </td></tr>
  195 + <tr><td>
  196 + <ul>
  197 + <h4>Запчасти на<br> Mercedes Benz</h4>
  198 + <li>Оригинальные запчасти</li>
  199 + <li>Сертифицированый продавец</li>
  200 + <li>Более 300 000 товаров</li>
  201 + </ul>
  202 + </td></tr>
  203 + </tbody></table>
  204 + <table class="block_project">
  205 + <tbody><tr><td>
  206 + <img src="/images/logo-fiat-small.png">
  207 + </td></tr>
  208 + <tr><td>
  209 + <a href="">lr.italauto.com.ua</a>
  210 + </td></tr>
  211 + <tr><td>
  212 + <ul>
  213 + <h4>Запчасти на FIAT</h4>
  214 + <li>Оригинальные запчасти</li>
  215 + <li>Сертифицированый продавец</li>
  216 + <li>Более 300 000 товаров</li>
  217 + </ul>
  218 + </td></tr>
  219 + </tbody></table>
  220 + <table class="block_project">
  221 + <tbody><tr><td>
  222 + <img src="/images/logo-lr-small.png">
  223 + </td></tr>
  224 + <tr><td>
  225 + <a href="">lr.italauto.com.ua</a>
  226 + </td></tr>
  227 + <tr><td>
  228 + <ul>
  229 + <h4>Запчасти на Land Rover<br> и Range Rover</h4>
  230 + <li>Оригинальные запчасти</li>
  231 + <li>Сертифицированый продавец</li>
  232 + <li>Более 300 000 товаров</li>
  233 + </ul>
  234 + </td></tr>
  235 + </tbody></table>
  236 +
  237 + </div>
  238 +
  239 + </div>
  240 +</div>
  241 +
  242 +
  243 +
  244 +<div class="footer_width">
  245 + <div class="footer">
  246 +
  247 +
  248 + <div class="first_block">
  249 + <p style="font-size:22px; margin-bottom:20px;font-weight: normal">Контакты</p><br>
  250 + <p style="font-size:16px">г.Киев ул.Изюмская 5</p><br>
  251 + <img src="/images/pointer.png">
  252 + <a href="" name="map" id="go_contacts">посмотреть на карте</a><br><br>
  253 + <div class="telephone">
  254 + <span><img src="/images/mts_contacts.png"></span>
  255 + <p>050-0400-192</p><br>
  256 + <span><img src="/images/kyiv_contacts.png"></span>
  257 + <p>097-0400-192</p><br>
  258 + <span><img src="/images/life_contacts.png"></span>
  259 + <p>093-0400-192</p><br>
  260 + </div>
  261 + <img src="/images/call_back.png">
  262 + <a href="" data-toggle="modal" data-target="#myModal">обратный звонок</a>
  263 + </div>
  264 +
  265 + <div class="second_block">
  266 + <p style="font-size:22px;font-weight: normal">Интернет магазин</p><br>
  267 + <a href=""><p>Оплата и доставка</p></a>
  268 + <a href=""><p>О компании</p></a>
  269 + <a href=""><p>Наша команда</p></a>
  270 + <a href=""><p>Миссия</p></a>
  271 + <a href=""><p>Гарантия и условия возврата</p></a>
  272 + <a href=""><p>Помощь</p></a>
  273 +
  274 + </div>
  275 + <div class="third_block">
  276 + <p style="font-size:22px;font-weight: normal">Для партнеров</p><br>
  277 + <a href=""><p>Поставщикам</p></a>
  278 + <a href=""><p>Оптовикам</p></a>
  279 + <a href="" name="idea" id="go_idea">Предложить идею</a>
  280 +
  281 + </div>
  282 +
  283 + <div class="forth_block">
  284 + <p style="font-size:22px;font-weight: normal">Обратная связь</p><br>
  285 + <img src="/images/envelope.png">
  286 + <a href="">kiev@italauto.com.ua</a><br>
  287 + <img src="/images/skype.png">
  288 + <a href="">retror0107</a>
  289 +
  290 +
  291 + </div>
  292 +
  293 +
  294 +
  295 + </div>
  296 +</div>
  297 +<div class="purple_stripe">
  298 + <div class="purple_stripe_center">
  299 + <p id="footer_first">© 2015 Italauto. Все права защищены.</p>
  300 + <a href=""><img src="/images/facebook.png" style="
  301 + position: absolute;
  302 + left: 327px;
  303 + top: 14px;
  304 + "></a>
  305 + <p id="footer_second"><a href="">Присоединяйтесь</a></p>
  306 +
  307 + <p id="footer_third"><a href="http://artweb.ua/">Создание сайтов</a></p>
  308 + <a href=""><img src="/images/icon_artweb.png" style="
  309 + position: absolute;
  310 + right: 83px;
  311 + top: 16px;
  312 + "></a>
  313 + </div>
  314 +</div>
  315 +
  316 +<div id="modal_form" style="opacity: 0; top: 45%; display: none;">
  317 + <span id="modal_close"><img src="/images/close_form.png"></span>
  318 + <form method="get" class="cmxform" action="" id="enter_form">
  319 + <fieldset>
  320 + <h3>Вход в личный кабинет</h3>
  321 +
  322 +
  323 +
  324 + <input type="email" name="email" id="email" placeholder="email" minlength="" required=""><span class="star">*</span>
  325 +
  326 + <input type="password" name="password" id="password" placeholder="Пароль" minlength="5" maxlength="12" required=""><span class="star1">*</span>
  327 + <input type="checkbox" id="assurance" class="filter-two" name="assurance" value="assurance" >
  328 + <label for="assurance"><span></span><a href=""></a></label>
  329 +
  330 + <a href="" class="own_page1">Запомнить меня</a>
  331 + <a href="" class="own_page2">Забыли пароль?</a>
  332 + <button class="purple" type="submit" value="Submit">Войти</button>
  333 +
  334 +
  335 + </fieldset>
  336 + </form>
  337 +
  338 + <a href="" class="own_page3" class="btn btn-lg btn-default" data-toggle="modal"
  339 + data-target="#basicModal"
  340 + data-remote="registration_form.html"
  341 + ><span>Зарегистрироваться</span></a>
  342 +
  343 +</div>
  344 +
  345 +<div class="modal fade" id="basicModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  346 + <div class="modal-dialog" role="document">
  347 + <div class="modal-content1">
  348 + <div class="modal-header">
  349 + <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><img src="/images/button_close.jpg"></span></button>
  350 + </div>
  351 + <div class="modal-body1">
  352 + <div id="modal_form_registration" >
  353 + <form action="" method="post" id="registration_form">
  354 + <h3>Заявка на регистрацию</h3>
  355 + <div class="purple_registration active_button" style=" border-radius:12px 0 0 0 " id="person"><p>Частное лицо</p></div><div id="company" class="purple_registration"><p>Оптовик</p></div>
  356 + <div class="registration_holder">
  357 +
  358 + <div class="registration_for_person">
  359 +
  360 +
  361 + <input type="text" name="familyname" id="family_name" placeholder="Фамилия
  362 + " minlength="2" required=""><span class='star'>*</span>
  363 +
  364 + <input name="name" id="name" placeholder="Имя" minlength="2" type="text" required=""><span class='star1'>*</span>
  365 + <input type="email" name="email" id="email_registration" placeholder="email" minlength="10" required=""><span class='star2'>*</span>
  366 +
  367 + <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class='star3'>*</span>
  368 + <input type="telephone" name="telephone" id="telephone_registration_add" placeholder="Телефон"><span class='star4'>*</span>
  369 + <p class="add_telephone" style="font-size: 14px;
  370 + margin-right: 12px;
  371 + margin-top: 10px;">добавить еще 1 телефон</p>
  372 + <p>Фактический адрес</p>
  373 + <div class="selectize_item2">
  374 +
  375 +
  376 + <select class="area">
  377 + <option value="" disabled="" selected="">Выберите область</option>
  378 + <option value="2">Выбери меня!</option>
  379 + <option value="3">Выбери меня!</option>
  380 + <option value="5">Меня!</option>
  381 + <option value="4">Меня</option>
  382 + </select>
  383 +
  384 + </div>
  385 + <div class="selectize_item2">
  386 +
  387 +
  388 + <select class="city">
  389 + <option value="" disabled="" selected="">Выберите город</option>
  390 + <option value="2">Выбери меня!</option>
  391 + <option value="3">Выбери меня!</option>
  392 + <option value="5">Меня!</option>
  393 + <option value="4">Меня</option>
  394 + </select>
  395 +
  396 + </div>
  397 + <div class="selectize_item2">
  398 +
  399 +
  400 + <select class="steel1">
  401 + <option value="" disabled="" selected="">Перевозчик</option>
  402 + <option value="2">Выбери меня!</option>
  403 + <option value="3">Выбери меня!</option>
  404 + <option value="5">Меня!</option>
  405 + <option value="4">Меня</option>
  406 + </select>
  407 +
  408 + </div>
  409 +
  410 + <input type="text" placeholder="Введите код" id="code_input" required="4"><span class='star5'>*</span>
  411 + <div class="code_generate">
  412 + <img src="/images/code_generator.png">
  413 + </div>
  414 + <button class="purple" type="submit" value="Submit">Зарегистрироваться</button>
  415 +
  416 +
  417 + </div>
  418 + <div class="registration_for_company">
  419 +
  420 + <input type="text" name="fullname" id="company_name" placeholder="Компания
  421 + " minlength="2" required="">
  422 + <input type="text" name="fullname" id="family_name" placeholder="Фамилия
  423 + " minlength="2" required=""><span class='star'>*</span>
  424 +
  425 + <input type="" name="name" id="name" placeholder="Имя" minlength="2" required=""><span class='star1'>*</span>
  426 + <input type="email" name="email" id="email_registration" placeholder="email" minlength="10" required=""><span class='star3'>*</span>
  427 +
  428 + <input type="telephone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class='star4'>*</span><span class='star6'>*</span>
  429 + <input type="telephone" name="telephone" id="telephone_registration_add1" placeholder="Телефон" style="display:none">
  430 + <p class="add_telephone1" style="font-size: 14px;
  431 + margin-right: 12px;
  432 + margin-top: 10px;">добавить еще 1 телефон</p>
  433 + <p>Фактический адрес</p>
  434 + <div class="selectize_item2">
  435 +
  436 +
  437 + <select class="area">
  438 + <option value="" disabled="" selected="">Выберите область</option>
  439 + <option value="2">Выбери меня!</option>
  440 + <option value="3">Выбери меня!</option>
  441 + <option value="5">Меня!</option>
  442 + <option value="4">Меня</option>
  443 + </select>
  444 +
  445 + </div>
  446 + <div class="selectize_item2">
  447 +
  448 +
  449 + <select class="city">
  450 + <option value="" disabled="" selected="">Выберите город</option>
  451 + <option value="2">Выбери меня!</option>
  452 + <option value="3">Выбери меня!</option>
  453 + <option value="5">Меня!</option>
  454 + <option value="4">Меня</option>
  455 + </select>
  456 +
  457 + </div>
  458 + <div class="selectize_item2">
  459 +
  460 +
  461 + <select class="steel1">
  462 + <option value="" disabled="" selected="">Перевозчик</option>
  463 + <option value="2">Выбери меня!</option>
  464 + <option value="3">Выбери меня!</option>
  465 + <option value="5">Меня!</option>
  466 + <option value="4">Меня</option>
  467 + </select>
  468 +
  469 + </div>
  470 +
  471 + <input type="text" placeholder="Введите код" id="code_input" required='4'>
  472 + <div class="code_generate">
  473 + <img src="/images/code_generator.png">
  474 + </div><span class='star5'>*</span>
  475 + <button class="purple" type="submit" value="Submit">Зарегистрироваться</button>
  476 +
  477 +
  478 + </div>
  479 + </div></form>
  480 +
  481 +
  482 +
  483 + </div>
  484 + </div>
  485 +
  486 + </div>
  487 + </div>
  488 +</div>
  489 +<div id="modal_form_call" style="opacity: 0; top: 45%; display: none;">
  490 + <form method="get" class="cmxform" action="" id="call_form">
  491 + <fieldset>
  492 + <h3>Обратный звонок</h3>
  493 +
  494 +
  495 +
  496 + <input name="name" id="name" placeholder="Имя" minlength="2" type="text" required=""><span class='star'></span>
  497 + <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class='star1'></span>
  498 + <button class="purple" type="submit" value="Submit">Запросить</button>
  499 +
  500 + </fieldset>
  501 + </form>
  502 +
  503 +
  504 +
  505 +</div>
  506 +<div id="modal_form_idea" style="opacity: 0; top: 45%; display: none;">
  507 +
  508 + <span id="modal_close"><img src="/images/close_form.png"></span>
  509 + <form method="get" class="cmxform" action="" id="idea_form">
  510 + <fieldset>
  511 + <h3>Предложить идею</h3>
  512 +
  513 +
  514 +
  515 + <input name="name" id="name" placeholder="Имя" minlength="2" type="text" required=""><span class='star'>*</span>
  516 + <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class='star3'>*</span>
  517 + <input type="email" name="email" id="email" placeholder="email" minlength="" required=""><span class='star2'>*</span>
  518 + <input type="text" name="idea" id="idea" placeholder="Что вы хотите сообщить?" minlength="5" required=""><span class='star4'>*</span>
  519 + <button class="purple" type="submit" value="Submit">Отправить</button>
  520 +
  521 + </fieldset>
  522 + </form>
  523 +
  524 +
  525 +
  526 +</div>
  527 +
  528 +<div id="modal_form_project">
  529 + <span id="modal_close"></span>
  530 + <div class="modal_form_project_first">
  531 + <img src="/images/logo-lr-small.png">
  532 + <a href="">lr.italauto.com.ua</a>
  533 + <h4>Запчасти на Land Rover<br> и Range Rover</h4>
  534 + <ul>
  535 + <li>Оригинальные запчасти</li>
  536 + <li>Сертифицированый продавец</li>
  537 + <li>Более 300 000 товаров</li>
  538 + </ul>
  539 + </div>
  540 +
  541 + <div class="modal_form_project_second" style="margin-top:51px">
  542 + <img src="/images/logo-fiat-small.png">
  543 + <a href="">lr.italauto.com.ua</a>
  544 + <h4 style=" margin-right: 85px;
  545 + margin-top: -75px;">Запчасти на Fiat</h4>
  546 + <ul style="margin-top: -47px;">
  547 + <li>Оригинальные запчасти</li>
  548 + <li>Сертифицированый продавец</li>
  549 + <li>Более 300 000 товаров</li>
  550 + </ul>
  551 + </div>
  552 +
  553 + <div class="modal_form_project_third">
  554 + <img src="/images/logo-mersedes-small.png">
  555 + <a href="">lr.italauto.com.ua</a>
  556 + <h4 style="
  557 + margin-right: 89px;
  558 + margin-top: -83px;
  559 + ">Запчасти на<br> Mercedes Benz</h4>
  560 + <ul style="
  561 + margin-top: -37px;
  562 + margin-right: -3px;
  563 + ">
  564 + <li>Оригинальные запчасти</li>
  565 + <li>Сертифицированый продавец</li>
  566 + <li>Более 300 000 товаров</li>
  567 + </ul>
  568 + </div>
  569 +
  570 +</div>
  571 +
  572 +<div id="modal_form_contact" style="display: none; top: 45%; opacity: 0;">
  573 + <span id="modal_close"><img src="/images/close_form.png"></span>
  574 + <h3>Контакты</h3>
  575 + <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>
  576 + <img src="/images/adress.png" class="ital_auto_adress">
  577 +
  578 +</div>
  579 +<div id="modal_form_consultation" style="opacity: 0; top: 45%; display: none;">
  580 +
  581 + <span id="modal_close"><img src="/images/close_form.png"></span>
  582 + <form method="get" class="cmxform" action="" id="idea_form">
  583 + <fieldset>
  584 + <h3>Помощь консультанта</h3>
  585 +
  586 +
  587 +
  588 + <input name="name" id="name" placeholder="Имя" minlength="2" type="text" required=""><span class='star'>*</span>
  589 + <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class='star1'>*</span>
  590 + <div class="selectize_item2">
  591 + <input class="areamark" placeholder="Какой у вас автомобиль?">
  592 +
  593 +
  594 +
  595 + </div>
  596 + <input type="text" name="idea" id="idea" placeholder="Какие товары вас интересуют?" minlength="5" required=""><span class='star2'>*</span>
  597 + <button class="purple" type="submit" value="Submit">Отправить</button>
  598 +
  599 + </fieldset>
  600 + </form>
  601 +
  602 +
  603 +
  604 +</div>
  605 +<div id="overlay" style="display: none;"></div>
  606 +<div id="overlay1" style="display: none;"></div>
  607 +<div id="overlay2" style="display: none;"></div>
  608 +
  609 +
  610 +<script type="text/javascript">
  611 + $(document).ready(function(){
  612 +
  613 + $("#enter_form").validate({
  614 + rules: {
  615 + field: {
  616 + required: true,
  617 + email: true
  618 + }
  619 + }
  620 + });
  621 +
  622 +
  623 +
  624 + $('#call_form').validate();
  625 +
  626 + $('#idea_form').validate();
  627 +
  628 + $('#jform1').validate();
  629 +
  630 + $('#registration_form').validate();
  631 + });
  632 +
  633 +</script>
163 <?php $this->endBody() ?> 634 <?php $this->endBody() ?>
164 </body> 635 </body>
165 </html> 636 </html>
frontend/views/layouts/outer.php
@@ -101,397 +101,6 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;); @@ -101,397 +101,6 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
101 101
102 <?= $content ?> 102 <?= $content ?>
103 103
104 -  
105 - <div class="footer_width">  
106 - <div class="footer">  
107 -  
108 -  
109 - <div class="first_block">  
110 - <p style="font-size:22px; margin-bottom:20px;font-weight: normal">Контакты</p><br>  
111 - <p style="font-size:16px">г.Киев ул.Изюмская 5</p><br>  
112 - <img src="/images/pointer.png">  
113 - <a href="" name="map" id="go_contacts">посмотреть на карте</a><br><br>  
114 - <div class="telephone">  
115 - <span><img src="/images/mts_contacts.png"></span>  
116 - <p>050-0400-192</p><br>  
117 - <span><img src="/images/kyiv_contacts.png"></span>  
118 - <p>097-0400-192</p><br>  
119 - <span><img src="/images/life_contacts.png"></span>  
120 - <p>093-0400-192</p><br>  
121 - </div>  
122 - <img src="/images/call_back.png">  
123 - <a href="" data-toggle="modal" data-target="#myModal">обратный звонок</a>  
124 - </div>  
125 -  
126 - <div class="second_block">  
127 - <p style="font-size:22px;font-weight: normal">Интернет магазин</p><br>  
128 - <a href=""><p>Оплата и доставка</p></a>  
129 - <a href=""><p>О компании</p></a>  
130 - <a href=""><p>Наша команда</p></a>  
131 - <a href=""><p>Миссия</p></a>  
132 - <a href=""><p>Гарантия и условия возврата</p></a>  
133 - <a href=""><p>Помощь</p></a>  
134 -  
135 - </div>  
136 - <div class="third_block">  
137 - <p style="font-size:22px;font-weight: normal">Для партнеров</p><br>  
138 - <a href=""><p>Поставщикам</p></a>  
139 - <a href=""><p>Оптовикам</p></a>  
140 - <a href="" name="idea" id="go_idea">Предложить идею</a>  
141 -  
142 - </div>  
143 -  
144 - <div class="forth_block">  
145 - <p style="font-size:22px;font-weight: normal">Обратная связь</p><br>  
146 - <img src="/images/envelope.png">  
147 - <a href="">kiev@italauto.com.ua</a><br>  
148 - <img src="/images/skype.png">  
149 - <a href="">retror0107</a>  
150 -  
151 -  
152 - </div>  
153 -  
154 -  
155 -  
156 - </div>  
157 - </div>  
158 - <div class="purple_stripe">  
159 - <div class="purple_stripe_center">  
160 - <p id="footer_first">© 2015 Italauto. Все права защищены.</p>  
161 - <a href=""><img src="/images/facebook.png" style="  
162 - position: absolute;  
163 - left: 327px;  
164 - top: 14px;  
165 - "></a>  
166 - <p id="footer_second"><a href="">Присоединяйтесь</a></p>  
167 -  
168 - <p id="footer_third"><a href="http://artweb.ua/">Создание сайтов</a></p>  
169 - <a href=""><img src="/images/icon_artweb.png" style="  
170 - position: absolute;  
171 - right: 83px;  
172 - top: 16px;  
173 - "></a>  
174 - </div>  
175 - </div>  
176 -  
177 - <div id="modal_form" style="opacity: 0; top: 45%; display: none;">  
178 - <span id="modal_close"><img src="/images/close_form.png"></span>  
179 - <form method="get" class="cmxform" action="" id="enter_form">  
180 - <fieldset>  
181 - <h3>Вход в личный кабинет</h3>  
182 -  
183 -  
184 -  
185 - <input type="email" name="email" id="email" placeholder="email" minlength="" required=""><span class="star">*</span>  
186 -  
187 - <input type="password" name="password" id="password" placeholder="Пароль" minlength="5" maxlength="12" required=""><span class="star1">*</span>  
188 - <input type="checkbox" id="assurance" class="filter-two" name="assurance" value="assurance" >  
189 - <label for="assurance"><span></span><a href=""></a></label>  
190 -  
191 - <a href="" class="own_page1">Запомнить меня</a>  
192 - <a href="" class="own_page2">Забыли пароль?</a>  
193 - <button class="purple" type="submit" value="Submit">Войти</button>  
194 -  
195 -  
196 - </fieldset>  
197 - </form>  
198 -  
199 - <a href="" class="own_page3" class="btn btn-lg btn-default" data-toggle="modal"  
200 - data-target="#basicModal"  
201 - data-remote="registration_form.html"  
202 - ><span>Зарегистрироваться</span></a>  
203 -  
204 - </div>  
205 -  
206 - <div class="modal fade" id="basicModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">  
207 - <div class="modal-dialog" role="document">  
208 - <div class="modal-content1">  
209 - <div class="modal-header">  
210 - <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><img src="/images/button_close.jpg"></span></button>  
211 - </div>  
212 - <div class="modal-body1">  
213 - <div id="modal_form_registration" >  
214 - <form action="" method="post" id="registration_form">  
215 - <h3>Заявка на регистрацию</h3>  
216 - <div class="purple_registration active_button" style=" border-radius:12px 0 0 0 " id="person"><p>Частное лицо</p></div><div id="company" class="purple_registration"><p>Оптовик</p></div>  
217 - <div class="registration_holder">  
218 -  
219 - <div class="registration_for_person">  
220 -  
221 -  
222 - <input type="text" name="familyname" id="family_name" placeholder="Фамилия  
223 - " minlength="2" required=""><span class='star'>*</span>  
224 -  
225 - <input name="name" id="name" placeholder="Имя" minlength="2" type="text" required=""><span class='star1'>*</span>  
226 - <input type="email" name="email" id="email_registration" placeholder="email" minlength="10" required=""><span class='star2'>*</span>  
227 -  
228 - <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class='star3'>*</span>  
229 - <input type="telephone" name="telephone" id="telephone_registration_add" placeholder="Телефон"><span class='star4'>*</span>  
230 - <p class="add_telephone" style="font-size: 14px;  
231 - margin-right: 12px;  
232 - margin-top: 10px;">добавить еще 1 телефон</p>  
233 - <p>Фактический адрес</p>  
234 - <div class="selectize_item2">  
235 -  
236 -  
237 - <select class="area">  
238 - <option value="" disabled="" selected="">Выберите область</option>  
239 - <option value="2">Выбери меня!</option>  
240 - <option value="3">Выбери меня!</option>  
241 - <option value="5">Меня!</option>  
242 - <option value="4">Меня</option>  
243 - </select>  
244 -  
245 - </div>  
246 - <div class="selectize_item2">  
247 -  
248 -  
249 - <select class="city">  
250 - <option value="" disabled="" selected="">Выберите город</option>  
251 - <option value="2">Выбери меня!</option>  
252 - <option value="3">Выбери меня!</option>  
253 - <option value="5">Меня!</option>  
254 - <option value="4">Меня</option>  
255 - </select>  
256 -  
257 - </div>  
258 - <div class="selectize_item2">  
259 -  
260 -  
261 - <select class="steel1">  
262 - <option value="" disabled="" selected="">Перевозчик</option>  
263 - <option value="2">Выбери меня!</option>  
264 - <option value="3">Выбери меня!</option>  
265 - <option value="5">Меня!</option>  
266 - <option value="4">Меня</option>  
267 - </select>  
268 -  
269 - </div>  
270 -  
271 - <input type="text" placeholder="Введите код" id="code_input" required="4"><span class='star5'>*</span>  
272 - <div class="code_generate">  
273 - <img src="/images/code_generator.png">  
274 - </div>  
275 - <button class="purple" type="submit" value="Submit">Зарегистрироваться</button>  
276 -  
277 -  
278 - </div>  
279 - <div class="registration_for_company">  
280 -  
281 - <input type="text" name="fullname" id="company_name" placeholder="Компания  
282 - " minlength="2" required="">  
283 - <input type="text" name="fullname" id="family_name" placeholder="Фамилия  
284 - " minlength="2" required=""><span class='star'>*</span>  
285 -  
286 - <input type="" name="name" id="name" placeholder="Имя" minlength="2" required=""><span class='star1'>*</span>  
287 - <input type="email" name="email" id="email_registration" placeholder="email" minlength="10" required=""><span class='star3'>*</span>  
288 -  
289 - <input type="telephone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class='star4'>*</span><span class='star6'>*</span>  
290 - <input type="telephone" name="telephone" id="telephone_registration_add1" placeholder="Телефон" style="display:none">  
291 - <p class="add_telephone1" style="font-size: 14px;  
292 - margin-right: 12px;  
293 - margin-top: 10px;">добавить еще 1 телефон</p>  
294 - <p>Фактический адрес</p>  
295 - <div class="selectize_item2">  
296 -  
297 -  
298 - <select class="area">  
299 - <option value="" disabled="" selected="">Выберите область</option>  
300 - <option value="2">Выбери меня!</option>  
301 - <option value="3">Выбери меня!</option>  
302 - <option value="5">Меня!</option>  
303 - <option value="4">Меня</option>  
304 - </select>  
305 -  
306 - </div>  
307 - <div class="selectize_item2">  
308 -  
309 -  
310 - <select class="city">  
311 - <option value="" disabled="" selected="">Выберите город</option>  
312 - <option value="2">Выбери меня!</option>  
313 - <option value="3">Выбери меня!</option>  
314 - <option value="5">Меня!</option>  
315 - <option value="4">Меня</option>  
316 - </select>  
317 -  
318 - </div>  
319 - <div class="selectize_item2">  
320 -  
321 -  
322 - <select class="steel1">  
323 - <option value="" disabled="" selected="">Перевозчик</option>  
324 - <option value="2">Выбери меня!</option>  
325 - <option value="3">Выбери меня!</option>  
326 - <option value="5">Меня!</option>  
327 - <option value="4">Меня</option>  
328 - </select>  
329 -  
330 - </div>  
331 -  
332 - <input type="text" placeholder="Введите код" id="code_input" required='4'>  
333 - <div class="code_generate">  
334 - <img src="/images/code_generator.png">  
335 - </div><span class='star5'>*</span>  
336 - <button class="purple" type="submit" value="Submit">Зарегистрироваться</button>  
337 -  
338 -  
339 - </div>  
340 - </div></form>  
341 -  
342 -  
343 -  
344 - </div>  
345 - </div>  
346 -  
347 - </div>  
348 - </div>  
349 - </div>  
350 - <div id="modal_form_call" style="opacity: 0; top: 45%; display: none;">  
351 - <form method="get" class="cmxform" action="" id="call_form">  
352 - <fieldset>  
353 - <h3>Обратный звонок</h3>  
354 -  
355 -  
356 -  
357 - <input name="name" id="name" placeholder="Имя" minlength="2" type="text" required=""><span class='star'></span>  
358 - <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class='star1'></span>  
359 - <button class="purple" type="submit" value="Submit">Запросить</button>  
360 -  
361 - </fieldset>  
362 - </form>  
363 -  
364 -  
365 -  
366 - </div>  
367 - <div id="modal_form_idea" style="opacity: 0; top: 45%; display: none;">  
368 -  
369 - <span id="modal_close"><img src="/images/close_form.png"></span>  
370 - <form method="get" class="cmxform" action="" id="idea_form">  
371 - <fieldset>  
372 - <h3>Предложить идею</h3>  
373 -  
374 -  
375 -  
376 - <input name="name" id="name" placeholder="Имя" minlength="2" type="text" required=""><span class='star'>*</span>  
377 - <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class='star3'>*</span>  
378 - <input type="email" name="email" id="email" placeholder="email" minlength="" required=""><span class='star2'>*</span>  
379 - <input type="text" name="idea" id="idea" placeholder="Что вы хотите сообщить?" minlength="5" required=""><span class='star4'>*</span>  
380 - <button class="purple" type="submit" value="Submit">Отправить</button>  
381 -  
382 - </fieldset>  
383 - </form>  
384 -  
385 -  
386 -  
387 - </div>  
388 -  
389 - <div id="modal_form_project">  
390 - <span id="modal_close"></span>  
391 - <div class="modal_form_project_first">  
392 - <img src="/images/logo-lr-small.png">  
393 - <a href="">lr.italauto.com.ua</a>  
394 - <h4>Запчасти на Land Rover<br> и Range Rover</h4>  
395 - <ul>  
396 - <li>Оригинальные запчасти</li>  
397 - <li>Сертифицированый продавец</li>  
398 - <li>Более 300 000 товаров</li>  
399 - </ul>  
400 - </div>  
401 -  
402 - <div class="modal_form_project_second" style="margin-top:51px">  
403 - <img src="/images/logo-fiat-small.png">  
404 - <a href="">lr.italauto.com.ua</a>  
405 - <h4 style=" margin-right: 85px;  
406 - margin-top: -75px;">Запчасти на Fiat</h4>  
407 - <ul style="margin-top: -47px;">  
408 - <li>Оригинальные запчасти</li>  
409 - <li>Сертифицированый продавец</li>  
410 - <li>Более 300 000 товаров</li>  
411 - </ul>  
412 - </div>  
413 -  
414 - <div class="modal_form_project_third">  
415 - <img src="/images/logo-mersedes-small.png">  
416 - <a href="">lr.italauto.com.ua</a>  
417 - <h4 style="  
418 - margin-right: 89px;  
419 - margin-top: -83px;  
420 - ">Запчасти на<br> Mercedes Benz</h4>  
421 - <ul style="  
422 - margin-top: -37px;  
423 - margin-right: -3px;  
424 - ">  
425 - <li>Оригинальные запчасти</li>  
426 - <li>Сертифицированый продавец</li>  
427 - <li>Более 300 000 товаров</li>  
428 - </ul>  
429 - </div>  
430 -  
431 - </div>  
432 -  
433 - <div id="modal_form_contact" style="display: none; top: 45%; opacity: 0;">  
434 - <span id="modal_close"><img src="/images/close_form.png"></span>  
435 - <h3>Контакты</h3>  
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>  
437 - <img src="/images/adress.png" class="ital_auto_adress">  
438 -  
439 - </div>  
440 - <div id="modal_form_consultation" style="opacity: 0; top: 45%; display: none;">  
441 -  
442 - <span id="modal_close"><img src="/images/close_form.png"></span>  
443 - <form method="get" class="cmxform" action="" id="idea_form">  
444 - <fieldset>  
445 - <h3>Помощь консультанта</h3>  
446 -  
447 -  
448 -  
449 - <input name="name" id="name" placeholder="Имя" minlength="2" type="text" required=""><span class='star'>*</span>  
450 - <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class='star1'>*</span>  
451 - <div class="selectize_item2">  
452 - <input class="areamark" placeholder="Какой у вас автомобиль?">  
453 -  
454 -  
455 -  
456 - </div>  
457 - <input type="text" name="idea" id="idea" placeholder="Какие товары вас интересуют?" minlength="5" required=""><span class='star2'>*</span>  
458 - <button class="purple" type="submit" value="Submit">Отправить</button>  
459 -  
460 - </fieldset>  
461 - </form>  
462 -  
463 -  
464 -  
465 - </div>  
466 - <div id="overlay" style="display: none;"></div>  
467 - <div id="overlay1" style="display: none;"></div>  
468 - <div id="overlay2" style="display: none;"></div>  
469 -  
470 -  
471 - <script type="text/javascript">  
472 - $(document).ready(function(){  
473 -  
474 - $("#enter_form").validate({  
475 - rules: {  
476 - field: {  
477 - required: true,  
478 - email: true  
479 - }  
480 - }  
481 - });  
482 -  
483 -  
484 -  
485 - $('#call_form').validate();  
486 -  
487 - $('#idea_form').validate();  
488 -  
489 - $('#jform1').validate();  
490 -  
491 - $('#registration_form').validate();  
492 - });  
493 -  
494 - </script>  
495 <?php $this->endContent() ?> 104 <?php $this->endContent() ?>
496 105
497 <head> 106 <head>
frontend/views/news/index.php 0 → 100644
  1 +<?php
  2 +
  3 +/* @var $this yii\web\View */
  4 +/* @var $searchModel common\models\NewsSearch */
  5 +/* @var $dataProvider yii\data\ActiveDataProvider */
  6 +
  7 +use \yii\widgets\MyListView;
  8 +$this->registerCssFile('/css/style/news_all.css');
  9 +$this->title ='Новости';
  10 +$this->params['breadcrumbs'][] = $this->title;
  11 +?>
  12 +
  13 +
  14 +
  15 +
  16 +
  17 +
  18 +
  19 +
  20 +
  21 +<div class="vin">
  22 + <p class="vin_article">Новости</p>
  23 + <div class="choose_tovar">
  24 + <?php
  25 + echo MyListView::widget( [
  26 + 'dataProvider' => $dataProvider,
  27 + 'itemView'=>'one_item',
  28 + 'summary'=>'',
  29 + 'layout' => "{items}
  30 + <div id='pagination' class='pager-block'>{pager}</div>"
  31 + ] );
  32 + ?>
  33 + </div>
  34 +
  35 +</div>
0 \ No newline at end of file 36 \ No newline at end of file
frontend/views/news/one_item.php 0 → 100644
  1 +<?php
  2 +use \yii\helpers\Html;
  3 +?>
  4 +
  5 +
  6 +<div class="news">
  7 + <?= Html::a(Html::img($model->img),['news/view', 'translit' =>$model->code ]) ?>
  8 + <span class='date'><?= $model->date?></span><br>
  9 + <?= Html::a("<p class='article'>".$model->name."</p>",['news/view', 'translit' =>$model->code ]) ?>
  10 + <?= Html::a("<p class='short_news'>".$model->brief."</p>",['news/view', 'translit' =>$model->code ]) ?>
  11 +</div>
0 \ No newline at end of file 12 \ No newline at end of file
frontend/views/site/article.php renamed to frontend/views/news/view.php
@@ -2,14 +2,11 @@ @@ -2,14 +2,11 @@
2 2
3 $this->registerCssFile('/css/style/news_all.css'); 3 $this->registerCssFile('/css/style/news_all.css');
4 4
  5 +$this->title = 'Приход товара Magneti Marelli';
  6 +$this->params['breadcrumbs'][] = ['label' => 'Новости', 'url' => ['index']];
5 $this->params['breadcrumbs'][] = $this->title; 7 $this->params['breadcrumbs'][] = $this->title;
6 ?> 8 ?>
7 <div class="vin"> 9 <div class="vin">
8 - <a href="" class="navigation">Италавто</a>  
9 - <img src="/images/arrow_dots.png" class='arrow_go'>  
10 - <a href="" class="navigation">Новости</a>  
11 - <img src="/images/arrow_dots.png" class='arrow_go'>  
12 - <span>Приход товара Magneti Marelli</span>  
13 <p class="vin_article">Приход товара Magneti Marelli</p> 10 <p class="vin_article">Приход товара Magneti Marelli</p>
14 </div> 11 </div>
15 <div class="choose_tovar"> 12 <div class="choose_tovar">
@@ -58,82 +55,3 @@ Magneti Marelli была основана в 1919 году как совмест @@ -58,82 +55,3 @@ Magneti Marelli была основана в 1919 году как совмест
58 </div> 55 </div>
59 <img src="/images/lonh_line.png" style="margin-top:-20px;opacity:0"> 56 <img src="/images/lonh_line.png" style="margin-top:-20px;opacity:0">
60 </div> 57 </div>
61 -  
62 -<div class="slider_block1">  
63 - <div class="tovars">  
64 - <p style="display:inline-block">Наши проекты</p>  
65 - <span><img src="/images/arrow_slider_back.png"></span>  
66 - <span class="number_of">1/</span>  
67 - <span class="general_number">5</span>  
68 - <span><img src="/images/arrow_slider_go.png"></span>  
69 - <div class="slider_tovars">  
70 -  
71 - <table class="block_project">  
72 - <tbody><tr><td>  
73 - <img src="/images/logo-lr-small.png">  
74 - </td></tr>  
75 - <tr><td>  
76 - <a href="">lr.italauto.com.ua</a>  
77 - </td></tr>  
78 - <tr><td>  
79 - <ul>  
80 - <h4>Запчасти на Land Rover<br> и Range Rover</h4>  
81 - <li>Оригинальные запчасти</li>  
82 - <li>Сертифицированый продавец</li>  
83 - <li>Более 300 000 товаров</li>  
84 - </ul>  
85 - </td></tr>  
86 - </tbody></table>  
87 - <table class="block_project">  
88 - <tbody><tr><td>  
89 - <img src="/images/logo-mersedes-small.png">  
90 - </td></tr>  
91 - <tr><td>  
92 - <a href="">lr.italauto.com.ua</a>  
93 - </td></tr>  
94 - <tr><td>  
95 - <ul>  
96 - <h4>Запчасти на<br> Mercedes Benz</h4>  
97 - <li>Оригинальные запчасти</li>  
98 - <li>Сертифицированый продавец</li>  
99 - <li>Более 300 000 товаров</li>  
100 - </ul>  
101 - </td></tr>  
102 - </tbody></table>  
103 - <table class="block_project">  
104 - <tbody><tr><td>  
105 - <img src="/images/logo-fiat-small.png">  
106 - </td></tr>  
107 - <tr><td>  
108 - <a href="">lr.italauto.com.ua</a>  
109 - </td></tr>  
110 - <tr><td>  
111 - <ul>  
112 - <h4>Запчасти на FIAT</h4>  
113 - <li>Оригинальные запчасти</li>  
114 - <li>Сертифицированый продавец</li>  
115 - <li>Более 300 000 товаров</li>  
116 - </ul>  
117 - </td></tr>  
118 - </tbody></table>  
119 - <table class="block_project">  
120 - <tbody><tr><td>  
121 - <img src="/images/logo-lr-small.png">  
122 - </td></tr>  
123 - <tr><td>  
124 - <a href="">lr.italauto.com.ua</a>  
125 - </td></tr>  
126 - <tr><td>  
127 - <ul>  
128 - <h4>Запчасти на Land Rover<br> и Range Rover</h4>  
129 - <li>Оригинальные запчасти</li>  
130 - <li>Сертифицированый продавец</li>  
131 - <li>Более 300 000 товаров</li>  
132 - </ul>  
133 - </td></tr>  
134 - </tbody></table>  
135 -  
136 - </div>  
137 -  
138 - </div>  
139 - </div>  
frontend/views/site/about.php
@@ -221,84 +221,4 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title; @@ -221,84 +221,4 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
221 </div> 221 </div>
222 </div> 222 </div>
223 <img src="/images/lonh_line.png" class='long_line'> 223 <img src="/images/lonh_line.png" class='long_line'>
224 -</div>  
225 -  
226 -  
227 -<div class="slider_block1">  
228 - <div class="tovars">  
229 - <p style="display:inline-block">Наши проекты</p>  
230 - <span><img src="/images/arrow_slider_back.png"></span>  
231 - <span class="number_of">1/</span>  
232 - <span class="general_number">5</span>  
233 - <span><img src="/images/arrow_slider_go.png"></span>  
234 - <div class="slider_tovars">  
235 -  
236 - <table class="block_project">  
237 - <tbody><tr><td>  
238 - <img src="/images/logo-lr-small.png">  
239 - </td></tr>  
240 - <tr><td>  
241 - <a href="">lr.italauto.com.ua</a>  
242 - </td></tr>  
243 - <tr><td>  
244 - <ul>  
245 - <h4>Запчасти на Land Rover<br> и Range Rover</h4>  
246 - <li>Оригинальные запчасти</li>  
247 - <li>Сертифицированый продавец</li>  
248 - <li>Более 300 000 товаров</li>  
249 - </ul>  
250 - </td></tr>  
251 - </tbody></table>  
252 - <table class="block_project">  
253 - <tbody><tr><td>  
254 - <img src="/images/logo-mersedes-small.png">  
255 - </td></tr>  
256 - <tr><td>  
257 - <a href="">lr.italauto.com.ua</a>  
258 - </td></tr>  
259 - <tr><td>  
260 - <ul>  
261 - <h4>Запчасти на<br> Mercedes Benz</h4>  
262 - <li>Оригинальные запчасти</li>  
263 - <li>Сертифицированый продавец</li>  
264 - <li>Более 300 000 товаров</li>  
265 - </ul>  
266 - </td></tr>  
267 - </tbody></table>  
268 - <table class="block_project">  
269 - <tbody><tr><td>  
270 - <img src="/images/logo-fiat-small.png">  
271 - </td></tr>  
272 - <tr><td>  
273 - <a href="">lr.italauto.com.ua</a>  
274 - </td></tr>  
275 - <tr><td>  
276 - <ul>  
277 - <h4>Запчасти на FIAT</h4>  
278 - <li>Оригинальные запчасти</li>  
279 - <li>Сертифицированый продавец</li>  
280 - <li>Более 300 000 товаров</li>  
281 - </ul>  
282 - </td></tr>  
283 - </tbody></table>  
284 - <table class="block_project">  
285 - <tbody><tr><td>  
286 - <img src="/images/logo-lr-small.png">  
287 - </td></tr>  
288 - <tr><td>  
289 - <a href="">lr.italauto.com.ua</a>  
290 - </td></tr>  
291 - <tr><td>  
292 - <ul>  
293 - <h4>Запчасти на Land Rover<br> и Range Rover</h4>  
294 - <li>Оригинальные запчасти</li>  
295 - <li>Сертифицированый продавец</li>  
296 - <li>Более 300 000 товаров</li>  
297 - </ul>  
298 - </td></tr>  
299 - </tbody></table>  
300 -  
301 - </div>  
302 -  
303 - </div>  
304 - </div>  
305 \ No newline at end of file 224 \ No newline at end of file
  225 +</div>
306 \ No newline at end of file 226 \ No newline at end of file
frontend/views/site/index.php
  1 +<?php
  2 +use \yii\helpers\Url;
  3 +use \yii\helpers\Html;
  4 +?>
1 <div class="layer_catalog"> 5 <div class="layer_catalog">
2 <div class="choose_tovar"> 6 <div class="choose_tovar">
3 <p>Выберите как вам удобнее искать товар:</p> 7 <p>Выберите как вам удобнее искать товар:</p>
@@ -572,7 +576,7 @@ @@ -572,7 +576,7 @@
572 576
573 </div> 577 </div>
574 <div class="news"> 578 <div class="news">
575 - <p style="display:inline-block;font-size: 22px;">Новости</p> 579 + <?= Html::a( 'Новости', 'news/index',['class'=>'main_link_news'])?>
576 <span><img src="/images/arrow_slider_back.png"></span> 580 <span><img src="/images/arrow_slider_back.png"></span>
577 <span class="number_of">1/</span> 581 <span class="number_of">1/</span>
578 <span class="general_number">5</span> 582 <span class="general_number">5</span>
@@ -589,112 +593,4 @@ @@ -589,112 +593,4 @@
589 593
590 </div> 594 </div>
591 </div> 595 </div>
592 -</div>  
593 -<div class="slider_block1">  
594 - <div class="tovars">  
595 - <p style="display:inline-block">Наши проекты</p>  
596 - <span><img src="/images/arrow_slider_back.png"></span>  
597 - <span class="number_of">1/</span>  
598 - <span class="general_number">5</span>  
599 - <span><img src="/images/arrow_slider_go.png"></span>  
600 - <div class="slider_tovars">  
601 -  
602 - <table class="block_project">  
603 - <tr><td>  
604 - <img src="/images/logo-lr-small.png">  
605 - </td></tr>  
606 - <tr><td>  
607 - <a href="">lr.italauto.com.ua</a>  
608 - </td></tr>  
609 - <tr><td>  
610 - <ul>  
611 - <h4>Запчасти на Land Rover<br> и Range Rover</h4>  
612 - <li>Оригинальные запчасти</li>  
613 - <li>Сертифицированый продавец</li>  
614 - <li>Более 300 000 товаров</li>  
615 - </ul>  
616 - </td></tr>  
617 - </table>  
618 - <table class="block_project">  
619 - <tr><td>  
620 - <img src="/images/logo-mersedes-small.png">  
621 - </td></tr>  
622 - <tr><td>  
623 - <a href="">lr.italauto.com.ua</a>  
624 - </td></tr>  
625 - <tr><td>  
626 - <ul>  
627 - <h4>Запчасти на<br> Mercedes Benz</h4>  
628 - <li>Оригинальные запчасти</li>  
629 - <li>Сертифицированый продавец</li>  
630 - <li>Более 300 000 товаров</li>  
631 - </ul>  
632 - </td></tr>  
633 - </table>  
634 - <table class="block_project">  
635 - <tr><td>  
636 - <img src="/images/logo-fiat-small.png">  
637 - </td></tr>  
638 - <tr><td>  
639 - <a href="">lr.italauto.com.ua</a>  
640 - </td></tr>  
641 - <tr><td>  
642 - <ul>  
643 - <h4>Запчасти на FIAT</h4>  
644 - <li>Оригинальные запчасти</li>  
645 - <li>Сертифицированый продавец</li>  
646 - <li>Более 300 000 товаров</li>  
647 - </ul>  
648 - </td></tr>  
649 - </table>  
650 - <table class="block_project">  
651 - <tr><td>  
652 - <img src="/images/logo-lr-small.png">  
653 - </td></tr>  
654 - <tr><td>  
655 - <a href="">lr.italauto.com.ua</a>  
656 - </td></tr>  
657 - <tr><td>  
658 - <ul>  
659 - <h4>Запчасти на Land Rover<br> и Range Rover</h4>  
660 - <li>Оригинальные запчасти</li>  
661 - <li>Сертифицированый продавец</li>  
662 - <li>Более 300 000 товаров</li>  
663 - </ul>  
664 - </td></tr>  
665 - </table>  
666 - <!-- <div class="block_project">  
667 - <img src="/images/logo-mersedes-small.png">  
668 - <a href="">lr.italauto.com.ua</a>  
669 - <ul>  
670 - <h4>Запчасти на<br> Mercedes Benz</h4>  
671 - <li>Оригинальные запчасти</li>  
672 - <li>Сертифицированый продавец</li>  
673 - <li>Более 300 000 товаров</li>  
674 - </ul>  
675 - </div>  
676 - <div class="block_project">  
677 - <img src="/images/logo-fiat-small.png">  
678 - <a href="">lr.italauto.com.ua</a>  
679 - <ul>  
680 - <h4>Запчасти на FIAT</h4>  
681 - <li>Оригинальные запчасти</li>  
682 - <li>Сертифицированый продавец</li>  
683 - <li>Более 300 000 товаров</li>  
684 - </ul>  
685 - </div>  
686 - <div class="block_project">  
687 - <img src="/images/logo-lr-small.png">  
688 - <a href="">lr.italauto.com.ua</a>  
689 - <ul>  
690 - <h4>Запчасти на Land Rover<br> и Range Rover</h4>  
691 - <li>Оригинальные запчасти</li>  
692 - <li>Сертифицированый продавец</li>  
693 - <li>Более 300 000 товаров</li>  
694 - </ul>  
695 - </div> -->  
696 -  
697 - </div>  
698 -  
699 - </div>  
700 -</div> 596 +</div>
701 \ No newline at end of file 597 \ No newline at end of file
frontend/views/site/news_all.php deleted
1 -<?php  
2 -  
3 -$this->registerCssFile('/css/style/news_all.css');  
4 -  
5 -$this->params['breadcrumbs'][] = $this->title;  
6 -?>  
7 -  
8 -  
9 -  
10 -  
11 -  
12 -  
13 -  
14 -  
15 -  
16 -<div class="vin">  
17 - <a href="" class="navigation">Италавто</a>  
18 - <img src="/images/arrow_dots.png" class='arrow_go'>  
19 - <span>Новости</span>  
20 - <p class="vin_article">Новости</p>  
21 - </div>  
22 -<div class="choose_tovar">  
23 -<a href="">  
24 -<div class="news">  
25 - <img src="/images/news2.png">  
26 - <span class='date'>07.08.2015</span><br>  
27 - <p class='article'>Приход товара Magnetti Marelli</p>  
28 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
29 -</div>  
30 -</a>  
31 -<a href="">  
32 -<div class="news">  
33 - <img src="/images/news2.png">  
34 - <span class='date'>07.08.2015</span><br>  
35 - <p class='article'>Приход товара Magnetti Marelli</p>  
36 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
37 -</div>  
38 -</a>  
39 -<a href="">  
40 -<div class="news">  
41 - <img src="/images/news1.png">  
42 - <span class='date'>07.08.2015</span><br>  
43 - <p class='article'>Приход товара Magnetti Marelli</p>  
44 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
45 -</div>  
46 -</a>  
47 -<a href="">  
48 -<div class="news">  
49 - <img src="/images/news1.png">  
50 - <span class='date'>07.08.2015</span><br>  
51 - <p class='article'>Приход товара Magnetti Marelli</p>  
52 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
53 -</div>  
54 -</a>  
55 -<a href="">  
56 -<div class="news">  
57 - <img src="/images/news2.png">  
58 - <span class='date'>07.08.2015</span><br>  
59 - <p class='article'>Приход товара Magnetti Marelli</p>  
60 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
61 -</div>  
62 -</a>  
63 -<a href="">  
64 -<div class="news">  
65 - <img src="/images/news2.png">  
66 - <span class='date'>07.08.2015</span><br>  
67 - <p class='article'>Приход товара Magnetti Marelli</p>  
68 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
69 -</div>  
70 -</a>  
71 -<a href="">  
72 -<div class="news">  
73 - <img src="/images/news1.png">  
74 - <span class='date'>07.08.2015</span><br>  
75 - <p class='article'>Приход товара Magnetti Marelli</p>  
76 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
77 -</div>  
78 -</a>  
79 -<a href="">  
80 -<div class="news">  
81 - <img src="/images/news1.png">  
82 - <span class='date'>07.08.2015</span><br>  
83 - <p class='article'>Приход товара Magnetti Marelli</p>  
84 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
85 -</div>  
86 -</a>  
87 -<a href="">  
88 -<div class="news">  
89 - <img src="/images/news2.png">  
90 - <span class='date'>07.08.2015</span><br>  
91 - <p class='article'>Приход товара Magnetti Marelli</p>  
92 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
93 -</div>  
94 -</a>  
95 -<a href="">  
96 -<div class="news">  
97 - <img src="/images/news2.png">  
98 - <span class='date'>07.08.2015</span><br>  
99 - <p class='article'>Приход товара Magnetti Marelli</p>  
100 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
101 -</div>  
102 -</a>  
103 -<a href="">  
104 -<div class="news">  
105 - <img src="/images/news1.png">  
106 - <span class='date'>07.08.2015</span><br>  
107 - <p class='article'>Приход товара Magnetti Marelli</p>  
108 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
109 -</div>  
110 -</a>  
111 -<a href="">  
112 -<div class="news">  
113 - <img src="/images/news1.png">  
114 - <span class='date'>07.08.2015</span><br>  
115 - <p class='article'>Приход товара Magnetti Marelli</p>  
116 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
117 -</div>  
118 -</a>  
119 -<a href="">  
120 -<div class="news">  
121 - <img src="/images/news2.png">  
122 - <span class='date'>07.08.2015</span><br>  
123 - <p class='article'>Приход товара Magnetti Marelli</p>  
124 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
125 -</div>  
126 -</a>  
127 -<a href="">  
128 -<div class="news">  
129 - <img src="/images/news2.png">  
130 - <span class='date'>07.08.2015</span><br>  
131 - <p class='article'>Приход товара Magnetti Marelli</p>  
132 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
133 -</div>  
134 -</a>  
135 -<a href="">  
136 -<div class="news">  
137 - <img src="/images/news1.png">  
138 - <span class='date'>07.08.2015</span><br>  
139 - <p class='article'>Приход товара Magnetti Marelli</p>  
140 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
141 -</div>  
142 -</a>  
143 -<a href="">  
144 -<div class="news">  
145 - <img src="/images/news1.png">  
146 - <span class='date'>07.08.2015</span><br>  
147 - <p class='article'>Приход товара Magnetti Marelli</p>  
148 - <p class="short_news">На склад поступила очередная партия товара Magneti Marelli</p>  
149 -</div>  
150 -</a>  
151 -<div id="pagination" class="pager-block">  
152 - <ul class="pagination">  
153 -  
154 - <li class="active"><a href="/stone/index?page=1&amp;per-page=6" data-page="0">1</a></li>  
155 - <li><a href="/stone/index?page=2&amp;per-page=6" data-page="1">2</a></li>  
156 - <li><a href="/stone/index?page=3&amp;per-page=6" data-page="2">3</a></li>  
157 - <li><a href="/stone/index?page=4&amp;per-page=6" data-page="3">4</a></li>  
158 - <li><a href="/stone/index?page=5&amp;per-page=6" data-page="4">5</a></li>  
159 -  
160 -  
161 -</ul>  
162 -</div>  
163 -</div>  
164 -  
165 -<div class="slider_block1">  
166 - <div class="tovars">  
167 - <p style="display:inline-block">Наши проекты</p>  
168 - <span><img src="/images/arrow_slider_back.png"></span>  
169 - <span class="number_of">1/</span>  
170 - <span class="general_number">5</span>  
171 - <span><img src="/images/arrow_slider_go.png"></span>  
172 - <div class="slider_tovars">  
173 -  
174 - <table class="block_project">  
175 - <tbody><tr><td>  
176 - <img src="/images/logo-lr-small.png">  
177 - </td></tr>  
178 - <tr><td>  
179 - <a href="">lr.italauto.com.ua</a>  
180 - </td></tr>  
181 - <tr><td>  
182 - <ul>  
183 - <h4>Запчасти на Land Rover<br> и Range Rover</h4>  
184 - <li>Оригинальные запчасти</li>  
185 - <li>Сертифицированый продавец</li>  
186 - <li>Более 300 000 товаров</li>  
187 - </ul>  
188 - </td></tr>  
189 - </tbody></table>  
190 - <table class="block_project">  
191 - <tbody><tr><td>  
192 - <img src="/images/logo-mersedes-small.png">  
193 - </td></tr>  
194 - <tr><td>  
195 - <a href="">lr.italauto.com.ua</a>  
196 - </td></tr>  
197 - <tr><td>  
198 - <ul>  
199 - <h4>Запчасти на<br> Mercedes Benz</h4>  
200 - <li>Оригинальные запчасти</li>  
201 - <li>Сертифицированый продавец</li>  
202 - <li>Более 300 000 товаров</li>  
203 - </ul>  
204 - </td></tr>  
205 - </tbody></table>  
206 - <table class="block_project">  
207 - <tbody><tr><td>  
208 - <img src="/images/logo-fiat-small.png">  
209 - </td></tr>  
210 - <tr><td>  
211 - <a href="">lr.italauto.com.ua</a>  
212 - </td></tr>  
213 - <tr><td>  
214 - <ul>  
215 - <h4>Запчасти на FIAT</h4>  
216 - <li>Оригинальные запчасти</li>  
217 - <li>Сертифицированый продавец</li>  
218 - <li>Более 300 000 товаров</li>  
219 - </ul>  
220 - </td></tr>  
221 - </tbody></table>  
222 - <table class="block_project">  
223 - <tbody><tr><td>  
224 - <img src="/images/logo-lr-small.png">  
225 - </td></tr>  
226 - <tr><td>  
227 - <a href="">lr.italauto.com.ua</a>  
228 - </td></tr>  
229 - <tr><td>  
230 - <ul>  
231 - <h4>Запчасти на Land Rover<br> и Range Rover</h4>  
232 - <li>Оригинальные запчасти</li>  
233 - <li>Сертифицированый продавец</li>  
234 - <li>Более 300 000 товаров</li>  
235 - </ul>  
236 - </td></tr>  
237 - </tbody></table>  
238 -  
239 - </div>  
240 -  
241 - </div>  
242 - </div>  
243 \ No newline at end of file 0 \ No newline at end of file
frontend/web/css/main.css
@@ -136,3 +136,8 @@ li a{ @@ -136,3 +136,8 @@ li a{
136 -ms-border-bottom: 1px dashed; 136 -ms-border-bottom: 1px dashed;
137 } 137 }
138 138
  139 +.main_link_news{
  140 + display:inline-block;
  141 + font-size: 22px;
  142 + margin-bottom: 10px;
  143 +}
139 \ No newline at end of file 144 \ No newline at end of file
frontend/web/css/news_all.css
@@ -36,6 +36,7 @@ p, a, label, span{ @@ -36,6 +36,7 @@ p, a, label, span{
36 .choose_tovar{ 36 .choose_tovar{
37 width: 960px; 37 width: 960px;
38 margin: 20px auto; 38 margin: 20px auto;
  39 + border: none;
39 40
40 } 41 }
41 42
frontend/web/css/style/busket.css
@@ -37,7 +37,6 @@ p, a, label, span{ @@ -37,7 +37,6 @@ p, a, label, span{
37 width: 960px; 37 width: 960px;
38 margin: 20px auto; 38 margin: 20px auto;
39 padding-bottom: 24px; 39 padding-bottom: 24px;
40 - border-bottom: 1px solid #dfdfdf;  
41 40
42 } 41 }
43 42
frontend/web/css/style/news_all.css
@@ -36,8 +36,6 @@ p, a, label, span{ @@ -36,8 +36,6 @@ p, a, label, span{
36 .choose_tovar{ 36 .choose_tovar{
37 width: 960px; 37 width: 960px;
38 margin: 20px auto; 38 margin: 20px auto;
39 - border-bottom: 1px solid #dfdfdf;  
40 - padding-bottom: 16px;  
41 margin-bottom: 47px; 39 margin-bottom: 47px;
42 40
43 } 41 }