Commit e469a7bdf9afa78ce18fcaa22ae51815428f2f8c
Merge remote-tracking branch 'origin/master'
Showing
11 changed files
with
1486 additions
and
17 deletions
Show diff stats
backend/views/brands-replace/index.php
@@ -45,7 +45,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -45,7 +45,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
45 | ], | 45 | ], |
46 | 'timestamp', | 46 | 'timestamp', |
47 | 47 | ||
48 | - ['class' => 'yii\grid\ActionColumn'], | 48 | + ['class' => 'yii\grid\ActionColumn', |
49 | + ], | ||
49 | ], | 50 | ], |
50 | ]); ?> | 51 | ]); ?> |
51 | 52 |
composer.lock
@@ -537,16 +537,16 @@ | @@ -537,16 +537,16 @@ | ||
537 | }, | 537 | }, |
538 | { | 538 | { |
539 | "name": "facebook/webdriver", | 539 | "name": "facebook/webdriver", |
540 | - "version": "1.0.4", | 540 | + "version": "1.1.0", |
541 | "source": { | 541 | "source": { |
542 | "type": "git", | 542 | "type": "git", |
543 | "url": "https://github.com/facebook/php-webdriver.git", | 543 | "url": "https://github.com/facebook/php-webdriver.git", |
544 | - "reference": "a6e209a309bf7cd71acf15476f40b11a25d5a79d" | 544 | + "reference": "518a9e0635e69777f07e41619cdf5d82fae284b6" |
545 | }, | 545 | }, |
546 | "dist": { | 546 | "dist": { |
547 | "type": "zip", | 547 | "type": "zip", |
548 | - "url": "https://api.github.com/repos/facebook/php-webdriver/zipball/a6e209a309bf7cd71acf15476f40b11a25d5a79d", | ||
549 | - "reference": "a6e209a309bf7cd71acf15476f40b11a25d5a79d", | 548 | + "url": "https://api.github.com/repos/facebook/php-webdriver/zipball/518a9e0635e69777f07e41619cdf5d82fae284b6", |
549 | + "reference": "518a9e0635e69777f07e41619cdf5d82fae284b6", | ||
550 | "shasum": "" | 550 | "shasum": "" |
551 | }, | 551 | }, |
552 | "require": { | 552 | "require": { |
@@ -576,7 +576,7 @@ | @@ -576,7 +576,7 @@ | ||
576 | "selenium", | 576 | "selenium", |
577 | "webdriver" | 577 | "webdriver" |
578 | ], | 578 | ], |
579 | - "time": "2015-11-03 22:17:22" | 579 | + "time": "2015-12-08 17:04:30" |
580 | }, | 580 | }, |
581 | { | 581 | { |
582 | "name": "guzzlehttp/guzzle", | 582 | "name": "guzzlehttp/guzzle", |
@@ -994,16 +994,16 @@ | @@ -994,16 +994,16 @@ | ||
994 | }, | 994 | }, |
995 | { | 995 | { |
996 | "name": "kartik-v/yii2-krajee-base", | 996 | "name": "kartik-v/yii2-krajee-base", |
997 | - "version": "v1.7.9", | 997 | + "version": "v1.8.0", |
998 | "source": { | 998 | "source": { |
999 | "type": "git", | 999 | "type": "git", |
1000 | "url": "https://github.com/kartik-v/yii2-krajee-base.git", | 1000 | "url": "https://github.com/kartik-v/yii2-krajee-base.git", |
1001 | - "reference": "6f10fd0a0bfccd729764c65fa65eb4ccf2cbade9" | 1001 | + "reference": "602e7203680642ac4a2a5f9355316eaa9939b6ff" |
1002 | }, | 1002 | }, |
1003 | "dist": { | 1003 | "dist": { |
1004 | "type": "zip", | 1004 | "type": "zip", |
1005 | - "url": "https://api.github.com/repos/kartik-v/yii2-krajee-base/zipball/6f10fd0a0bfccd729764c65fa65eb4ccf2cbade9", | ||
1006 | - "reference": "6f10fd0a0bfccd729764c65fa65eb4ccf2cbade9", | 1005 | + "url": "https://api.github.com/repos/kartik-v/yii2-krajee-base/zipball/602e7203680642ac4a2a5f9355316eaa9939b6ff", |
1006 | + "reference": "602e7203680642ac4a2a5f9355316eaa9939b6ff", | ||
1007 | "shasum": "" | 1007 | "shasum": "" |
1008 | }, | 1008 | }, |
1009 | "require": { | 1009 | "require": { |
@@ -1036,7 +1036,7 @@ | @@ -1036,7 +1036,7 @@ | ||
1036 | "widget", | 1036 | "widget", |
1037 | "yii2" | 1037 | "yii2" |
1038 | ], | 1038 | ], |
1039 | - "time": "2015-11-25 07:03:35" | 1039 | + "time": "2015-12-11 19:01:49" |
1040 | }, | 1040 | }, |
1041 | { | 1041 | { |
1042 | "name": "kartik-v/yii2-widget-datepicker", | 1042 | "name": "kartik-v/yii2-widget-datepicker", |
@@ -1650,16 +1650,16 @@ | @@ -1650,16 +1650,16 @@ | ||
1650 | }, | 1650 | }, |
1651 | { | 1651 | { |
1652 | "name": "phpunit/phpunit", | 1652 | "name": "phpunit/phpunit", |
1653 | - "version": "4.8.19", | 1653 | + "version": "4.8.21", |
1654 | "source": { | 1654 | "source": { |
1655 | "type": "git", | 1655 | "type": "git", |
1656 | "url": "https://github.com/sebastianbergmann/phpunit.git", | 1656 | "url": "https://github.com/sebastianbergmann/phpunit.git", |
1657 | - "reference": "b2caaf8947aba5e002d42126723e9d69795f32b4" | 1657 | + "reference": "ea76b17bced0500a28098626b84eda12dbcf119c" |
1658 | }, | 1658 | }, |
1659 | "dist": { | 1659 | "dist": { |
1660 | "type": "zip", | 1660 | "type": "zip", |
1661 | - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b2caaf8947aba5e002d42126723e9d69795f32b4", | ||
1662 | - "reference": "b2caaf8947aba5e002d42126723e9d69795f32b4", | 1661 | + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ea76b17bced0500a28098626b84eda12dbcf119c", |
1662 | + "reference": "ea76b17bced0500a28098626b84eda12dbcf119c", | ||
1663 | "shasum": "" | 1663 | "shasum": "" |
1664 | }, | 1664 | }, |
1665 | "require": { | 1665 | "require": { |
@@ -1718,7 +1718,7 @@ | @@ -1718,7 +1718,7 @@ | ||
1718 | "testing", | 1718 | "testing", |
1719 | "xunit" | 1719 | "xunit" |
1720 | ], | 1720 | ], |
1721 | - "time": "2015-11-30 08:18:59" | 1721 | + "time": "2015-12-12 07:45:58" |
1722 | }, | 1722 | }, |
1723 | { | 1723 | { |
1724 | "name": "phpunit/phpunit-mock-objects", | 1724 | "name": "phpunit/phpunit-mock-objects", |
frontend/config/main.php
@@ -60,6 +60,7 @@ return [ | @@ -60,6 +60,7 @@ return [ | ||
60 | 'events/view/<translit:[\w-]+>'=>'events/view', | 60 | 'events/view/<translit:[\w-]+>'=>'events/view', |
61 | 'standard-services/view/<translit:[\w-]+>'=>'standard-services/view', | 61 | 'standard-services/view/<translit:[\w-]+>'=>'standard-services/view', |
62 | 'f/<filter:([\w\=\;\/\-\_]+)?>'=>'stone/ajax-filter', | 62 | 'f/<filter:([\w\=\;\/\-\_]+)?>'=>'stone/ajax-filter', |
63 | + 'goods/<name:.+>'=>'goods/index', // ะฟะตัะตะดะตะปะฐัั | ||
63 | 'search'=>'site/search', | 64 | 'search'=>'site/search', |
64 | 'contact'=>'site/contact', | 65 | 'contact'=>'site/contact', |
65 | 'about'=>'site/about', | 66 | 'about'=>'site/about', |
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 common\components\CustomVarDamp; | ||
12 | +use Yii; | ||
13 | +use yii\data\SqlDataProvider; | ||
14 | +use yii\web\Controller; | ||
15 | + | ||
16 | +class GoodsController extends Controller { | ||
17 | + public $layout = '/internal'; | ||
18 | + | ||
19 | + public function actionIndex($name = '') | ||
20 | + { | ||
21 | + | ||
22 | + $query = $this->getQuery(); | ||
23 | + | ||
24 | + $provider = new SqlDataProvider([ | ||
25 | + 'sql' => $query, | ||
26 | + 'pagination' => false, | ||
27 | + 'params' => [':article' => '0092S40090', | ||
28 | + ':brand' => 'BOSCH', | ||
29 | + ':margin_id' => '1', | ||
30 | + ':currency_id' => '1'], | ||
31 | + 'sort' => [ | ||
32 | + 'attributes' => [ | ||
33 | + 'box', | ||
34 | + 'delivery', | ||
35 | + 'price' | ||
36 | + ], | ||
37 | + ], | ||
38 | + ]); | ||
39 | + | ||
40 | + | ||
41 | + return $this->render('index',[ | ||
42 | + 'dataProvider' => $provider | ||
43 | + ]); | ||
44 | + } | ||
45 | + | ||
46 | + | ||
47 | + private function getQuery(){ | ||
48 | + $query = <<< MySQL | ||
49 | + select straight_join `w_details`.`ARTICLE` as `name`, | ||
50 | + `w_details`.`BRAND` as `brand`, | ||
51 | + `w_details`.`BOX` as `box`, | ||
52 | + `w_details`.`ADD_BOX` as `add_box`, | ||
53 | + `w_details`.`IMPORT_ID` as `importer_id`, | ||
54 | + `w_importers`.`name` as `importer_name`, | ||
55 | + `w_importers`.`delivery`, | ||
56 | + if (`w_details_description`.`description` = '', | ||
57 | + if (`w_details_description`.`tecdoc_description` = '', | ||
58 | + `w_details_description`.`supplier_description`, | ||
59 | + `w_details_description`.`tecdoc_description` | ||
60 | + ), | ||
61 | + `w_details_description`.`description` | ||
62 | + ) as `description`, | ||
63 | + | ||
64 | + if (`w_details_description`.`tecdoc_article` = '', | ||
65 | + if (`w_details_description`.`article` = '', | ||
66 | + if (`w_details`.`FULL_ARTICLE` = '', | ||
67 | + `w_details`.`ARTICLE`, | ||
68 | + `w_details`.`FULL_ARTICLE` | ||
69 | + ), | ||
70 | + `w_details_description`.`article` | ||
71 | + ), | ||
72 | + `w_details_description`.`tecdoc_article` | ||
73 | + ) as `article`, | ||
74 | + `w_details`.`ID`, | ||
75 | + if (`w_details_description`.`image` = '', | ||
76 | + if (`w_details_description`.`tecdoc_image` = '', | ||
77 | + '', | ||
78 | + concat('ital_origin/images/tecdoc/big/',`w_details_description`.`tecdoc_image`) | ||
79 | + ), | ||
80 | + concat('ital_origin/images/goods/big/',`w_details_description`.`image`) | ||
81 | + ) as `image`, | ||
82 | + `w_details_description`.`tecdoc_id`, | ||
83 | + round(if(`w_margins_groups`.`koef` is not null, | ||
84 | + `w_details`.`PRICE`*`w_margins_groups`.`koef`, | ||
85 | + if (`w_margins_importers`.`koef` is not null, | ||
86 | + `w_details`.`PRICE`*`w_margins_importers`.`koef`, | ||
87 | + `w_details`.`PRICE`*`w_margins`.`koef` | ||
88 | + ) | ||
89 | + )*`t`.`rate`/`w_currency`.`rate`,2) as `price`, | ||
90 | + | ||
91 | + round(if(`input_groups`.`koef` is not null, | ||
92 | + `w_details`.`PRICE`*`input_groups`.`koef`, | ||
93 | + `w_details`.`PRICE` | ||
94 | + )*`t`.`rate`/`w_currency`.`rate`,2) as `input_price`, | ||
95 | + | ||
96 | + round(if(`input_groups`.`koef` is not null, | ||
97 | + `w_details`.`PRICE`*`input_groups`.`koef`, | ||
98 | + `w_details`.`PRICE` | ||
99 | + )*`t`.`rate`/`default`.`rate`,2) as `input_price_default`, | ||
100 | + | ||
101 | + round(if(`w_margins_groups`.`koef` is not null, | ||
102 | + `w_details`.`PRICE`*`w_margins_groups`.`koef`, | ||
103 | + if (`w_margins_importers`.`koef` is not null, | ||
104 | + `w_details`.`PRICE`*`w_margins_importers`.`koef`, | ||
105 | + `w_details`.`PRICE`*`w_margins`.`koef` | ||
106 | + ) | ||
107 | + )*`t`.`rate`/`default`.`rate`,2) as `price_default`, | ||
108 | + | ||
109 | + `w_brands`.`ID` as `brand_id` | ||
110 | +from `w_details` | ||
111 | + inner join `w_brands` on `w_brands`.`BRAND` = `w_details`.`BRAND` | ||
112 | + left join `w_details_description` on `w_details_description`.`name` = `w_details`.`ARTICLE` and | ||
113 | + `w_details_description`.`brand` = `w_details`.`BRAND` | ||
114 | + inner join `w_importers` on `w_importers`.`id` = `w_details`.`IMPORT_ID` and | ||
115 | + `w_importers`.`active` = 1 | ||
116 | + inner join `w_margins` on `w_margins`.`id` =:margin_id | ||
117 | + left join `w_margins_importers` on `w_margins_importers`.`importer_id` = `w_details`.`IMPORT_ID` and | ||
118 | + `w_margins_importers`.`margin_id`=:margin_id | ||
119 | + left join `w_margins_groups` on `w_margins_groups`.`importer_id` = `w_details`.`IMPORT_ID` and | ||
120 | + `w_margins_groups`.`margin_id` =:margin_id and | ||
121 | + `w_margins_groups`.`group` = `w_details`.`group` | ||
122 | + inner join `w_currency` on `w_currency`.`id` =:currency_id | ||
123 | + inner join `w_currency` as `t` on `t`.`id` = `w_importers`.`currency_id` | ||
124 | + inner join `w_currency` as `default` on `default`.`is_default` = 1 | ||
125 | + left join `w_margins_groups` as `input_groups` on `input_groups`.`importer_id` = `w_details`.`IMPORT_ID` and | ||
126 | + `input_groups`.`margin_id` = 8 and | ||
127 | + `input_groups`.`group` = `w_details`.`group` | ||
128 | +where `w_details`.`ARTICLE` =:article and `w_details`.`BRAND` =:brand and (`w_details`.`BOX` > 0 or `w_details`.`ADD_BOX`) | ||
129 | +MySQL; | ||
130 | + | ||
131 | + return $query; | ||
132 | +} | ||
133 | + | ||
134 | + | ||
135 | +} | ||
0 | \ No newline at end of file | 136 | \ No newline at end of file |
1 | +<?php | ||
2 | +use yii\data\Sort; | ||
3 | +use \yii\helpers\Html; | ||
4 | + | ||
5 | +$sort = new Sort([ | ||
6 | + 'attributes' => [ | ||
7 | + 'box' => ['label' => 'ะะฐะปะธัะธะต'], | ||
8 | + 'delivery' => ['label' => 'ะกัะพะบ'], | ||
9 | + 'price' => ['label' => 'ะฆะตะฝะฐ'], | ||
10 | + ], | ||
11 | +]); | ||
12 | +$this->registerCssFile('/css/BC2_catalog_zapchasti.css'); | ||
13 | +$this->params['breadcrumbs'][] = $this->title; | ||
14 | +\yii\widgets\Pjax::begin(); | ||
15 | +?> | ||
16 | + | ||
17 | +<div class='vin table '> | ||
18 | + <a href="" class='navigation'>ะัะฐะปะฐะฒัะพ</a> | ||
19 | + <img src="/images/arrow_dots.png"> | ||
20 | + <a href="" class='navigation'>ะ ะฐัั ะพะดะฝัะต ะผะฐัะตัะธะฐะปั</a> | ||
21 | + <img src="/images/arrow_dots.png"> | ||
22 | + <a href="" class='navigation'>ะญะปะตะบััะพะพะฑะพััะดะพะฒะฐะฝะธะต</a> | ||
23 | + <img src="/images/arrow_dots.png"> | ||
24 | + <a href="" class='navigation'>ะะบะฐะผัะปััะพัั(ะะะ)</a> | ||
25 | + <img src="/images/arrow_dots.png"> | ||
26 | + <span>ะะบะบัะผัะปััะพั<span class='detail_name'> 0 092 S30 120: BOSCH</span></span> | ||
27 | + | ||
28 | + <p class="vin_article">ะะบะบัะผัะปััะพั 0 092 S30 120: BOSCH</p> | ||
29 | + <div class="tovar_card"> | ||
30 | + <div class="search_span zapchasti"> | ||
31 | + | ||
32 | + <img src="/images/car1.png" id="zapchasti_car"> | ||
33 | + <p>ะฃะบะฐะถะธัะต ัะฒะพะน ะฐะฒัะพะผะพะฑะธะปั | ||
34 | + ะธ ะผั ะฟัะตะดะปะพะถะธะผ ะฒะฐะผ | ||
35 | + ะตัะต ะะบะบัะผัะปััะพัั (ะะะ)</p> | ||
36 | + <div class="selectize_item2"> | ||
37 | + | ||
38 | + | ||
39 | + <select class="area"> | ||
40 | + <option value="" disabled="" selected="">ะะฐัะบะฐ</option> | ||
41 | + <option value="2">ะัะฑะตัะธ ะผะตะฝั!</option> | ||
42 | + <option value="3">ะัะฑะตัะธ ะผะตะฝั!</option> | ||
43 | + <option value="5">ะะตะฝั!</option> | ||
44 | + <option value="4">ะะตะฝั</option> | ||
45 | + </select> | ||
46 | + | ||
47 | + </div> | ||
48 | + <button class="purple">ะััั ะตัะต?</button> | ||
49 | + </div> | ||
50 | + <div class='note'> | ||
51 | + <span id="modal_close_tip"><img src="/images/close_form.png"></span> | ||
52 | + <p> | ||
53 | + ะฃ ะฝะฐั ะตััั ะตัะต<br> | ||
54 | + 45 ะะบะบัะผัะปััะพัั (ะะะ)<br> | ||
55 | + ะะพะทะผะพะถะฝะพ ััะพ-ัะพ ะฒะฐะผ<br> | ||
56 | + ะฟะพะดะพะนะดะตั | ||
57 | + </p> | ||
58 | + </div> | ||
59 | + | ||
60 | + <table class='detail'> | ||
61 | + <tr> | ||
62 | + <td> | ||
63 | + <img src="/images/acamulator_big.png"> | ||
64 | + <img src="/images/small_plus.png"> | ||
65 | + </td> | ||
66 | + | ||
67 | + | ||
68 | + <td> | ||
69 | + <p class='bold_line'>0 092 S30 120: BOSCH</p> | ||
70 | + <p class="thin_line">12V 88Ah 740A</p> | ||
71 | + <p class='bold_line space'>ะะผะบะพััั, ะ/ะง:<span class='thin_line'> 88</span></p> | ||
72 | + <p class="bold_line">ะะพะปััะฝะพััั: ะัะฐะฒะฐั (-/+)</p> | ||
73 | + </td> | ||
74 | + </tr> | ||
75 | + <tr class="galery"> | ||
76 | + <td><img src="/images/acamulator_small_gallery.png"><img src="/images/acamulator_small_gallery.png"></td> | ||
77 | + </tr> | ||
78 | + </table> | ||
79 | + <img src="/images/arrow_rounded.png" class='arrow_rounded'> | ||
80 | + </div> | ||
81 | + | ||
82 | + | ||
83 | +</div> | ||
84 | +<div class="vin href"> | ||
85 | + <p class="button_grey" id="button_grey_card">ะกะบัััั ะบะฐััะพัะบั ัะพะฒะฐัะฐ</p> | ||
86 | +</div> | ||
87 | +<div class="vin tables"> | ||
88 | + | ||
89 | + <div class="first_section"> | ||
90 | + <p class="bold_line">12V 88Ah 740A Bosch 0092s30120</p> | ||
91 | + <p class="currency opposite" id="dollars">ะณัะฝ</p> | ||
92 | + <p class="currency active_button_purple1" id="grivna">$</p> | ||
93 | + <table class="tovar_table" cellspacing="0" cellpadding="0" border="0"> | ||
94 | + <tbody><tr class="name"> | ||
95 | + <td class="small_width row_name">ะคะธัะผะฐ</td> | ||
96 | + <td class="medium_width row_name">ะะพะผะตั ะดะตัะฐะปะธ</td> | ||
97 | + <td class="large_width row_name">ะะฟะธัะฐะฝะธะต</td> | ||
98 | + <td class="row_select1 row_name"></td> | ||
99 | + <td class="right_large row_name link_sort arrow_up"><?=$sort->link('box')?></td> | ||
100 | + <td class="right_small row_name link_sort arrow_up"><?=$sort->link('delivery')?></td> | ||
101 | + <td class="right_medium row_name link_sort arrow_up"><?=$sort->link('price')?></td> | ||
102 | + | ||
103 | + </tr> | ||
104 | + <?php | ||
105 | + echo \yii\widgets\ListView::widget( [ | ||
106 | + 'dataProvider' => $dataProvider, | ||
107 | + 'itemView'=>'one_item', | ||
108 | + 'layout' => "{items}" | ||
109 | + ] ); | ||
110 | + ?> | ||
111 | + | ||
112 | + </tbody></table> | ||
113 | + | ||
114 | + | ||
115 | + </div> | ||
116 | + <div class="second_section"> | ||
117 | + <p class="bold_line">ะะฐะผะตะฝั ะธัะบะพะผะพะณะพ ะฟัะพะธะทะฒะพะดะธัะตะปั</p> | ||
118 | + <p class="currency1 opposite1" id="dollars">ะณัะฝ</p> | ||
119 | + <p class="currency1 active_button_purple11" id="grivna">$</p> | ||
120 | + <table class="tovar_table" cellspacing="0" cellpadding="0" border="0"> | ||
121 | + <tbody><tr class="name"> | ||
122 | + <td class="small_width row_name">ะคะธัะผะฐ</td> | ||
123 | + <td class="medium_width row_name">ะะพะผะตั ะดะตัะฐะปะธ</td> | ||
124 | + <td class="large_width row_name">ะะฟะธัะฐะฝะธะต</td> | ||
125 | + <td class="row_select1 row_name"></td> | ||
126 | + <td class="right_large row_name link_sort arrow_up">ะะฐะปะธัะธะต</td> | ||
127 | + <td class="right_small row_name link_sort arrow_up">ะกัะพะบ</td> | ||
128 | + <td class="right_medium row_name link_sort arrow_up">ะฆะตะฝะฐ</td> | ||
129 | + | ||
130 | + </tr> | ||
131 | + <tr> | ||
132 | + <td class="small_width">BOSH</td> | ||
133 | + <td class="medium_width">0 092 S30 120 | ||
134 | + <img src="/images/favourite_notactive.png" class="favourite"> | ||
135 | + <img src="/images/favourite.png" class="pose"> | ||
136 | + </td> | ||
137 | + <td class="large_width">12V 88Ah 740A | ||
138 | + <a href=""><img src="/images/gear.png"></a> | ||
139 | + <a href="" data-container="body" data-toggle="popover" data-placement="top" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."><img src="/images/icon_cam.png"></a> | ||
140 | + </td> | ||
141 | + <td class="right instock"> | ||
142 | + <table class="right" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
143 | + border-top: 0;"> | ||
144 | + <tbody> | ||
145 | + | ||
146 | + | ||
147 | + <tr class="one" style="border-bottom: 0; | ||
148 | + border-top: 0;"> | ||
149 | + <td class="row_select" style="border-bottom: 0; | ||
150 | + border-top: 0;"> | ||
151 | + <div class="lend-tovar-cart-left"> | ||
152 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
153 | + <div class="arrow-cart-lend-wr"> | ||
154 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
155 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
156 | + </div> | ||
157 | + </div> | ||
158 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
159 | + </td> | ||
160 | + </tr> | ||
161 | + </tbody></table> | ||
162 | + | ||
163 | + </td> | ||
164 | + <td class="right_large instock">3</td> | ||
165 | + <td class="right_small instock">1 ะดะฝ.</td> | ||
166 | + <td class="right_medium instock">103.75</td> | ||
167 | + </tr> | ||
168 | + <tr> | ||
169 | + <td class="small_width">BOSH</td> | ||
170 | + <td class="medium_width">0 092 S30 120 | ||
171 | + <img src="/images/favourite_notactive.png" class="favourite"> | ||
172 | + <img src="/images/favourite.png" class="pose"> | ||
173 | + </td> | ||
174 | + <td class="large_width">12V 88Ah 740A | ||
175 | + <a href=""><img src="/images/gear.png"></a> | ||
176 | + <a href="" id="go_photo" data-image="/images/acamulator_big.png"><img src="/images/icon_cam.png"></a> | ||
177 | + </td> | ||
178 | + <td class="right " style="border-bottom: 0; | ||
179 | + border-top: 0;"> | ||
180 | + <table class="right" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
181 | + border-top: 0;"> | ||
182 | + <tbody> | ||
183 | + | ||
184 | + <tr class="one" style="border-bottom: 0; | ||
185 | + border-top: 0;"> | ||
186 | + <td class="row_select" style="border-top: 0;"> | ||
187 | + <div class="lend-tovar-cart-left"> | ||
188 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
189 | + <div class="arrow-cart-lend-wr"> | ||
190 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
191 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
192 | + </div> | ||
193 | + </div> | ||
194 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
195 | + </td> | ||
196 | + | ||
197 | + </tr> | ||
198 | + <tr class="one" style="border-bottom: 0; | ||
199 | + border-top: 0;"> | ||
200 | + <td class="row_select" style="border-bottom: 0; | ||
201 | + border-top: 0;"> | ||
202 | + <div class="lend-tovar-cart-left"> | ||
203 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
204 | + <div class="arrow-cart-lend-wr"> | ||
205 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
206 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
207 | + </div> | ||
208 | + </div> | ||
209 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
210 | + </td> | ||
211 | + </tr> | ||
212 | + </tbody></table> | ||
213 | + | ||
214 | + </td> | ||
215 | + <td class="right_large"> | ||
216 | + <table class="inner_table" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
217 | + border-top: 0;"> | ||
218 | + <tbody> | ||
219 | + <tr> | ||
220 | + <td>3</td> | ||
221 | + </tr> | ||
222 | + <tr> | ||
223 | + <td>3</td> | ||
224 | + </tr> | ||
225 | + </tbody> | ||
226 | + </table> | ||
227 | + | ||
228 | + </td> | ||
229 | + <td class="right_small"> | ||
230 | + <table class="inner_table" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
231 | + border-top: 0;"> | ||
232 | + <tbody> | ||
233 | + <tr> | ||
234 | + <td>1 ะดะฝ.</td> | ||
235 | + </tr> | ||
236 | + <tr> | ||
237 | + <td>1 ะดะฝ.</td> | ||
238 | + </tr> | ||
239 | + </tbody> | ||
240 | + </table> | ||
241 | + </td> | ||
242 | + <td class="right_medium"> | ||
243 | + <table class="inner_table" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
244 | + border-top: 0;"> | ||
245 | + <tbody> | ||
246 | + <tr> | ||
247 | + <td>103.75</td> | ||
248 | + </tr> | ||
249 | + <tr> | ||
250 | + <td>103.75</td> | ||
251 | + </tr> | ||
252 | + </tbody> | ||
253 | + </table> | ||
254 | + </td> | ||
255 | + </tr> | ||
256 | + <tr> | ||
257 | + <td class="small_width">BOSH</td> | ||
258 | + <td class="medium_width">0 092 S30 120 | ||
259 | + <img src="/images/favourite_notactive.png" class="favourite"> | ||
260 | + <img src="/images/favourite.png" class="pose"> | ||
261 | + </td> | ||
262 | + <td class="large_width">12V 88Ah 740A | ||
263 | + <a href=""><img src="/images/gear.png"></a> | ||
264 | + <a href="" id="go_photo" data-image="/images/acamulator_big.png"><img src="/images/icon_cam.png"></a> | ||
265 | + </td> | ||
266 | + <td class="right" style="border-bottom: 0; | ||
267 | + border-top: 0;"> | ||
268 | + <table class="right" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
269 | + border-top: 0;"> | ||
270 | + <tbody> | ||
271 | + | ||
272 | + | ||
273 | + <tr class="one" style="border-bottom: 0; | ||
274 | + border-top: 0;"> | ||
275 | + <td class="row_select" style="border-bottom: 0; | ||
276 | + border-top: 0;"> | ||
277 | + <div class="lend-tovar-cart-left"> | ||
278 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
279 | + <div class="arrow-cart-lend-wr"> | ||
280 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
281 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
282 | + </div> | ||
283 | + </div> | ||
284 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
285 | + </td> | ||
286 | + </tr> | ||
287 | + </tbody></table> | ||
288 | + | ||
289 | + </td> | ||
290 | + <td class="right_large">3</td> | ||
291 | + <td class="right_small">1 ะดะฝ.</td> | ||
292 | + <td class="right_medium">103.75</td> | ||
293 | + </tr> | ||
294 | + <tr> | ||
295 | + <td class="small_width">BOSH</td> | ||
296 | + <td class="medium_width">0 092 S30 120 | ||
297 | + <img src="/images/favourite_notactive.png" class="favourite"> | ||
298 | + <img src="/images/favourite.png" class="pose"> | ||
299 | + </td> | ||
300 | + <td class="large_width">12V 88Ah 740A | ||
301 | + <a href=""><img src="/images/gear.png"></a> | ||
302 | + <a href="" id="go_photo" data-image="/images/acamulator_big.png"><img src="/images/icon_cam.png"></a> | ||
303 | + </td> | ||
304 | + <td class="right" style="border-bottom: 0; | ||
305 | + border-top: 0;"> | ||
306 | + <table class="right" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
307 | + border-top: 0;"> | ||
308 | + <tbody> | ||
309 | + | ||
310 | + | ||
311 | + <tr class="one" style="border-bottom: 0; | ||
312 | + border-top: 0;"> | ||
313 | + | ||
314 | + <td class="row_select" style="border-bottom: 0; | ||
315 | + border-top: 0;"> | ||
316 | + <div class="lend-tovar-cart-left"> | ||
317 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
318 | + <div class="arrow-cart-lend-wr"> | ||
319 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
320 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
321 | + </div> | ||
322 | + </div> | ||
323 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
324 | + </td> | ||
325 | + </tr> | ||
326 | + </tbody></table> | ||
327 | + | ||
328 | + </td> | ||
329 | + <td class="right_large">3</td> | ||
330 | + <td class="right_small">1 ะดะฝ.</td> | ||
331 | + <td class="right_medium">103.75</td> | ||
332 | + </tr> | ||
333 | + <tr> | ||
334 | + <td class="small_width">BOSH</td> | ||
335 | + <td class="medium_width">0 092 S30 120 | ||
336 | + <img src="/images/favourite_notactive.png" class="favourite"> | ||
337 | + <img src="/images/favourite.png" class="pose"> | ||
338 | + </td> | ||
339 | + <td class="large_width">12V 88Ah 740A | ||
340 | + <a href=""><img src="/images/gear.png"></a> | ||
341 | + <a href="" id="go_photo" data-image="/images/acamulator_big.png"><img src="/images/icon_cam.png"></a> | ||
342 | + </td><td class="right" style="border-bottom: 0; | ||
343 | + border-top: 0;"> | ||
344 | + <table class="right" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
345 | + border-top: 0;"> | ||
346 | + <tbody> | ||
347 | + | ||
348 | + <tr class="one" style="border-bottom: 0; | ||
349 | + border-top: 0;"> | ||
350 | + <td class="row_select" style="border-top: 0;"> | ||
351 | + <div class="lend-tovar-cart-left"> | ||
352 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
353 | + <div class="arrow-cart-lend-wr"> | ||
354 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
355 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
356 | + </div> | ||
357 | + </div> | ||
358 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
359 | + </td> | ||
360 | + | ||
361 | + </tr> | ||
362 | + <tr class="one" style="border-bottom: 0; | ||
363 | + border-top: 0;"> | ||
364 | + <td class="row_select" style="border-bottom: 0; | ||
365 | + border-top: 0;"> | ||
366 | + <div class="lend-tovar-cart-left"> | ||
367 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
368 | + <div class="arrow-cart-lend-wr"> | ||
369 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
370 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
371 | + </div> | ||
372 | + </div> | ||
373 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
374 | + </td> | ||
375 | + </tr> | ||
376 | + </tbody></table> | ||
377 | + | ||
378 | + </td> | ||
379 | + <td class="right_large"> | ||
380 | + <table class="inner_table" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
381 | + border-top: 0;"> | ||
382 | + <tbody> | ||
383 | + <tr> | ||
384 | + <td>3</td> | ||
385 | + </tr> | ||
386 | + <tr> | ||
387 | + <td>3</td> | ||
388 | + </tr> | ||
389 | + </tbody> | ||
390 | + </table> | ||
391 | + | ||
392 | + </td> | ||
393 | + <td class="right_small"> | ||
394 | + <table class="inner_table" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
395 | + border-top: 0;"> | ||
396 | + <tbody> | ||
397 | + <tr> | ||
398 | + <td>1 ะดะฝ.</td> | ||
399 | + </tr> | ||
400 | + <tr> | ||
401 | + <td>1 ะดะฝ.</td> | ||
402 | + </tr> | ||
403 | + </tbody> | ||
404 | + </table> | ||
405 | + </td> | ||
406 | + <td class="right_medium"> | ||
407 | + <table class="inner_table" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
408 | + border-top: 0;"> | ||
409 | + <tbody> | ||
410 | + <tr> | ||
411 | + <td>103.75</td> | ||
412 | + </tr> | ||
413 | + <tr> | ||
414 | + <td>103.75</td> | ||
415 | + </tr> | ||
416 | + </tbody> | ||
417 | + </table> | ||
418 | + </td> | ||
419 | + </tr> | ||
420 | + | ||
421 | + </tbody></table> | ||
422 | + <div class="yellow_stock"> | ||
423 | + <img src="/images/yellow_squere.jpg"><p>ะ ะฝะฐะปะธัะธะธ ะฝะฐ ัะตะฝััะฐะปัะฝะพะผ ัะบะปะฐะดะต ItalAuto, ะฒ ะะธะตะฒะต</p> | ||
424 | + </div> | ||
425 | + </div> | ||
426 | +</div> | ||
427 | + | ||
428 | +</div> | ||
429 | +<script type="text/javascript"> | ||
430 | + function changeText() { | ||
431 | + e = document.getElementById('button_grey_card'); | ||
432 | + e.innerHTML = e.innerHTML == "ะกะบัััั ะบะฐััะพัะบั ัะพะฒะฐัะฐ" ? "ะัะบัััั ะบะฐััะพัะบั ัะพะฒะฐัะฐ" : "ะกะบัััั ะบะฐััะพัะบั ัะพะฒะฐัะฐ"; | ||
433 | + } | ||
434 | + $('#button_grey_card').click(function(){ | ||
435 | + changeText(); | ||
436 | + $(this).toggleClass('change_b'); | ||
437 | + $('.tovar_card').toggleClass('tovar_card_visible'); | ||
438 | + $('.table').toggleClass('table_height'); | ||
439 | + }); | ||
440 | + $('.link_sort').click(function(){ | ||
441 | + | ||
442 | + $(this).find('.desc).toggleClass('arrow_downA'); | ||
443 | + | ||
444 | + }) | ||
445 | +</script> | ||
446 | + | ||
447 | +<?php | ||
448 | +\yii\widgets\Pjax::end(); | ||
449 | +?> | ||
0 | \ No newline at end of file | 450 | \ No newline at end of file |
1 | +<?php | ||
2 | +use yii\data\Sort; | ||
3 | +use \yii\helpers\Html; | ||
4 | + | ||
5 | +$sort = new Sort([ | ||
6 | + 'attributes' => [ | ||
7 | + 'box' => ['label' => 'ะะฐะปะธัะธะต'], | ||
8 | + 'delivery' => ['label' => 'ะกัะพะบ'], | ||
9 | + 'price' => ['label' => 'ะฆะตะฝะฐ'], | ||
10 | + ], | ||
11 | +]); | ||
12 | +$this->registerCssFile('/css/BC2_catalog_zapchasti.css'); | ||
13 | +$this->params['breadcrumbs'][] = $this->title; | ||
14 | +\yii\widgets\Pjax::begin(); | ||
15 | +?> | ||
16 | + | ||
17 | +<div class='vin table '> | ||
18 | + <a href="" class='navigation'>ะัะฐะปะฐะฒัะพ</a> | ||
19 | + <img src="/images/arrow_dots.png"> | ||
20 | + <a href="" class='navigation'>ะ ะฐัั ะพะดะฝัะต ะผะฐัะตัะธะฐะปั</a> | ||
21 | + <img src="/images/arrow_dots.png"> | ||
22 | + <a href="" class='navigation'>ะญะปะตะบััะพะพะฑะพััะดะพะฒะฐะฝะธะต</a> | ||
23 | + <img src="/images/arrow_dots.png"> | ||
24 | + <a href="" class='navigation'>ะะบะฐะผัะปััะพัั(ะะะ)</a> | ||
25 | + <img src="/images/arrow_dots.png"> | ||
26 | + <span>ะะบะบัะผัะปััะพั<span class='detail_name'> 0 092 S30 120: BOSCH</span></span> | ||
27 | + <p class="vin_article">ะะบะบัะผัะปััะพั 0 092 S30 120: BOSCH</p> | ||
28 | + <img src="/images/lonh_line.png" class='line'> | ||
29 | + | ||
30 | + <div class="search_span zapchasti"> | ||
31 | + | ||
32 | + <img src="/images/car1.png" id="zapchasti_car"> | ||
33 | + <p>ะฃะบะฐะถะธัะต ัะฒะพะน ะฐะฒัะพะผะพะฑะธะปั | ||
34 | + ะธ ะผั ะฟัะตะดะปะพะถะธะผ ะฒะฐะผ | ||
35 | + ะตัะต ะะบะบัะผัะปััะพัั (ะะะ)</p> | ||
36 | + <div class="selectize_item2"> | ||
37 | + | ||
38 | + | ||
39 | + <select class="area"> | ||
40 | + <option value="" disabled="" selected="">ะะฐัะบะฐ</option> | ||
41 | + <option value="2">ะัะฑะตัะธ ะผะตะฝั!</option> | ||
42 | + <option value="3">ะัะฑะตัะธ ะผะตะฝั!</option> | ||
43 | + <option value="5">ะะตะฝั!</option> | ||
44 | + <option value="4">ะะตะฝั</option> | ||
45 | + </select> | ||
46 | + | ||
47 | + </div> | ||
48 | + <button class="purple">ะััั ะตัะต?</button> | ||
49 | + </div> | ||
50 | + <div class='note'> | ||
51 | + <span id="modal_close_tip"><img src="/images/close_form.png"></span> | ||
52 | + <p> | ||
53 | + ะฃ ะฝะฐั ะตััั ะตัะต<br> | ||
54 | + 45 ะะบะบัะผัะปััะพัั (ะะะ)<br> | ||
55 | + ะะพะทะผะพะถะฝะพ ััะพ-ัะพ ะฒะฐะผ<br> | ||
56 | + ะฟะพะดะพะนะดะตั | ||
57 | + </p> | ||
58 | + </div> | ||
59 | + | ||
60 | + <table class='detail'> | ||
61 | + <tr> | ||
62 | + <td> | ||
63 | + <img src="/images/acamulator_big.png"> | ||
64 | + <img src="/images/small_plus.png"> | ||
65 | + </td> | ||
66 | + | ||
67 | + | ||
68 | + <td> | ||
69 | + <p class='bold_line'>0 092 S30 120: BOSCH</p> | ||
70 | + <p class="thin_line">12V 88Ah 740A</p> | ||
71 | + <p class='bold_line space'>ะะผะบะพััั, ะ/ะง:<span class='thin_line'> 88</span></p> | ||
72 | + <p class="bold_line">ะะพะปััะฝะพััั: ะัะฐะฒะฐั (-/+)</p> | ||
73 | + </td> | ||
74 | + </tr> | ||
75 | + <tr class="galery"> | ||
76 | + <td><img src="/images/acamulator_small_gallery.png"><img src="/images/acamulator_small_gallery.png"></td> | ||
77 | + </tr> | ||
78 | + </table> | ||
79 | + <img src="/images/arrow_rounded.png" class='arrow_rounded'> | ||
80 | + | ||
81 | + | ||
82 | + | ||
83 | +</div> | ||
84 | +<div class="vin href"> | ||
85 | + <p class="button_grey" style="font-size: 14px; | ||
86 | + margin-right: 12px; | ||
87 | +">ะกะบัััั ะบะฐััะพัะบั ัะพะฒะฐัะฐ</p> | ||
88 | +</div> | ||
89 | +<div class="vin tables"> | ||
90 | + | ||
91 | + <div class="first_section"> | ||
92 | + <p class="bold_line">12V 88Ah 740A Bosch 0092s30120</p> | ||
93 | + <p class="currency opposite" id="dollars">ะณัะฝ</p> | ||
94 | + <p class="currency active_button_purple1" id="grivna">$</p> | ||
95 | + <table class="tovar_table" cellspacing="0" cellpadding="0" border="0"> | ||
96 | + <tbody><tr class="name"> | ||
97 | + <td class="small_width row_name">ะคะธัะผะฐ</td> | ||
98 | + <td class="medium_width row_name">ะะพะผะตั ะดะตัะฐะปะธ</td> | ||
99 | + <td class="large_width row_name">ะะฟะธัะฐะฝะธะต</td> | ||
100 | + <td class="row_select1 row_name"></td> | ||
101 | + <td class="right_large row_name"><?=$sort->link('box')?><img src="/images/icon2.png" class="sort"></td> | ||
102 | + <td class="right_small row_name"><?=$sort->link('delivery')?><img src="/images/icon2.png" class="sort"></td> | ||
103 | + <td class="right_medium row_name"><?=$sort->link('price')?><img src="/images/icon2.png" class="sort"></td> | ||
104 | + | ||
105 | + </tr> | ||
106 | + <?php | ||
107 | + echo \yii\widgets\ListView::widget( [ | ||
108 | + 'dataProvider' => $dataProvider, | ||
109 | + 'itemView'=>'one_item', | ||
110 | + 'summary'=>'', | ||
111 | + ] ); | ||
112 | + ?> | ||
113 | + | ||
114 | + | ||
115 | + </tbody></table> | ||
116 | + | ||
117 | + | ||
118 | + </div> | ||
119 | + | ||
120 | +</div> | ||
121 | +<div class="slider_block1"> | ||
122 | + <div class="tovars"> | ||
123 | + <p style="display:inline-block">ะะฐัะธ ะฟัะพะตะบัั</p> | ||
124 | + <span><img src="/images/arrow_slider_back.png"></span> | ||
125 | + <span class="number_of">1/</span> | ||
126 | + <span class="general_number">5</span> | ||
127 | + <span><img src="/images/arrow_slider_go.png"></span> | ||
128 | + <div class="slider_tovars"> | ||
129 | + | ||
130 | + <table class="block_project"> | ||
131 | + <tbody><tr><td> | ||
132 | + <img src="/images/logo-lr-small.png"> | ||
133 | + </td></tr> | ||
134 | + <tr><td> | ||
135 | + <a href="">lr.italauto.com.ua</a> | ||
136 | + </td></tr> | ||
137 | + <tr><td> | ||
138 | + <ul> | ||
139 | + <h4>ะะฐะฟัะฐััะธ ะฝะฐ Land Rover<br> ะธ Range Rover</h4> | ||
140 | + <li>ะัะธะณะธะฝะฐะปัะฝัะต ะทะฐะฟัะฐััะธ</li> | ||
141 | + <li>ะกะตััะธัะธัะธัะพะฒะฐะฝัะน ะฟัะพะดะฐะฒะตั</li> | ||
142 | + <li>ะะพะปะตะต 300 000 ัะพะฒะฐัะพะฒ</li> | ||
143 | + </ul> | ||
144 | + </td></tr> | ||
145 | + </tbody></table> | ||
146 | + <table class="block_project"> | ||
147 | + <tbody><tr><td> | ||
148 | + <img src="/images/logo-mersedes-small.png"> | ||
149 | + </td></tr> | ||
150 | + <tr><td> | ||
151 | + <a href="">lr.italauto.com.ua</a> | ||
152 | + </td></tr> | ||
153 | + <tr><td> | ||
154 | + <ul> | ||
155 | + <h4>ะะฐะฟัะฐััะธ ะฝะฐ<br> Mercedes Benz</h4> | ||
156 | + <li>ะัะธะณะธะฝะฐะปัะฝัะต ะทะฐะฟัะฐััะธ</li> | ||
157 | + <li>ะกะตััะธัะธัะธัะพะฒะฐะฝัะน ะฟัะพะดะฐะฒะตั</li> | ||
158 | + <li>ะะพะปะตะต 300 000 ัะพะฒะฐัะพะฒ</li> | ||
159 | + </ul> | ||
160 | + </td></tr> | ||
161 | + </tbody></table> | ||
162 | + <table class="block_project"> | ||
163 | + <tbody><tr><td> | ||
164 | + <img src="/images/logo-fiat-small.png"> | ||
165 | + </td></tr> | ||
166 | + <tr><td> | ||
167 | + <a href="">lr.italauto.com.ua</a> | ||
168 | + </td></tr> | ||
169 | + <tr><td> | ||
170 | + <ul> | ||
171 | + <h4>ะะฐะฟัะฐััะธ ะฝะฐ FIAT</h4> | ||
172 | + <li>ะัะธะณะธะฝะฐะปัะฝัะต ะทะฐะฟัะฐััะธ</li> | ||
173 | + <li>ะกะตััะธัะธัะธัะพะฒะฐะฝัะน ะฟัะพะดะฐะฒะตั</li> | ||
174 | + <li>ะะพะปะตะต 300 000 ัะพะฒะฐัะพะฒ</li> | ||
175 | + </ul> | ||
176 | + </td></tr> | ||
177 | + </tbody></table> | ||
178 | + <table class="block_project"> | ||
179 | + <tbody><tr><td> | ||
180 | + <img src="/images/logo-lr-small.png"> | ||
181 | + </td></tr> | ||
182 | + <tr><td> | ||
183 | + <a href="">lr.italauto.com.ua</a> | ||
184 | + </td></tr> | ||
185 | + <tr><td> | ||
186 | + <ul> | ||
187 | + <h4>ะะฐะฟัะฐััะธ ะฝะฐ Land Rover<br> ะธ Range Rover</h4> | ||
188 | + <li>ะัะธะณะธะฝะฐะปัะฝัะต ะทะฐะฟัะฐััะธ</li> | ||
189 | + <li>ะกะตััะธัะธัะธัะพะฒะฐะฝัะน ะฟัะพะดะฐะฒะตั</li> | ||
190 | + <li>ะะพะปะตะต 300 000 ัะพะฒะฐัะพะฒ</li> | ||
191 | + </ul> | ||
192 | + </td></tr> | ||
193 | + </tbody></table> | ||
194 | + | ||
195 | + </div> | ||
196 | + | ||
197 | + </div> | ||
198 | +</div> | ||
199 | +<?php | ||
200 | +\yii\widgets\Pjax::end(); | ||
201 | + ?> | ||
0 | \ No newline at end of file | 202 | \ No newline at end of file |
1 | +<?php | ||
2 | + | ||
3 | +$this->registerCssFile('/css/BC2_catalog_zapchasti.css'); | ||
4 | + | ||
5 | +$this->params['breadcrumbs'][] = $this->title; | ||
6 | +?> | ||
7 | + | ||
8 | +<div class='vin table '> | ||
9 | + <a href="" class='navigation'>ะัะฐะปะฐะฒัะพ</a> | ||
10 | + <img src="/images/arrow_dots.png"> | ||
11 | + <a href="" class='navigation'>ะ ะฐัั ะพะดะฝัะต ะผะฐัะตัะธะฐะปั</a> | ||
12 | + <img src="/images/arrow_dots.png"> | ||
13 | + <a href="" class='navigation'>ะญะปะตะบััะพะพะฑะพััะดะพะฒะฐะฝะธะต</a> | ||
14 | + <img src="/images/arrow_dots.png"> | ||
15 | + <a href="" class='navigation'>ะะบะฐะผัะปััะพัั(ะะะ)</a> | ||
16 | + <img src="/images/arrow_dots.png"> | ||
17 | + <span>ะะบะบัะผัะปััะพั<span class='detail_name'> 0 092 S30 120: BOSCH</span></span> | ||
18 | + | ||
19 | + <p class="vin_article">ะะบะบัะผัะปััะพั 0 092 S30 120: BOSCH</p> | ||
20 | + <div class="tovar_card"> | ||
21 | + <div class="search_span zapchasti"> | ||
22 | + | ||
23 | + <img src="/images/car1.png" id="zapchasti_car"> | ||
24 | + <p>ะฃะบะฐะถะธัะต ัะฒะพะน ะฐะฒัะพะผะพะฑะธะปั | ||
25 | + ะธ ะผั ะฟัะตะดะปะพะถะธะผ ะฒะฐะผ | ||
26 | + ะตัะต ะะบะบัะผัะปััะพัั (ะะะ)</p> | ||
27 | + <div class="selectize_item2"> | ||
28 | + | ||
29 | + | ||
30 | + <select class="area"> | ||
31 | + <option value="" disabled="" selected="">ะะฐัะบะฐ</option> | ||
32 | + <option value="2">ะัะฑะตัะธ ะผะตะฝั!</option> | ||
33 | + <option value="3">ะัะฑะตัะธ ะผะตะฝั!</option> | ||
34 | + <option value="5">ะะตะฝั!</option> | ||
35 | + <option value="4">ะะตะฝั</option> | ||
36 | + </select> | ||
37 | + | ||
38 | + </div> | ||
39 | + <button class="purple">ะััั ะตัะต?</button> | ||
40 | + </div> | ||
41 | + <div class='note'> | ||
42 | + <span id="modal_close_tip"><img src="/images/close_form.png"></span> | ||
43 | + <p> | ||
44 | + ะฃ ะฝะฐั ะตััั ะตัะต<br> | ||
45 | + 45 ะะบะบัะผัะปััะพัั (ะะะ)<br> | ||
46 | + ะะพะทะผะพะถะฝะพ ััะพ-ัะพ ะฒะฐะผ<br> | ||
47 | + ะฟะพะดะพะนะดะตั | ||
48 | + </p> | ||
49 | + </div> | ||
50 | + | ||
51 | + <table class='detail'> | ||
52 | + <tr> | ||
53 | + <td> | ||
54 | + <img src="/images/acamulator_big.png"> | ||
55 | + <img src="/images/small_plus.png"> | ||
56 | + </td> | ||
57 | + | ||
58 | + | ||
59 | + <td> | ||
60 | + <p class='bold_line'>0 092 S30 120: BOSCH</p> | ||
61 | + <p class="thin_line">12V 88Ah 740A</p> | ||
62 | + <p class='bold_line space'>ะะผะบะพััั, ะ/ะง:<span class='thin_line'> 88</span></p> | ||
63 | + <p class="bold_line">ะะพะปััะฝะพััั: ะัะฐะฒะฐั (-/+)</p> | ||
64 | + </td> | ||
65 | + </tr> | ||
66 | + <tr class="galery"> | ||
67 | + <td><img src="/images/acamulator_small_gallery.png"><img src="/images/acamulator_small_gallery.png"></td> | ||
68 | + </tr> | ||
69 | + </table> | ||
70 | + <img src="/images/arrow_rounded.png" class='arrow_rounded'> | ||
71 | + </div> | ||
72 | + | ||
73 | + | ||
74 | +</div> | ||
75 | +<div class="vin href"> | ||
76 | + <p class="button_grey" id="button_grey_card">ะกะบัััั ะบะฐััะพัะบั ัะพะฒะฐัะฐ</p> | ||
77 | +</div> | ||
78 | +<div class="vin tables"> | ||
79 | + | ||
80 | + <div class="first_section"> | ||
81 | + <p class="bold_line">12V 88Ah 740A Bosch 0092s30120</p> | ||
82 | + <p class="currency opposite" id="dollars">ะณัะฝ</p> | ||
83 | + <p class="currency active_button_purple1" id="grivna">$</p> | ||
84 | + <table class="tovar_table" cellspacing="0" cellpadding="0" border="0"> | ||
85 | + <tbody><tr class="name"> | ||
86 | + <td class="small_width row_name">ะคะธัะผะฐ</td> | ||
87 | + <td class="medium_width row_name">ะะพะผะตั ะดะตัะฐะปะธ</td> | ||
88 | + <td class="large_width row_name">ะะฟะธัะฐะฝะธะต</td> | ||
89 | + <td class="row_select1 row_name"></td> | ||
90 | + <td class="right_large row_name">ะะฐะปะธัะธะต<img src="/images/icon2.png" class="sort"></td> | ||
91 | + <td class="right_small row_name">ะกัะพะบ<img src="/images/icon2.png" class="sort"></td> | ||
92 | + <td class="right_medium row_name">ะฆะตะฝะฐ<img src="/images/icon2.png" class="sort"></td> | ||
93 | + | ||
94 | + </tr> | ||
95 | + <tr> | ||
96 | + <td class="small_width">BOSH</td> | ||
97 | + <td class="medium_width">0 092 S30 120 | ||
98 | + <img src="/images/favourite_notactive.png" class="favourite"> | ||
99 | + <img src="/images/favourite.png" class="pose"> | ||
100 | + </td> | ||
101 | + <td class="large_width">12V 88Ah 740A | ||
102 | + <a href=""><img src="/images/gear.png"></a> | ||
103 | + <a href="" id="go_photo"><img src="/images/icon_cam.png"></a> | ||
104 | + </td> | ||
105 | + <td class="right"> | ||
106 | + <table class="tovar_table right" cellspacing="0" cellpadding="0" border="0" style="border: 0;"> | ||
107 | + <tbody> | ||
108 | + <tr class="one" style="border-bottom: 0; | ||
109 | + border-top: 0;"> | ||
110 | + <td class="row_select" style="border-bottom: 0; | ||
111 | + border-top: 0;"> | ||
112 | + <div class="lend-tovar-cart-left"> | ||
113 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
114 | + <div class="arrow-cart-lend-wr"> | ||
115 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
116 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
117 | + </div> | ||
118 | + </div> | ||
119 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
120 | + </td> | ||
121 | + | ||
122 | + </tr> | ||
123 | + <tr class="one"> | ||
124 | + <td class="row_select" style="border-bottom: 0; | ||
125 | + border-top: 0;"> | ||
126 | + <div class="lend-tovar-cart-left"> | ||
127 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
128 | + <div class="arrow-cart-lend-wr"> | ||
129 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
130 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
131 | + </div> | ||
132 | + </div> | ||
133 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
134 | + </td> | ||
135 | + | ||
136 | + </tr> | ||
137 | + <tr class="one" style="border-bottom: 0;"> | ||
138 | + <td class="row_select" style="height:48px; border-top: 0; | ||
139 | + border-bottom: 0;"> | ||
140 | + <div class="lend-tovar-cart-left"> | ||
141 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
142 | + <div class="arrow-cart-lend-wr"> | ||
143 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
144 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
145 | + </div> | ||
146 | + </div> | ||
147 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
148 | + </td> | ||
149 | + </tr> | ||
150 | + </tbody></table> | ||
151 | + | ||
152 | + </td> | ||
153 | + <td class="right_large"> | ||
154 | + <table class="inner" border='0' style='border-top:0; border-left:0'> | ||
155 | + <tr border='0' style='border-top:0; border-left:0'><td border='0' style='border-top:0; border-left:0'>3</td></tr> | ||
156 | + <tr border='0' style='border-top:0; border-left:0'><td border='0' style='border-top:0; border-left:0'>3</td></tr> | ||
157 | + <tr border='0' style='border-top:0; border-left:0'><td border='0' style='border-top:0; border-left:0'>3</td></tr> | ||
158 | + </table> | ||
159 | + </td> | ||
160 | + <td class="right_small"><table class="inner" border='0' style='border-top:0; border-left:0'> | ||
161 | + <tr border='0' style='border-top:0; border-left:0'><td border='0' style='border-top:0; border-left:0'>1 ะดะฝ.</td></tr> | ||
162 | + <tr border='0' style='border-top:0; border-left:0'><td border='0' style='border-top:0; border-left:0'>1 ะดะฝ.</td></tr> | ||
163 | + <tr border='0' style='border-top:0; border-left:0'><td border='0' style='border-top:0; border-left:0'>1 ะดะฝ.</td></tr> | ||
164 | + </table></td> | ||
165 | + <td class="right_medium"><table class="inner" border='0' style='border-top:0; border-left:0'> | ||
166 | + <tr border='0' style='border-top:0; border-left:0'><td border='0' style='border-top:0; border-left:0'>103.75</td></tr> | ||
167 | + <tr border='0' style='border-top:0; border-left:0'><td border='0' style='border-top:0; border-left:0'>103.75</td></tr> | ||
168 | + <tr border='0' style='border-top:0; border-left:0'><td border='0' style='border-top:0; border-left:0'>103.75</td></tr> | ||
169 | + </table></td> | ||
170 | + </tr> | ||
171 | + | ||
172 | + </tbody></table> | ||
173 | + | ||
174 | + | ||
175 | + </div> | ||
176 | + <div class="second_section"> | ||
177 | + <p class="bold_line">ะะฐะผะตะฝั ะธัะบะพะผะพะณะพ ะฟัะพะธะทะฒะพะดะธัะตะปั</p> | ||
178 | + <p class="currency1 opposite1" id="dollars">ะณัะฝ</p> | ||
179 | + <p class="currency1 active_button_purple11" id="grivna">$</p> | ||
180 | + <table class="tovar_table" cellspacing="0" cellpadding="0" border="0"> | ||
181 | + <tbody><tr class="name"> | ||
182 | + <td class="small_width row_name">ะคะธัะผะฐ</td> | ||
183 | + <td class="medium_width row_name">ะะพะผะตั ะดะตัะฐะปะธ</td> | ||
184 | + <td class="large_width row_name">ะะฟะธัะฐะฝะธะต</td> | ||
185 | + <td class="row_select1 row_name"></td> | ||
186 | + <td class="right_large row_name">ะะฐะปะธัะธะต<img src="/images/icon2.png" class="sort"></td> | ||
187 | + <td class="right_small row_name">ะกัะพะบ<img src="/images/icon2.png" class="sort"></td> | ||
188 | + <td class="right_medium row_name">ะฆะตะฝะฐ<img src="/images/icon2.png" class="sort"></td> | ||
189 | + | ||
190 | + </tr> | ||
191 | + <tr> | ||
192 | + <td class="small_width">BOSH</td> | ||
193 | + <td class="medium_width">0 092 S30 120 | ||
194 | + <img src="/images/favourite_notactive.png" class="favourite"> | ||
195 | + <img src="/images/favourite.png" class="pose"> | ||
196 | + </td> | ||
197 | + <td class="large_width">12V 88Ah 740A | ||
198 | + <a href=""><img src="/images/gear.png"></a> | ||
199 | + <a href="" data-container="body" data-toggle="popover" data-placement="top" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."><img src="/images/icon_cam.png"></a> | ||
200 | + </td> | ||
201 | + <td class="right instock"> | ||
202 | + <table class="right" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
203 | + border-top: 0;"> | ||
204 | + <tbody> | ||
205 | + | ||
206 | + | ||
207 | + <tr class="one" style="border-bottom: 0; | ||
208 | + border-top: 0;"> | ||
209 | + <td class="row_select" style="border-bottom: 0; | ||
210 | + border-top: 0;"> | ||
211 | + <div class="lend-tovar-cart-left"> | ||
212 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
213 | + <div class="arrow-cart-lend-wr"> | ||
214 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
215 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
216 | + </div> | ||
217 | + </div> | ||
218 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
219 | + </td> | ||
220 | + </tr> | ||
221 | + </tbody></table> | ||
222 | + | ||
223 | + </td> | ||
224 | + <td class="right_large instock">3</td> | ||
225 | + <td class="right_small instock">1 ะดะฝ.</td> | ||
226 | + <td class="right_medium instock">103.75</td> | ||
227 | + </tr> | ||
228 | + <tr> | ||
229 | + <td class="small_width">BOSH</td> | ||
230 | + <td class="medium_width">0 092 S30 120 | ||
231 | + <img src="/images/favourite_notactive.png" class="favourite"> | ||
232 | + <img src="/images/favourite.png" class="pose"> | ||
233 | + </td> | ||
234 | + <td class="large_width">12V 88Ah 740A | ||
235 | + <a href=""><img src="/images/gear.png"></a> | ||
236 | + <a href="" id="go_photo" data-image="/images/acamulator_big.png"><img src="/images/icon_cam.png"></a> | ||
237 | + </td> | ||
238 | + <td class="right " style="border-bottom: 0; | ||
239 | + border-top: 0;"> | ||
240 | + <table class="right" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
241 | + border-top: 0;"> | ||
242 | + <tbody> | ||
243 | + | ||
244 | + <tr class="one" style="border-bottom: 0; | ||
245 | + border-top: 0;"> | ||
246 | + <td class="row_select" style="border-top: 0;"> | ||
247 | + <div class="lend-tovar-cart-left"> | ||
248 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
249 | + <div class="arrow-cart-lend-wr"> | ||
250 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
251 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
252 | + </div> | ||
253 | + </div> | ||
254 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
255 | + </td> | ||
256 | + | ||
257 | + </tr> | ||
258 | + <tr class="one" style="border-bottom: 0; | ||
259 | + border-top: 0;"> | ||
260 | + <td class="row_select" style="border-bottom: 0; | ||
261 | + border-top: 0;"> | ||
262 | + <div class="lend-tovar-cart-left"> | ||
263 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
264 | + <div class="arrow-cart-lend-wr"> | ||
265 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
266 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
267 | + </div> | ||
268 | + </div> | ||
269 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
270 | + </td> | ||
271 | + </tr> | ||
272 | + </tbody></table> | ||
273 | + | ||
274 | + </td> | ||
275 | + <td class="right_large"> | ||
276 | + <table class="inner_table" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
277 | + border-top: 0;"> | ||
278 | + <tbody> | ||
279 | + <tr> | ||
280 | + <td>3</td> | ||
281 | + </tr> | ||
282 | + <tr> | ||
283 | + <td>3</td> | ||
284 | + </tr> | ||
285 | + </tbody> | ||
286 | + </table> | ||
287 | + | ||
288 | + </td> | ||
289 | + <td class="right_small"> | ||
290 | + <table class="inner_table" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
291 | + border-top: 0;"> | ||
292 | + <tbody> | ||
293 | + <tr> | ||
294 | + <td>1 ะดะฝ.</td> | ||
295 | + </tr> | ||
296 | + <tr> | ||
297 | + <td>1 ะดะฝ.</td> | ||
298 | + </tr> | ||
299 | + </tbody> | ||
300 | + </table> | ||
301 | + </td> | ||
302 | + <td class="right_medium"> | ||
303 | + <table class="inner_table" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
304 | + border-top: 0;"> | ||
305 | + <tbody> | ||
306 | + <tr> | ||
307 | + <td>103.75</td> | ||
308 | + </tr> | ||
309 | + <tr> | ||
310 | + <td>103.75</td> | ||
311 | + </tr> | ||
312 | + </tbody> | ||
313 | + </table> | ||
314 | + </td> | ||
315 | + </tr> | ||
316 | + <tr> | ||
317 | + <td class="small_width">BOSH</td> | ||
318 | + <td class="medium_width">0 092 S30 120 | ||
319 | + <img src="/images/favourite_notactive.png" class="favourite"> | ||
320 | + <img src="/images/favourite.png" class="pose"> | ||
321 | + </td> | ||
322 | + <td class="large_width">12V 88Ah 740A | ||
323 | + <a href=""><img src="/images/gear.png"></a> | ||
324 | + <a href="" id="go_photo" data-image="/images/acamulator_big.png"><img src="/images/icon_cam.png"></a> | ||
325 | + </td> | ||
326 | + <td class="right" style="border-bottom: 0; | ||
327 | + border-top: 0;"> | ||
328 | + <table class="right" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
329 | + border-top: 0;"> | ||
330 | + <tbody> | ||
331 | + | ||
332 | + | ||
333 | + <tr class="one" style="border-bottom: 0; | ||
334 | + border-top: 0;"> | ||
335 | + <td class="row_select" style="border-bottom: 0; | ||
336 | + border-top: 0;"> | ||
337 | + <div class="lend-tovar-cart-left"> | ||
338 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
339 | + <div class="arrow-cart-lend-wr"> | ||
340 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
341 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
342 | + </div> | ||
343 | + </div> | ||
344 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
345 | + </td> | ||
346 | + </tr> | ||
347 | + </tbody></table> | ||
348 | + | ||
349 | + </td> | ||
350 | + <td class="right_large">3</td> | ||
351 | + <td class="right_small">1 ะดะฝ.</td> | ||
352 | + <td class="right_medium">103.75</td> | ||
353 | + </tr> | ||
354 | + <tr> | ||
355 | + <td class="small_width">BOSH</td> | ||
356 | + <td class="medium_width">0 092 S30 120 | ||
357 | + <img src="/images/favourite_notactive.png" class="favourite"> | ||
358 | + <img src="/images/favourite.png" class="pose"> | ||
359 | + </td> | ||
360 | + <td class="large_width">12V 88Ah 740A | ||
361 | + <a href=""><img src="/images/gear.png"></a> | ||
362 | + <a href="" id="go_photo" data-image="/images/acamulator_big.png"><img src="/images/icon_cam.png"></a> | ||
363 | + </td> | ||
364 | + <td class="right" style="border-bottom: 0; | ||
365 | + border-top: 0;"> | ||
366 | + <table class="right" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
367 | + border-top: 0;"> | ||
368 | + <tbody> | ||
369 | + | ||
370 | + | ||
371 | + <tr class="one" style="border-bottom: 0; | ||
372 | + border-top: 0;"> | ||
373 | + | ||
374 | + <td class="row_select" style="border-bottom: 0; | ||
375 | + border-top: 0;"> | ||
376 | + <div class="lend-tovar-cart-left"> | ||
377 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
378 | + <div class="arrow-cart-lend-wr"> | ||
379 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
380 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
381 | + </div> | ||
382 | + </div> | ||
383 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
384 | + </td> | ||
385 | + </tr> | ||
386 | + </tbody></table> | ||
387 | + | ||
388 | + </td> | ||
389 | + <td class="right_large">3</td> | ||
390 | + <td class="right_small">1 ะดะฝ.</td> | ||
391 | + <td class="right_medium">103.75</td> | ||
392 | + </tr> | ||
393 | + <tr> | ||
394 | + <td class="small_width">BOSH</td> | ||
395 | + <td class="medium_width">0 092 S30 120 | ||
396 | + <img src="/images/favourite_notactive.png" class="favourite"> | ||
397 | + <img src="/images/favourite.png" class="pose"> | ||
398 | + </td> | ||
399 | + <td class="large_width">12V 88Ah 740A | ||
400 | + <a href=""><img src="/images/gear.png"></a> | ||
401 | + <a href="" id="go_photo" data-image="/images/acamulator_big.png"><img src="/images/icon_cam.png"></a> | ||
402 | + </td><td class="right" style="border-bottom: 0; | ||
403 | + border-top: 0;"> | ||
404 | + <table class="right" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
405 | + border-top: 0;"> | ||
406 | + <tbody> | ||
407 | + | ||
408 | + <tr class="one" style="border-bottom: 0; | ||
409 | + border-top: 0;"> | ||
410 | + <td class="row_select" style="border-top: 0;"> | ||
411 | + <div class="lend-tovar-cart-left"> | ||
412 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
413 | + <div class="arrow-cart-lend-wr"> | ||
414 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
415 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
416 | + </div> | ||
417 | + </div> | ||
418 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
419 | + </td> | ||
420 | + | ||
421 | + </tr> | ||
422 | + <tr class="one" style="border-bottom: 0; | ||
423 | + border-top: 0;"> | ||
424 | + <td class="row_select" style="border-bottom: 0; | ||
425 | + border-top: 0;"> | ||
426 | + <div class="lend-tovar-cart-left"> | ||
427 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
428 | + <div class="arrow-cart-lend-wr"> | ||
429 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
430 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
431 | + </div> | ||
432 | + </div> | ||
433 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
434 | + </td> | ||
435 | + </tr> | ||
436 | + </tbody></table> | ||
437 | + | ||
438 | + </td> | ||
439 | + <td class="right_large"> | ||
440 | + <table class="inner_table" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
441 | + border-top: 0;"> | ||
442 | + <tbody> | ||
443 | + <tr> | ||
444 | + <td>3</td> | ||
445 | + </tr> | ||
446 | + <tr> | ||
447 | + <td>3</td> | ||
448 | + </tr> | ||
449 | + </tbody> | ||
450 | + </table> | ||
451 | + | ||
452 | + </td> | ||
453 | + <td class="right_small"> | ||
454 | + <table class="inner_table" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
455 | + border-top: 0;"> | ||
456 | + <tbody> | ||
457 | + <tr> | ||
458 | + <td>1 ะดะฝ.</td> | ||
459 | + </tr> | ||
460 | + <tr> | ||
461 | + <td>1 ะดะฝ.</td> | ||
462 | + </tr> | ||
463 | + </tbody> | ||
464 | + </table> | ||
465 | + </td> | ||
466 | + <td class="right_medium"> | ||
467 | + <table class="inner_table" cellspacing="0" cellpadding="0" border="0" style="border-bottom: 0; | ||
468 | + border-top: 0;"> | ||
469 | + <tbody> | ||
470 | + <tr> | ||
471 | + <td>103.75</td> | ||
472 | + </tr> | ||
473 | + <tr> | ||
474 | + <td>103.75</td> | ||
475 | + </tr> | ||
476 | + </tbody> | ||
477 | + </table> | ||
478 | + </td> | ||
479 | + </tr> | ||
480 | + | ||
481 | + </tbody></table> | ||
482 | + <div class="yellow_stock"> | ||
483 | + <img src="/images/yellow_squere.jpg"><p>ะ ะฝะฐะปะธัะธะธ ะฝะฐ ัะตะฝััะฐะปัะฝะพะผ ัะบะปะฐะดะต ItalAuto, ะฒ ะะธะตะฒะต</p> | ||
484 | + </div> | ||
485 | + </div> | ||
486 | +</div> | ||
487 | + | ||
488 | +</div> | ||
489 | +<script type="text/javascript"> | ||
490 | + function changeText() { | ||
491 | + e = document.getElementById('button_grey_card'); | ||
492 | + e.innerHTML = e.innerHTML == "ะกะบัััั ะบะฐััะพัะบั ัะพะฒะฐัะฐ" ? "ะัะบัััั ะบะฐััะพัะบั ัะพะฒะฐัะฐ" : "ะกะบัััั ะบะฐััะพัะบั ัะพะฒะฐัะฐ"; | ||
493 | + } | ||
494 | + $('#button_grey_card').click(function(){ | ||
495 | + changeText(); | ||
496 | + $(this).toggleClass('change_b'); | ||
497 | + $('.tovar_card').toggleClass('tovar_card_visible'); | ||
498 | + $('.table').toggleClass('table_height'); | ||
499 | + }); | ||
500 | +</script> | ||
0 | \ No newline at end of file | 501 | \ No newline at end of file |
1 | +<?php | ||
2 | +use \yii\helpers\Html; | ||
3 | + | ||
4 | +$this->registerCssFile('/css/BC2_catalog_zapchasti.css'); | ||
5 | +?> | ||
6 | + | ||
7 | + <tr> | ||
8 | + <td class="small_width"><?= $model['brand']?></td> | ||
9 | + <td class="medium_width"><?= $model['article']?> | ||
10 | + <img src="/images/favourite_notactive.png" class="favourite"> | ||
11 | + <img src="/images/favourite.png" class="pose"> | ||
12 | + </td> | ||
13 | + <td class="large_width"><?= $model['description']?> | ||
14 | + <a href=""><img src="/images/gear.png"></a> | ||
15 | + <a href="" id="go_photo"><img src="/images/icon_cam.png"></a> | ||
16 | + </td> | ||
17 | + <td class="right"> | ||
18 | + <table class="tovar_table right" cellspacing="0" cellpadding="0" border="0" style="border: 0;"> | ||
19 | + <tbody> | ||
20 | + <tr class="one" style="border-bottom: 0; | ||
21 | + border-top: 0;"> | ||
22 | + <td class="row_select" style="border-bottom: 0; | ||
23 | + border-top: 0;"> | ||
24 | + <div class="lend-tovar-cart-left"> | ||
25 | + <input type="text" class="lend-tovar-cart-number" value="1"> | ||
26 | + <div class="arrow-cart-lend-wr"> | ||
27 | + <img class="arrow-cart-lend-1" src="/images/arrow-cart-up.png" width="9" height="6" alt=""> | ||
28 | + <img class="arrow-cart-lend-2" src="/images/arrow-cart-down1.png" width="9" height="6" alt=""> | ||
29 | + </div> | ||
30 | + </div> | ||
31 | + <button class="purple">ะ ะบะพัะทะธะฝั</button> | ||
32 | + </td> | ||
33 | + | ||
34 | + </tr> | ||
35 | + </tbody></table> | ||
36 | + | ||
37 | + </td> | ||
38 | + <td class="right_large"> | ||
39 | + <table class="inner" border='0' style='border-top:0; border-left:0'> | ||
40 | + <tr border='0' style='border-top:0; border-left:0'><td border='0' style='border-top:0; border-left:0'><?= $model['box'] ?></td></tr> | ||
41 | + | ||
42 | + </table> | ||
43 | + </td> | ||
44 | + <td class="right_small"><table class="inner" border='0' style='border-top:0; border-left:0'> | ||
45 | + <tr border='0' style='border-top:0; border-left:0'><td border='0' style='border-top:0; border-left:0'><?= $model['delivery']?> ะดะฝ.</td></tr> | ||
46 | + | ||
47 | + </table></td> | ||
48 | + <td class="right_medium"><table class="inner" border='0' style='border-top:0; border-left:0'> | ||
49 | + <tr border='0' style='border-top:0; border-left:0'><td border='0' style='border-top:0; border-left:0'><?= $model['price']?></td></tr> | ||
50 | + | ||
51 | + </table></td> | ||
52 | + </tr> |
1 | +<?php | ||
2 | + | ||
3 | +use yii\helpers\Html; | ||
4 | +use yii\grid\GridView; | ||
5 | + | ||
6 | +/* @var $this yii\web\View */ | ||
7 | +/* @var $searchModel common\models\BrandsReplaceSearch */ | ||
8 | +/* @var $dataProvider yii\data\ActiveDataProvider */ | ||
9 | + | ||
10 | +$this->title = 'Test'; | ||
11 | +$this->params['breadcrumbs'][] = $this->title; | ||
12 | +?> | ||
13 | +<div class="brands-replace-index"> | ||
14 | + | ||
15 | + <h1><?= Html::encode($this->title) ?></h1> | ||
16 | + | ||
17 | + <?= GridView::widget([ | ||
18 | + 'dataProvider' => $dataProvider, | ||
19 | + ]); ?> | ||
20 | + | ||
21 | +</div> |
frontend/web/css/main.css
@@ -469,4 +469,110 @@ div.required:after { content: " *"; | @@ -469,4 +469,110 @@ div.required:after { content: " *"; | ||
469 | 469 | ||
470 | .my_profile .selectize_item2 label{ | 470 | .my_profile .selectize_item2 label{ |
471 | left: -65px; | 471 | left: -65px; |
472 | +} | ||
473 | + | ||
474 | +.myprofile .purple_white { | ||
475 | + margin-top: 28px; | ||
476 | + margin-left: 174px; | ||
477 | + font-family: Arial; | ||
478 | + font-size: 11px; | ||
479 | + font-weight: 600; | ||
480 | + color: #6b84b5; | ||
481 | + height: 43px; | ||
482 | + width: 130px; | ||
483 | + border-radius: 8px; | ||
484 | + border: 1px solid #6b84b5; | ||
485 | + background-color: #ffffff; | ||
486 | + cursor: pointer; | ||
487 | + outline: none; | ||
488 | + text-transform: uppercase; | ||
489 | + display: inline-block; | ||
490 | + text-align: center; | ||
491 | + box-sizing: border-box; | ||
492 | + padding-top: 14px; | ||
493 | + position: relative; | ||
494 | + top: 1px; | ||
495 | +} | ||
496 | + | ||
497 | +.myprofile input{ | ||
498 | + margin-left: 135px; | ||
499 | +} | ||
500 | + | ||
501 | +.myprofile div.required:after{ | ||
502 | + left: 121px; | ||
503 | +} | ||
504 | +.myprofile a.top{ | ||
505 | + padding-top: 13px; | ||
506 | + text-align: center; | ||
507 | +} | ||
508 | + | ||
509 | +.field-passwordresetrequestform-email:after{ | ||
510 | + top: -34px!important; | ||
511 | + left: 388px!important; | ||
512 | +} | ||
513 | + | ||
514 | +.myprofile .field-changepasswordform-old_pass label, .myprofile .field-changepasswordform-pass label, .myprofile .field-changepasswordform-re_pass label{ | ||
515 | + left: 0px!important; | ||
516 | +} | ||
517 | + | ||
518 | +.second_section .bold_line{ | ||
519 | + margin-top: 13px; | ||
520 | + margin-bottom: -2px; | ||
521 | +} | ||
522 | + | ||
523 | +#button_grey_card{ | ||
524 | + margin-top: -20px; | ||
525 | + font-size: 14px; | ||
526 | + margin-right: 388px | ||
527 | +} | ||
528 | +.change_b{ | ||
529 | + width: 186px; | ||
530 | +} | ||
531 | +.table_height{ | ||
532 | + height: 70px!important; | ||
533 | + border-bottom: 0px!important; | ||
534 | +} | ||
535 | +.tovar_card_visible{ | ||
536 | + display: none; | ||
537 | +} | ||
538 | + | ||
539 | +.table{ | ||
540 | + transition: 0.3s; | ||
541 | +} | ||
542 | + | ||
543 | +.inner_table{ | ||
544 | + width: 100%!important | ||
545 | +} | ||
546 | + | ||
547 | +.inner_table tr{ | ||
548 | + height: 47px; | ||
549 | + border-left: 0!important; | ||
550 | + border-bottom: 0!important; | ||
551 | +} | ||
552 | + | ||
553 | +.inner_table td{ | ||
554 | + vertical-align: middle; | ||
555 | + border: 0; | ||
556 | +} | ||
557 | + | ||
558 | +.first_section{ | ||
559 | + height: auto; | ||
560 | + margin-bottom: 59px; | ||
561 | +} | ||
562 | +.link_sort a{ | ||
563 | + color: #333; | ||
564 | + text-decoration: none; | ||
565 | + display: inline-block; | ||
566 | + margin-left: -9px; | ||
567 | + width: 100%; | ||
568 | + position: relative; | ||
569 | +} | ||
570 | + | ||
571 | +.arrow_up{ | ||
572 | + background: url("/images/icon2.png") no-repeat 93%; | ||
573 | + | ||
574 | +} | ||
575 | + | ||
576 | +.arrow_downA{ | ||
577 | + background: url("/images/icon2r.png") no-repeat 93%!important; | ||
472 | } | 578 | } |
473 | \ No newline at end of file | 579 | \ No newline at end of file |
frontend/web/js/script.js
@@ -469,6 +469,7 @@ $('.phone_control, .phone_placeholder').click( | @@ -469,6 +469,7 @@ $('.phone_control, .phone_placeholder').click( | ||
469 | function(){ | 469 | function(){ |
470 | $('.menu_block_center').css({display:'none'}); | 470 | $('.menu_block_center').css({display:'none'}); |
471 | $('.menu_block_center1').css({display:'block'}); | 471 | $('.menu_block_center1').css({display:'block'}); |
472 | + $('.menus_search_down').css({display: 'block'}); | ||
472 | $('.menu_search_down .input_search').find('input').focus(); | 473 | $('.menu_search_down .input_search').find('input').focus(); |
473 | 474 | ||
474 | }); | 475 | }); |
@@ -539,7 +540,9 @@ $('.active_menu').hover(function(){ | @@ -539,7 +540,9 @@ $('.active_menu').hover(function(){ | ||
539 | $('#auto_staff').css({'background-color':'#6b84b5'}); | 540 | $('#auto_staff').css({'background-color':'#6b84b5'}); |
540 | $('#auto_staff').find('a').css({'color':'#fff'}); | 541 | $('#auto_staff').find('a').css({'color':'#fff'}); |
541 | }); | 542 | }); |
542 | - | 543 | + $('.menu_block_center2 #main_seacrh').click(function(){ |
544 | + $('.menu_block_center2 .menu_search_down').css({display: 'block'}); | ||
545 | + }); | ||
543 | $('.menu_block_center2 .by_articul .menu_search_down').hover(function(){ | 546 | $('.menu_block_center2 .by_articul .menu_search_down').hover(function(){ |
544 | $(this).find('a:first-child').css({'color':'#333'}); | 547 | $(this).find('a:first-child').css({'color':'#333'}); |
545 | 548 |