Commit 4d5dbae39c72e5bb69e5d427c2be0db9b8580617

Authored by Administrator
1 parent e337d04a

big commti

Showing 477 changed files with 239 additions and 26659 deletions   Show diff stats

Too many changes.

To preserve performance only 100 of 477 files are displayed.

common/modules/product/CatalogUrlManager.php
... ... @@ -29,6 +29,14 @@ class CatalogUrlManager implements UrlRuleInterface {
29 29 $pathInfo = $request->getPathInfo();
30 30 $paths = explode('/', $pathInfo);
31 31  
  32 + if(isset($paths[1])) {
  33 + if(strripos($request->url,'catalog/'.$paths[1].'?') && (!strripos($request->url,'?page')) && (!strripos($request->url,'?sort'))){
  34 + throw new HttpException(404 ,'Page not found');
  35 + }
  36 +
  37 + }
  38 +
  39 +
32 40 if (!array_key_exists($paths[0], $this->route_map)) {
33 41 return false;
34 42 }
... ... @@ -36,8 +44,8 @@ class CatalogUrlManager implements UrlRuleInterface {
36 44 $params = [];
37 45 if ($paths[0] == 'catalog') {
38 46 $route = 'catalog/category';
39   - // Category
40 47  
  48 + // Category
41 49 if (!empty($paths[1])) {
42 50 $category = CategorySearch::findByAlias($paths[1]);
43 51 if (empty($category)) {
... ... @@ -45,8 +53,6 @@ class CatalogUrlManager implements UrlRuleInterface {
45 53 }
46 54 $params['category'] = $category;
47 55 }
48   -
49   -
50 56 if (!empty($paths[2])) {
51 57 // Filter
52 58  
... ... @@ -54,13 +60,28 @@ class CatalogUrlManager implements UrlRuleInterface {
54 60 $this->parseFilter($paths[2], $params);
55 61  
56 62 }
  63 + else if(strpos($paths[2], 'filter:') === 0){
  64 + $this->parseOldFilter($paths[2], $params);
  65 + //['catalog/category', 'category' => $category, 'filters' =>$params['filter']]
  66 +
  67 + $optionsTemplate = FilterHelper::optionsTemplate();
  68 + array_unshift($optionsTemplate, "special", "brands");
  69 + $filterView = [];
  70 + foreach($optionsTemplate as $optionKey){
  71 + if(isset($params['filter'][$optionKey])){
  72 + $filterView[$optionKey] = $params['filter'][$optionKey];
  73 + }
  74 +
  75 +
  76 + }
  77 +
  78 +
  79 + Yii::$app->response->redirect(['catalog/category', 'category' => $category, 'filters' =>$filterView],301);
  80 + }
57 81 else {
58 82 throw new HttpException(404 ,'Page not found');
59 83 }
60 84 }
61   -
62   -
63   -
64 85 } elseif ($paths[0] == 'product') {
65 86 if (!empty($paths[2])) {
66 87 throw new HttpException(404 ,'Page not found');
... ... @@ -96,7 +117,6 @@ class CatalogUrlManager implements UrlRuleInterface {
96 117 if (!empty($params['category'])) {
97 118 $category_alias = is_object($params['category']) ? $params['category']->alias : strtolower($params['category']);
98 119 $url = 'catalog/'. $category_alias .'/';
99   - unset($params['category']);
100 120 } else {
101 121 $url = 'catalog/';
102 122 }
... ... @@ -119,7 +139,6 @@ class CatalogUrlManager implements UrlRuleInterface {
119 139 case 'catalog/product':
120 140 if (!empty($params['product'])) {
121 141 $product_alias = is_object($params['product']) ? $params['product']->alias : strtolower($params['product']);
122   - unset($params['product']);
123 142 }
124 143 $url = 'product/'. $product_alias;
125 144  
... ... @@ -132,6 +151,23 @@ class CatalogUrlManager implements UrlRuleInterface {
132 151 return $url;
133 152 break;
134 153  
  154 +// case 'catalog/brands':
  155 +// if (empty($params['brand'])) {
  156 +// return 'brands';
  157 +// } else {
  158 +//
  159 +// $brand_alias = is_object($params['brand']) ? $params['brand']->alias : strtolower($params['brand']);
  160 +// }
  161 +// $url = 'brands/'. $brand_alias .'/';
  162 +//
  163 +// $this->setFilterUrl($params, $url);
  164 +//
  165 +// if (!empty($params) && ($query = http_build_query($params)) !== '') {
  166 +// $url .= '?' . $query;
  167 +// }
  168 +//
  169 +// return $url;
  170 +// break;
135 171 }
136 172 }
137 173  
... ... @@ -187,4 +223,31 @@ class CatalogUrlManager implements UrlRuleInterface {
187 223 }
188 224 }
189 225 }
  226 +
  227 +
  228 +
  229 + private function parseOldFilter($paths, &$params) {
  230 + $params['filter'] = [];
  231 + $filter_str = substr($paths, 7);
  232 + $filter_options = explode(';', $filter_str);
  233 + foreach ($filter_options as $filter_option) {
  234 + if (empty($filter_option)) {
  235 + continue;
  236 + }
  237 + list($filter_key, $filter_option) = explode('=', $filter_option);
  238 + if($filter_key == 'prices') { // price-interval section
  239 + $prices = explode(':', $filter_option);
  240 + $params['filter'][$filter_key] = [
  241 + 'min' => floatval($prices[0]),
  242 + 'max' => floatval($prices[1]),
  243 + ];
  244 + }
  245 + elseif (strpos($filter_key, $this->option_prefix) === 0) { // options section
  246 + $params['filter'][substr($filter_key, 2)] = explode(',', $filter_option);
  247 + }
  248 + else { // brands and other sections
  249 + $params['filter'][$filter_key] = explode(',', $filter_option);
  250 + }
  251 + }
  252 + }
190 253 }
191 254 \ No newline at end of file
... ...
common/modules/product/models/BrandSearch.php
... ... @@ -85,12 +85,25 @@ class BrandSearch extends Brand
85 85 $query->andFilterWhere(['ilike', 'brand_name.value', $this->brand_name]);
86 86 }
87 87  
  88 + $query->orderBy('brand_id', 'asc');
88 89  
89 90 return $dataProvider;
90 91 }
91 92  
92 93 public function getBrands($category = null, $params = [], $productQuery = null) {
93   -
  94 +// $queryCount = ProductHelper::productCountQuery($category, $params, ['brands']);
  95 +
  96 + /*if (!empty($params['prices'])) {
  97 + if ($params['prices']['min'] > 0) {
  98 + $queryCount->andWhere(['>=', ProductVariant::tableName() .'.price', $params['prices']['min']]);
  99 + }
  100 + if ($params['prices']['max'] > 0) {
  101 + $queryCount->andWhere(['<=', ProductVariant::tableName() .'.price', $params['prices']['max']]);
  102 + }
  103 + }*/
  104 +// if (!empty($params['options'])) {
  105 +// $queryCount->innerJoin(TaxOption::tableName(), TaxOption::tableName())
  106 +// }
94 107  
95 108 $query = Brand::find()
96 109 ->select([
... ... @@ -101,15 +114,42 @@ class BrandSearch extends Brand
101 114 ->with(['brandName']);
102 115  
103 116  
  117 +// $queryCount = Product::find()
  118 +// ->select(['COUNT(product.product_id)'])
  119 +// ->where('product.brand_id = brand.brand_id');
  120 +// $queryCount->andWhere('(SELECT COUNT(pv.product_variant_id) FROM "product_variant" "pv" WHERE pv.stock != 0 AND pv.product_id = product.product_id) > 0');
  121 +// if (!empty($category)) {
  122 +// $queryCount->andWhere('(SELECT COUNT(pc.product_id) FROM product_category pc WHERE pc.product_id = product.product_id AND pc.category_id = '. $category->category_id .') > 0');
  123 +// }
  124 +// if (!empty($params['options'])) {
  125 +// $queryCount->innerJoin('product_option', 'product_option.product_id = product.product_id');
  126 +// $queryCount->innerJoin('tax_option', 'tax_option.tax_option_id = product_option.option_id');
  127 +// $queryCount->innerJoin('tax_group', 'tax_group.tax_group_id = tax_option.tax_group_id');
  128 +// foreach ($params['options'] as $group => $options) {
  129 +// $queryCount->andWhere([
  130 +// 'tax_group.alias' => $group,
  131 +// 'tax_option.alias' => $options
  132 +// ]);
  133 +// }
  134 +//// $query->addSelect("(SELECT COUNT(product_option.product_id) AS products FROM product_option INNER JOIN tax_option ON tax_option.tax_option_id = product_option.option_id INNER JOIN tax_group ON tax_group.tax_group_id = tax_option.tax_group_id WHERE tax_group.alias LIKE '$group' AND tax_option.alias IN (" . implode(',', $options) . ")) AS _items_count");
  135 +// }
  136 +// $query->addSelect(['_items_count' => $queryCount]);
  137 +
  138 +// if ($productQuery) {
  139 +// $productQuery->select(['COUNT(product.product_id)']);
  140 +// $query->addSelect(['_items_count' => $productQuery]);
  141 +// }
104 142  
105 143  
106 144 $query->innerJoin('product_variant', 'product_variant.product_id = '. Product::tableName() .'.product_id');
107 145 $query->where(['!=', 'product_variant.stock', 0]);
  146 + $query->groupBy(Product::tableName() .'.product_id');
108 147 if (!empty($category)) {
109 148 $query->andWhere([
110 149 ProductCategory::tableName() .'.category_id' => $category->category_id
111 150 ]);
112 151 }
  152 + $query->groupBy(Brand::tableName() .'.brand_id');
113 153  
114 154 return $query;
115 155 }
... ...
frontend/components/SeoComponent.php
... ... @@ -10,25 +10,27 @@ class SeoComponent implements BootstrapInterface
10 10  
11 11 public function bootstrap($app)
12 12 {
13   - \Yii::$app->on(\yii\base\Application::EVENT_BEFORE_REQUEST, function($event) {
14   - $array = ['%21'=>'!','%22'=>'"','%23'=>'#','%24'=>'$','%25'=>'%','%26'=>'&','%27'=>'\'','%28'=>'(','%29'=>')','%2a'=>'*','%2b'=>'+','%2c'=>',','%2d'=>'-','%2e'=>'.','%2f'=>'/','%3a'=>':','%3b'=>';','%3c'=>'<','%3d'=>'=','%3e'=>'>','%3f'=>'?','%40'=>'@','%5b'=>'[','%5c'=>'\\','%5d'=>']','%5e'=>'^','%5f'=>'_','%60'=>'`','%7b'=>'{','%7c'=>'|','%7d'=>'}','%7e'=>'~'];
15   - $url = mb_strtolower (\Yii::$app->request->url);
16   -
17   - $continue = true;
18   -
19   - foreach($array as $sym=>$sym_row){
20   - if(strpos($url, $sym)){
21   - $url = str_replace($sym, $sym_row, $url);
22   - $continue = false;
23   -
  13 + if(\Yii::$app->request->isGet) {
  14 + \Yii::$app->on(\yii\base\Application::EVENT_BEFORE_REQUEST, function($event) {
  15 + $array = ['%21'=>'!','%22'=>'"','%23'=>'#','%24'=>'$','%25'=>'%','%26'=>'&','%27'=>'\'','%28'=>'(','%29'=>')','%2a'=>'*','%2b'=>'+','%2c'=>',','%2d'=>'-','%2e'=>'.','%2f'=>'/','%3a'=>':','%3b'=>';','%3c'=>'<','%3d'=>'=','%3e'=>'>','%3f'=>'?','%40'=>'@','%5b'=>'[','%5c'=>'\\','%5d'=>']','%5e'=>'^','%5f'=>'_','%60'=>'`','%7b'=>'{','%7c'=>'|','%7d'=>'}','%7e'=>'~'];
  16 + $url = mb_strtolower (\Yii::$app->request->url);
  17 +
  18 + $continue = true;
  19 +
  20 + foreach($array as $sym=>$sym_row){
  21 + if(strpos($url, $sym)){
  22 + $url = str_replace($sym, $sym_row, $url);
  23 + $continue = false;
  24 +
  25 + }
24 26 }
25   - }
26   -
27   - if(!$continue){
28   - \Yii::$app->getResponse()->redirect($url);
29   - }
30   -
31   - });
  27 +
  28 + if(!$continue){
  29 + \Yii::$app->getResponse()->redirect($url);
  30 + }
  31 + });
  32 + }
  33 +
32 34 return $app;
33 35 }
34 36  
... ...
frontend/controllers/ArticlesController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -
5   -use Yii;
6   -use yii\web\Controller;
7   -use common\models\Articles;
8   -use yii\web\HttpException;
9   -use yii\data\Pagination;
10   -
11   -class ArticlesController extends Controller
12   -{
13   -
14   - public function actionIndex()
15   - {
16   -
17   - $query = Articles::find()->groupBy('id')->orderBy('id DESC') ;
18   - $countQuery = clone $query;
19   - $pages = new Pagination(['totalCount' => $countQuery->count(), 'pageSize'=>18]);
20   - $pages->forcePageParam = false;
21   - $pages->pageSizeParam = false;
22   - $news = $query->offset($pages->offset)
23   - ->with(['comments.rating', 'averageRating'])
24   - ->limit($pages->limit)
25   - ->all();
26   -
27   - return $this->render('index', [
28   - 'pages'=>$pages,
29   - 'news'=>$news,
30   - ]);
31   - }
32   -
33   - public function actionShow(){
34   - if(!$news = Articles::find()->where(['id'=>$_GET['id']])->one())
35   - throw new HttpException(404, 'ะ”ะฐะฝะฝะพะน ัั‚ั€ะฐะฝะธั†ะต ะฝะต ััƒั‰ะตัั‚ะฒัƒะตั‚!');
36   -
37   - return $this->render('show', [
38   - 'news'=>$news,
39   - ]);
40   - }
41   -
42   -}
43 0 \ No newline at end of file
frontend/controllers/BasketController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -
5   -
6   -use common\models\Customer;
7   -use common\models\OrdersProducts;
8   -use Yii;
9   -use yii\helpers\ArrayHelper;
10   -use yii\web\Controller;
11   -use common\modules\product\models\ProductVariant;
12   -use common\models\Orders;
13   -use common\widgets\Mailer;
14   -//use app\models\User;
15   -//use app\models\OrdersProducts;
16   -use yii\web\HttpException;
17   -
18   -class BasketController extends Controller
19   -{
20   -
21   - public function actionIndex(){
22   - $modelMod = new ProductVariant;
23   - $modelOrder = new Orders;
24   -
25   - if(!empty($_GET['deleteID'])){
26   - $modelOrder->deleteBasketMod($_GET['deleteID']);
27   - return Yii::$app->response->redirect(['basket/index']);
28   - }
29   -
30   - if(isset($_POST['update']) && isset($_POST['ProductVariant'])){
31   -
32   - foreach ($_POST['ProductVariant'] as $index=>$row) {
33   - $modelOrder->updateBasket($row);
34   - }
35   - }elseif(isset($_POST['ProductVariant'])){
36   -// die(print_r($_POST));
37   - $body = '';
38   - foreach ($_POST['ProductVariant'] as $index=>$row) {
39   - $body .= $row['product_name'].' '.$row['name'].' ะšะพะป:'.$row['count'].' ะฆะตะฝะฐ:'.$row['sum_cost'];
40   - $body .= "\n\r";
41   - }
42   - $body .= "\n\r";
43   -
44   - if ($modelOrder->load(Yii::$app->request->post()) && $modelOrder->save()) {
45   - $productV = $_POST['ProductVariant'];
46   -
47   - foreach ($productV as $index=>$row) {
48   - $modelOrdersProducts = new OrdersProducts();
49   - $mod_id = $row['id'];
50   -
51   - $data['OrdersProducts'] = $row;
52   - $data['OrdersProducts']['mod_id'] = $mod_id;
53   - $data['OrdersProducts']['order_id'] = $modelOrder->id;
54   - $product = ProductVariant::findOne($mod_id);
55   - /**
56   - * ะŸั€ะพะฒะตั€ัะตะผ ั‚ะพะฒะฐั€ ะฝะฐ ะฝะฐะปะธั‡ะธะต
57   - */
58   -
59   - if(!$product->stock > 0 || !$product->price > 0 ){
60   -
61   - /**
62   - * ะ”ะพะฑะฐะฒะปัะตะผ ัะพะพะฑั‰ะตะฝะธะต ะพะฑ ะพัˆะธะฑะบะต
63   - */
64   - \Yii::$app->getSession()->setFlash('error', 'ะš ัะพะถะฐะปะตะฝะธัŽ ั‚ะพะฒะฐั€ะฐ '.$product->name . ' ะฝะตั‚ ะฒ ะฝะฐะปะธั‡ะธะธ');
65   - /**
66   - * ะฃะดะฐะปัะตะผ ะทะฐะบะฐะท
67   - */
68   - $modelOrder->delete();
69   -
70   - $basket_mods = $modelOrder->getBasketMods();
71   -
72   - return $this->render('index',[
73   - 'modelMod'=>$modelMod,
74   - 'basket_mods'=>$basket_mods,
75   - 'modelOrder'=>$modelOrder,
76   - ]);
77   - }else {
78   -
79   - /**
80   - * ะฃะดะฐะปัะตะผ ั‚ะพะฒะฐั€ ั ะผะฐััะธะฒะฐ ะธ ัะพั…ั€ะฐะฝัะตะผ ะฒ ะทะฐะบะฐะท
81   - */
82   - unset($row['id']);
83   - $productV[$index]['img'] = \common\components\artboximage\ArtboxImageHelper::getImageSrc($product->image->imageUrl, 'list');
84   - $modelOrdersProducts->load($data);
85   - $modelOrdersProducts->validate();
86   - $modelOrdersProducts->save();
87   - }
88   -
89   - }
90   -
91   - /**
92   - * ะกะพั…ั€ะฐะฝัะตะผ ะทะฐะบะฐะท
93   - */
94   -
95   -
96   -
97   - if(!Yii::$app->user->id && !empty($modelOrder->email)){
98   - $modelUser = new Customer();
99   - $modelUser->role = 'person';
100   - $modelUser->username = $modelOrder->email;
101   - $modelUser->name = $modelOrder->name;
102   - $modelUser->phone = $modelOrder->phone;
103   - $modelUser->password = Yii::$app->getSecurity()->generateRandomString(10);
104   - $modelUser->group_id = 2;
105   - $modelUser->save();
106   - }
107   - $order = clone $modelOrder;
108   - /**
109   - * ะงะธัั‚ะธะผ ัะตััะธัŽ ะบะพั€ะทะธะฝั‹
110   - */
111   -
112   - $modelOrder->clearBasket();
113   -
114   - Mailer::widget(
115   - ['type' => 'order',
116   - 'subject'=> 'ะกะฟะฐัะธะฑะพ ะทะฐ ะฟะพะบัƒะฟะบัƒ',
117   - 'email' => $modelOrder->email,
118   - 'params' => [
119   - 'order' => $order,
120   - 'variants' => $productV,
121   - ]
122   - ]);
123   -
124   - $text = "# zakaz: ". $order->id .". V blijayshee vremya menedjer svyajetsya s Vami. (044) 303 90 15";
125   - Yii::$app->sms->send($order->phone, $text);
126   -
127   - Yii::$app->session['order_data']= ['order' => $order,'variants'=>$productV];
128   -
129   - return $this->redirect(['basket/success',
130   - ]);
131   - }
132   - }
133   -
134   - $basket_mods = $modelOrder->getBasketMods();
135   -
136   - if(!empty(Yii::$app->user->id)){
137   - $user = Customer::findOne(Yii::$app->user->id);
138   - $modelOrder->email = $user->username;
139   - $modelOrder->phone = $user->phone;
140   - $modelOrder->name = $user->name;
141   - }
142   -
143   -
144   -
145   - return $this->render('index', [
146   - 'modelMod'=>$modelMod,
147   - 'basket_mods'=>$basket_mods,
148   - 'modelOrder'=>$modelOrder,
149   - ]);
150   - }
151   -
152   - public function actionItems(){
153   - $modelMod = new Orders;
154   -
155   -
156   - if(!empty($_GET['deleteID'])){
157   - $modelMod->deleteBasketMod($_GET['deleteID']);
158   - }
159   -
160   - if(isset($_POST['ProductVariant'])){
161   - foreach ($_POST['ProductVariant'] as $index=>$row) {
162   - $modelMod->updateBasket($row);
163   - }
164   - }
165   - $basket_mods = $modelMod->getBasketMods();
166   - return $this->renderAjax('ajax_items', [
167   - 'modelMod'=>$modelMod,
168   - 'basket_mods'=>$basket_mods,
169   - ]);
170   - }
171   -
172   - public function actionInfo()
173   - {
174   - $modelMod = new Orders();
175   - $info = $modelMod->rowBasket();
176   - return $this->renderAjax('ajax_info', [
177   - 'info'=>$info,
178   - ]);
179   - }
180   -
181   - public function actionAdd(){
182   - $modelOrders = new Orders();
183   - if(isset($_GET['mod_id'],$_GET['count']) && $_GET['mod_id']>0 && $_GET['count']>0){
184   - $modelOrders->addBasket($_GET['mod_id'],$_GET['count']);
185   - }
186   -
187   - Yii::$app->end();
188   - }
189   -
190   -
191   - public function actionSuccess(){
192   -
193   - $orderData = Yii::$app->session->get('order_data');
194   - unset($_SESSION['order_data']);
195   - return $this->render('success',[
196   -
197   - 'order' => $orderData['order'],
198   - 'variants' => $orderData['variants'],
199   - ]);
200   - }
201   -
202   -
203   -
204   -}
205 0 \ No newline at end of file
frontend/controllers/CabinetController.php deleted
1   -<?php
2   -namespace frontend\controllers;
3   -
4   -use common\models\Customers;
5   -use common\models\User;
6   -use Yii;
7   -use common\models\LoginForm;
8   -use frontend\models\PasswordResetRequestForm;
9   -use frontend\models\ResetPasswordForm;
10   -use frontend\models\SignupForm;
11   -use frontend\models\ContactForm;
12   -use yii\base\InvalidParamException;
13   -use yii\helpers\ArrayHelper;
14   -use yii\web\BadRequestHttpException;
15   -use yii\web\Controller;
16   -use yii\filters\VerbFilter;
17   -use yii\filters\AccessControl;
18   -use yii\web\Response;
19   -use yii\widgets\ActiveForm;
20   -
21   -/**
22   - * Site controller
23   - */
24   -class CabinetController extends Controller
25   -{
26   -
27   - public $layout = 'cabinet';
28   -
29   - /**
30   - * @inheritdoc
31   - */
32   - public function behaviors()
33   - {
34   - return [
35   - 'access' => [
36   - 'class' => AccessControl::className(),
37   - 'rules' => [
38   - [
39   - 'actions' => ['login', 'error'],
40   - 'allow' => true,
41   - ],
42   - [
43   - 'actions' => ['logout', 'index', 'create', 'update', 'view', 'delete','my-orders','bookmarks'],
44   - 'allow' => true,
45   - 'roles' => ['@'],
46   - ],
47   - ],
48   - ],
49   - 'verbs' => [
50   - 'class' => VerbFilter::className(),
51   - 'actions' => [
52   - 'logout' => ['post'],
53   - ],
54   - ],
55   - ];
56   - }
57   -
58   - public function actionIndex(){
59   - return $this->render('index');
60   - }
61   -
62   - public function actionUpdate(){
63   -
64   -
65   -
66   - $model = Yii::$app->user->identity;
67   -
68   -
69   - if(Yii::$app->request->post()){
70   -
71   - $model->load(Yii::$app->request->post());
72   - $model->validate();
73   -
74   - if($model->validate()){
75   - $model->save();
76   -
77   - }
78   -
79   - }
80   -
81   -
82   - return $this->render('update',[
83   - 'model' =>$model
84   - ]);
85   - }
86   -
87   -
88   - public function actionBookmarks(){
89   - return $this->render('bookmarks',[
90   -
91   - ]);
92   - }
93   -
94   - public function actionMyOrders(){
95   - return $this->render('my-orders',[
96   -
97   - ]);
98   - }
99   -
100   -}
101 0 \ No newline at end of file
frontend/controllers/CallController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -
5   -use Yii;
6   -use yii\web\Controller;
7   -use common\models\Call;
8   -use yii\web\HttpException;
9   -
10   -class CallController extends Controller
11   -{
12   -
13   - public function actionIndex()
14   - {
15   -
16   - $model = new Call;
17   -
18   - if ($model->load(Yii::$app->request->post()) && $model->contact('borisenko.pavel@gmail.com')) {
19   -
20   - return Yii::$app->response->redirect(['call/success']);
21   - }
22   -
23   - return $this->render('index', [
24   - 'model'=>$model,
25   - ]);
26   - }
27   -
28   -
29   - public function actionSuccess(){
30   - return $this->render('success');
31   - }
32   -
33   -}
34 0 \ No newline at end of file
frontend/controllers/EventController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -
5   -use Yii;
6   -use common\models\Event;
7   -use yii\web\Controller;
8   -use yii\web\NotFoundHttpException;
9   -use yii\data\ActiveDataProvider;
10   -
11   -
12   -
13   -class EventController extends Controller
14   -{
15   -
16   - public function actionIndex()
17   - {
18   -
19   - $dataProvider = new ActiveDataProvider([
20   - 'query' => Event::find() ]);
21   -
22   - return $this->render('index', [
23   - 'dataProvider' => $dataProvider,
24   - ]);
25   - }
26   -
27   -
28   -
29   - public function actionShow($alias)
30   - {
31   -
32   - return $this->render('show', [
33   - 'model' => $this->findModel($alias),
34   - ]);
35   - }
36   -
37   -
38   - protected function findModel($alias)
39   - {
40   - if (($model = Event::findOne(["alias"=>$alias])) !== null) {
41   - return $model;
42   - } else {
43   - throw new NotFoundHttpException('The requested page does not exist.');
44   - }
45   - }
46   -
47   -
48   -}
49 0 \ No newline at end of file
frontend/controllers/IamController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -
5   -use common\models\ShareSearch;
6   -use Yii;
7   -use yii\web\Controller;
8   -use yii\filters\AccessControl;
9   -use yii\filters\VerbFilter;
10   -use yii\data\ActiveDataProvider;
11   -use yii\data\Pagination;
12   -use common\models\User;
13   -use common\models\Orders;
14   -use common\models\OrdersProducts;
15   -use common\models\Share;
16   -use common\models\Price;
17   -
18   -
19   -class IamController extends Controller
20   -{
21   -
22   - public function behaviors()
23   - {
24   - return [
25   - 'access' => [
26   - 'class' => AccessControl::className(),
27   - //'only' => ['person'],
28   - 'rules' => [
29   - [
30   - 'actions' => ['index','edit','myorders','show_order','share','price'],
31   - 'allow' => true,
32   - 'roles' => ['@'],
33   - ],
34   - ],
35   - ],
36   - 'verbs' => [
37   - 'class' => VerbFilter::className(),
38   - 'actions' => [
39   - 'logout' => ['post'],
40   - ],
41   - ],
42   - ];
43   - }
44   -
45   -
46   - public function actionIndex()
47   - {
48   - return $this->render(Yii::$app->user->identity->role, [
49   - 'model' => Yii::$app->user->identity,
50   - ]);
51   - }
52   -
53   - public function actionEdit()
54   - {
55   -
56   -
57   - $model = User::findOne(Yii::$app->user->id);
58   -
59   - $model->scenario = 'edit_'.Yii::$app->user->identity->role;
60   -
61   - if ($model->load(Yii::$app->request->post()) && $model->save()) {
62   -
63   - return Yii::$app->response->redirect(['/iam/index']);
64   -
65   -
66   - }
67   -
68   - return $this->render('edit_'.Yii::$app->user->identity->role, [
69   - 'model' => $model,
70   - ]);
71   - }
72   -
73   - public function actionMyorders(){
74   -
75   -
76   - $model = Orders::find()->where(['user_id'=>Yii::$app->user->id])->orderBy('id DESC')->all();
77   -
78   - return $this->render('myorders',['model'=>$model]);
79   -
80   - }
81   -
82   - public function actionShow_order()
83   - {
84   - $model = Orders::findOne($_GET['id']);
85   -
86   -
87   -
88   - $dataProvider = new ActiveDataProvider([
89   - 'query' => OrdersProducts::find()->where(['order_id'=>$_GET['id']]),
90   - 'pagination' => [
91   - 'pageSize' => 20,
92   - ],
93   - ]);
94   - return $this->render('show_order',['model'=>$model,'dataProvider'=>$dataProvider]);
95   - }
96   -
97   - public function actionShare(){
98   - if(Yii::$app->request->get('id')) {
99   - if(!$model = Share::find()->where('user_id=:user_id and product_id=:product_id',[':user_id'=>Yii::$app->user->id,':product_id'=>$_GET['id']])->one())
100   - $model = new Share;
101   -
102   - $model->product_id = Yii::$app->request->get('id');
103   - $model->save();
104   -
105   - Yii::$app->getSession()->setFlash('success', 'ะญั‚ะพั‚ ั‚ะพะฒะฐั€ ะดะพะฑะฐะฒะปะตะฝ ะฒ ะทะฐะบะปะฐะดะบัƒ!');
106   - return $this->redirect(Yii::$app->request->referrer);
107   - }
108   - else {
109   - /* $dataProvider = new ActiveDataProvider([
110   - 'query' => Share::find()->where(['user_id'=>Yii::$app->user->id])->orderBy('date_time DESC'),
111   - 'pagination' => [
112   - 'pageSize' => 20,
113   - ],
114   - ]);*/
115   - if(Yii::$app->request->get('deleteID')) {
116   - $model = Share::find()->where(['user_id'=>Yii::$app->user->id,'id'=>Yii::$app->request->get('deleteID')])->one();
117   - $model->delete();
118   - return $this->redirect(Yii::$app->request->referrer);
119   - }
120   -
121   - $items = [];
122   - foreach(Share::find()->where(['user_id' => Yii::$app->user->id])->all() as $item) {
123   - $items[$item->date][] = $item;
124   - }
125   -
126   - /* $query = Share::find()->where(['user_id'=>Yii::$app->user->id])->groupBy('date')->orderBy('date DESC');
127   - $countQuery = clone $query;
128   - $pages = new Pagination(['totalCount' => $countQuery->count(), 'pageSize'=>20]);
129   - $pages->forcePageParam = false;
130   - $pages->pageSizeParam = false;
131   - $share = $query->offset($pages->offset)
132   - ->limit($pages->limit)
133   - ->all();*/
134   - return $this->render('share', ['items' => $items]);
135   - }
136   - }
137   -
138   -
139   - public function actionPrice(){
140   - if(!empty($_GET['id'])){
141   - if(!$model = Price::find()->where('user_id=:user_id and product_id=:product_id',[':user_id'=>Yii::$app->user->id,':product_id'=>$_GET['id']])->one())
142   - $model = new Price;
143   -
144   - $model->product_id = $_GET['id'];
145   - $model->save();
146   -
147   - Yii::$app->getSession()->setFlash('success', 'ะญั‚ะพั‚ ั‚ะพะฒะฐั€ ะดะพะฑะฐะฒะปะตะฝ ะฒ ะทะฐะบะปะฐะดะบัƒ ะฃะทะฝะฐั‚ัŒ ะพ ัะฝะธะถะตะฝะธะต ั†ะตะฝั‹!');
148   - return $this->redirect(Yii::$app->request->referrer);
149   - }
150   - else{
151   - $dataProvider = new ActiveDataProvider([
152   - 'query' => Price::find()->where(['user_id'=>Yii::$app->user->id])->orderBy('date_time DESC'),
153   - 'pagination' => [
154   - 'pageSize' => 20,
155   - ],
156   - ]);
157   - return $this->render('price',['dataProvider'=>$dataProvider]);
158   - }
159   - }
160   -
161   -}
162 0 \ No newline at end of file
frontend/controllers/LoginController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -
5   -use Yii;
6   -use yii\web\Controller;
7   -use frontend\models\LoginForm;
8   -use common\models\Customer;
9   -
10   -class LoginController extends Controller
11   -{
12   - //public $layout='layout';
13   - public function actionIndex()
14   - {
15   - if (!\Yii::$app->user->isGuest) {
16   - return $this->goHome();
17   - }
18   -
19   - $model = new LoginForm();
20   - if ($model->load(Yii::$app->request->post()) && $model->login()) {
21   - return $this->goBack();
22   - } else {
23   - return $this->render('index', [
24   - 'model' => $model,
25   - ]);
26   - }
27   - }
28   -
29   - public function actionLogout()
30   - {
31   - Yii::$app->user->logout();
32   -
33   - return $this->goHome();
34   - }
35   -
36   - public function actionForgot(){
37   -
38   - $model = new Customer;
39   - if(!empty($_POST['User']['username'])){
40   - if($user = Customer::find()->where(['username'=>$_POST['User']['username']])->one())
41   - $user->sendMsg();
42   - Yii::$app->getSession()->setFlash('success', 'ะะฐ ัƒะบะฐะทะฐะฝะฝั‹ะน ะ’ะฐะผะธ ัะผะตะนะป ะพั‚ะฟั€ะฐะฒะปะตะฝะฝะพ ะฟะธััŒะผะพ ั ะฟะฐั€ะพะปะตะผ!');
43   - return $this->refresh();
44   - }
45   -
46   - return $this->render('forgot', [
47   - 'model' => $model,
48   - ]);
49   - }
50   -}
51 0 \ No newline at end of file
frontend/controllers/NewsController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -
5   -use Yii;
6   -use yii\web\Controller;
7   -use common\models\News;
8   -use yii\web\HttpException;
9   -use yii\data\Pagination;
10   -
11   -class NewsController extends Controller
12   -{
13   -
14   - public function actionIndex()
15   - {
16   -
17   - $query = News::find()->orderBy('id DESC') ;
18   - $countQuery = clone $query;
19   - $pages = new Pagination(['totalCount' => $countQuery->count(), 'pageSize'=>18]);
20   - $pages->forcePageParam = false;
21   - $pages->pageSizeParam = false;
22   - $news = $query->offset($pages->offset)
23   - ->limit($pages->limit)
24   - ->all();
25   -
26   - return $this->render('index', [
27   - 'pages'=>$pages,
28   - 'news'=>$news,
29   - ]);
30   - }
31   -
32   - public function actionShow(){
33   - if(!$news = News::find()->where(['id'=>$_GET['id']])->one())
34   - throw new HttpException(404, 'ะ”ะฐะฝะฝะพะน ัั‚ั€ะฐะฝะธั†ะต ะฝะต ััƒั‰ะตัั‚ะฒัƒะตั‚!');
35   -
36   - return $this->render('show', [
37   - 'news'=>$news,
38   - ]);
39   - }
40   -
41   -}
42 0 \ No newline at end of file
frontend/controllers/PageController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -
5   -use Yii;
6   -use common\models\Page;
7   -use yii\web\Controller;
8   -
9   -
10   -class PageController extends Controller
11   -{
12   -
13   - public function actionShow($translit)
14   - {
15   - $model = new Page;
16   - if(!$page = $model->getPageTranslit($translit))
17   - throw new \Exception(404,'The requested page does not exist.');
18   - return $this->render('show',['page'=>$page]);
19   - }
20   -}
21 0 \ No newline at end of file
frontend/controllers/PostController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -
5   -use yii\helpers\Url;
6   -use yii\web\HttpException;
7   -
8   -class PostController extends \yii\web\Controller
9   -{
10   - public function actionIndex()
11   - {
12   - return Url::to(['post/view', 'id' => 55]);
13   - }
14   -
15   - public function actionView($id)
16   - {
17   - return 'actionView:'. $id;
18   - }
19   -
20   -}
frontend/controllers/ProductsController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -
5   -use Yii;
6   -use yii\web\Controller;
7   -use yii\web\HttpException;
8   -use yii\data\Pagination;
9   -use yii\web\Session;
10   -use common\models\Catalog;
11   -use common\models\Products;
12   -use common\models\Mod;
13   -use common\models\Filters;
14   -use common\models\ProductsFilters;
15   -use common\models\ProductsType;
16   -use common\models\ProductsBrends;
17   -use common\models\ViewProduct;
18   -
19   -class ProductsController extends Controller
20   -{
21   - public function actionIndex ()
22   - {
23   - $modelProducts = new Products;
24   - $modelProducts->load ($_POST);
25   - if (! $catalog = Catalog::find ()->where (['translit' => $_GET['translit']])->with ('parent')->one ())
26   - throw new HttpException(404, 'ะ”ะฐะฝะฝะพะน ัั‚ั€ะฐะฝะธั†ะต ะฝะต ััƒั‰ะตัั‚ะฒัƒะตั‚!');
27   - $query = Products::find ()->where ('catalog_id=:catalog_id OR catalog_parent_id=:catalog_parent_id', [':catalog_id' => $catalog->id, ':catalog_parent_id' => $catalog->id])->with (['catalog'])->innerJoinWith (['cost']);
28   - if (! empty($_POST['Products']['minCost']) && ! empty($_POST['Products']['maxCost'])) $query->andWhere ('(cost>=:minCost and cost<=:maxCost)', [':minCost' => $_POST['Products']['minCost'], ':maxCost' => $_POST['Products']['maxCost']]);
29   - if (! empty($_GET['brends']))
30   - {
31   - $b = explode (';', $_GET['brends']);
32   - $query->andWhere (['brend_id' => $b]);
33   - }
34   - if (! empty($_GET['filters']))
35   - {
36   - $l = explode (';', $_GET['filters']);
37   - $items = Filters::find ()->where (['parent_id' => 0])->all ();
38   - foreach ($items as $key => $it)
39   - {
40   - $f = [];
41   - foreach ($it->childs as $c)
42   - {
43   - if (in_array ($c['id'], $l)) $f[] = $c['id'];
44   - }
45   - if (count ($f) > 0)
46   - $query->innerJoin ('productsFilters as filter_' . $key, 'filter_' . $key . '.product_id=products.id')->andWhere (['filter_' . $key . '.filter_id' => $f]);
47   - // $childs->leftJoin('productsFilters as pf_'.$key, 'pf_'.$key.'.product_id = productsFilters.product_id')->andWhere(['pf_'.$key.'.filter_id'=>$f]);
48   - }
49   - }
50   - if (! empty($modelProducts->fasovka))
51   - {
52   - $query->innerJoinWith (['fasovka'])->andWhere ([ProductsFasovka::tableName () . '.fasovka_id' => $modelProducts->fasovka]);
53   - }
54   - if (! empty($modelProducts->type))
55   - {
56   - $query->innerJoinWith (['type'])->andWhere ([ProductsType::tableName () . '.type_id' => $modelProducts->type]);
57   - }
58   - if (! empty($modelProducts->brends))
59   - {
60   - $query->innerJoinWith (['brends'])->andWhere ([ProductsBrends::tableName () . '.brend_id' => $modelProducts->brends]);
61   - }
62   - $query->groupBy (['id']);
63   - $countQuery = clone $query;
64   - $pages = new Pagination(['totalCount' => $countQuery->count (), 'pageSize' => 15]);
65   - $pages->forcePageParam = false;
66   - $pages->pageSizeParam = false;
67   - $products = $query->offset ($pages->offset)
68   - ->limit ($pages->limit)
69   - ->all ();
70   -
71   - return $this->render ('index', [
72   - 'modelProducts' => $modelProducts,
73   - 'catalog' => $catalog,
74   - 'pages' => $pages,
75   - 'products' => $products,
76   - ]);
77   - }
78   -
79   - public function actionSearch ()
80   - {
81   - $query = Products::find ()->innerJoinWith (['catalog'])->innerJoinWith (['cost'])->innerJoinWith (['brend']);
82   - if (! empty($_GET['search_str']))
83   - {
84   - $query->andWhere (['like', 'products.name', $_GET['search_str']]);
85   - $query->orWhere (['like', 'catalog.name', $_GET['search_str']]);
86   - $query->orWhere (['like', 'catalog_brends.name', $_GET['search_str']]);
87   - $query->orWhere (['like', 'mod.art', $_GET['search_str']]);
88   - }
89   - $query->groupBy (['id']);
90   - $countQuery = clone $query;
91   - $pages = new Pagination(['totalCount' => $countQuery->count (), 'pageSize' => 20]);
92   - $pages->forcePageParam = false;
93   - $pages->pageSizeParam = false;
94   - $products = $query->offset ($pages->offset)
95   - ->limit ($pages->limit)
96   - ->all ();
97   -
98   - return $this->render ('search', [
99   - 'pages' => $pages,
100   - 'products' => $products,
101   - ]);
102   - }
103   -
104   - public function actionShow ()
105   - {
106   - if (! $catalog = Catalog::find ()->where (['translit' => $_GET['translit_rubric']])->with ('parent')->one ())
107   - throw new HttpException(404, 'ะ”ะฐะฝะฝะพะน ัั‚ั€ะฐะฝะธั†ะต ะฝะต ััƒั‰ะตัั‚ะฒัƒะตั‚!');
108   - if (! $product = Products::find ()->where (['id' => $_GET['id']])->one ())
109   - throw new HttpException(404, 'ะ”ะฐะฝะฝะพะน ัั‚ั€ะฐะฝะธั†ะต ะฝะต ััƒั‰ะตัั‚ะฒัƒะตั‚!');
110   - ViewProduct::add ($product->id);
111   -
112   - return $this->render ('show', [
113   - 'catalog' => $catalog,
114   - 'product' => $product,
115   - ]);
116   - }
117   -
118   - public function actionCompare ()
119   - {
120   - $session = new Session;
121   - $session->open ();
122   - if (! empty($_GET['id']))
123   - {
124   - $i = 0;
125   - if (isset($session['compare']))
126   - {
127   - foreach ($session['compare'] as $key => $compare)
128   - {
129   - if ($_GET['id'] == $compare)
130   - {
131   - $i++;
132   - }
133   - }
134   - }
135   - if ($i == 0)
136   - {
137   - $data[] = $_GET['id'];
138   - $session['compare'] = $data;
139   - }
140   - Yii::$app->getSession ()->setFlash ('success', 'ะญั‚ะพั‚ ั‚ะพะฒะฐั€ ะดะพะฑะฐะฒะปะตะฝ ะบ ัั€ะฐะฒะฝะตะฝะธัŽ!');
141   -
142   - return $this->redirect (Yii::$app->request->referrer);
143   - }
144   - else
145   - {
146   - //print_r($session['compare']);
147   - $products = Products::find ()->where (['id' => $session['compare']])->all ();
148   -
149   - return $this->render ('compare', [
150   - 'products' => $products,
151   - ]);
152   - }
153   - }
154   -}
155 0 \ No newline at end of file
frontend/controllers/RegController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -
5   -use common\widgets\Mailer;
6   -use Yii;
7   -use yii\web\Controller;
8   -use yii\filters\AccessControl;
9   -use yii\filters\VerbFilter;
10   -use frontend\models\LoginForm;
11   -use common\models\Customer;
12   -
13   -
14   -class RegController extends Controller
15   -{
16   - public function behaviors()
17   - {
18   - return [
19   - 'access' => [
20   - 'class' => AccessControl::className(),
21   - //'only' => ['person'],
22   - 'rules' => [
23   - [
24   - 'actions' => ['person','captcha'],
25   - 'allow' => true,
26   - 'roles' => ['?'],
27   - ],
28   - ],
29   - ],
30   - 'verbs' => [
31   - 'class' => VerbFilter::className(),
32   - 'actions' => [
33   - 'logout' => ['post'],
34   - ],
35   - ],
36   - ];
37   - }
38   -
39   - public function actions()
40   - {
41   - return [
42   - 'captcha' => [
43   - 'class' => 'yii\captcha\CaptchaAction',
44   - ],
45   - ];
46   - }
47   -
48   - private function saveUser($scenario = null){
49   -
50   - $model = (!empty($_GET['id'])) ? Customer::findOne($_GET['id']) : new Customer;
51   - if(!empty($scenario))$model->scenario = $scenario;
52   -
53   - if ($model->load(Yii::$app->request->post())) {
54   - $model->role = "person";
55   - $model->group_id = 1;
56   - $model->save();
57   - $modelLogin = new LoginForm();
58   - $modelLogin->username = $model->username;
59   - $modelLogin->password = $model->password;
60   - $modelLogin->login();
61   - Mailer::widget(
62   - ['type' => 'registration',
63   - 'subject'=> 'ะกะฟะฐัะธะฑะพ ะทะฐ ั€ะตะณะธัั‚ั€ะฐั†ะธัŽ',
64   - 'email' => $model->username,
65   - 'params' => [
66   - 'name' => $model->username,
67   - 'pass' => $model->password,
68   - ]
69   - ]);
70   - $this->redirect(['/iam']);
71   - }
72   -
73   - return $model;
74   - }
75   -
76   - public function actionPerson()
77   - {
78   -
79   - $model = $this->saveUser('person');
80   -
81   - return $this->render('person', [
82   - 'model' => $model,
83   - ]);
84   - }
85   -
86   -
87   -
88   -}
89 0 \ No newline at end of file
frontend/controllers/SearchController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -use frontend\models\ProductFrontendSearch;
5   -use Yii;
6   -use common\modules\product\models\Category;
7   -use common\modules\product\models\Product;
8   -use common\modules\product\models\ProductCategory;
9   -use common\modules\product\models\ProductVariant;
10   -use yii\web\HttpException;
11   -
12   -class SearchController extends \yii\web\Controller
13   -{
14   - public function actionIndex()
15   - {
16   -
17   - $word = trim(Yii::$app->request->get('word', ''));
18   -
19   - if (!empty($word))
20   - {
21   -
22   -
23   - if( preg_match('/^\+?\d+$/', $word) && (iconv_strlen($word) > 4)){
24   -
25   - $params['keywords'][] = $word;
26   -
27   - $categoriesQuery = Category::find()
28   - ->innerJoin(ProductCategory::tableName(), ProductCategory::tableName() .'.category_id = '. Category::tableName() .'.category_id')
29   - ->innerJoin(Product::tableName(), Product::tableName() .'.product_id = '. ProductCategory::tableName() .'.product_id')
30   - ->innerJoin(ProductVariant::tableName(), ProductVariant::tableName() .'.product_id = '. ProductCategory::tableName() .'.product_id');
31   - $categoriesQuery->andWhere(['ilike', 'product.name', $params['keywords'][0]]);
32   - $categories = $categoriesQuery->all();
33   -
34   - } else {
35   -
36   - $params['keywords'] = explode(' ', preg_replace("|[\s,.!:&?~();-]|i", " ", $word));
37   -
38   - foreach($params['keywords'] as $i => &$keyword) {
39   - $keyword = trim($keyword);
40   - if (empty($keyword)) {
41   - unset($params['keywords'][$i]);
42   - }
43   - }
44   - array_unshift($params['keywords'], $word);
45   -
46   - $categoriesQuery = Category::find()
47   - ->innerJoin(ProductCategory::tableName(), ProductCategory::tableName() .'.category_id = '. Category::tableName() .'.category_id')
48   - ->innerJoin(Product::tableName(), Product::tableName() .'.product_id = '. ProductCategory::tableName() .'.product_id')
49   - ->innerJoin(ProductVariant::tableName(), ProductVariant::tableName() .'.product_id = '. ProductCategory::tableName() .'.product_id');
50   - foreach ($params['keywords'] as $keyword) {
51   - $categoriesQuery->andWhere(['ilike', 'product.name', $keyword]);
52   - }
53   - $categoriesQuery->andWhere(['!=', ProductVariant::tableName() .'.stock', 0]);
54   - $categories = $categoriesQuery->all();
55   - }
56   -
57   - $productModel = new ProductFrontendSearch();
58   - $productProvider = $productModel->search(null, $params);
59   -
60   -
61   - return $this->render(
62   - 'index',
63   - [
64   - 'keywords' => $params['keywords'],
65   - 'productModel' => $productModel,
66   - 'productProvider' => $productProvider,
67   - 'categories' => $categories,
68   - ]
69   - );
70   - }
71   - else
72   - {
73   - throw new HttpException(404, 'ะ”ะฐะฝะฝะพะน ัั‚ั€ะฐะฝะธั†ะต ะฝะต ััƒั‰ะตัั‚ะฒัƒะตั‚!');
74   - }
75   - }
76   -}
77 0 \ No newline at end of file
frontend/controllers/ServiceController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -
5   -use common\models\Service;
6   -use Yii;
7   -use yii\web\Controller;
8   -use yii\web\NotFoundHttpException;
9   -use yii\data\ActiveDataProvider;
10   -
11   -
12   -
13   -class ServiceController extends Controller
14   -{
15   -
16   - public function actionIndex()
17   - {
18   -
19   - $dataProvider = new ActiveDataProvider([
20   - 'query' => Service::find() ]);
21   -
22   - return $this->render('index', [
23   - 'dataProvider' => $dataProvider,
24   - ]);
25   - }
26   -
27   -
28   -
29   - public function actionView($alias)
30   - {
31   -
32   - return $this->render('view', [
33   - 'model' => $this->findModel($alias),
34   - ]);
35   - }
36   -
37   -
38   - protected function findModel($alias)
39   - {
40   - if (($model = Service::findOne(["alias"=>$alias])) !== null) {
41   - return $model;
42   - } else {
43   - throw new NotFoundHttpException('The requested page does not exist.');
44   - }
45   - }
46   -
47   -
48   -}
49 0 \ No newline at end of file
frontend/controllers/SubscribeController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -
5   -use Yii;
6   -use yii\web\Controller;
7   -use common\models\Subscribe;
8   -use yii\web\HttpException;
9   -use yii\data\Pagination;
10   -use yii\web\Response;
11   -use yii\widgets\ActiveForm;
12   -
13   -class SubscribeController extends Controller
14   -{
15   -
16   - public function actionIndex()
17   - {
18   - $model = new Subscribe;
19   - if (Yii::$app->request->isAjax) {
20   - Yii::$app->response->format = Response::FORMAT_JSON;
21   - $model->load(Yii::$app->request->post());
22   - return ActiveForm::validate($model);
23   - } else {
24   - if ($model->load(Yii::$app->request->post()) && $model->save()) {
25   -
26   - Yii::$app->getSession()->setFlash('success', 'ะ’ั‹ ัƒัะฟะตัˆะฝะพ ะฟะพะดะฟะธัะฐะปะธััŒ ะฝะฐ ั€ะฐััั‹ะปะบัƒ!');
27   - return $this->refresh();
28   - }
29   - }
30   -
31   - return $this->render('index',['model'=>$model]);
32   - }
33   -
34   -}
35 0 \ No newline at end of file
frontend/controllers/TextController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -
5   -use Yii;
6   -use yii\web\Controller;
7   -use common\models\Page;
8   -use yii\web\HttpException;
9   -
10   -class TextController extends Controller
11   -{
12   -
13   - public function actionIndex()
14   - {
15   -
16   - if(!$modelText = Page::find()->where(['translit'=>$_GET['translit']])->one())
17   - throw new HttpException(404, 'ะ”ะฐะฝะฝะพะน ัั‚ั€ะฐะฝะธั†ะต ะฝะต ััƒั‰ะตัั‚ะฒัƒะตั‚!');
18   -
19   - return $this->render('index', [
20   - 'text'=>$modelText,
21   - ]);
22   - }
23   -
24   -}
25 0 \ No newline at end of file
frontend/controllers/error_log deleted
1   -[23-Mar-2015 04:22:39 UTC] PHP Fatal error: Class 'yii\web\Controller' not found in /home/webplusn/public_html/yii2/controllers/SiteController.php on line 14
frontend/helpers/TextHelper.php deleted
1   -<?php
2   -
3   -namespace frontend\helpers;
4   -use Yii;
5   -use yii\helpers\BaseStringHelper;
6   -
7   -
8   -class TextHelper extends BaseStringHelper
9   -{
10   - public static function truncateHtmlText($string, $length, $suffix = '...', $encoding = null, $asHtml = false, $html = '<p></p>')
11   - {
12   - if ($asHtml) {
13   - return static::truncateHtml($string, $length, $suffix, $encoding ?: Yii::$app->charset);
14   - }
15   -
16   - if (mb_strlen($string, $encoding ?: Yii::$app->charset) > $length) {
17   - return strip_tags(trim(mb_substr($string, 0, $length, $encoding ?: Yii::$app->charset)) . $suffix, $html);
18   - } else {
19   - return strip_tags($string, $html);
20   - }
21   -
22   -
23   - }
24   -}
frontend/models/ContactForm.php deleted
1   -<?php
2   -
3   -namespace frontend\models;
4   -
5   -use Yii;
6   -use yii\base\Model;
7   -
8   -/**
9   - * ContactForm is the model behind the contact form.
10   - */
11   -class ContactForm extends Model
12   -{
13   - public $name;
14   - public $email;
15   - public $subject;
16   - public $body;
17   - public $verifyCode;
18   -
19   - /**
20   - * @inheritdoc
21   - */
22   - public function rules()
23   - {
24   - return [
25   - // name, email, subject and body are required
26   - [['name', 'email', 'subject', 'body'], 'required'],
27   - // email has to be a valid email address
28   - ['email', 'email'],
29   - // verifyCode needs to be entered correctly
30   - ['verifyCode', 'captcha'],
31   - ];
32   - }
33   -
34   - /**
35   - * @inheritdoc
36   - */
37   - public function attributeLabels()
38   - {
39   - return [
40   - 'verifyCode' => 'Verification Code',
41   - ];
42   - }
43   -
44   - /**
45   - * Sends an email to the specified email address using the information collected by this model.
46   - *
47   - * @param string $email the target email address
48   - * @return boolean whether the email was sent
49   - */
50   - public function sendEmail($email)
51   - {
52   - return Yii::$app->mailer->compose()
53   - ->setTo($email)
54   - ->setFrom([$this->email => $this->name])
55   - ->setSubject($this->subject)
56   - ->setTextBody($this->body)
57   - ->send();
58   - }
59   -}
frontend/models/LoginForm.php deleted
1   -<?php
2   -
3   -namespace frontend\models;
4   -
5   -use common\models\Customer;
6   -use Yii;
7   -use yii\base\Model;
8   -
9   -/**
10   - * LoginForm is the model behind the login form.
11   - */
12   -class LoginForm extends Model
13   -{
14   - public $username;
15   - public $password;
16   - public $rememberMe;
17   -
18   - private $_user = false;
19   -
20   -
21   - /**
22   - * @return array the validation rules.
23   - */
24   - public function rules()
25   - {
26   - return [
27   - // username and password are both required
28   - [['username', 'password'], 'required'],
29   - // rememberMe must be a boolean value
30   - ['rememberMe', 'boolean'],
31   - // password is validated by validatePassword()
32   - ['password', 'validatePassword'],
33   - ];
34   - }
35   -
36   - public function attributeLabels()
37   - {
38   - return [
39   - 'username'=>'ะ›ะพะณะธะฝ',
40   - 'password'=>'ะŸะฐั€ะพะปัŒ',
41   - 'rememberMe'=>'ะ—ะฐะฟะพะผะฝะธั‚ัŒ',
42   - ];
43   - }
44   -
45   - /**
46   - * Validates the password.
47   - * This method serves as the inline validation for password.
48   - *
49   - * @param string $attribute the attribute currently being validated
50   - * @param array $params the additional name-value pairs given in the rule
51   - */
52   - public function validatePassword($attribute, $params)
53   - {
54   - if (!$this->hasErrors()) {
55   - $user = $this->getUser();
56   -
57   - if (!$user || !$user->validatePassword($this->password)) {
58   - $this->addError($attribute, 'Incorrect username or password.');
59   - }
60   - }
61   - }
62   -
63   - /**
64   - * Logs in a user using the provided username and password.
65   - * @return boolean whether the user is logged in successfully
66   - */
67   - public function login()
68   - {
69   - if ($this->validate()) {
70   - return Yii::$app->user->login($this->getUser(), $this->rememberMe ? 3600*24*30 : 0);
71   - } else {
72   - return false;
73   - }
74   - }
75   -
76   - /**
77   - * Finds user by [[username]]
78   - *
79   - * @return Customer|null
80   - */
81   - public function getUser()
82   - {
83   - if ($this->_user === false) {
84   - $this->_user = Customer::findByUsername($this->username);
85   - }
86   -
87   - return $this->_user;
88   - }
89   -}
frontend/models/PasswordResetRequestForm.php deleted
1   -<?php
2   -namespace frontend\models;
3   -
4   -use common\models\User;
5   -use Yii;
6   -use yii\base\Model;
7   -
8   -/**
9   - * Password reset request form
10   - */
11   -class PasswordResetRequestForm extends Model
12   -{
13   - public $email;
14   -
15   - /**
16   - * @inheritdoc
17   - */
18   - public function rules()
19   - {
20   - return [
21   - ['email', 'filter', 'filter' => 'trim'],
22   - ['email', 'required'],
23   - ['email', 'email'],
24   - ['email', 'exist',
25   - 'targetClass' => '\common\models\User',
26   - 'filter' => ['status' => User::STATUS_ACTIVE],
27   - 'message' => 'There is no user with such email.'
28   - ],
29   - ];
30   - }
31   -
32   - /**
33   - * Sends an email with a link, for resetting the password.
34   - *
35   - * @return boolean whether the email was send
36   - */
37   - public function sendEmail()
38   - {
39   - /* @var $user User */
40   - $user = User::findOne([
41   - 'status' => User::STATUS_ACTIVE,
42   - 'email' => $this->email,
43   - ]);
44   -
45   - if (!$user) {
46   - return false;
47   - }
48   -
49   - if (!User::isPasswordResetTokenValid($user->password_reset_token)) {
50   - $user->generatePasswordResetToken();
51   - }
52   -
53   - if (!$user->save()) {
54   - return false;
55   - }
56   -
57   - return Yii::$app
58   - ->mailer
59   - ->compose(
60   - ['html' => 'passwordResetToken-html', 'text' => 'passwordResetToken-text'],
61   - ['user' => $user]
62   - )
63   - ->setFrom([\Yii::$app->params['supportEmail'] => \Yii::$app->name . ' robot'])
64   - ->setTo($this->email)
65   - ->setSubject('Password reset for ' . \Yii::$app->name)
66   - ->send();
67   - }
68   -}
frontend/models/ProductFrontendSearch.php
... ... @@ -48,8 +48,7 @@ class ProductFrontendSearch extends Product {
48 48 * @return ActiveDataProvider
49 49 */
50 50 public function search($category = null, $params = []) {
51   -
52   -
  51 +
53 52 $dataProvider = new ActiveDataProvider([
54 53 'query' => $this->getSearchQuery($category, $params),
55 54 'pagination' => [
... ... @@ -93,6 +92,7 @@ class ProductFrontendSearch extends Product {
93 92 $query->select(['product.*']);
94 93 $query->joinWith(['enabledVariants','brand', 'brand.brandName', 'category', 'category.categoryName']);
95 94  
  95 + $query->groupBy(['product.product_id', 'product_variant.price']);
96 96  
97 97 ProductHelper::_setQueryParams($query, $params);
98 98  
... ... @@ -112,14 +112,48 @@ class ProductFrontendSearch extends Product {
112 112  
113 113 $query->innerJoin('product_variant', 'product_variant.product_id = '. ProductOption::tableName() .'.product_id');
114 114 $query->andWhere(['!=', 'product_variant.stock', 0]);
  115 + $query->groupBy(TaxOption::tableName() .'.tax_option_id');
  116 +// $query->having(['>', 'COUNT(product_variant.product_variant_id)', 0]);
115 117  
116 118 if (!empty($category)) {
117 119 $query->innerJoin(ProductCategory::tableName(), ProductCategory::tableName() .'.product_id='. ProductOption::tableName() .'.product_id');
118 120 $query->andWhere([ProductCategory::tableName() .'.category_id' => $category->category_id]);
119 121 }
120 122  
  123 + $query->orderBy(TaxOption::tableName() .'.sort', SORT_ASC);
121 124 $query->limit(null);
122 125  
  126 +// $queryCount = ProductOption::find()
  127 +// ->select(['COUNT('. ProductOption::tableName() .'.product_id)'])
  128 +// ->where(ProductOption::tableName() .'.option_id = '. TaxOption::tableName() .'.tax_option_id');
  129 +// $queryCount->andWhere('(SELECT COUNT(pv.product_variant_id) FROM "product_variant" "pv" WHERE pv.stock != 0 AND pv.product_id = '. ProductOption::tableName() .'.product_id) > 0');
  130 +// if (!empty($category)) {
  131 +// $queryCount->andWhere('(SELECT COUNT(pc.product_id) FROM product_category pc WHERE pc.product_id = '. ProductOption::tableName() .'.product_id AND pc.category_id = '. $category->category_id .') > 0');
  132 +// }
  133 +// if (!empty($params['options'])) {
  134 +// $queryCount->innerJoin('tax_option', 'tax_option.tax_option_id = product_option.option_id');
  135 +// $queryCount->innerJoin('tax_group', 'tax_group.tax_group_id = tax_option.tax_group_id');
  136 +// foreach ($params['options'] as $group => $options) {
  137 +// $queryCount->andWhere([
  138 +// 'tax_group.alias' => $group,
  139 +// 'tax_option.alias' => $options
  140 +// ]);
  141 +// }
  142 +// }
  143 +// if (!empty($params['brands'])) {
  144 +// $queryCount->innerJoin(Product::tableName(), 'product.product_id='. ProductOption::tableName() .'.product_id');
  145 +// $queryCount->andWhere(['product.brand_id' => $params['brands']]);
  146 +// }
  147 +// if (!empty($params['prices'])) {
  148 +// if ($params['prices']['min'] > 0) {
  149 +// $queryCount->andWhere(['>=', 'pv.price', $params['prices']['min']]);
  150 +// }
  151 +// if ($params['prices']['max'] > 0) {
  152 +// $queryCount->andWhere(['<=', 'pv.price', $params['prices']['max']]);
  153 +// }
  154 +// }
  155 +// $query->addSelect(['_items_count' => $queryCount]);
  156 +
123 157 return $query;
124 158 }
125 159  
... ... @@ -133,6 +167,9 @@ class ProductFrontendSearch extends Product {
133 167 }
134 168 $query->joinWith('variant');
135 169  
  170 + // Price filter fix
  171 + unset($params['prices']);
  172 +
136 173 ProductHelper::_setQueryParams($query, $params, false);
137 174  
138 175 // $query->select([
... ...
frontend/models/ResetPasswordForm.php deleted
1   -<?php
2   -namespace frontend\models;
3   -
4   -use common\models\User;
5   -use yii\base\InvalidParamException;
6   -use yii\base\Model;
7   -use Yii;
8   -
9   -/**
10   - * Password reset form
11   - */
12   -class ResetPasswordForm extends Model
13   -{
14   - public $password;
15   -
16   - /**
17   - * @var \common\models\User
18   - */
19   - private $_user;
20   -
21   -
22   - /**
23   - * Creates a form model given a token.
24   - *
25   - * @param string $token
26   - * @param array $config name-value pairs that will be used to initialize the object properties
27   - * @throws \yii\base\InvalidParamException if token is empty or not valid
28   - */
29   - public function __construct($token, $config = [])
30   - {
31   - if (empty($token) || !is_string($token)) {
32   - throw new InvalidParamException('Password reset token cannot be blank.');
33   - }
34   - $this->_user = User::findByPasswordResetToken($token);
35   - if (!$this->_user) {
36   - throw new InvalidParamException('Wrong password reset token.');
37   - }
38   - parent::__construct($config);
39   - }
40   -
41   - /**
42   - * @inheritdoc
43   - */
44   - public function rules()
45   - {
46   - return [
47   - ['password', 'required'],
48   - ['password', 'string', 'min' => 6],
49   - ];
50   - }
51   -
52   - /**
53   - * Resets password.
54   - *
55   - * @return boolean if password was reset.
56   - */
57   - public function resetPassword()
58   - {
59   - $user = $this->_user;
60   - $user->setPassword($this->password);
61   - $user->removePasswordResetToken();
62   -
63   - return $user->save(false);
64   - }
65   -}
frontend/page/show.php deleted
1   -<?php
2   -$this->title = $page->title;
3   -$this->params['breadcrumbs'][] = $this->title;
4   -echo $page->body;
5 0 \ No newline at end of file
frontend/views/articles/index.php deleted
1   -<?php
2   - use common\modules\comment\assets\CommentAsset;
3   - use yii\helpers\Html;
4   - use yii\helpers\Url;
5   - use yii\widgets\Breadcrumbs;
6   - //use app\models\News;
7   - use yii\widgets\LinkPager;
8   - use frontend\components\Text;
9   - Yii::$app->getModule('artbox-comment');
10   - CommentAsset::register($this);
11   -?>
12   -<?php
13   - $this->title = 'ะ‘ะปะพะณ';
14   - $this->registerMetaTag([
15   - 'name' => 'description',
16   - 'content' => 'ะ‘ะปะพะณ',
17   - ]);
18   - $this->registerMetaTag([
19   - 'name' => 'keywords',
20   - 'content' => 'ะ‘ะปะพะณ',
21   - ]);
22   -?>
23   -
24   -<nav class="bread-crumbs">
25   - <?= Breadcrumbs::widget([
26   - 'links' => [
27   - 'ะ‘ะปะพะณ',
28   - ],
29   - ]) ?>
30   - <div class="both"></div>
31   -</nav>
32   -
33   -<div class="layout">
34   -
35   - <div class="content">
36   - <h1>ะ‘ะปะพะณ</h1>
37   -
38   - <?php foreach($news as $item): ?>
39   - <div class="news_item">
40   - <a href="<?= Url::to([
41   - 'articles/show',
42   - 'translit' => $item->translit,
43   - 'id' => $item->id,
44   - ]) ?>">
45   - <?= Html::img(\common\components\artboximage\ArtboxImageHelper::getImageSrc($item->imageUrl, 'list'), [ 'class' => 'float-left' ]) ?>
46   - </a>
47   - <a href="<?= Url::to([
48   - 'articles/show',
49   - 'translit' => $item->translit,
50   - 'id' => $item->id,
51   - ]) ?>" class="name"><?= $item->title ?></a><br/>
52   - <div class="comment_display_block article_list_comment">
53   - <?php
54   - if(!empty( $item->averageRating && $item->averageRating->value > 0 )) {
55   - ?>
56   - <div class="rateit" data-rateit-value="<?php echo $item->averageRating->value; ?>" data-rateit-readonly="true" data-rateit-ispreset="true"></div>
57   - <?php
58   - }
59   - ?>
60   - <p>
61   - <?php
62   - $comment_count = count($item->comments);
63   - echo Html::a(( $comment_count ? 'ะžั‚ะทั‹ะฒะพะฒ: ' . count($item->comments) : "ะžัั‚ะฐะฒะธั‚ัŒ ะพั‚ะทั‹ะฒ" ), [
64   - 'articles/show',
65   - 'translit' => $item->translit,
66   - 'id' => $item->id,
67   - '#' => 'artbox-comment',
68   - ]);
69   - ?>
70   - </p>
71   - </div>
72   - <?= Text::getShort($item->body, 600); ?>
73   - <div class="both"></div>
74   - </div>
75   - <?php endforeach; ?>
76   -
77   - <div class="both"></div>
78   - <?= LinkPager::widget([
79   - 'pagination' => $pages,
80   - 'registerLinkTags' => true,
81   - ]); ?>
82   -
83   - </div>
84   -
85   -</div>
86 0 \ No newline at end of file
frontend/views/articles/show.php deleted
1   -<?php
2   - use common\modules\comment\widgets\CommentWidget;
3   - use yii\helpers\Html;
4   -use yii\widgets\Breadcrumbs;
5   -?>
6   -<?php
7   -
8   -$this->title = $news->meta_title;
9   -$this->params['seo']['title'] = !empty($this->title) ?$this->title :$news->title;
10   -$this->registerMetaTag(['name' => 'description', 'content' => $news->meta_description]);
11   -?>
12   -
13   - <nav class="bread-crumbs">
14   - <?= Breadcrumbs::widget([
15   - 'links' => [
16   - ['label'=>'ะ‘ะปะพะณ','url'=>['/blog']],
17   - $news->title
18   - ],
19   - ]) ?>
20   - <div class="both"></div>
21   - </nav>
22   -
23   -<div class="layout">
24   -
25   - <div class="content">
26   - <h1 class="article_title"><?=$news->title?></h1>
27   - <div class="artbox_comment_description article_comment_description">
28   - <?php
29   - if(!empty( $news->averageRating ) && $news->averageRating->value) {
30   - ?>
31   - <div class="rateit" data-rateit-value="<?php echo $news->averageRating->value; ?>" data-rateit-readonly="true" data-rateit-ispreset="true"></div>
32   - <?php
33   - }
34   - ?>
35   - <p><a href="#artbox-comment">
36   - <?php
37   - $comment_count = count($news->comments);
38   - if($comment_count) {
39   - echo "ะžั‚ะทั‹ะฒะพะฒ: " . $comment_count;
40   - } else {
41   - echo "ะžัั‚ะฐะฒั‚ัŒ ะพั‚ะทั‹ะฒ";
42   - }
43   - ?>
44   - </a></p>
45   - </div>
46   - <?= Html::img(\common\components\artboximage\ArtboxImageHelper::getImageSrc($news->imageUrl, 'product'), ['class'=>'blog-show-img float-left'])?>
47   - <?=$news->body?>
48   - <p class='date'><?=$news->date?></p>
49   - </div>
50   -
51   - <div class="comment-wrapper" style="padding-bottom:25px">
52   - <div class='comments-border'></div>
53   - <?php
54   - echo CommentWidget::widget([
55   - 'model' => $news,
56   - 'layout' => "{form} {reply_form} {list}"
57   - ]);
58   - ?>
59   - <div class="both"></div>
60   - </div>
61   - <div class="both"></div>
62   -
63   -</div>
64 0 \ No newline at end of file
frontend/views/basket/_popup.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use yii\helpers\Url;
4   -?>
5   -<div class="black hidden">
6   - <div class="item_added_win">
7   - <a href="#" class="black_close"></a>
8   - <div class="block_content">
9   - <span style="display: block;
10   - font-size: 1.5em;
11   - -webkit-margin-before: 0.83em;
12   - -webkit-margin-after: 0.83em;
13   - -webkit-margin-start: 0px;
14   - -webkit-margin-end: 0px;
15   - font-weight: bold;">ะขะพะฒะฐั€ ะดะพะฑะฐะฒะปะตะฝ ะฒ ะบะพั€ะทะธะฝัƒ</span>
16   - <div class="items">
17   - <div class="basket_items">
18   -
19   - ะ—ะฐะณั€ัƒะทะบะฐ...
20   -
21   - </div>
22   - <div class="cont_shop_but-wr">
23   - <a href="#" class="cont_shop">ะŸั€ะพะดะพะปะถะธั‚ัŒ ะฟะพะบัƒะฟะบะธ</a>
24   - <a href="<?=Url::to(['basket/index'])?>" class="submit4 bottom3" style="color:white;">ะžั„ะพั€ะผะธั‚ัŒ ะทะฐะบะฐะท</a>
25   - </div>
26   - </div>
27   - </div>
28   - </div>
29   -</div>
30 0 \ No newline at end of file
frontend/views/basket/ajax_info.php deleted
1   -<?php
2   -use yii\helpers\Url;
3   -use yii\helpers\Html;
4   -?>
5   -<a href="<?=($info->count>0)?Url::to(['basket/index']):'#'?>">ะšะพั€ะทะธะฝะฐ <span><?=$info->count?></span></a>
6 0 \ No newline at end of file
frontend/views/basket/ajax_items.php deleted
1   -<?php
2   -use yii\widgets\ActiveForm;
3   -use yii\helpers\Html;
4   -?>
5   -<?php $form = ActiveForm::begin(['enableClientScript' => false, 'options' => [
6   - 'class' => 'basket_form2'
7   -]]); ?>
8   -<?php foreach($basket_mods as $i=>$item):?>
9   -<div class="basket_item">
10   - <?php echo $form->field($item,'['.$i.']id')->hiddenInput()->label(false); ?>
11   - <div style="display: table-cell;vertical-align: middle;"><a href="#" data-id="<?=$item->id?>" class="delete_button" style="margin-right:20px;"></a></div>
12   - <div class="img_ajax_basket" style="width:100px;height:100px;display: table-cell;vertical-align: middle; border:1px solid #d2d2d2;text-align:center;margin-left:10px;margin-right:10px;">
13   - <?= \common\components\artboximage\ArtboxImageHelper::getImage($item->imageUrl, 'product_basket')?>
14   - </div>
15   - <div style="display: table-cell;vertical-align: middle; font-size:15px;width:210px; font-weight:normal;padding-left:15px;">
16   - <div><?=$item->product_name?></div>
17   - <div style="text-transform:none; margin-top:20px; font-weight:bold;">
18   - <?php if($item->price_old>0):?><div style="text-decoration:line-through;font-size:13px;"><?=$item->price_old?> ะณั€ะฝ.</div><?php endif;?>
19   - <div style="font-size:15px;color:#f75d50;"><?=$item->price?> ะณั€ะฝ.</div>
20   - </div>
21   - </div>
22   - <div style="display: table-cell;vertical-align: middle;">
23   - <a href="#" style="color:#95ba2f" class="minus"></a><?php echo $form->field($item,'['.$i.']count',['template'=>'{input}'])->textInput(['type'=>'number','class' => 'item_num','disabled1'=>true])->label(false); ?><a href="#" style="color:#95ba2f" class="plus"></a>
24   - </div>
25   - <div style="display: table-cell;vertical-align: middle; font-size:16px;color:#f75d50; font-weight:bold; padding-left:40px;"><?=$item->sum_cost?> ะณั€ะฝ.</div>
26   - <div style="clear:both;"></div>
27   -</div>
28   -<?php endforeach;?>
29   -
30   - <div class="basket_sum">
31   - <div class="sum_text" style="float:left;">ะ’ัะตะณะพ: <span><?=$modelMod->getSumCost()?> ะณั€ะฝ.</span></div>
32   - </div>
33   -<?php ActiveForm::end(); ?>
34 0 \ No newline at end of file
frontend/views/basket/index.php deleted
1   -<?php
2   -use yii\helpers\Url;
3   -use yii\helpers\Html;
4   -use yii\web\View;
5   -use yii\helpers\ArrayHelper;
6   -use yii\widgets\Breadcrumbs;
7   -use yii\bootstrap\ActiveForm;
8   -use common\models\Delivery;
9   -
10   -$this->title = 'ะšะพั€ะทะธะฝะฐ';
11   -$this->registerMetaTag(['name' => 'description', 'content' => 'ะšะพั€ะทะธะฝะฐ']);
12   -$this->registerMetaTag(['name' => 'keywords', 'content' => 'ะšะพั€ะทะธะฝะฐ']);
13   -
14   -$this->registerJsFile(Yii::$app->request->baseUrl.'/js/jquery.mask.js',['position'=>View::POS_END,'depends'=>['yii\web\YiiAsset']]);
15   -
16   -$this->registerJs("
17   -$('#orders-phone,#orders-phone2').mask('(000) 000-0000');
18   -", View::POS_READY, 'mask');
19   -
20   -
21   -$this->registerJs("
22   -$('#orders-delivery input[type=\"radio\"]').click(function(){
23   - $('.hidden_box').addClass('activeShow')
24   - $('.delivery-data').hide();
25   - $('#delivery-data-'+$(this).val()).show();
26   -});
27   -", View::POS_READY, 'order-delivery');
28   -?>
29   -<!-- <nav class="bread-crumbs">-->
30   -<!-- --><?//= Breadcrumbs::widget([
31   -// 'links' => [
32   -// 'ะšะพั€ะทะธะฝะฐ'
33   -// ],
34   -// ]) ?>
35   -<!-- <div class="both"></div>-->
36   -<!-- </nav>-->
37   -
38   -
39   -
40   -<div class="layout">
41   -
42   - <h1 class="basket_title_">ะšะพั€ะทะธะฝะฐ</h1>
43   -<div class="ten"></div>
44   - <?php if ($flash = Yii::$app->session->getFlash ('success')): ?>
45   - <div class="alert-success"><?= $flash ?></div>
46   - <?php endif; ?>
47   - <?php if ($flash = Yii::$app->session->getFlash ('error')): ?>
48   - <div class="alert-error"><?= $flash ?></div>
49   - <?php endif; ?>
50   -<?php $form = ActiveForm::begin(['enableClientScript' => false]); ?>
51   -<div class="rightbar basket_rightbar">
52   - <div class="form-order">
53   - <div class="input-blocks-group">
54   - <div class="title_groups">ะบะพะฝั‚ะฐะบั‚ั‹</div>
55   - <div class="input-blocks-wrapper" style="margin-top: 0">
56   - <?php echo $form->field($modelOrder, 'name', [ 'options' => [ 'class' => 'input-blocks basket_input_2' ] ])->textInput([ 'class' => 'custom-input-2' ]); ?>
57   - </div>
58   - <div class="input-blocks-wrapper">
59   - <?php echo $form->field($modelOrder, 'phone', [ 'options' => [ 'class' => 'input-blocks basket_input_2' ] ])->textInput([ 'class' => 'custom-input-2' ]); ?>
60   - </div>
61   - <div class="input-blocks-wrapper">
62   - <?php echo $form->field($modelOrder, 'phone2', [ 'options' => [ 'class' => 'input-blocks basket_input_2' ] ])->textInput([ 'class' => 'custom-input-2' ]); ?>
63   - </div>
64   - <div class="input-blocks-wrapper">
65   - <?php echo $form->field($modelOrder, 'city', [ 'options' => [ 'class' => 'input-blocks basket_input_2' ] ])->textInput([ 'class' => 'custom-input-2' ]); ?>
66   - </div>
67   - <div class="input-blocks-wrapper">
68   - <?php echo $form->field($modelOrder, 'adress', [ 'options' => [ 'class' => 'input-blocks basket_input_2' ] ])->textInput([ 'class' => 'custom-input-2' ]); ?>
69   - </div>
70   - <div class="input-blocks-wrapper">
71   - <?php echo $form->field($modelOrder, 'email', [ 'options' => [ 'class' => 'input-blocks basket_input_2' ] ])->textInput([ 'class' => 'custom-input-2' ]); ?>
72   - </div>
73   - </div>
74   -
75   - <div class="input-blocks-group radio_grp hidden_box">
76   - <div class="input-blocks-wrapper">
77   - <?php
78   - $deliveries = ArrayHelper::map(Delivery::find()->where(['parent_id'=>0])->asArray()->all(), 'id', 'title');
79   - array_pop($deliveries);
80   - echo $form->field($modelOrder, 'delivery')
81   - ->radioList($deliveries,[
82   - 'item' => function($index, $label, $name, $checked, $value) {
83   - $return = '<div class="custom-form-buttons">';
84   - $return .= '<input class="custom-radio" id="custom-radio-' . $value . '" ' . ( $checked ? "checked" : "" ) . ' type="radio" name="' . $name . '" value="' . $value . '" >';
85   - $return .= '<label for="custom-radio-' . $value . '" ><span></span>' . $label . '</label>';
86   - $return .= '</div>';
87   - return $return;
88   - },
89   - ])
90   - ?>
91   - </div>
92   - </div>
93   -
94   -
95   -<div class="both"></div>
96   -
97   -<?php foreach(Delivery::find()->where(['parent_id'=>0])->all() as $item):?>
98   -<div class='delivery-data' id='delivery-data-<?=$item->id?>'>
99   - <?=$item->text?>
100   - <?= $form->field($modelOrder, 'delivery')
101   - ->radioList(ArrayHelper::map(Delivery::find()->where(['parent_id'=>$item->id])->asArray()->all(), 'id', 'title'), [
102   - 'id'=> 'order-delivery-childs',
103   - 'item' => function($index, $label, $name, $checked, $value) {
104   - $return = '<div class="custom-form-buttons">';
105   - $return .= '<input class="custom-radio" id="custom-radio-' . $value . '" ' . ( $checked ? "checked" : "" ) . ' type="radio" name="' . $name . '" value="' . $value . '" >';
106   - $return .= '<label for="custom-radio-' . $value . '" ><span></span>' . $label . '</label>';
107   - $return .= '</div>';
108   - return $return;
109   - },
110   - ]);?>
111   -</div>
112   -
113   -<?php endforeach;?>
114   - <div class="input-blocks-group radio_grp">
115   - <div class="input-blocks-wrapper">
116   - <?php echo $form->field($modelOrder, 'payment')->radioList(['ะžะฟะปะฐั‚ะธั‚ัŒ ะฝะฐะปะธั‡ะฝั‹ะผะธ'=>'ะžะฟะปะฐั‚ะธั‚ัŒ ะฝะฐะปะธั‡ะฝั‹ะผะธ','ะžะฟะปะฐั‚ะธั‚ัŒ ะฝะฐ ะบะฐั€ั‚ัƒ ะŸั€ะธะฒะฐั‚ ะ‘ะฐะฝะบะฐ'=>'ะžะฟะปะฐั‚ะธั‚ัŒ ะฝะฐ ะบะฐั€ั‚ัƒ ะŸั€ะธะฒะฐั‚ ะ‘ะฐะฝะบะฐ','ะžะฟะปะฐั‚ะธั‚ัŒ ะฟะพ ะฑะตะทะฝะฐะปะธั‡ะฝะพะผัƒ ั€ะฐัั‡ะตั‚ัƒ'=>'ะžะฟะปะฐั‚ะธั‚ัŒ ะฟะพ ะฑะตะทะฝะฐะปะธั‡ะฝะพะผัƒ ั€ะฐัั‡ะตั‚ัƒ','ะžะฟะปะฐั‚ะธั‚ัŒ ะŸั€ะฐะฒะตะบั-ั‚ะตะปะตะณั€ะฐั„'=>'ะžะฟะปะฐั‚ะธั‚ัŒ ะŸั€ะฐะฒะตะบั-ั‚ะตะปะตะณั€ะฐั„','ะะฐะปะพะถะตะฝะฝั‹ะผ ะฟะปะฐั‚ะตะถะพะผ'=>'ะะฐะปะพะถะตะฝะฝั‹ะผ ะฟะปะฐั‚ะตะถะพะผ'],[
117   - 'item' => function($index, $label, $name, $checked, $value) {
118   - $return = '<div class="custom-form-buttons">';
119   - $return .= '<input class="custom-radio" id="custom-radio-' . $value . '" ' . ( $checked ? "checked" : "" ) . ' type="radio" name="' . $name . '" value="' . $value . '" >';
120   - $return .= '<label for="custom-radio-' . $value . '" ><span></span>' . $label . '</label>';
121   - $return .= '</div>';
122   - return $return;
123   - },
124   - ]); ?>
125   - </div>
126   - </div>
127   -
128   -
129   -
130   -
131   -
132   -
133   -<div class="input-blocks-group textareagroup" style="border-bottom: none; padding-bottom: 0;">
134   - <?php echo $form->field($modelOrder,'body')->textarea(['rows'=>7]); ?>
135   - <div class="checkout_basket">
136   - <?php echo Html::submitButton(' ะžั„ะพั€ะผะธั‚ัŒ ะทะฐะบะฐะท ',array('class'=>'submit4')); ?>
137   - </div>
138   -
139   -</div>
140   -
141   - <div class="both"></div>
142   -
143   - </div>
144   -</div>
145   - <div class="content">
146   -
147   -
148   -<?php foreach($basket_mods as $i=>$item):?>
149   - <div class="basket_item">
150   - <a href="<?= Url::to(['catalog/product', 'product' => $item->product,'#' => 'm' .$item->product_variant_id]) ?>">
151   - <?= \common\components\artboximage\ArtboxImageHelper::getImage($item->imageUrl, 'product_basket')?>
152   - </a>
153   - <div class="info">
154   - <a href="<?= Url::to(['catalog/product', 'product' => $item->product,'#' => 'm' .$item->product_variant_id]) ?>" class="link2"><?=$item->product_name?></a>
155   - <p>ะšะพะด: <?=$item->sku?>, ั†ะฒะตั‚: <?=$item->name?></p>
156   - <?php echo $form->field($item,'['.$i.']id')->hiddenInput()->label(false); ?>
157   - <?php echo $form->field($item,'['.$i.']product_name')->hiddenInput()->label(false); ?>
158   - <?php echo $form->field($item,'['.$i.']sku')->hiddenInput()->label(false); ?>
159   - <?php echo $form->field($item,'['.$i.']name')->hiddenInput()->label(false); ?>
160   - <?php echo $form->field($item,'['.$i.']price')->hiddenInput()->label(false); ?>
161   - <?php echo $form->field($item,'['.$i.']sum_cost')->hiddenInput()->label(false); ?>
162   - <div class="count">
163   - <div class="fr txtf"><span style="color:silver">ั†ะตะฝะฐ ะทะฐ ะพะดะธะฝ <?=$item->price?> ะณั€ะฝ,</span> ั†ะตะฝะฐ <?=$item->sum_cost?> ะณั€ะฝ</div>
164   - <label for="count" class="txtf">ะšะพะปะธั‡ะตัั‚ะฒะพ</label> <?php echo $form->field($item,'['.$i.']count')->textInput(['type'=>'number'])->label(false); ?><div class="both"></div>
165   - </div>
166   - <a href="<?=Url::to(['basket/index','deleteID'=>$item->id]);?>" class="del">ะฃะดะฐะปะธั‚ัŒ</a>
167   - </div><div class="both"></div>
168   - </div>
169   -<?php endforeach;?>
170   -
171   - <div style="margin-top: 10px;">
172   - <?php echo Html::submitButton(' ะŸะตั€ะตัั‡ะธั‚ะฐั‚ัŒ ',array('name'=>"update",'class'=>'submit4 fl ')); ?>
173   - </div>
174   -
175   -
176   - <div class="total">
177   - <?= $form->field($modelOrder, 'total')->hiddenInput(['value'=>$modelOrder->getSumCost()])->label(false); ?>
178   - ะžะฑั‰ะฐั ััƒะผะผะฐ: <?=$modelOrder->getSumCost();?> ะณั€ะฝ.
179   - </div>
180   - <div class="cont_shopping-wr">
181   - <?= Html::a('ะŸั€ะพะดะพะปะถะธั‚ัŒ ะฟะพะบัƒะฟะบะธ', ['/site/index'], ['class'=>'btn-success cont_shopping']) ?>
182   - </div>
183   -<div class="both"></div>
184   -
185   -
186   -
187   - </div>
188   -
189   - <div class="both"></div>
190   - <?php ActiveForm::end(); ?>
191   -
192   -
193   -</div>
194 0 \ No newline at end of file
frontend/views/basket/success.php deleted
1   -<?php
2   -use yii\helpers\Url;
3   -use yii\helpers\Html;
4   -use yii\web\View;
5   -use yii\widgets\Breadcrumbs;
6   -use yii\widgets\ActiveForm;
7   -
8   -$this->title = 'ะšะพั€ะทะธะฝะฐ';
9   -$this->registerMetaTag(['name' => 'description', 'content' => 'ะšะพั€ะทะธะฝะฐ']);
10   -$this->registerMetaTag(['name' => 'keywords', 'content' => 'ะšะพั€ะทะธะฝะฐ']);
11   -
12   -if(isset($variants) && isset($order)){
13   - $orderData = "
14   - ga('require', 'ecommerce');
15   - ga('ecommerce:addTransaction', {
16   - 'id': {$order->id}, // ะณะดะต ID - ั‚ั€ะฐะฝะทะฐะบั†ะธะธ, ะพะฑัะทะฐั‚ะตะปัŒะฝะพ
17   - });";
18   -
19   - foreach($variants as $row){
20   - $orderData .= "
21   - ga('ecommerce:addItem', {
22   - 'id': {$order->id}, // ID - ั‚ั€ะฐะฝะทะฐะบั†ะธะธ, ะพะฑัะทะฐั‚ะตะปัŒะฝะพ
23   - 'name': \"{$row['product_name']} {$row['name']}\", // ะ˜ะผั ั‚ะพะฒะฐั€ะฐ
24   - 'price': {$row['price']}, // ะฆะตะฝะฐ ั‚ะพะฒะฐั€ะฐ
25   - 'quantity': {$row['count']} // ะšะพะปะธั‡ะตัั‚ะฒะพ
26   - });";
27   -
28   - }
29   - $orderData .= "ga('ecommerce:send');";
30   - $this->registerJs ($orderData, View::POS_END);
31   -
32   -}
33   -
34   -
35   -?>
36   - <nav class="bread-crumbs">
37   - <?= Breadcrumbs::widget([
38   - 'links' => [
39   - 'ะšะพั€ะทะธะฝะฐ'
40   - ],
41   - ]) ?>
42   - <div class="both"></div>
43   - </nav>
44   -
45   -
46   -
47   -<div class="layout">
48   -
49   - <h1>ะšะพั€ะทะธะฝะฐ</h1>
50   -ะ’ะฐัˆ ะทะฐะบะฐะท ะฟั€ะธะฝัั‚! ะ‘ะพะปัŒัˆะพะต ะกะฟะฐัะธะฑะพ! ะœะตะฝะตะดะถะตั€ ั ะ’ะฐะผะธ ัะฒัะถะตั‚ัั ะฒ ะฑะปะธะถะฐะนัˆะตะต ะฒั€ะตะผั.
51   -
52   -</div>
frontend/views/cabinet/bookmarks.php deleted
1   -<?php
2   -
3   -/**
4   - *
5   - * var $model SignupForm
6   - *
7   - */
8   -$this->title = 'ะ—ะฐะบะปะฐะดะบะธ';
9   -$this->params['breadcrumbs'][] = $this->title;
10   -use yii\helpers\Html;
11   -use yii\helpers\Url;
12   -use yii\widgets\ActiveForm;
13   -?>
14   -
15   -<?php $form = ActiveForm::begin([
16   - 'action'=>''
17   -]); ?>
18   -
19   -
20   -
21   -
22   -
23   -
24   -<?php ActiveForm::end(); ?>
25 0 \ No newline at end of file
frontend/views/cabinet/index.php deleted
1   -<?php
2   -$this->title = 'Moะน ะบะฐะฑะธะฝะตั‚';
3   -$this->params['breadcrumbs'][] = $this->title;
4   -
5   -?>
6   -
7   -<div class="block_02">
8   - <div class="cab_01">ะ˜ะผั</div>
9   - <div class="cab_01">e-mail</div>
10   - <div class="cab_01">ะขะตะปะตั„ะพะฝ</div>
11   -</div>
12   -
13   -<div class="block_03">
14   -
15   - <div class="cab_01"><span class="grey"><?= Yii::$app->user->identity->name ?></span></div>
16   - <div class="cab_01"><span class="grey"><?= Yii::$app->user->identity->email ?></span></div>
17   - <div class="cab_01"><span class="grey"><?= Yii::$app->user->identity->phone ?></span></div>
18   -</div>
19 0 \ No newline at end of file
frontend/views/cabinet/my-orders.php deleted
1   -<?php
2   -
3   -/**
4   - *
5   - * var $model SignupForm
6   - *
7   - */
8   -$this->title = 'ะœะพะธ ะทะฐะบะฐะทั‹';
9   -$this->params['breadcrumbs'][] = $this->title;
10   -use yii\helpers\Html;
11   -use yii\helpers\Url;
12   -use yii\widgets\ActiveForm;
13   -?>
14   -
15   -<?php $form = ActiveForm::begin([
16   - 'action'=>''
17   -]); ?>
18   -
19   -
20   -
21   -
22   -
23   -
24   -<?php ActiveForm::end(); ?>
25 0 \ No newline at end of file
frontend/views/cabinet/update.php deleted
1   -<?php
2   -
3   -/**
4   - *
5   - * var $model SignupForm
6   - *
7   - */
8   - $this->title = 'ะ ะตะดะฐะบั‚ะธั€ะพะฒะฐั‚ัŒ ะปะธั‡ะฝั‹ะต ะดะฐะฝะฝั‹ะต';
9   - $this->params['breadcrumbs'][] = $this->title;
10   - use yii\helpers\Html;
11   - use yii\helpers\Url;
12   - use yii\widgets\ActiveForm;
13   -?>
14   -
15   -<?php $form = ActiveForm::begin([
16   - 'action'=>''
17   -]); ?>
18   -
19   -<div class="modal_wrapper_cabinet">
20   - <div class="cabinet_window">
21   -
22   -
23   - <?= $form->field($model, 'email', [
24   - 'template' => '<label>'.Yii::t('app', 'email').'{input}{error}{hint}</label>',
25   - ]) ?>
26   -
27   -
28   -
29   - <?= $form->field($model, 'username',[
30   - 'template' => '<label>'.Yii::t('app', 'username').'{input}{error}{hint}</label>',
31   - ])->textInput() ?>
32   -
33   -
34   -
35   - <?= $form->field($model, 'surname',[
36   - 'template' => '<label>'.Yii::t('app', 'surname').'{input}{error}{hint}</label>',
37   - ])->textInput() ?>
38   -
39   -
40   -
41   - <?= $form->field($model, 'phone', [
42   - 'template' => '<label>'.Yii::t('app', 'phone').'{input}{error}{hint}</label>',
43   - ])->textInput() ?>
44   -
45   -
46   -
47   -
48   - <?= Html::submitButton(Yii::t('app', 'registration'), ['class' => 'my_cust_cabinet_btn']) ?>
49   -
50   - </div>
51   -</div>
52   -
53   -
54   -
55   -
56   -<?php ActiveForm::end(); ?>
57 0 \ No newline at end of file
frontend/views/call/index.php deleted
1   -<?php
2   -use yii\helpers\Url;
3   -use yii\widgets\Breadcrumbs;
4   -use app\models\News;
5   -use yii\widgets\LinkPager;
6   -use yii\widgets\ActiveForm;
7   -
8   -?>
9   -<?php
10   -$this->title = 'ะžะฑั€ะฐั‚ะฝั‹ะน ะทะฒะพะฝะพะบ';
11   -$this->registerMetaTag(['name' => 'description', 'content' => 'ะžะฑั€ะฐั‚ะฝั‹ะน ะทะฒะพะฝะพะบ']);
12   -$this->registerMetaTag(['name' => 'keywords', 'content' => 'ะžะฑั€ะฐั‚ะฝั‹ะน ะทะฒะพะฝะพะบ']);
13   -?>
14   -
15   -<!-- <nav class="bread-crumbs">-->
16   -<!-- --><?//= Breadcrumbs::widget([
17   -// 'links' => [
18   -// 'ะžะฑั€ะฐั‚ะฝั‹ะน ะทะฒะพะฝะพะบ'
19   -// ],
20   -// ]) ?>
21   -<!-- <div class="both"></div>-->
22   -<!-- </nav>-->
23   -
24   -<div class="layout">
25   -
26   - <div class="content">
27   - <h1>ะžะฑั€ะฐั‚ะฝั‹ะน ะทะฒะพะฝะพะบ</h1>
28   -
29   -<?php $form = ActiveForm::begin(); ?>
30   -<?= $form->errorSummary($model); ?>
31   -<?php ActiveForm::end(); ?>
32   - </div>
33   -
34   -</div>
35 0 \ No newline at end of file
frontend/views/call/success.php deleted
1   -<?php
2   -use yii\helpers\Url;
3   -use yii\widgets\Breadcrumbs;
4   -use app\models\News;
5   -use yii\widgets\LinkPager;
6   -use app\components\Text
7   -?>
8   -<?php
9   -$this->title = 'ะžะฑั€ะฐั‚ะฝั‹ะน ะทะฒะพะฝะพะบ';
10   -$this->registerMetaTag(['name' => 'description', 'content' => 'ะžะฑั€ะฐั‚ะฝั‹ะน ะทะฒะพะฝะพะบ']);
11   -$this->registerMetaTag(['name' => 'keywords', 'content' => 'ะžะฑั€ะฐั‚ะฝั‹ะน ะทะฒะพะฝะพะบ']);
12   -?>
13   -
14   - <nav class="bread-crumbs">
15   - <?= Breadcrumbs::widget([
16   - 'links' => [
17   - 'ะžะฑั€ะฐั‚ะฝั‹ะน ะทะฒะพะฝะพะบ'
18   - ],
19   - ]) ?>
20   - <div class="both"></div>
21   - </nav>
22   -
23   -<div class="layout">
24   -
25   - <div class="content">
26   - <h1>ะžะฑั€ะฐั‚ะฝั‹ะน ะทะฒะพะฝะพะบ</h1>
27   -
28   - ะœั‹ ะฟะพะปัƒั‡ะธะปะธ ะพั‚ ะ’ะฐั ัะพะพะฑั‰ะตะฝะธะต! ะœั‹ ัะฒัะถะตะผัั ั ะ’ะฐะผะธ ะฒ ะฑะปะธะถะฐะนัˆะตะต ะฒั€ะตะผั.
29   -
30   - </div>
31   -
32   -</div>
33 0 \ No newline at end of file
frontend/views/catalog/_catalog_box.php deleted
1   -<?php
2   -use yii\helpers\Url;
3   -use app\models\Catalog;
4   -?>
5   - <div class="filtes_box"><div class="w">
6   - <ul>
7   - <?foreach(Catalog::getCatalogs() as $item):?>
8   - <li>
9   - <a href="<?=Url::to(['catalog/index','translit'=>$item->translit])?>" <?if($catalog->id = $item->id):?>class="active"<?endif;?>><?=$item->name?></a>
10   - <?if($catalog->id = $item->id && !empty($item->childs)):?>
11   - <ul>
12   - <?foreach($item->childs as $item_child):?>
13   - <li><a href="<?=Url::to(['products/index','translit'=>$item_child->translit])?>"><?=$item_child->name?></a></li>
14   - <?endforeach;?>
15   - </ul>
16   - <?endif;?>
17   - </li>
18   - <?endforeach;?>
19   - </ul>
20   - </div></div>
21 0 \ No newline at end of file
frontend/views/catalog/all.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use yii\web\View;
4   -use yii\helpers\Url;
5   -use yii\widgets\Breadcrumbs;
6   -
7   -$this->title = 'ะšะฐั‚ะฐะปะพะณ';
8   -$this->registerMetaTag(['name' => 'description', 'content' => 'ะšะฐั‚ะฐะปะพะณ']);
9   -$this->registerMetaTag(['name' => 'keywords', 'content' => 'ะšะฐั‚ะฐะปะพะณ']);
10   -
11   -?>
12   - <nav class="bread-crumbs">
13   - <?= Breadcrumbs::widget([
14   - 'links' => ['ะšะฐั‚ะฐะปะพะณ'],
15   - ]) ?>
16   - <div class="both"></div>
17   - </nav>
18   -<div class="loyout">
19   -<div class="content">
20   - <h2>ะšะฐั‚ะฐะปะพะณ</h2>
21   - <?/**foreach($catalogs as $item):?>
22   - <div class="rubric_item">
23   - <a href="<?=Url::to(['catalog/index','translit'=>$item->translit])?>"><img src="<?=Yii::$app->request->baseUrl.'/upload/catalog/ico/'.$item->image?>" width="195" height="186" border="0" /></a>
24   - <a href="<?=Url::to(['catalog/index','translit'=>$item->translit])?>" class="name"><?=$item->name;?></a>
25   - </div>
26   - <?phpendforeach;**/?>
27   -
28   -
29   - <div class="rubrics">
30   - <ul>
31   - <li class="item1"><a href="<?=Url::to(['products/index','translit'=>'ryukzaki'])?>">ะ ัŽะบะทะฐะบะธ</a></li>
32   - <li class="item2"><a href="<?=Url::to(['products/index','translit'=>'sumki'])?>">ััƒะผะบะธ</a></li>
33   - <li class="item3"><a href="<?=Url::to(['products/index','translit'=>'chehly'])?>">ั‡ะตั…ะปั‹</a></li>
34   - <li class="item4"><a href="<?=Url::to(['products/index','translit'=>'nesessery'])?>">ะะตัะตััะตั€ั‹</a></li>
35   - <li class="item5"><a href="<?=Url::to(['products/index','translit'=>'koshelki'])?>">ะบะพัˆะตะปัŒะบะธ</a></li>
36   - </ul><div class="both"></div>
37   - </div>
38   -</div>
39   -</div>
frontend/views/catalog/brand.php deleted
1   -<?php
2   -/** @var $this \yii\web\View */
3   -/** @var $productProvider \yii\data\ActiveDataProvider */
4   -/** @var $brandProvider \yii\data\ActiveDataProvider */
5   -
6   -
7   -use yii\helpers\Url;
8   -use yii\widgets\Breadcrumbs;
9   -use yii\web\View;
10   -use common\modules\product\helpers\ProductHelper;
11   -
12   -$this->title = $brand->name;
13   -$this->params['breadcrumbs'][] = ['label' => Yii::t('products', 'Brands'), 'url' => ['catalog/brands']];
14   -$this->params['breadcrumbs'][] = $brand->name;
15   -
16   -$this->params['seo']['fields']['name'] = $brand->name;
17   -
18   -$this->registerCssFile (Yii::getAlias('@web/css/ion.rangeSlider.css'));
19   -$this->registerCssFile (Yii::getAlias('@web/css/ion.rangeSlider.skinHTML5.css'));
20   -$this->registerJsFile (Yii::getAlias('@web/js/ion.rangeSlider.js'));
21   -?>
22   -
23   -
24   -
25   -<div class="loyout">
26   -
27   - <div class="content">
28   - <h1><?= $brand->name ?></h1>
29   - <div class="products pn">
30   - <ul>
31   - <?php foreach($productProvider->models as $product) :?>
32   - <?php require(__DIR__ .'/product_item.php')?>
33   - <?php endforeach?>
34   - </ul>
35   - <div class="both"></div>
36   - </div>
37   - <?php if ($productProvider->totalCount > $productProvider->pagination->pageSize) :?>
38   - <?= \yii\widgets\LinkPager::widget([
39   - 'pagination' => $productProvider->pagination,
40   - 'options' => ['class' => 'pagination pull-right'],
41   - 'registerLinkTags' => true,
42   - ]);
43   - ?>
44   - <?php endif?>
45   - <div class="both"></div>
46   - </div>
47   - <div class="both"></div>
48   -
49   - <?= \common\modules\product\widgets\lastProducts::widget()?>
50   -</div>
51 0 \ No newline at end of file
frontend/views/catalog/brands.php deleted
1   -<?php
2   -use yii\widgets\Breadcrumbs;
3   -use yii\grid\GridView;
4   -
5   -$this->params['breadcrumbs'][] = Yii::t('product', 'Brands');
6   -
7   -$this->params['seo']['seo_text'] = 'Brands SEO-text';
8   -$this->params['seo']['h1'] = Yii::t('product', 'Brands');
9   -$this->params['seo']['description'] = 'Brands DESCRIPTION';
10   -$this->params['seo']['fields']['name'] = 'Brands NAME FROM FIELD';
11   -$this->params['seo']['key']= 'brands';
12   -?>
13   -
14   -
15   -
16   -<div class="loyout">
17   - <h1><?= $this->params['seo']['h1']?></h1>
18   - <ul class="brends_list">
19   - <?php foreach($dataProvider->models as $brand) :?>
20   - <li>
21   - <a href="<?= \yii\helpers\Url::to(['catalog/brand', 'brand' => $brand->alias])?>"><?= \common\components\artboximage\ArtboxImageHelper::getImage($brand->imageUrl, 'brand_item')?></a>
22   - <br>
23   - <a href="<?= \yii\helpers\Url::to(['catalog/brand', 'brand' => $brand->alias])?>" class="name"><?= $brand->name?></a>
24   - </li>
25   - <?php endforeach?>
26   - </ul>
27   - <div class="both"></div>
28   -</div>
29 0 \ No newline at end of file
frontend/views/catalog/catalog.php deleted
1   -<?php
2   -use yii\helpers\Url;
3   -use yii\widgets\Breadcrumbs;
4   -
5   -$this->title = 'ะšะฐั‚ะฐะปะพะณ';
6   -$this->params['breadcrumbs'][] = ['label' => 'ะšะฐั‚ะฐะปะพะณ'];
7   -?>
8   -
9   -
10   -<div class="loyout">
11   - <div class="content">
12   - <h1>ะšะฐั‚ะฐะปะพะณ</h1>
13   - <?= \frontend\widgets\Rubrics::widget(['wrapper' => 'rubrics', 'includes' => [130,131,132,133,134]])?>
14   - </div>
15   - <div class="both"></div>
16   -
17   - <?= \common\modules\product\widgets\specialProducts::widget(['type' => 'promo'])?>
18   - <?= \common\modules\product\widgets\specialProducts::widget(['type' => 'new'])?>
19   - <?= \common\modules\product\widgets\specialProducts::widget(['type' => 'top'])?>
20   - <?= \common\modules\product\widgets\lastProducts::widget()?>
21   -</div>
frontend/views/catalog/categories.php deleted
1   -<?php
2   -/** @var $this \yii\web\View */
3   -/** @var $dataProvider \yii\data\ActiveDataProvider */
4   -
5   -$this->title = $category->name;
6   -foreach($category->getParents()->all() as $parent) {
7   - $this->params['breadcrumbs'][] = ['label' => $parent->name, 'url' => ['catalog/category', 'category' => $parent]];
8   -}
9   -$this->params['breadcrumbs'][] = $this->title;
10   -?>
11   -<h1 class="category_page_main_title"><?= $this->title ?></h1>
12   -
13   -<div class="category_wrap">
14   -
15   - <div class="category_wrap_3_colum"><!-- 3 colons for items ================================== 1rst colum -->
16   -
17   - <?php foreach($category->getAllChildrenTree(2, [], 'categoryName') as $category) :?>
18   - <div class="wrap">
19   - <div class="cat_li_cont">
20   - <?php if (!empty($category['item']->image)) :?>
21   - <img src="<?= $category['item']->image?>" alt="<?= $category['item']->name?>">
22   - <?php else :?>
23   - <img src="/images/category/1.png" alt="">
24   - <?php endif;?>
25   - <div class="desc"><?= $category['item']->name?><!-- (133)--></div>
26   - <?php if(!empty($category['children'])) :?>
27   - <span class="arrow"></span>
28   - <?php endif?>
29   - </div>
30   - <?php if(!empty($category['children'])) :?>
31   - <div class="cat_li_sub_ul">
32   - <ul>
33   - <?php foreach($category['children'] as $_category) :?>
34   - <li><a href="<?= \yii\helpers\Url::to(['catalog/category', 'category' => $_category['item']])?>"><?= $_category['item']->name?><!-- (18)--></a></li>
35   - <?php endforeach?>
36   - </ul>
37   - </div>
38   - <?php endif?>
39   - </div>
40   - <!-- $this->params['breadcrumbs'][] = ['label' => $parent->name, 'url' => ['catalog/category', 'alias' => $parent->alias]];-->
41   - <?php endforeach?>
42   -
43   - </div><!-- end of 3 colons for items -->
44   -
45   -</div>
46 0 \ No newline at end of file
frontend/views/catalog/index.php deleted
1   -<?php
2   -use yii\helpers\Url;
3   -use yii\widgets\Breadcrumbs;
4   -use app\models\Catalog;
5   -?>
6   -<?php
7   -$this->title = $catalog->meta_title;
8   -$this->params['seo']['fields']['meta-title'] = $catalog->meta_title;
9   -$this->registerMetaTag(['name' => 'description', 'content' => $catalog->meta_description]);
10   -$this->registerMetaTag(['name' => 'keywords', 'content' => $catalog->meta_keywords]);
11   -//?>
12   -<!-- <nav class="bread-crumbs">-->
13   -<!-- --><?//= Breadcrumbs::widget([
14   -//
15   -// 'links' => [ ['label'=>'ะšะฐั‚ะฐะปะพะณ','url'=>['catalog/all']],
16   -// $catalog->name],
17   -// ]) ?>
18   -<!-- <div class="both"></div>-->
19   -<!-- </nav>-->
20   -
21   -<div class="layout">
22   -
23   -
24   - <div class="leftbar">
25   - <?= $this->render('_catalog_box',['catalog'=>$catalog]) ?>
26   -
27   - </div>
28   - <div class="content">
29   - <h1><?=$catalog->name?></h1>
30   - <div class="ten2"></div>
31   -
32   - <?foreach($catalog->childs as $item):?>
33   - <div class="rubric_item2">
34   - <a href="<?=Url::to(['products/index','translit'=>$item->translit])?>"><img src="<?=Yii::$app->request->baseUrl.'/upload/catalog/ico/'.$item->image?>" width="195" height="186" border="0" /></a>
35   - <a href="<?=Url::to(['products/index','translit'=>$item->translit])?>" class="name"><?=$item->name?></a>
36   - </div>
37   -
38   - <?endforeach;?><div class="both"></div>
39   -
40   - <?=$catalog->body?>
41   -
42   - </div><div class="both"></div>
43   -
44   -
45   -</div>
46 0 \ No newline at end of file
frontend/views/catalog/product_item.php deleted
1   -<?php
2   - /** @var \common\modules\product\models\Product $product */
3   - use common\modules\comment\assets\CommentAsset;
4   - use yii\helpers\Html;
5   - use yii\helpers\Url;
6   -
7   - Yii::$app->getModule('artbox-comment');
8   - CommentAsset::register($this);
9   -?>
10   -<li class="item" itemscope itemtype="http://schema.org/Product">
11   - <div class="boxitem">
12   - <div class="pixbox">
13   - <a href="<?= Url::to([
14   - 'catalog/product',
15   - 'product' => $product,
16   - '#' => 'm' . $product->enabledVariants[ 0 ]->product_variant_id,
17   - ]) ?>">
18   - <?= \common\components\artboximage\ArtboxImageHelper::getImage($product->enabledVariants[ 0 ]->imageUrl, 'list', [
19   - 'alt' => $product->category->categoryName->value . ' ' . $product->fullname,
20   - 'title' => $product->category->categoryName->value . ' ' . $product->fullname,
21   - ]) ?>
22   - </a>
23   - </div>
24   - <?php if(!empty( $product->is_top ) || !empty( $product->is_new ) || !empty( $product->akciya )) : ?>
25   - <ul class="product-special">
26   - <?php if(!empty( $product->is_top )) : ?>
27   - <li class="top">
28   - <div>top</div>
29   - </li>
30   - <?php endif ?>
31   - <?php if(!empty( $product->is_new )) : ?>
32   - <li class="new">
33   - <div>new</div>
34   - </li>
35   - <?php endif ?>
36   - <?php if(!empty( $product->akciya )) : ?>
37   - <li class="promo">
38   - <div>promo</div>
39   - </li>
40   - <?php endif ?>
41   - </ul>
42   - <?php endif ?>
43   - <div class="comment_display_block">
44   - <?php
45   - if(!empty( $product->averageRating && $product->averageRating->value > 0)) {
46   - ?>
47   - <div class="rateit" data-rateit-value="<?php echo $product->averageRating->value; ?>" data-rateit-readonly="true" data-rateit-ispreset="true"></div>
48   - <?php
49   - }
50   - ?>
51   - <p>
52   - <?php
53   - $comment_count = count($product->comments);
54   - echo Html::a(( $comment_count ? 'ะžั‚ะทั‹ะฒะพะฒ: ' . count($product->comments) : "ะžัั‚ะฐะฒะธั‚ัŒ ะพั‚ะทั‹ะฒ" ), [
55   - 'catalog/product',
56   - 'product' => $product,
57   - '#' => 'artbox-comment',
58   - ]);
59   - ?>
60   - </p>
61   - </div>
62   - <div itemprop="name"><a href="<?= Url::to([
63   - 'catalog/product',
64   - 'product' => $product,
65   - '#' => 'm' . $product->enabledVariants[ 0 ]->product_variant_id,
66   - ]) ?>"
67   - class="name"><?= $product->fullname ?>
68   - </a></div>
69   -
70   - <?php
71   -
72   - echo '<div class="cost-block" itemprop="offers" itemscope itemtype="http://schema.org/Offer">';
73   -
74   - // ะตัั‚ัŒ ัะบะธะดะบะฐ
75   - echo '<p class="cost">';
76   - if($product->enabledVariants[ 0 ]->price_old != 0 && $product->enabledVariants[ 0 ]->price_old != $product->enabledVariants[ 0 ]->price) {
77   - echo '<strike><span id=\'old_cost\' itemprop="price">' . $product->enabledVariants[0]->price_old . '</span> ะณั€ะฝ.</strike>&nbsp;';
78   - echo $product->enabledVariants[0]->price . ' <span>ะณั€ะฝ.</span></p>';
79   - } else {
80   - echo '<span itemprop="price">'.$product->enabledVariants[0]->price . ' </span><span>ะณั€ะฝ.</span></p>';
81   - }
82   - echo '<meta itemprop="priceCurrency" content = "UAH">';
83   - echo '</div>';
84   -
85   - ?>
86   - </div>
87   - <a href="<?= Url::to([
88   - 'catalog/product',
89   - 'product' => $product,
90   - '#' => 'm' . $product->enabledVariants[ 0 ]->product_variant_id,
91   - ]) ?>" class="link_buy">ะšัƒะฟะธั‚ัŒ</a>
92   -
93   - <div class="mycarousel">
94   - <ul class="jcarousel jcarousel-skin-tango">
95   - <?php foreach($product->enabledVariants as $variant) : ?>
96   - <?php if(!empty( $variant->image )) : ?>
97   - <li>
98   - <a href="<?= Url::to([
99   - 'catalog/product',
100   - 'product' => $product,
101   - '#' => 'm' . $variant->product_variant_id,
102   - ]) ?>">
103   - <?= \common\components\artboximage\ArtboxImageHelper::getImage($variant->imageUrl, 'product_variant', [
104   - 'alt' => $product->category->categoryName->value . ' ' . $product->fullname,
105   - 'title' => $product->category->categoryName->value . ' ' . $product->fullname,
106   - ]) ?>
107   - </a>
108   - </li>
109   - <?php endif; ?>
110   - <?php endforeach; ?>
111   - </ul>
112   - </div>
113   -</li>
114 0 \ No newline at end of file
frontend/views/event/_objects.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use frontend\helpers\TextHelper;
4   -use yii\helpers\Url;
5   -use frontend\components\Text;
6   -?>
7   -<div class="news_item">
8   - <a href="<?=Url::to(['event/show','alias'=>$model->alias,'id'=>$model->primaryKey])?>">
9   - <?= \common\components\artboximage\ArtboxImageHelper::getImage($model->imageUrl, 'eventlist', ['align' => 'left'])?>
10   - </a>
11   - <a href="<?=Url::to(['event/show','alias'=>$model->alias,'id'=>$model->primaryKey])?>" class="name"><?=$model->name?></a><br />
12   - <?=Text::getShort($model->body,600);?><div class="both"></div>
13   -</div>
14 0 \ No newline at end of file
frontend/views/event/index.php deleted
1   -<?php
2   -use yii\helpers\Url;
3   -use yii\widgets\Breadcrumbs;
4   -//use app\models\News;
5   -use yii\widgets\LinkPager;
6   -
7   -use yii\widgets\ListView;
8   -
9   -?>
10   -<?php
11   -$this->title = 'ะะบั†ะธะธ';
12   -$this->registerMetaTag(['name' => 'description', 'content' => 'ะะบั†ะธะธ']);
13   -$this->registerMetaTag(['name' => 'keywords', 'content' => 'ะะบั†ะธะธ']);
14   -?>
15   -
16   - <nav class="bread-crumbs">
17   - <?= Breadcrumbs::widget([
18   - 'links' => [
19   - 'ะะบั†ะธะธ'
20   - ],
21   - ]) ?>
22   - <div class="both"></div>
23   - </nav>
24   -
25   -<div class="layout">
26   -
27   - <div class="content">
28   - <h1>ะะบั†ะธะธ</h1>
29   - <?php
30   - echo ListView::widget( [
31   - 'dataProvider' => $dataProvider,
32   - 'itemView'=>'_objects',
33   - 'summary'=>''
34   - ] );
35   - ?>
36   -
37   - <div class="both"></div>
38   -
39   -
40   - </div>
41   -
42   -</div>
43 0 \ No newline at end of file
frontend/views/event/show.php deleted
1   -<?php
2   -use yii\helpers\Url;
3   -use yii\widgets\Breadcrumbs;
4   -?>
5   -<?php
6   -$this->title = $model->name;
7   -
8   -?>
9   -
10   - <nav class="bread-crumbs">
11   - <?= Breadcrumbs::widget([
12   - 'links' => [
13   - ['label'=>'ะะบั†ะธะธ','url'=>['event/index']],
14   - $model->name
15   - ],
16   - ]) ?>
17   - <div class="both"></div>
18   - </nav>
19   -
20   -<div class="layout">
21   -
22   - <div class="content">
23   - <h1><?=$model->name?></h1>
24   - <?php if($model->image){?>
25   - <?= \common\components\artboximage\ArtboxImageHelper::getImage($model->imageUrl, 'product_view', ['align' => 'left'])?>
26   - <?php }?>
27   - <?=$model->body?>
28   - </div>
29   -
30   -</div>
31 0 \ No newline at end of file
frontend/views/iam/1person.php deleted
1   -๏ปฟ๏ปฟ<?php
2   -use yii\helpers\Html;
3   -use yii\helpers\Url;
4   -use yii\web\View;
5   -use yii\widgets\Breadcrumbs;
6   -
7   -
8   -
9   -$this->title = 'ะŸั€ะพั„ะธะปัŒ';
10   -
11   -
12   -?>
13   -<nav class="bread-crumbs">
14   - <?= Breadcrumbs::widget([
15   - 'links' => [
16   - ['label'=>'ะœะพะน ะบะฐะฑะธะฝะตั‚'],
17   - ],
18   - ]) ?>
19   - <div class="both"></div>
20   -</nav>
21   -
22   -<div class="layout">
23   - <div class="leftbar">
24   - <div class="mycabinet">
25   - <div class="begin">ะœะพะน ะบะฐะฑะธะฝะตั‚</div>
26   - <?= $this->render('_tabs')?>
27   - </div>
28   - </div>
29   -
30   -<div class="content">
31   - <div class="user_edit_area">
32   - <div class="user_data">
33   - <div class="col"><div class="title">ะ˜ะผั</div><div class="data"><?=Html::encode($model->name) . ' ' . Html::encode($model->surname);?></div></div>
34   - <div class="col"><div class="title">ะญะปะตะบั‚ั€ะพะฝะฝะฐั ะฟะพั‡ั‚ะฐ</div><div class="data"><?=Html::encode($model->username)?></div></div>
35   - <div class="col last"><div class="title">ะขะตะปะตั„ะพะฝ</div><div class="data"><?=Html::encode($model->phone)?></div></div>
36   - <div class="both"></div>
37   - </div>
38   - <div class="edit_menu">
39   - <div><?=Html::a('ะ ะตะดะฐะบั‚ะธั€ะพะฒะฐั‚ัŒ ะปะธั‡ะฝั‹ะต ะดะฐะฝะฝั‹ะต', ['/iam/edit'], ['class'=>'dotted'])?></div>
40   - <!--div><a href="#" class="dotted">ะ˜ะทะผะตะฝะธั‚ัŒ ะฟะฐั€ะพะปัŒ</a></div-->
41   - <div><a href="<?=Url::to(['login/logout'])?>">ะ’ั‹ั…ะพะด</a></div>
42   - <div class="both"></div>
43   - </div>
44   - </div>
45   -</div>
46   -<div class="both"></div>
47   -</div>
48 0 \ No newline at end of file
frontend/views/iam/_tabs.php deleted
1   -<ul>
2   - <li><a href="<?=\yii\helpers\Url::to(['iam/index'])?>">ะ›ะธั‡ะฝั‹ะต ะดะฐะฝะฝั‹ะต</a></li>
3   - <li><a href="<?=\yii\helpers\Url::to(['iam/myorders'])?>">ะœะพะธ ะทะฐะบะฐะทั‹</a></li>
4   - <li><a href="<?=\yii\helpers\Url::to(['iam/share'])?>">ะ—ะฐะบะปะฐะดะบะธ</a></li>
5   - <!--li><a href="<?=\yii\helpers\Url::to(['iam/price'])?>">ะŸะพะถะตะปะฐะฝะธั</a></li-->
6   -</ul>
7 0 \ No newline at end of file
frontend/views/iam/admin.php deleted
1   -ะ’ั‹ ะทะฐัˆะปะธ ะบะฐะบ ะะดะผะธะฝ! ะฃ ะฒะฐั ะฝะตั‚ ะปะธั‡ะฝะพะณะพ ะบะฐะฑะธะฝะตั‚ะฐ!
2 0 \ No newline at end of file
frontend/views/iam/company.php deleted
1   -๏ปฟ๏ปฟ<?php
2   -use yii\helpers\Html;
3   -use yii\web\View;
4   -use yii\bootstrap\Progress;
5   -
6   -
7   -
8   -$this->title = 'ะŸั€ะพั„ะธะปัŒ - ะ‘ั‹ั‡ะพะบ';
9   -$this->params['breadcrumbs'][] = 'ะŸั€ะพั„ะธะปัŒ';
10   -
11   -?>
12   -<div class="row">
13   - <div class="col-md-9">
14   -
15   -
16   -
17   -<div class="block_photo">
18   -<img src="<?=Yii::$app->request->baseUrl?>/upload/profile/ico/<?=$model->imageProfile?>" width="240" height="240" class="img-thumbnail" align="left" />
19   -<?if($model->time_online>time()):?><span class="label label-success pull-right">online</span><?endif;?>
20   -
21   -<h1><?=Html::encode($model->company)?></h1>
22   -<label>ะ˜ะผั:</label> <?=Html::encode($model->name) . ' ' . Html::encode($model->surname);?><br />
23   -<label>ะ›ะพะณะธะฝ:</label> <?=Html::encode($model->username)?><br />
24   -<label>ะขะตะปะตั„ะพะฝ:</label> <?=Html::encode($model->phone)?><br />
25   -
26   -
27   -<?=Html::a('ะ ะตะดะฐะบั‚ะธั€ะพะฒะฐั‚ัŒ ะฟั€ะพั„ะธะปัŒ', ['/iam/edit'], ['class'=>'btn btn-primary'])?>
28   -&nbsp;
29   -<?=Html::a('ะกะพะทะดะฐั‚ัŒ ัƒัะปัƒะณัƒ', ['/myservice/save'], ['class'=>'btn btn-success'])?>
30   -<div class="both"></div>
31   -</div>
32   -<?php
33   -$p = 0;
34   -if(!empty($model->username))$p +=20;
35   -if(!empty($model->name))$p +=20;
36   -if(!empty($model->phone))$p +=20;
37   -if(!empty($model->company))$p +=20;
38   -
39   -
40   -if(!empty($model->body))$p +=20;
41   -echo 'ะ’ะฐัˆ ะฟั€ะพั„ะธะปัŒ ะทะฐะฟะพะปะฝะตะฝ ะฝะฐ '.round($p).'%:';
42   -echo Progress::widget([
43   - 'percent' => round($p),
44   - 'barOptions' => ['class' => 'progress-bar-success'],
45   - 'options' => ['class' => 'progress-striped','style'=>'width:400px;']
46   -]);?>
47   -
48   -
49   -<div class="block_info">ะž ะบะพะผะฟะฐะฝะธะธ:</div>
50   -<p><?=(!empty($model->body))?nl2br(Html::encode($model->body)):'ะะต ะทะฐะฟะพะปะฝะตะฝะฝะพ!'?></p>
51   -
52   -
53   -</div>
54   - <div class="col-md-3">
55   - <?if($model->active==0):?>
56   - <div class="alert alert-danger">ะ’ะฐัˆ ะŸั€ะพั„ะธะปัŒ ะฟะพะบะฐ ะฝะต ะฟั€ะพะฒะตั€ะตะฝ ะ‘ั‹ั‡ะบะพะผ!</div>
57   - <?else:?>
58   - <div class="alert alert-success">ะŸะพะทะดั€ะฐะฒะปัะตะผ!<br />ะ’ะฐัˆ ะŸั€ะพั„ะธะปัŒ ะฟั€ะพะฒะตั€ะตะฝ ะ‘ั‹ั‡ะบะพะผ!</div>
59   - <?endif;?>
60   - <?=Html::a('ะกะพะทะดะฐั‚ัŒ ัƒัะปัƒะณัƒ', ['/myservice/save'], ['class'=>'btn btn-success btn-lg btn-block'])?>
61   - <?=Html::a('ะ’ะฐัˆะธ ัƒัะปัƒะณะธ', ['/myservice'], ['class'=>'btn btn-default btn-lg btn-block'])?>
62   -
63   -
64   - </div>
65   -</div>
frontend/views/iam/customer.php deleted
1   -๏ปฟ๏ปฟ<?php
2   -use yii\helpers\Html;
3   -use yii\web\View;
4   -use yii\bootstrap\Progress;
5   -
6   -
7   -
8   -$this->title = 'ะŸั€ะพั„ะธะปัŒ - ะ‘ั‹ั‡ะพะบ';
9   -$this->params['breadcrumbs'][] = 'ะŸั€ะพั„ะธะปัŒ';
10   -
11   -?>
12   -<div class="row">
13   - <div class="col-md-9">
14   -
15   -
16   -
17   -<div class="block_photo">
18   -<img src="<?=Yii::$app->request->baseUrl?>/upload/profile/ico/<?=$model->imageProfile?>" width="240" height="240" class="img-thumbnail" align="left" />
19   -<?if($model->time_online>time()):?><span class="label label-success pull-right">online</span><?endif;?>
20   -
21   -<h1><?=Html::encode($model->name) . ' ' . Html::encode($model->surname);?></h1>
22   -<label>ะ›ะพะณะธะฝ:</label> <?=Html::encode($model->username)?><br />
23   -<label>ะขะตะปะตั„ะพะฝ:</label> <?=Html::encode($model->phone)?><br />
24   -<label>ะŸะพะป:</label> <?=Html::encode($model->sex)?><br />
25   -<label>ะกะตะผะตะนะฝะพะต ะฟะพะปะพะถะตะฝะธะต:</label> <?=Html::encode($model->status)?><br />
26   -<label>ะ”ะตั‚ะธ:</label> <?=Html::encode($model->children)?><br />
27   -<label>ะ’ะพะทั€ะฐัั‚:</label> <?=$model->old;?> ะปะตั‚<br />
28   -<?=Html::a('ะ ะตะดะฐะบั‚ะธั€ะพะฒะฐั‚ัŒ ะฟั€ะพั„ะธะปัŒ', ['/iam/edit'], ['class'=>'btn btn-primary'])?>
29   -&nbsp;
30   -<?=Html::a('ะกะพะทะดะฐั‚ัŒ ะทะฐะบะฐะท', ['/myorders/save'], ['class'=>'btn btn-success'])?>
31   -<div class="both"></div>
32   -</div>
33   -<?php
34   -$p = 0;
35   -if(!empty($model->username))$p +=14.5;
36   -if(!empty($model->name))$p +=14.5;
37   -if(!empty($model->phone))$p +=14.5;
38   -if(!empty($model->sex))$p +=14.5;
39   -if(!empty($model->status))$p +=14.5;
40   -if(!empty($model->children))$p +=14.5;
41   -if(!empty($model->old))$p +=14.5;
42   -
43   -if(!empty($model->body))$p +=14.5;
44   -echo 'ะ’ะฐัˆ ะฟั€ะพั„ะธะปัŒ ะทะฐะฟะพะปะฝะตะฝ ะฝะฐ '.round($p).'%:';
45   -echo Progress::widget([
46   - 'percent' => round($p),
47   - 'barOptions' => ['class' => 'progress-bar-success'],
48   - 'options' => ['class' => 'progress-striped','style'=>'width:400px;']
49   -]);?>
50   -
51   -
52   -<div class="block_info">ะž ัะตะฑะต:</div>
53   -<p><?=(!empty($model->body))?nl2br(Html::encode($model->body)):'ะะต ะทะฐะฟะพะปะฝะตะฝะฝะพ!'?></p>
54   -
55   -
56   -</div>
57   - <div class="col-md-3">
58   - <?if($model->active==0):?>
59   - <div class="alert alert-danger">ะ’ะฐัˆ ะŸั€ะพั„ะธะปัŒ ะฟะพะบะฐ ะฝะต ะฟั€ะพะฒะตั€ะตะฝ ะ‘ั‹ั‡ะบะพะผ!</div>
60   - <?else:?>
61   - <div class="alert alert-success">ะŸะพะทะดั€ะฐะฒะปัะตะผ!<br />ะ’ะฐัˆ ะŸั€ะพั„ะธะปัŒ ะฟั€ะพะฒะตั€ะตะฝ ะ‘ั‹ั‡ะบะพะผ!</div>
62   - <?endif;?>
63   - <?=Html::a('ะกะพะทะดะฐั‚ัŒ ะทะฐะบะฐะท', ['/myorders/save'], ['class'=>'btn btn-success btn-lg btn-block'])?>
64   - <?=Html::a('ะ’ะฐัˆะธ ะทะฐะบะฐะทั‹', ['/myorders'], ['class'=>'btn btn-default btn-lg btn-block'])?>
65   -
66   -
67   - </div>
68   -</div>
frontend/views/iam/edit_company.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use yii\web\View;
4   -use yii\bootstrap\ActiveForm;
5   -use yii\captcha\Captcha;
6   -
7   -
8   -
9   -$this->title = 'ะ ะตะดะฐะบั‚ะธั€ะพะฒะฐะฝะธะต ะ˜ัะฟะพะปะฝะธั‚ะตะปั - ะšะพะผะฟะฐะฝะธะธ';
10   -$this->params['breadcrumbs'][] = ['label'=>'ะŸั€ะพั„ะธะปัŒ','url'=>['/iam/index']];
11   -$this->params['breadcrumbs'][] = $this->title;
12   -
13   -$this->registerJsFile(Yii::$app->request->baseUrl.'/js/jquery.mask.js',['position'=>View::POS_END,'depends'=>['yii\web\YiiAsset']]);
14   -
15   -$this->registerJs("
16   -$('#user-phone').mask('(000) 000-0000');
17   -", View::POS_READY, 'mask');
18   -?>
19   -<div class="col-md-6 col-md-offset-3">
20   - <h1><?= Html::encode($this->title) ?></h1>
21   -
22   - <?php $form = ActiveForm::begin([
23   - 'id' => 'reg-form',
24   - 'options' => ['class' => 'form-vertical','enctype' => 'multipart/form-data'],
25   - 'fieldConfig' => [
26   - //'template' => "{label}\n<div class=\"col-lg-5\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>",
27   - //'labelOptions' => ['class' => 'col-lg-2 control-label'],
28   - ],
29   - ]); ?>
30   -
31   - <?= $form->field($model, 'company') ?>
32   -
33   - <?= $form->field($model, 'password')->passwordInput() ?>
34   -
35   - <?= $form->field($model, 'password_repeat')->passwordInput(['value'=>$model->password]) ?>
36   -
37   - <?= $form->field($model, 'name') ?>
38   -
39   - <?= $form->field($model, 'surname') ?>
40   -
41   -
42   -
43   -
44   - <?= $form->field($model, 'body')->textArea(['rows' => '6']) ?>
45   -
46   - <?= $form->field($model, 'image')->fileInput() ?>
47   -
48   - <?= $form->field($model, 'old_image')->hiddenInput(['value'=>$model->image])->label(false); ?>
49   -
50   - <?= $form->field($model, 'role')->hiddenInput(['value'=>'company'])->label(false); ?>
51   - <div class="form-group">
52   - <?= Html::submitButton(' ะกะพั…ั€ะฐะฝะธั‚ัŒ ', ['class' => 'btn btn-primary btn-lg btn-block', 'name' => 'login-button']) ?>
53   - </div>
54   -
55   - <?php ActiveForm::end(); ?>
56   -
57   -</div>
58   -
59 0 \ No newline at end of file
frontend/views/iam/edit_customer.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use yii\web\View;
4   -use yii\bootstrap\ActiveForm;
5   -use yii\captcha\Captcha;
6   -
7   -
8   -
9   -$this->title = 'ะ ะตะดะฐะบั‚ะธั€ะพะฒะฐะฝะธะต ะ—ะฐะบะฐะทั‡ะธะบะฐ';
10   -$this->params['breadcrumbs'][] = ['label'=>'ะŸั€ะพั„ะธะปัŒ','url'=>['/iam/index']];
11   -$this->params['breadcrumbs'][] = $this->title;
12   -
13   -$this->registerJsFile(Yii::$app->request->baseUrl.'/js/jquery.mask.js',['position'=>View::POS_END,'depends'=>['yii\web\YiiAsset']]);
14   -
15   -$this->registerJs("
16   -$('#user-phone').mask('(000) 000-0000');
17   -", View::POS_READY, 'mask');
18   -?>
19   -<div class="col-md-6 col-md-offset-3">
20   - <h1><?= Html::encode($this->title) ?></h1>
21   -
22   - <?php $form = ActiveForm::begin([
23   - 'id' => 'reg-form',
24   - 'options' => ['class' => 'form-vertical','enctype' => 'multipart/form-data'],
25   - 'fieldConfig' => [
26   - //'template' => "{label}\n<div class=\"col-lg-5\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>",
27   - //'labelOptions' => ['class' => 'col-lg-2 control-label'],
28   - ],
29   - ]); ?>
30   -
31   -
32   - <?= $form->field($model, 'password')->passwordInput() ?>
33   -
34   - <?= $form->field($model, 'password_repeat')->passwordInput(['value'=>$model->password]) ?>
35   -
36   - <?= $form->field($model, 'name') ?>
37   -
38   - <?= $form->field($model, 'surname') ?>
39   -
40   - <label class="control-label">ะ”ะฐั‚ะฐ ั€ะพะถะดะตะฝะธั</label>
41   - <div class="form-inline">
42   - <?php$day = [];
43   - for($i=1;$i<=31;$i++){
44   - $day[$i] = $i;
45   - }
46   -
47   - echo $form->field($model, 'birth_day')->dropDownList($day,['prompt'=>'ะ”ะตะฝัŒ'])->label(false);
48   - ?>
49   -
50   - <?php
51   - echo $form->field($model, 'birth_mouth')->dropDownList(['1'=>'ะฏะฝะฒะฐั€ัŒ','2'=>'ะคะตะฒั€ะฐะปัŒ','3'=>'ะœะฐั€ั‚','4'=>'ะะฟั€ะตะปัŒ','5'=>'ะœะฐะน','6'=>'ะ˜ัŽะฝัŒ','7'=>'ะ˜ัŽะปัŒ','8'=>'ะะฒะณัƒัั‚','9'=>'ะกะตะฝั‚ัะฑั€ัŒ','10'=>'ะžะบั‚ัะฑั€ัŒ','11'=>'ะะพัะฑั€ัŒ','12'=>'ะ”ะตะบะฐะฑั€ัŒ'],['prompt'=>'ะœะตััั†'])->label(false);
52   - ?>
53   -
54   -
55   - <?php$year = [];
56   - for($i=date('Y');$i>=1920;$i--){
57   - $year[$i] = $i;
58   - }
59   -
60   - echo $form->field($model, 'birth_year')->dropDownList($year,['prompt'=>'ะ“ะพะด'])->label(false);
61   - ?>
62   - </div>
63   - <?= $form->field($model, 'phone') ?>
64   -
65   - <?=$form->field($model, 'sex')->dropDownList(['ะผัƒะถัะบะพะน' => 'ะผัƒะถัะบะพะน', 'ะถะตะฝัะบะธะน' => 'ะถะตะฝัะบะธะน'],['prompt'=>'...']); ?>
66   -
67   - <?=$form->field($model, 'status')->dropDownList(['ะะต ะถะตะฝะฐั‚' => 'ะะต ะถะตะฝะฐั‚','ะะต ะทะฐะผัƒะถะตะผ'=>'ะะต ะทะฐะผัƒะถะตะผ', 'ะ–ะตะฝะฐั‚' => 'ะ–ะตะฝะฐั‚','ะ—ะฐะผัƒะถะตะผ'=>'ะ—ะฐะผัƒะถะตะผ'],['prompt'=>'...']); ?>
68   -
69   - <?=$form->field($model, 'children')->dropDownList(['ะตัั‚ัŒ' => 'ะตัั‚ัŒ', 'ะฝะตั‚' => 'ะฝะตั‚'],['prompt'=>'...']); ?>
70   -
71   -
72   - <?= $form->field($model, 'body')->textArea(['rows' => '6']) ?>
73   -
74   - <?= $form->field($model, 'image')->fileInput() ?>
75   -
76   - <?= $form->field($model, 'old_image')->hiddenInput(['value'=>$model->image])->label(false); ?>
77   -
78   - <?= $form->field($model, 'role')->hiddenInput(['value'=>'customer'])->label(false); ?>
79   - <div class="form-group">
80   - <?= Html::submitButton(' ะกะพั…ั€ะฐะฝะธั‚ัŒ ', ['class' => 'btn btn-primary btn-lg btn-block', 'name' => 'login-button']) ?>
81   - </div>
82   -
83   - <?php ActiveForm::end(); ?>
84   -
85   -</div>
86   -
87 0 \ No newline at end of file
frontend/views/iam/edit_person.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use yii\helpers\Url;
4   -use yii\web\View;
5   -use yii\bootstrap\ActiveForm;
6   -use yii\captcha\Captcha;
7   -use yii\widgets\Breadcrumbs;
8   -
9   -
10   -
11   -$this->title = 'ะ ะตะดะฐะบั‚ะธั€ะพะฒะฐะฝะธะต ะฟั€ะพั„ะธะปั';
12   -$this->params['breadcrumbs'][] = ['label'=>'ะŸั€ะพั„ะธะปัŒ','url'=>['/iam/index']];
13   -$this->params['breadcrumbs'][] = $this->title;
14   -
15   -$this->registerJsFile(Yii::$app->request->baseUrl.'/js/jquery.mask.js',['position'=>View::POS_END,'depends'=>['yii\web\YiiAsset']]);
16   -
17   -$this->registerJs("
18   -$('#user-phone').mask('(000) 000-0000');
19   -", View::POS_READY, 'mask');
20   -?>
21   -<nav class="bread-crumbs">
22   - <?= Breadcrumbs::widget([
23   - 'links' => ['ะœะพะน ะบะฐะฑะธะฝะตั‚'],
24   - ]) ?>
25   - <div class="both"></div>
26   -</nav>
27   -<div class="lay_title">
28   - <h1 class="uppercase center">ะ ะตะดะฐะบั‚ะธั€ะพะฒะฐั‚ัŒ ะปะธั‡ะฝั‹ะต ะดะฐะฝะฝั‹ะต</h1>
29   -</div>
30   -<div class="layout">
31   - <div class="leftbar">
32   - <div class="mycabinet">
33   - <div class="begin">ะœะพะน ะบะฐะฑะธะฝะตั‚</div>
34   - <?= $this->render('_tabs')?>
35   - </div>
36   - </div>
37   -
38   - <div class="content">
39   -
40   - <?php $form = ActiveForm::begin([
41   - 'id' => 'reg-form',
42   - 'options' => ['class' => 'form-vertical','enctype' => 'multipart/form-data'],
43   - 'fieldConfig' => [
44   - //'template' => "{label}\n<div class=\"col-lg-5\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>",
45   - //'labelOptions' => ['class' => 'col-lg-2 control-label'],
46   - ],
47   - ]); ?>
48   -
49   -
50   - <?= $form->field($model, 'password')->passwordInput() ?>
51   -
52   - <?= $form->field($model, 'password_repeat')->passwordInput(['value'=>$model->password]) ?>
53   -
54   - <?= $form->field($model, 'name') ?>
55   -
56   - <?= $form->field($model, 'surname') ?>
57   -
58   - <label class="control-label">ะ”ะฐั‚ะฐ ั€ะพะถะดะตะฝะธั</label>
59   - <div class="form-inline">
60   - <?php$day = [];
61   - for($i=1;$i<=31;$i++){
62   - $day[$i] = $i;
63   - }
64   -
65   - echo $form->field($model, 'birth_day')->dropDownList($day,['prompt'=>'ะ”ะตะฝัŒ'])->label(false);
66   - ?>
67   -
68   - <?php
69   - echo $form->field($model, 'birth_mouth')->dropDownList(['1'=>'ะฏะฝะฒะฐั€ัŒ','2'=>'ะคะตะฒั€ะฐะปัŒ','3'=>'ะœะฐั€ั‚','4'=>'ะะฟั€ะตะปัŒ','5'=>'ะœะฐะน','6'=>'ะ˜ัŽะฝัŒ','7'=>'ะ˜ัŽะปัŒ','8'=>'ะะฒะณัƒัั‚','9'=>'ะกะตะฝั‚ัะฑั€ัŒ','10'=>'ะžะบั‚ัะฑั€ัŒ','11'=>'ะะพัะฑั€ัŒ','12'=>'ะ”ะตะบะฐะฑั€ัŒ'],['prompt'=>'ะœะตััั†'])->label(false);
70   - ?>
71   -
72   -
73   - <?php$year = [];
74   - for($i=date('Y');$i>=1920;$i--){
75   - $year[$i] = $i;
76   - }
77   -
78   - echo $form->field($model, 'birth_year')->dropDownList($year,['prompt'=>'ะ“ะพะด'])->label(false);
79   - ?>
80   - <div class="both"></div>
81   - </div><div class="both"></div>
82   - <?= $form->field($model, 'phone') ?>
83   -
84   - <?=$form->field($model, 'sex')->dropDownList(['ะผัƒะถัะบะพะน' => 'ะผัƒะถัะบะพะน', 'ะถะตะฝัะบะธะน' => 'ะถะตะฝัะบะธะน'],['prompt'=>'...']); ?>
85   -
86   -
87   - <?= $form->field($model, 'body')->textArea(['rows' => '6']) ?>
88   -
89   -
90   - <?= $form->field($model, 'role')->hiddenInput(['value'=>'person'])->label(false); ?>
91   - <div>
92   - <center>
93   -
94   - <?= Html::submitButton(' ะกะพั…ั€ะฐะฝะธั‚ัŒ ', ['class' => 'submit4 bottom3', 'name' => 'login-button']) ?>
95   -
96   - </center>
97   - </div>
98   -
99   - <?php ActiveForm::end(); ?>
100   -
101   -</div></div>
102   -
103 0 \ No newline at end of file
frontend/views/iam/myorders.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use yii\helpers\Url;
4   -use yii\web\View;
5   -use yii\grid\GridView;
6   -use yii\widgets\Breadcrumbs;
7   -
8   -
9   -$this->title = 'ะœะพะธ ะทะฐะบะฐะทั‹';
10   -$this->params['breadcrumbs'][] = $this->title;
11   -
12   -$this->registerJs("
13   -
14   - $('.orders_view').hide();
15   - $('.fav_point .link').click(function(){
16   - $(this).parent().parent().find('.orders_view').toggle();
17   - return false;
18   - });
19   -
20   -", View::POS_READY, 'orders_view');
21   -?>
22   - <nav class="bread-crumbs">
23   - <?= Breadcrumbs::widget([
24   - 'links' => ['ะœะพะน ะบะฐะฑะธะฝะตั‚'],
25   - ]) ?>
26   - <div class="both"></div>
27   - </nav>
28   - <div class="lay_title">
29   - <h1 class="uppercase center">ะœะพะธ ะทะฐะบะฐะทั‹</h1>
30   - </div>
31   - <div class="layout">
32   - <div class="leftbar">
33   - <div class="mycabinet">
34   - <div class="begin">ะœะพะน ะบะฐะฑะธะฝะตั‚</div>
35   - <?= $this->render('_tabs')?>
36   - </div>
37   - </div>
38   -
39   - <div class="content">
40   -
41   -
42   - <div class="favorites">
43   - <div style="margin-top:-5px;">
44   - <?php foreach($model as $item):?>
45   - <div class="fav_point">
46   - <div class="left"><a href="#" class="link">โ„– <?=$item->id?></a></div>
47   - <div class="left"><?=$item->date_time?></div>
48   - <div class="left">ะฝะฐ <?=$item->total?> ะณั€ะฝ</div>
49   - <div class="right redtext"><?=$item->status?></div>
50   - <div class="both"></div>
51   -
52   - <div class="orders_view">
53   - <?php foreach($item->products as $item_p):
54   - ?>
55   -
56   - <?php if(!empty($item_p->price)):?>
57   - <div class="order">
58   - <div class="pixbox">
59   - <?= \common\components\artboximage\ArtboxImageHelper::getImage($item_p->productVariant->image->imageUrl, 'product_trumb2')?>
60   -
61   - </div>
62   - <div class="order_title"><?=$item_p->product_name?></div>
63   - <div class="order_count">ะšะพะป-ะฒะพ: <?=$item_p->count?></div>
64   - <div class="order_price"><span><?=$item_p->price?></span> ะณั€ะฝ.</div>
65   - <p class="note"></p>
66   - </div>
67   - <?php endif;?>
68   -
69   - <?php endforeach;?>
70   - <div class="both"></div>
71   - </div>
72   - </div>
73   - <?php endforeach;?>
74   -
75   - </div>
76   -
77   - </div>
78   -
79   -
80   -
81   -
82   -
83   -
84   - </div>
85   - </div>
frontend/views/iam/person.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use yii\helpers\Url;
4   -use yii\web\View;
5   -use yii\widgets\Breadcrumbs;
6   -
7   -
8   -
9   -$this->title = 'ะŸั€ะพั„ะธะปัŒ';
10   -?>
11   -
12   - <nav class="bread-crumbs">
13   - <?= Breadcrumbs::widget([
14   - 'links' => ['ะœะพะน ะบะฐะฑะธะฝะตั‚'],
15   - ]) ?>
16   - <div class="both"></div>
17   - </nav>
18   -<div class="lay_title">
19   - <h1 class="uppercase center">ะ›ะธั‡ะฝั‹ะต ะดะฐะฝะฝั‹ะต</h1>
20   -</div>
21   -<div class="layout">
22   - <div class="leftbar">
23   - <div class="mycabinet">
24   - <div class="begin">ะœะพะน ะบะฐะฑะธะฝะตั‚</div>
25   - <?= $this->render('_tabs')?>
26   - </div>
27   - </div>
28   -
29   - <div class="content">
30   - <div class="user_edit_area">
31   - <div class="user_data">
32   - <div class="col"><div class="title">ะ˜ะผั</div><div class="data"><?=Html::encode($model->name) . ' ' . Html::encode($model->surname);?></div></div>
33   - <div class="col"><div class="title">ะญะปะตะบั‚ั€ะพะฝะฝะฐั ะฟะพั‡ั‚ะฐ</div><div class="data"><?=Html::encode($model->username)?></div></div>
34   - <div class="col last"><div class="title">ะขะตะปะตั„ะพะฝ</div><div class="data"><?=Html::encode($model->phone)?></div></div>
35   - <div class="both"></div>
36   - </div>
37   - <div class="edit_menu">
38   - <div><?=Html::a('ะ ะตะดะฐะบั‚ะธั€ะพะฒะฐั‚ัŒ ะปะธั‡ะฝั‹ะต ะดะฐะฝะฝั‹ะต', ['/iam/edit'], ['class'=>'dotted'])?></div>
39   - <!--div><a href="#" class="dotted">ะ˜ะทะผะตะฝะธั‚ัŒ ะฟะฐั€ะพะปัŒ</a></div-->
40   - <div><a href="<?=Url::to(['login/logout'])?>">ะ’ั‹ั…ะพะด</a></div>
41   - <div class="both"></div>
42   - </div>
43   - </div>
44   - </div>
45   - <div class="both"></div>
46   -</div>
47   -
frontend/views/iam/price.php deleted
1   -<?php
2   -use yii\helpers\Url;
3   -use yii\helpers\Html;
4   -use yii\grid\GridView;
5   -use yii\widgets\Breadcrumbs;
6   -
7   -$this->title = 'ะŸะพะถะตะปะฐะฝะธั';
8   -$this->registerMetaTag(['name' => 'description', 'content' => 'ะŸะพะถะตะปะฐะฝะธั']);
9   -$this->registerMetaTag(['name' => 'keywords', 'content' => 'ะŸะพะถะตะปะฐะฝะธั']);
10   -
11   -?>
12   -
13   -<h1>ะŸะพะถะตะปะฐะฝะธั</h1>
14   -
15   -<hr />
16   -<?= GridView::widget([
17   - 'dataProvider' => $dataProvider,
18   - 'columns' => [
19   - [
20   - 'attribute' => 'id',
21   - 'value'=>'id',
22   - 'contentOptions'=>['style'=>'width: 70px;']
23   - ],
24   - [
25   - 'attribute' => 'date_time',
26   - 'value'=>'date_time',
27   - 'contentOptions'=>['style'=>'width: 150px;']
28   - ],
29   - [
30   - 'attribute' => 'product_name',
31   - 'value'=>function($data){
32   - return (!empty($data->product->name))?Html::a($data->product->name, ['products/show','translit_rubric'=>$data->product->catalog->translit,'translit'=>$data->product->translit,'id'=>$data->product->id]):'ะญั‚ะพั‚ ั‚ะพะฒะฐั€ ัƒะดะฐะปะตะฝ ั ัะฐะนั‚ะฐ';
33   - },
34   - 'format'=>'raw',
35   - ],
36   -
37   -
38   -
39   - ],
40   -]) ?>
41 0 \ No newline at end of file
frontend/views/iam/share.php deleted
1   -<?php
2   -use yii\helpers\Url;
3   -use yii\helpers\Html;
4   -use yii\web\View;
5   -use yii\widgets\Breadcrumbs;
6   -
7   -$this->title = 'ะœะพะธ ะทะฐะบะปะฐะดะบะธ';
8   -$this->registerMetaTag(['name' => 'description', 'content' => 'ะœะพะธ ะทะฐะบะปะฐะดะบะธ']);
9   -$this->registerMetaTag(['name' => 'keywords', 'content' => 'ะœะพะธ ะทะฐะบะปะฐะดะบะธ']);
10   -
11   -$this->registerJs("
12   -
13   - $('.orders_view').hide();
14   - $('.fav_point .link').click(function(){
15   - $(this).parent().parent().find('.orders_view').toggle();
16   - return false;
17   - });
18   -
19   -", View::POS_READY, 'orders_view');
20   -?>
21   -<nav class="bread-crumbs">
22   - <?= Breadcrumbs::widget([
23   - 'links' => ['ะœะพะน ะบะฐะฑะธะฝะตั‚'],
24   - ]) ?>
25   - <div class="both"></div>
26   -</nav>
27   -<div class="lay_title">
28   - <h1 class="uppercase center">ะœะพะธ ะทะฐะบะปะฐะดะบะธ</h1>
29   -</div>
30   -<div class="layout">
31   - <div class="leftbar">
32   - <div class="mycabinet">
33   - <div class="begin">ะœะพะน ะบะฐะฑะธะฝะตั‚</div>
34   - <?= $this->render('_tabs')?>
35   - </div>
36   - </div>
37   -
38   - <div class="content">
39   - <div class="favorites">
40   - <div style="margin-top:-5px;">
41   - <?php $i=0; foreach($items as $date=>$_items): $i++;?>
42   - <div class="fav_point">
43   - <div class="left"><a href="#" class="link">โ„– <?=$i?></a></div>
44   - <div class="left"><?= $date?></div>
45   - <div class="both"></div>
46   -
47   - <div class="orders_view">
48   - <?foreach($_items as $item_p):if(!empty($item_p->product)):?>
49   -
50   - <div class="order">
51   - <div><a href="<?=Url::to(['iam/share','deleteID'=>$item_p->id])?>" class="delete_button"></a></div>
52   - <div class="pixbox"><a href="<?=Url::to(['catalog/product', 'product' => $item_p->product])?>">
53   - <?= \common\components\artboximage\ArtboxImageHelper::getImage($item_p->product->imageUrl, 'iam')?>
54   - </div>
55   - <div class="order_title"><a href="<?=Url::to(['catalog/product', 'product' => $item_p->product])?>" class="name"><?=$item_p->product->name?></a></div>
56   - <?if(!empty($item_p->product->variants[0])):?><div class="order_price"><span><?=$item_p->product->variants[0]->price?></span> ะณั€ะฝ.</div><?endif;?>
57   - <p class="note"></p>
58   - </div>
59   - <?endif;endforeach;?>
60   - <div class="both"></div>
61   - </div>
62   - </div>
63   - <?endforeach;?>
64   - </div>
65   - </div>
66   - </div>
67   - <div class="both"></div>
68   -</div>
frontend/views/iam/show_order.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use yii\grid\GridView;
4   -use yii\bootstrap\ActiveForm;
5   -
6   -
7   -$this->title = 'ะ—ะฐะบะฐะท โ„–'.$model->id;
8   -$this->params['breadcrumbs'][] = $this->title;
9   -?>
10   -<h1>ะ—ะฐะบะฐะท โ„–<?=$model->id?></h1>
11   -
12   -<hr />
13   -<?= GridView::widget([
14   - 'dataProvider' => $dataProvider,
15   - 'columns' => [
16   - [
17   - 'attribute' => 'id',
18   - 'value'=>'id',
19   - 'contentOptions'=>['style'=>'width: 70px;']
20   - ],
21   - [
22   - 'attribute' => 'art',
23   - 'value'=>'art',
24   - 'contentOptions'=>['style'=>'width: 50px;']
25   - ],
26   - [
27   - 'attribute' => 'product_name',
28   - 'value'=>'product_name',
29   - //'contentOptions'=>['style'=>'max-width: 300px;']
30   - ],
31   - [
32   - 'attribute' => 'name',
33   - 'value'=>'name',
34   - //'contentOptions'=>['style'=>'max-width: 300px;']
35   - ],
36   - [
37   - 'attribute' => 'cost',
38   - 'value'=>'cost',
39   - 'contentOptions'=>['style'=>'width: 100px;']
40   - ],
41   - [
42   - 'attribute' => 'count',
43   - 'value'=>'count',
44   - 'contentOptions'=>['style'=>'width: 30px;']
45   - ],
46   - [
47   - 'attribute' => 'sum_cost',
48   - 'value'=>'sum_cost',
49   - 'contentOptions'=>['style'=>'width: 100px;']
50   - ],
51   -
52   -
53   - ],
54   -]) ?>
55   -
frontend/views/login/error_log deleted
1   -[23-Feb-2015 22:24:19 UTC] PHP Fatal error: Using $this when not in object context in /home/webplusn/public_html/yii2/modules/admin/views/login/index.php on line 9
frontend/views/login/forgot.php deleted
1   -<?php
2   -use common\widgets\Alert;
3   -use yii\helpers\Url;
4   -use yii\helpers\Html;
5   -use yii\grid\GridView;
6   -use yii\widgets\Breadcrumbs;
7   -use yii\bootstrap\ActiveForm;
8   -
9   -$this->title = 'ะ—ะฐะฑั‹ะปะธ ะฟะฐั€ะพะปัŒ?';
10   -$this->registerMetaTag(['name' => 'description', 'content' => 'ะ—ะฐะฑั‹ะปะธ ะฟะฐั€ะพะปัŒ?']);
11   -$this->registerMetaTag(['name' => 'keywords', 'content' => 'ะ—ะฐะฑั‹ะปะธ ะฟะฐั€ะพะปัŒ?']);
12   -
13   -?>
14   -
15   -
16   -<div class="col-md-6 col-md-offset-3">
17   - <h1><?= Html::encode($this->title) ?></h1>
18   - <p>ะ•ัะปะธ ะ’ั‹ ะฟะพ ะบะฐะบะธะผ ั‚ะพ ะฟั€ะธั‡ะธะฝะฐะผ ะทะฐะฑั‹ะปะธ ัะฒะพะน ะฟะฐั€ะพะปัŒ, ั‚ะพ ะฒะฒะตะดะธั‚ะต ะฟะพะถะฐะปัƒะนัั‚ะฐ ัะฒะพะน ะปะพะณะธะฝ. ะŸะพัะปะต ั‡ะตะณะพ ะ’ะฐะผ ะฝะฐ ะฟะพั‡ั‚ะพะฒั‹ะน ัั‰ะธะบ ะฟั€ะตะนะดะตั‚ ะฟะธััŒะผะพ ั ะฒะฐัˆะธะผ ะฟะฐั€ะพะปะตะผ.</p>
19   -
20   -
21   - <?= Alert::widget() ?>
22   -
23   - <?php $form = ActiveForm::begin([
24   - 'id' => 'login-form',
25   - 'options' => ['class' => 'well form-vertical'],
26   - 'enableClientScript' => false,
27   - ]); ?>
28   -
29   - <?= $form->field($model, 'username') ?>
30   -
31   -
32   - <?= Html::submitButton('ะŸะพะปัƒั‡ะธั‚ัŒ ะฟะฐั€ะพะปัŒ', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?>
33   -
34   -
35   -
36   - <?php ActiveForm::end(); ?>
37   -
38   -</div>
39 0 \ No newline at end of file
frontend/views/login/index.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use yii\helpers\Url;
4   -use yii\bootstrap\ActiveForm;
5   -
6   -/* @var $this yii\web\View */
7   -/* @var $form yii\bootstrap\ActiveForm */
8   -/* @var $model app\models\LoginForm */
9   -
10   -$this->title = 'ะ’ั…ะพะด ะฒ ะปะธั‡ะฝั‹ะน ะบะฐะฑะธะฝะตั‚';
11   -$this->params['breadcrumbs'][] = $this->title;
12   -?>
13   -<div class="col-md-6 col-md-offset-3">
14   - <h1><?= Html::encode($this->title) ?></h1>
15   -
16   - <?php $form = ActiveForm::begin([
17   - 'id' => 'login-form',
18   - 'options' => ['class' => 'well form-vertical'],
19   - 'enableClientScript' => false,
20   - ]); ?>
21   -
22   - <?= $form->field($model, 'username') ?>
23   -
24   - <?= $form->field($model, 'password')->passwordInput() ?>
25   -
26   - <?= $form->field($model, 'rememberMe')->checkbox() ?>
27   -
28   - <div><a href="<?=Url::to(['reg/person'])?>">ะ ะตะณะธัั‚ั€ะฐั†ะธั</a> / <a href="<?=Url::to(['login/forgot'])?>">ะ—ะฐะฑั‹ะปะธ ะฟะฐั€ะพะปัŒ?</a></div>
29   -
30   - <?= Html::submitButton('ะ’ะพะนั‚ะธ', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?>
31   -
32   -
33   -
34   - <?php ActiveForm::end(); ?>
35   -
36   -</div>
frontend/views/modal/consultation_modal.php deleted
1   -<?php
2   -
3   -use yii\helpers\Html;
4   -
5   -?>
6   -<div class="consultation_modal">
7   - <div class="modal_window">
8   - <div class="title">ะ—ะฐะบะฐะทะฐั‚ัŒ ะบะพะฝััƒะปัŒั‚ะฐั†ะธัŽ</div>
9   - <div class="modal_close_btn"></div>
10   -
11   - <label> ะ˜ะผั: <?= Html::textInput('name',"",['class'=>'consultation_name']) ?></label>
12   -
13   - <label> ะะพะผะตั€ ั‚ะตะปะตั„ะพะฝะฐ: <?= Html::textInput('phone',"",['class'=>'consultation_phone']) ?></label>
14   -
15   - <div class="for_btn_position">
16   - <?= Html::submitButton("ะ—ะฐะบะฐะทะฐั‚ัŒ ะบะพะฝััƒะปัŒั‚ะฐั†ะธัŽ", ['class' => 'my_cust_btn', 'name' => 'login-button']) ?>
17   - </div>
18   - </div>
19   -</div>
20 0 \ No newline at end of file
frontend/views/modal/forgot_password_form_model_window.php deleted
1   -<div class="forgot_pass_modal_wrapper">
2   - <!-- <form name="forgot_pass_form" id="forgot_pass_form"> -->
3   - <div class="modal_window">
4   - <form>
5   - <div class="modal_close_btn"></div>
6   - <div class="title">ะ—ะฐะฑั‹ะปะธ ะฟะฐั€ะพะปัŒ?</div>
7   - <div class="text">
8   - ะ•ัะปะธ ะ’ั‹ ะฟะพ ะบะฐะบะธะผ-ั‚ะพ ะฟั€ะธั‡ะธะฝะฐะผ ะทะฐะฑั‹ะปะธ ัะฒะพะน ะฟะฐั€ะพะปัŒ, ั‚ะพ ะฒะฒะตะดะธั‚ะต, ะฟะพะถะฐะปัƒะนัั‚ะฐ, ัะฒะพะน ะปะพะณะธะฝ. ะŸะพัะปะต ั‡ะตะณะพ ะ’ะฐะผ ะฝะฐ ะฟะพั‡ั‚ะพะฒั‹ะน ัั‰ะธะบ ะฟั€ะธะดะตั‚ ะฟะธััŒะผะพ ั ะ’ะฐัˆะธะผ ะฟะฐั€ะพะปะตะผ.
9   - </div>
10   - <label>ะ›ะพะณะธะฝ (e-mail)<input type="email" id="validate_fgt" required></label>
11   - <div class="for_btn_position"><button class="my_cust_btn" type="submit">ะฟะพะปัƒั‡ะธั‚ัŒ</button></div>
12   - </form>
13   - </div>
14   - <!-- </form> -->
15   -</div>
16 0 \ No newline at end of file
frontend/views/modal/login_window_model_window.php deleted
1   -<?php
2   -
3   -/* @var $this yii\web\View */
4   -/* @var $form yii\bootstrap\ActiveForm */
5   -/* @var $model \common\models\LoginForm */
6   -
7   -use common\models\LoginForm;
8   -use yii\helpers\Html;
9   -use yii\bootstrap\ActiveForm;
10   -use yii\helpers\Url;
11   -
12   -$this->title = 'Login';
13   -$this->params['breadcrumbs'][] = $this->title;
14   -?>
15   -<div class="modal_wrapper_login">
16   - <!-- <form name="login_form"> -->
17   - <div class="modal_window">
18   - <?php $form = ActiveForm::begin([
19   - 'action'=>Url::toRoute('site/login'),
20   - ]); ?>
21   - <div class="title"><?= Yii::t('app', 'your_personal_area') ?></div>
22   - <div class="modal_close_btn"></div>
23   - <?= $form->field(new LoginForm(), 'email',
24   - [
25   - 'template' => '<label>'.Yii::t('app', 'email').'{input}{error}{hint}</label>',
26   - ]
27   - )->textInput(['autofocus' => true]) ?>
28   -
29   - <?= $form->field(new LoginForm(), 'password',
30   - [
31   - 'template' => '<label>'.Yii::t('app', 'password').'{input}{error}{hint}</label>',
32   - ]
33   - )->passwordInput() ?>
34   -
35   -
36   - <div class="pass_links">
37   - <?= $form->field(new LoginForm(), 'rememberMe',[
38   - 'checkboxTemplate' => "{beginLabel}\n{input}\n{labelTitle}\n{endLabel}",
39   -
40   - ])->checkbox() ?>
41   -
42   -
43   - <?= Html::a(Yii::t('app', 'forgot_password'), ['site/request-password-reset'],['class'=>'forgot_pass_link']) ?>
44   - </div>
45   -
46   - <div class="for_btn_position">
47   - <?= Html::submitButton(Yii::t('app','enter'), ['class' => 'my_cust_btn', 'name' => 'login-button']) ?>
48   - </div>
49   - <?php ActiveForm::end(); ?>
50   - </div>
51   - <!-- </form> -->
52   -</div>
53 0 \ No newline at end of file
frontend/views/modal/registration_window_model_window.php deleted
1   -<?php
2   - use frontend\models\SignupForm;
3   -use yii\captcha\Captcha;
4   -use yii\helpers\Html;
5   -use yii\helpers\Url;
6   -use yii\widgets\ActiveForm;
7   -
8   -
9   -?>
10   -<div class="modal_wrapper_reg">
11   - <!-- <form name="registration_form"> -->
12   - <div class="modal_window">
13   -
14   - <?php $form = ActiveForm::begin([
15   - 'action'=>Url::toRoute('site/signup'),
16   - ]); ?>
17   -
18   - <div class="modal_close_btn"></div>
19   -
20   - <div class="title"><?= Yii::t('app', 'registration') ?></div>
21   -
22   - <?= $form->field(new SignupForm(), 'email', ['enableAjaxValidation' => true,
23   - 'template' => '<label>'.Yii::t('app', 'email').'{input}{error}{hint}</label>',
24   - ]) ?>
25   -
26   - <?= $form->field(new SignupForm(), 'password',[
27   - 'template' => '<label>'.Yii::t('app', 'password').'{input}{error}{hint}</label>',
28   - ])->passwordInput() ?>
29   -
30   - <?= $form->field(new SignupForm(), 'password_repeat',[
31   - 'template' => '<label>'.Yii::t('app', 'password_repeat').'{input}{error}{hint}</label>',
32   - ])->passwordInput() ?>
33   -
34   - <?= $form->field(new SignupForm(), 'username',[
35   - 'template' => '<label>'.Yii::t('app', 'username').'{input}{error}{hint}</label>',
36   - ])->textInput() ?>
37   -
38   - <?= $form->field(new SignupForm(), 'surname',[
39   - 'template' => '<label>'.Yii::t('app', 'surname').'{input}{error}{hint}</label>',
40   - ])->textInput() ?>
41   -
42   - <?= $form->field(new SignupForm(), 'phone', ['enableAjaxValidation' => true,
43   - 'template' => '<label>'.Yii::t('app', 'phone').'{input}{error}{hint}</label>',
44   - ])->textInput() ?>
45   -
46   -
47   - <?= $form->field(new SignupForm(), 'verifyCode')->widget(Captcha::className(), [
48   - 'template' => '<label>'.Yii::t('app', 'verifyCode').'{image}{input}</label>',
49   - ])->label(false) ?>
50   -
51   -
52   - <div class="form-group">
53   - <?= Html::submitButton(Yii::t('app', 'registration'), ['class' => 'my_cust_btn', 'name' => 'signup-button']) ?>
54   - </div>
55   -
56   - <?php ActiveForm::end(); ?>
57   -
58   - </div>
59   - <!-- </form> -->
60   -</div>
61 0 \ No newline at end of file
frontend/views/news/index.php deleted
1   -<?phpuse yii\helpers\Url;
2   -use yii\widgets\Breadcrumbs;
3   -use app\models\News;
4   -use yii\widgets\LinkPager;
5   -use app\components\Text;
6   -?>
7   -<?php$this->title = 'ะะพะฒะพัั‚ะธ';
8   -$this->registerMetaTag(['name' => 'description', 'content' => 'ะะพะฒะพัั‚ะธ']);
9   -$this->registerMetaTag(['name' => 'keywords', 'content' => 'ะะพะฒะพัั‚ะธ']);
10   -?>
11   -
12   - <nav class="bread-crumbs">
13   - <?= Breadcrumbs::widget([
14   - 'links' => [
15   - 'ะะพะฒะพัั‚ะธ'
16   - ],
17   - ]) ?>
18   - <div class="both"></div>
19   - </nav>
20   -
21   -<div class="layout">
22   -
23   - <div class="content">
24   - <h1>ะะพะฒะพัั‚ะธ</h1>
25   -
26   - <?foreach($news as $item):?>
27   - <div class="news_item">
28   - <a href="<?=Url::to(['news/show','translit'=>$item->translit,'id'=>$item->id])?>"><img src="<?=Yii::$app->request->baseUrl.'/upload/news/ico/'.$item->image?>" width="180" height="125" border="0" align="left" /></a>
29   - <a href="<?=Url::to(['news/show','translit'=>$item->translit,'id'=>$item->id])?>" class="name"><?=$item->title?></a>
30   - <?=Text::getShort($item->body,200);?>
31   - </div>
32   - <?endforeach;?>
33   -
34   - <div class="both"></div>
35   - <?=LinkPager::widget([
36   - 'pagination' => $pages,
37   - 'registerLinkTags' => true
38   - ]);?>
39   -
40   - </div>
41   -
42   -</div>
43 0 \ No newline at end of file
frontend/views/news/show.php deleted
1   -<?phpuse yii\helpers\Url;
2   -use yii\widgets\Breadcrumbs;
3   -use app\models\News;
4   -?>
5   -<?php$this->title = $news->meta_title;
6   -$this->registerMetaTag(['name' => 'description', 'content' => $news->meta_description]);
7   -$this->registerMetaTag(['name' => 'keywords', 'content' => $news->meta_keywords]);
8   -?>
9   -
10   - <nav class="bread-crumbs">
11   - <?= Breadcrumbs::widget([
12   - 'links' => [
13   - ['label'=>'ะะพะฒะพัั‚ะธ','url'=>['news/index']],
14   - $news->title
15   - ],
16   - ]) ?>
17   - <div class="both"></div>
18   - </nav>
19   -
20   -<div class="layout">
21   -
22   - <div class="content">
23   - <h1><?=$news->title?></h1>
24   -
25   - <img src="<?=Yii::$app->request->baseUrl.'/upload/news/big/'.$news->image?>" width="400" height="400" border="0" align="left" class='pic' />
26   - <?=$news->body?>
27   - <p class='date'><?=$news->date?></p>
28   - </div>
29   -
30   -</div>
31 0 \ No newline at end of file
frontend/views/orders/basket-step-01.php deleted
1   -<?php
2   -
3   -use yii\helpers\Html;
4   -use yii\helpers\Url;
5   -use yii\bootstrap\ActiveForm;
6   -$this->title = 'ะžั„ะพั€ะผะปะตะฝะธะต ะทะฐะบะฐะทะฐ';
7   -$this->params['breadcrumbs'][] = $this->title;
8   -?>
9   -
10   -
11   -<h1 class="basket_main_title">ะžั„ะพั€ะผะปะตะฝะธะต ะทะฐะบะฐะทะฐ</h1>
12   -
13   -
14   - <?php $form = ActiveForm::begin([
15   - 'class' => 'basket_order_01_form'
16   - ]); ?><!-- ะฝะฐั‡ะฐะปะพ ั„ะพั€ะผั‹ ะทะฐะบะฐะทะฐ -->
17   -
18   -
19   - <div class="privet_info_block">
20   -
21   - <h3>ะ›ะธั‡ะฝั‹ะต ะดะฐะฝะฝั‹ะต</h3>
22   -
23   - <div class="padding_cust">
24   - <?= $form->field($model, 'name',[
25   - 'template' => '<label>'.Yii::t('app', 'ะค.ะ˜.ะž.').'<span class="red">*</span>{input}<span class="placehold">ะะฐ ัั‚ะพ ะธะผั ะฑัƒะดัƒั‚ ะพั„ะพั€ะผะปะตะฝั‹ ะดะพะบัƒะผะตะฝั‚ั‹</span>{error}{hint}</label>',
26   - ])->textInput() ?>
27   - </div>
28   -
29   - <div class="padding_cust">
30   - <?= $form->field($model, 'email',[
31   - 'template' => '<label>'.Yii::t('app', 'E-mail').'<span class="red">*</span>{input}<span class="placehold">ะกัŽะดะฐ ะฟั€ะธัˆะปะตะผ ะฟะพะดั€ะพะฑะฝะพัั‚ะธ ะทะฐะบะฐะทะฐ</span>{error}{hint}</label>',
32   - ])->textInput() ?>
33   - </div>
34   -
35   - <div class="padding_cust">
36   - <?= $form->field($model, 'phone',[
37   - 'template' => '<label>'.Yii::t('app', 'ะขะตะปะตั„ะพะฝ').'<span class="red">*</span>{input}<span class="placehold">ะฃั‚ะพั‡ะฝะธะผ ะฒะฐะถะฝะพะต</span>{error}{hint}</label>',
38   - ])->textInput() ?>
39   - </div>
40   -
41   - </div>
42   -
43   - <div class="separator"></div>
44   -
45   - <div class="delivery_radio">
46   - <h3>ะ”ะพัั‚ะฐะฒะบะฐ</h3>
47   -
48   -
49   - <?php
50   -
51   -
52   - echo $form->field($model, 'delivery', [
53   - ])->radioList([
54   - '1' => '<p>ะšัƒั€ัŒะตั€ัะบะฐ ะดะพัั‚ะฐะฒะบะฐ ะฟะพ ะšะธะตะฒัƒ ะธ ะพะฑะปะฐัั‚ะธ</p>',
55   - '2' => '<p>ะ’ ะปัŽะฑะพะน ั€ะตะณะธะพะฝ ะฃะบั€ะฐะธะฝั‹</p>',
56   - '3' => '<p>ะกะฐะผะพะฒั‹ะฒะพะท (ะฑะตัะฟะปะฐั‚ะฝะพ)</p></label><span class="placehold">ัƒั‚ะพั‡ะฝะธั‚ะต ะฟะพะดั€ะพะฑะฝะพัั‚ะธ ะฟะพ ั‚ะตะปะตั„ะพะฝัƒ 044 ะฅะฅะฅ-ะฅะฅ-ะฅะฅ</span>',
57   - ], [
58   - 'item' => function ($index, $label, $name, $checked, $value) {
59   - return '<div class="padding_cust"><label>' .
60   - Html::radio($name, $checked, ['value' => $value]) . $label . '</label></div>';
61   - },
62   - ])->label(false);
63   -
64   -
65   - ?>
66   -
67   -
68   - <div class="separator_02"></div>
69   -
70   - <div class="basket_pay_block">
71   - <h3>ะžะฟะปะฐั‚ะฐ</h3>
72   -
73   - <?php
74   -
75   -
76   - echo $form->field($model, 'payment', [
77   - ])->radioList([
78   - '1' => '<p>ะžะฟะปะฐั‚ะฐ ะฝะฐะปะธั‡ะฝั‹ะผะธ</p>',
79   - '2' => '<p>ะžะฟะปะฐั‚ะฐ ะฟะพ ะฑะตะทะฝะฐะปะธั‡ะฝะพะผัƒ ั€ะฐัั‡ะตั‚ัƒ. ะšะพะด ะ•ะ“ะ ะŸะžะฃ</p>',
80   - '3' => '<p>ะŸั€ะธะฒะฐั‚ 24</p>',
81   - '4' => '<p>ะกะพะณะปะฐัะพะฒะฐั‚ัŒ ั ะผะตะฝะตะดะถะตั€ะพะผ</p>',
82   - ], [
83   - 'item' => function ($index, $label, $name, $checked, $value) use ($model) {
84   - if($index != 1){
85   - return '<div class="padding_cust"><label>' .
86   - Html::radio($name, $checked, ['value' => $value]) . $label . '</label></div>';
87   - } else {
88   - return '<div class="padding_cust"><label>' .
89   - Html::radio($name, $checked, ['value' => $value]) . $label . '</label>'.Html::activeTextInput($model,'code').'</div>';
90   - }
91   -
92   - },
93   - ])->label(false);
94   -
95   -
96   - ?>
97   -
98   - </div>
99   -
100   - <div class="for_margin">
101   - <?= Html::submitButton(Yii::t('app', 'ะฟั€ะพะดะพะปะถะธั‚ัŒ ะพั„ะพั€ะผะปะตะฝะธะต'), ['class' => 'order_01_btn', 'name' => 'signup-button']) ?>
102   - </div>
103   -
104   -<?php ActiveForm::end(); ?><!-- ะบะพะฝะตั† ั„ะพั€ะผั‹ ะทะฐะบะฐะทะฐ -->
105 0 \ No newline at end of file
frontend/views/orders/basket-step-02.php deleted
1   -<?php
2   -
3   -use yii\helpers\Html;
4   -use yii\widgets\ActiveForm;
5   -
6   -$this->title = 'ะžั„ะพั€ะผะปะตะฝะธะต ะทะฐะบะฐะทะฐ';
7   -$this->params['breadcrumbs'][] = $this->title;
8   -
9   -?>
10   -<div class="basket_form basket_result">
11   - <?php $form = ActiveForm::begin([
12   - 'class' => 'basket_order_01_form'
13   - ]); ?><!-- ะฝะฐั‡ะฐะปะพ ั„ะพั€ะผั‹ ะทะฐะบะฐะทะฐ -->
14   -
15   - <h1 class="basket_main_title">ะžั„ะพั€ะผะปะตะฝะธะต ะทะฐะบะฐะทะฐ</h1>
16   - <div class="order_list">
17   - <h3>ะะพะผะตั€ ะทะฐะบะฐะทะฐ <?= $order_id?></h3>
18   - <ul>
19   - <?php foreach($items as $item){
20   -
21   - ?>
22   -
23   - <li>
24   - <div class="order_list_li" data-id="<?= $item['item']->product_variant_id?>">
25   - <div class="delete_item_btn"><i class="fa fa-times"></i></div>
26   - <div class="little_img">
27   - <?php if (empty($item['item']->product->image)) :?>
28   - <img src="/images/no_photo.png">
29   - <?php else :?>
30   - <img src="/images/<?= $item['item']->product->image->image?>" alt="<?= $item['item']->product->image->alt ? $item['item']->product->image->alt : $item['item']->product->name?>">
31   - <?php endif?>
32   - </div>
33   - <div class="name_and_code">
34   - <span class="name"><?= $item['item']->name?></span>
35   - <span class="code"> ะšะพะด: 45885-01016049</span>
36   - </div>
37   - <div class="count_block_wrap">
38   - <div class="count_block">
39   - <input type="text" name="" class="form-control buy_one_item" value="<?= $item['num']?>">
40   - <div class="count_buttons">
41   - <div class="button_plus">+</div>
42   - <div class="button_minus">-</div>
43   - </div>
44   - </div>
45   - <div class="price"><span class="price_val" data-price="<?= $item['item']->price ?>"><?= $item['item']->price * $item['num'] ?></span><span class="price_text">ะณั€ะฝ.</span></div>
46   - </div>
47   - </div>
48   - </li>
49   - <?php } ?>
50   -
51   - </ul>
52   - <hr>
53   - <div class="all_price">
54   - <p>ะ’ัะตะณะพ ั‚ะพะฒะฐั€ะพะฒ: <span class="all_count"><?= $count ?></span></p>
55   - <p>ะกัƒะผะผะฐ: <span class="all_price all_price_span"><?= $price ?></span> ะณั€ะฝ.</p>
56   - </div>
57   - <hr>
58   - </div>
59   -
60   - <div class="basket_step_2_delivery">
61   - <h3>ะ”ะตั‚ะฐะปะธ</h3>
62   - <div class="detail">
63   - <span class="grey">ะ˜ะผั</span><?= $order_model->name ?>
64   - </div>
65   - <div class="detail">
66   - <span class="grey">E-mail</span><?= $order_model->email ?>
67   - </div>
68   - <div class="detail">
69   - <span class="grey">ะขะตะปะตั„ะพะฝ</span><?= $order_model->phone ?>
70   - </div>
71   - <h4>ะกะฟะพัะพะฑ ะพะฟะปะฐั‚ั‹</h4>
72   - <div class="detail">ะžะฟะปะฐั‚ะฐ ะฝะฐะปะธั‡ะฝั‹ะผะธ</div>
73   - <h4>ะ”ะพัั‚ะฐะฒะบะฐ</h4>
74   - <div class="detail">ะšัƒั€ัŒะตั€ัะบะฐ ะดะพัั‚ะฐะฒะบะฐ ะฟะพ ะšะธะตะฒัƒ ะธ ะพะฑะปะฐัั‚ะธ</div>
75   - </div>
76   -
77   - <div class="for_margin_2">
78   - <?= Html::submitButton(Yii::t('app', 'ะพั„ะพั€ะผะธั‚ัŒ ะทะฐะบะฐะท'), ['class' => 'order_01_btn', 'name' => 'signup-button']) ?>
79   - </div>
80   -
81   - <?php ActiveForm::end(); ?><!-- ะบะพะฝะตั† ั„ะพั€ะผั‹ ะทะฐะบะฐะทะฐ -->
82   -</div>
83   -
frontend/views/orders/basket-step-03.php deleted
1   -<?php
2   -
3   -use yii\helpers\Html;
4   -use yii\widgets\ActiveForm;
5   -
6   -$this->title = 'ะžั„ะพั€ะผะปะตะฝะธะต ะทะฐะบะฐะทะฐ';
7   -$this->params['breadcrumbs'][] = $this->title;
8   -
9   -?>
10   -<h1 class="basket_main_title">ะกะฟะฐัะธะฑะพ ะทะฐ ะฒะฐัˆ ะทะฐะบะฐะท!</h1>
frontend/views/page/show.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -
4   -$this->title = $page->title;
5   -$this->params['breadcrumbs'][] = $this->title;
6   -echo Html::tag('h1',$page->h1 ? $page->h1 : $page->title );
7   -echo $page->body;
8 0 \ No newline at end of file
frontend/views/reg/company.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use yii\web\View;
4   -use yii\bootstrap\ActiveForm;
5   -use yii\captcha\Captcha;
6   -
7   -
8   -
9   -$this->title = 'ะ ะตะณะธัั‚ั€ะฐั†ะธั ะ˜ัะฟะพะปะฝะธั‚ะตะปั - ะšะพะผะฟะฐะฝะธั';
10   -$this->params['breadcrumbs'][] = $this->title;
11   -
12   -$this->registerJsFile(Yii::$app->request->baseUrl.'/js/jquery.mask.js',['position'=>View::POS_END,'depends'=>['yii\web\YiiAsset']]);
13   -
14   -$this->registerJs("
15   -$('#user-phone').mask('(000) 000-0000');
16   -", View::POS_READY, 'mask');
17   -?>
18   -<div class="col-md-6 col-md-offset-3">
19   - <h1><?= Html::encode($this->title) ?></h1>
20   -
21   - <div class="alert alert-info">ะŸะพั‚ั€ะฐั‚ะธะฒ ะฟะฐั€ัƒ ะผะธะฝัƒั‚ ะดะปั ั€ะตะณะธัั‚ั€ะฐั†ะธะธ ะฝะฐ ะ‘ั‹ั‡ะพะบ, ะฒั‹ ัะผะพะถะตั‚ะต ัะพะทะดะฐะฒะฐั‚ัŒ ัƒัะปัƒะณะธ ะธ ะฝะฐั…ะพะดะธั‚ัŒ ะทะฐะบะฐะทั‡ะธะบะพะฒ.</div>
22   -
23   - <?php $form = ActiveForm::begin([
24   - 'id' => 'reg-form',
25   - 'options' => ['class' => 'form-vertical'],
26   - 'fieldConfig' => [
27   - //'template' => "{label}\n<div class=\"col-lg-5\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>",
28   - //'labelOptions' => ['class' => 'col-lg-2 control-label'],
29   - ],
30   - ]); ?>
31   -
32   - <?= $form->field($model, 'username') ?>
33   -
34   - <?= $form->field($model, 'password')->passwordInput() ?>
35   -
36   - <?= $form->field($model, 'password_repeat')->passwordInput() ?>
37   -
38   - <?= $form->field($model, 'name') ?>
39   -
40   - <?= $form->field($model, 'surname') ?>
41   -
42   - <?= $form->field($model, 'company') ?>
43   -
44   - <?= $form->field($model, 'phone') ?>
45   -
46   - <?= $form->field($model, 'verifyCode')->widget(Captcha::className(),['captchaAction'=>'reg/captcha']) ?>
47   -
48   - <?= $form->field($model, 'role')->hiddenInput(['value'=>'company'])->label(false); ?>
49   - <div class="form-group">
50   - <?= Html::submitButton(' ะ ะตะณะธัั‚ั€ะฐั†ะธั ', ['class' => 'btn btn-primary btn-lg btn-block', 'name' => 'login-button']) ?>
51   - </div>
52   -
53   - <?php ActiveForm::end(); ?>
54   -
55   -</div>
56   -
57 0 \ No newline at end of file
frontend/views/reg/customer.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use yii\web\View;
4   -use yii\bootstrap\ActiveForm;
5   -use yii\captcha\Captcha;
6   -
7   -
8   -
9   -$this->title = 'ะ ะตะณะธัั‚ั€ะฐั†ะธั ะ—ะฐะบะฐะทั‡ะธะบะฐ';
10   -$this->params['breadcrumbs'][] = $this->title;
11   -
12   -$this->registerJsFile(Yii::$app->request->baseUrl.'/js/jquery.mask.js',['position'=>View::POS_END,'depends'=>['yii\web\YiiAsset']]);
13   -
14   -$this->registerJs("
15   -$('#user-phone').mask('(000) 000-0000');
16   -", View::POS_READY, 'mask');
17   -?>
18   -<div class="col-md-6 col-md-offset-3">
19   - <h1><?= Html::encode($this->title) ?></h1>
20   -
21   - <div class="alert alert-info">ะŸะพั‚ั€ะฐั‚ะธะฒ ะฟะฐั€ัƒ ะผะธะฝัƒั‚ ะดะปั ั€ะตะณะธัั‚ั€ะฐั†ะธะธ ะฝะฐ ะ‘ั‹ั‡ะพะบ, ะฒั‹ ัะผะพะถะตั‚ะต ัะพะทะดะฐะฒะฐั‚ัŒ ะทะฐะบะฐะทั‹ ะธ ะฝะฐั…ะพะดะธั‚ัŒ ะธัะฟะพะปะฝะธั‚ะตะปะตะน.</div>
22   -
23   - <?php $form = ActiveForm::begin([
24   - 'id' => 'reg-form',
25   - 'options' => ['class' => 'form-vertical'],
26   - 'fieldConfig' => [
27   - //'template' => "{label}\n<div class=\"col-lg-5\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>",
28   - //'labelOptions' => ['class' => 'col-lg-2 control-label'],
29   - ],
30   - ]); ?>
31   -
32   - <?= $form->field($model, 'username') ?>
33   -
34   - <?= $form->field($model, 'password')->passwordInput() ?>
35   -
36   - <?= $form->field($model, 'password_repeat')->passwordInput() ?>
37   -
38   - <?= $form->field($model, 'name') ?>
39   -
40   - <?= $form->field($model, 'surname') ?>
41   -
42   - <?= $form->field($model, 'phone') ?>
43   -
44   - <?= $form->field($model, 'verifyCode')->widget(Captcha::className(),['captchaAction'=>'reg/captcha']) ?>
45   -
46   - <?= $form->field($model, 'role')->hiddenInput(['value'=>'customer'])->label(false); ?>
47   - <div class="form-group">
48   - <?= Html::submitButton(' ะ ะตะณะธัั‚ั€ะฐั†ะธั ', ['class' => 'btn btn-primary btn-lg btn-block', 'name' => 'login-button']) ?>
49   - </div>
50   -
51   - <?php ActiveForm::end(); ?>
52   -
53   -</div>
54   -
55 0 \ No newline at end of file
frontend/views/reg/person.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use yii\web\View;
4   -use yii\bootstrap\ActiveForm;
5   -use yii\captcha\Captcha;
6   -
7   -
8   -
9   -$this->title = 'ะ ะตะณะธัั‚ั€ะฐั†ะธั';
10   -$this->params['breadcrumbs'][] = $this->title;
11   -
12   -$this->registerJsFile(Yii::$app->request->baseUrl.'/js/jquery.mask.js',['position'=>View::POS_END,'depends'=>['yii\web\YiiAsset']]);
13   -
14   -$this->registerJs("
15   -$('#customer-phone').mask('(000) 000-0000');
16   -", View::POS_READY, 'mask');
17   -?>
18   -<div class="col-md-6 col-md-offset-3">
19   - <h1><?= Html::encode($this->title) ?></h1>
20   -
21   - <?php $form = ActiveForm::begin([
22   - 'id' => 'reg-form',
23   - 'options' => ['class' => 'form-vertical']
24   - ]); ?>
25   -
26   - <?= $form->field($model, 'username') ?>
27   -
28   - <?= $form->field($model, 'password')->passwordInput() ?>
29   -
30   - <?= $form->field($model, 'password_repeat')->passwordInput() ?>
31   -
32   - <?= $form->field($model, 'name') ?>
33   -
34   - <?= $form->field($model, 'surname') ?>
35   -
36   - <?= $form->field($model, 'phone') ?>
37   -
38   - <?= $form->field($model, 'verifyCode')->widget(Captcha::className(),['captchaAction'=>'reg/captcha']) ?>
39   -
40   - <div class="form-group">
41   - <?= Html::submitButton(' ะ ะตะณะธัั‚ั€ะฐั†ะธั ', ['class' => 'btn btn-primary btn-lg btn-block', 'name' => 'login-button']) ?>
42   - </div>
43   -
44   - <?php ActiveForm::end(); ?>
45   -
46   -</div>
47   -
48 0 \ No newline at end of file
frontend/views/search/index.php deleted
1   -<?php
2   -/** @var $this \yii\web\View */
3   -/** @var $productProvider \yii\data\ActiveDataProvider */
4   -/** @var $brandProvider \yii\data\ActiveDataProvider */
5   -
6   -
7   -use yii\helpers\Url;
8   -use common\modules\product\helpers\ProductHelper;
9   -
10   -$page_data = [
11   - 'keywords' => implode(' ', $keywords),
12   -];
13   -
14   -$this->params['breadcrumbs'][] = ['label' => 'ะŸะพะธัะบ', 'url' => ['catalog/category', 'word' => implode(' ', $keywords)]];
15   -
16   -
17   -//$this->params['seo']['seo_text'] = 'TEST SEO TEXT';
18   -//$this->params['seo']['h1'] = 'TEST H1';
19   -//$this->params['seo']['description'] = 'TEST DESCRIPTION';
20   -//$this->params['seo']['fields']['name'] = 'TEST NAME FROM FIELD';
21   -$this->params['seo']['meta']= 'noindex,follow';
22   -?>
23   -
24   -<div class="loyout">
25   - <?php if(!empty($categories)) :?>
26   - <div class="leftbar">
27   - <form action="#" name="filter_catalog_page_form" class="filter-catalog-form">
28   - <div class="filters">
29   - <div class="begin">ะšะฐั‚ะตะณะพั€ะธะธ</div>
30   - <ul>
31   - <?php foreach ($categories as $_category) :
32   - $checked = !empty($category) && $category->category_id == $_category->category_id;
33   - $option_url = $checked ? Url::to(['catalog/category', 'word' => implode(' ', $keywords)]) : Url::to(['catalog/category', 'category' => $_category, 'word' => implode(' ', $keywords)]);
34   - ?>
35   - <li>
36   - <input type="checkbox" class="brands-option" <?= $checked ? ' checked' : ''?> onchange="document.location='<?= $option_url?>'" />
37   - <a href="<?= $option_url?>"><?= $_category->name?><?php // @todo count?></a>
38   - </li>
39   - <?php endforeach?>
40   - </ul>
41   - </div>
42   - </form>
43   - </div>
44   - <?php endif ?>
45   - <div class="content">
46   - <h1>ะŸะพะธัะบ</h1>
47   - <div class="ten"></div>
48   - <div class="products pn">
49   - <ul>
50   - <?php foreach($productProvider->models as $product) :?>
51   - <?= $this->render('/catalog/product_item.php', ['product' => $product])?>
52   - <?php endforeach?>
53   - </ul>
54   - <div class="both"></div>
55   - </div>
56   - </div>
57   -</div>
58 0 \ No newline at end of file
frontend/views/service/_objects.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use frontend\helpers\TextHelper;
4   -use yii\helpers\Url;
5   -
6   -?>
7   -<div class="portfolio-portfolio">
8   - <div class="portfolio-portfolio-overflow">
9   -
10   - <div class="portfolio-portfolio-img-wrap">
11   - <div class="portfolio-portfolio-img">
12   - <?= Html::a(Html::img($model->minImg($model->image, '200','200')),Url::toRoute(['service/view', 'alias' =>$model->alias ])) ?>
13   - </div>
14   - </div>
15   -
16   - <div class="portfolio-portfolio-text-wrap">
17   -
18   -
19   - <div class="portfolio-category-name"><?= Html::a($model->name,Url::toRoute(['service/view', 'alias' =>$model->alias ])) ?></div>
20   - <div class="portfolio-text-name">
21   - <p>
22   - <span><?= TextHelper::truncateHtmlText($model->body, 200, '...') ?></span>
23   - </p>
24   - </div>
25   - <table class="tov-tb-3" cellspacing="0" cellpadding="0" border="0">
26   - <tbody>
27   - <tr>
28   - <td height="25"><img src="/images/ico-2.jpg" alt=""></td>
29   - <td height="25"></td><td><a class="consultation_btn" style="margin-left: 11px; font-size: 13px; font-family: arial; color: #6b7b9d; border-bottom: 1px dotted;">ะ—ะฐะบะฐะทะฐั‚ัŒ ะบะพะฝััƒะปัŒั‚ะฐั†ะธัŽ</a></td>
30   - </tr>
31   - </tbody>
32   - </table>
33   - </div>
34   - </div>
35   -</div>
36 0 \ No newline at end of file
frontend/views/service/index.php deleted
1   -<?php
2   -use yii\widgets\ListView;
3   -$this->params['breadcrumbs'][] = ['label' => 'ะฃัะปัƒะณะธ', 'url' => ['index']];
4   -?>
5   -<?php
6   - echo ListView::widget( [
7   - 'dataProvider' => $dataProvider,
8   - 'itemView'=>'_objects',
9   - 'summary'=>'',
10   - 'layout' => "<div class='portfolio-block-left'>{items}</div>
11   - <div class='pager-block' id='pager-block-single'>{pager}</div>"
12   - ] );
13   -?>
frontend/views/service/view.php deleted
1   -<?php
2   -
3   -use yii\helpers\Html;
4   -use yii\widgets\DetailView;
5   -
6   -/* @var $this yii\web\View */
7   -/* @var $model common\models\Stone */
8   -
9   -$this->title = $model->name;
10   -$this->params['breadcrumbs'][] = ['label' => 'ะฃัะปัƒะณะธ', 'url' => ['index']];
11   -$this->params['breadcrumbs'][] = $this->title;
12   -
13   -?>
14   -<div class="events-one-item">
15   - <h1><?= $model->name?></h1>
16   - <?= Html::img($model->minImg($model->image, '940','480')) ?>
17   - <div class="content-last-block-text-wrap">
18   - <?= $model->body?>
19   - </div>
20   -</div>
frontend/views/site/_index.php deleted
1   -<?php
2   -/* @var $this yii\web\View */
3   -$this->title = 'My Yii Application';
4   -?>
5   -<div class="site-index">
6   -
7   - <div class="jumbotron">
8   - <h1>Congratulations!</h1>
9   -<?php
10   -use app\components\HelloWidget;
11   -?>
12   -<?= HelloWidget::widget(['message' => ' Yii2.0']) ?>
13   -
14   - <p class="lead">You have successfully created your Yii-powered application.</p>
15   -
16   - <p><a class="btn btn-lg btn-success" href="http://www.yiiframework.com">Get started with Yii</a></p>
17   - </div>
18   -
19   -
20   -<?php
21   -use yii\helpers\Url;
22   -use yii\jui\AutoComplete;
23   -use yii\bootstrap\ActiveForm;
24   -?>
25   - <?php $form = ActiveForm::begin([
26   -
27   - ]);
28   - ?>
29   -<?= $form->field($model, 'term')->widget(\yii\jui\AutoComplete::classname(), [
30   - 'clientOptions' => [
31   - 'source' => Url::to(['site/term']),
32   - ],
33   - 'options'=>[
34   - 'class'=>'form-control'
35   - ]
36   -]) ?>
37   -<?= $form->field($model, 'term2')->widget(\yii\jui\AutoComplete::classname(), [
38   - 'clientOptions' => [
39   - 'source' => Url::to(['site/term']),
40   - ],
41   - 'options'=>[
42   - 'class'=>'form-control'
43   - ]
44   -]) ?>
45   -<?= $form->field($model,'date')->widget(\yii\jui\DatePicker::className(),['clientOptions' => [],'options' => ['class'=>'form-control']]) ?>
46   -<?= $form->field($model,'date_do')->widget(\yii\jui\DatePicker::className(),['clientOptions' => [],'options' => ['class'=>'form-control']]) ?>
47   -<?= $form->field($model, 'peoples')->widget(\yii\jui\Spinner::classname(), [
48   - 'clientOptions' => ['step' => 1],
49   -
50   -]) ?>
51   -<?php use app\components\ckeditor\CKEditor;
52   -use yii\helpers\Html;
53   -use app\mihaildev\elfinder\ElFinder;
54   -
55   -echo $form->field($model, 'username')->widget(CKEditor::className(),[
56   -'editorOptions' => ElFinder::ckeditorOptions('elfinder',[/* Some CKEditor Options */]),
57   -]);
58   -?>
59   - <?php ActiveForm::end(); ?>
60   -
61   - <div class="body-content">
62   -
63   - <div class="row">
64   - <div class="col-lg-4">
65   - <h2>Heading</h2>
66   -
67   - <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et
68   - dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
69   - ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
70   - fugiat nulla pariatur.</p>
71   -
72   - <p><a class="btn btn-default" href="http://www.yiiframework.com/doc/">Yii Documentation &raquo;</a></p>
73   - </div>
74   - <div class="col-lg-4">
75   - <h2>Heading</h2>
76   -
77   - <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et
78   - dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
79   - ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
80   - fugiat nulla pariatur.</p>
81   -
82   - <p><a class="btn btn-default" href="http://www.yiiframework.com/forum/">Yii Forum &raquo;</a></p>
83   - </div>
84   - <div class="col-lg-4">
85   - <h2>Heading</h2>
86   -
87   - <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et
88   - dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
89   - ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
90   - fugiat nulla pariatur.</p>
91   -
92   - <p><a class="btn btn-default" href="http://www.yiiframework.com/extensions/">Yii Extensions &raquo;</a></p>
93   - </div>
94   - </div>
95   -
96   - </div>
97   -</div>
frontend/views/site/about.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -
4   -/* @var $this yii\web\View */
5   -$this->title = 'About';
6   -$this->params['breadcrumbs'][] = $this->title;
7   -?>
8   -<div class="site-about">
9   - <h1><?= Html::encode($this->title) ?></h1>
10   -
11   - <p>
12   - This is the About page. You may modify the following file to customize its content:
13   - </p>
14   -
15   - <code><?= __FILE__ ?></code>
16   -</div>
frontend/views/site/contact.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use yii\bootstrap\ActiveForm;
4   -use yii\captcha\Captcha;
5   -
6   -/* @var $this yii\web\View */
7   -/* @var $form yii\bootstrap\ActiveForm */
8   -/* @var $model app\models\ContactForm */
9   -
10   -$this->title = 'Contact';
11   -$this->params['breadcrumbs'][] = $this->title;
12   -?>
13   -<div class="site-contact">
14   - <h1><?= Html::encode($this->title) ?></h1>
15   -
16   - <?php if (Yii::$app->session->hasFlash('contactFormSubmitted')): ?>
17   -
18   - <div class="alert alert-success">
19   - Thank you for contacting us. We will respond to you as soon as possible.
20   - </div>
21   -
22   - <p>
23   - Note that if you turn on the Yii debugger, you should be able
24   - to view the mail message on the mail panel of the debugger.
25   - <?php if (Yii::$app->mailer->useFileTransport): ?>
26   - Because the application is in development mode, the email is not sent but saved as
27   - a file under <code><?= Yii::getAlias(Yii::$app->mailer->fileTransportPath) ?></code>.
28   - Please configure the <code>useFileTransport</code> property of the <code>mail</code>
29   - application component to be false to enable email sending.
30   - <?php endif; ?>
31   - </p>
32   -
33   - <?php else: ?>
34   -
35   - <p>
36   - If you have business inquiries or other questions, please fill out the following form to contact us. Thank you.
37   - </p>
38   -
39   - <div class="row">
40   - <div class="col-lg-5">
41   - <?php $form = ActiveForm::begin(['id' => 'contact-form']); ?>
42   - <?= $form->field($model, 'name') ?>
43   - <?= $form->field($model, 'email') ?>
44   - <?= $form->field($model, 'subject') ?>
45   - <?= $form->field($model, 'body')->textArea(['rows' => 6]) ?>
46   - <?= $form->field($model, 'verifyCode')->widget(Captcha::className(), [
47   - 'template' => '<div class="row"><div class="col-lg-3">{image}</div><div class="col-lg-6">{input}</div></div>',
48   - ]) ?>
49   - <div class="form-group">
50   - <?= Html::submitButton('Submit', ['class' => 'btn btn-primary', 'name' => 'contact-button']) ?>
51   - </div>
52   - <?php ActiveForm::end(); ?>
53   - </div>
54   - </div>
55   -
56   - <?php endif; ?>
57   -</div>
frontend/views/site/error_log deleted
1   -[20-Feb-2015 18:28:38 UTC] PHP Fatal error: Using $this when not in object context in /home/webplusn/public_html/yii2/views/site/index.php on line 3
frontend/views/site/login.php deleted
1   -<?php
2   -use yii\helpers\Html;
3   -use yii\bootstrap\ActiveForm;
4   -
5   -/* @var $this yii\web\View */
6   -/* @var $form yii\bootstrap\ActiveForm */
7   -/* @var $model app\models\LoginForm */
8   -
9   -$this->title = 'Login';
10   -$this->params['breadcrumbs'][] = $this->title;
11   -?>
12   -<div class="site-login">
13   - <h1><?= Html::encode($this->title) ?></h1>
14   -
15   - <p>Please fill out the following fields to login:</p>
16   -
17   - <?php $form = ActiveForm::begin([
18   - 'id' => 'login-form',
19   - 'options' => ['class' => 'form-horizontal'],
20   - 'fieldConfig' => [
21   - 'template' => "{label}\n<div class=\"col-lg-3\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>",
22   - 'labelOptions' => ['class' => 'col-lg-1 control-label'],
23   - ],
24   - ]); ?>
25   -
26   - <?= $form->field($model, 'username') ?>
27   -
28   - <?= $form->field($model, 'password')->passwordInput() ?>
29   -
30   - <?= $form->field($model, 'rememberMe', [
31   - 'template' => "<div class=\"col-lg-offset-1 col-lg-3\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>",
32   - ])->checkbox() ?>
33   -
34   - <div class="form-group">
35   - <div class="col-lg-offset-1 col-lg-11">
36   - <?= Html::submitButton('Login', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?>
37   - </div>
38   - </div>
39   -
40   - <?php ActiveForm::end(); ?>
41   -
42   - <div class="col-lg-offset-1" style="color:#999;">
43   - You may login with <strong>admin/admin</strong> or <strong>demo/demo</strong>.<br>
44   - To modify the username/password, please check out the code <code>app\models\User::$users</code>.
45   - </div>
46   -</div>
frontend/views/site/requestPasswordResetToken.php deleted
1   -<?php
2   -
3   -/* @var $this yii\web\View */
4   -/* @var $form yii\bootstrap\ActiveForm */
5   -/* @var $model \frontend\models\PasswordResetRequestForm */
6   -
7   -use yii\helpers\Html;
8   -use yii\bootstrap\ActiveForm;
9   -
10   -$this->title = 'Request password reset';
11   -$this->params['breadcrumbs'][] = $this->title;
12   -?>
13   -<div class="site-request-password-reset">
14   - <h1><?= Html::encode($this->title) ?></h1>
15   -
16   - <p>Please fill out your email. A link to reset password will be sent there.</p>
17   -
18   - <div class="row">
19   - <div class="col-lg-5">
20   - <?php $form = ActiveForm::begin(['id' => 'request-password-reset-form']); ?>
21   -
22   - <?= $form->field($model, 'email')->textInput(['autofocus' => true]) ?>
23   -
24   - <div class="form-group">
25   - <?= Html::submitButton('Send', ['class' => 'btn btn-primary']) ?>
26   - </div>
27   -
28   - <?php ActiveForm::end(); ?>
29   - </div>
30   - </div>
31   -</div>
frontend/views/site/resetPassword.php deleted
1   -<?php
2   -
3   -/* @var $this yii\web\View */
4   -/* @var $form yii\bootstrap\ActiveForm */
5   -/* @var $model \frontend\models\ResetPasswordForm */
6   -
7   -use yii\helpers\Html;
8   -use yii\bootstrap\ActiveForm;
9   -
10   -$this->title = 'Reset password';
11   -$this->params['breadcrumbs'][] = $this->title;
12   -?>
13   -<div class="site-reset-password">
14   - <h1><?= Html::encode($this->title) ?></h1>
15   -
16   - <p>Please choose your new password:</p>
17   -
18   - <div class="row">
19   - <div class="col-lg-5">
20   - <?php $form = ActiveForm::begin(['id' => 'reset-password-form']); ?>
21   -
22   - <?= $form->field($model, 'password')->passwordInput(['autofocus' => true]) ?>
23   -
24   - <div class="form-group">
25   - <?= Html::submitButton('Save', ['class' => 'btn btn-primary']) ?>
26   - </div>
27   -
28   - <?php ActiveForm::end(); ?>
29   - </div>
30   - </div>
31   -</div>
frontend/views/site/signup.php deleted
1   -<?php
2   -
3   -/* @var $this yii\web\View */
4   -/* @var $form yii\bootstrap\ActiveForm */
5   -/* @var $model \frontend\models\SignupForm */
6   -
7   -use yii\helpers\Html;
8   -use yii\bootstrap\ActiveForm;
9   -
10   -$this->title = 'Signup';
11   -$this->params['breadcrumbs'][] = $this->title;
12   -?>
13   -<div class="site-signup">
14   - <h1><?= Html::encode($this->title) ?></h1>
15   -
16   - <p>Please fill out the following fields to signup:</p>
17   -
18   - <div class="row">
19   - <div class="col-lg-5">
20   - <?php $form = ActiveForm::begin(['id' => 'form-signup']); ?>
21   -
22   - <?= $form->field($model, 'username')->textInput(['autofocus' => true]) ?>
23   -
24   - <?= $form->field($model, 'email') ?>
25   -
26   - <?= $form->field($model, 'password')->passwordInput() ?>
27   -
28   - <div class="form-group">
29   - <?= Html::submitButton('Signup', ['class' => 'btn btn-primary', 'name' => 'signup-button']) ?>
30   - </div>
31   -
32   - <?php ActiveForm::end(); ?>
33   - </div>
34   - </div>
35   -</div>
frontend/views/subscribe/index.php deleted
1   -<?php
2   -use common\widgets\Alert;
3   -use yii\widgets\Breadcrumbs;
4   -use yii\web\View;
5   -use yii\helpers\Url;
6   -use yii\widgets\ActiveForm;
7   -
8   -
9   -$this->title = 'ะŸะพะดะฟะธัะบะฐ';
10   -$this->registerMetaTag(['name' => 'description', 'content' => 'ะŸะพะดะฟะธัะบะฐ']);
11   -$this->registerMetaTag(['name' => 'keywords', 'content' => 'ะŸะพะดะฟะธัะบะฐ']);
12   -
13   -?>
14   -
15   -
16   -
17   - <nav class="bread-crumbs">
18   - <?= Breadcrumbs::widget([
19   - 'links' => [
20   - 'ะŸะพะดะฟะธัะฐั‚ัŒัั ะฝะฐ ะฐะบั†ะธะธ'
21   - ],
22   - ]) ?>
23   - <div class="both"></div>
24   - </nav>
25   -
26   -<div class="layout">
27   -
28   - <div class="content">
29   - <h1>ะŸะพะดะฟะธัะฐั‚ัŒัั ะฝะฐ ะฐะบั†ะธะธ</h1>
30   - <?= Alert::widget(); ?>
31   -
32   -<?php $form = ActiveForm::begin(); ?>
33   -<?= $form->errorSummary($model); ?>
34   -<?php ActiveForm::end(); ?>
35   - </div>
36   -
37   -</div>
frontend/views/text/index.php deleted
1   -<?php
2   -use yii\widgets\Breadcrumbs;
3   -?>
4   -<?php
5   -$this->title = $text->meta_title;
6   -$this->registerMetaTag(['name' => 'description', 'content' => $text->meta_description]);
7   -$this->registerMetaTag(['name' => 'keywords', 'content' => $text->meta_keywords]);
8   -?>
9   - <nav class="bread-crumbs">
10   - <?= Breadcrumbs::widget([
11   - 'links' => [$text->title],
12   - ]) ?>
13   - <div class="both"></div>
14   - </nav>
15   -
16   -<h1><?=$text->title;?></h1>
17   -<div class="content">
18   -<?=$text->body;?>
19   -</div>
20 0 \ No newline at end of file
frontend/web/css/begunok.css deleted
1   -/* ัั‚ะพ ะฟั€ะฐะฒะธะปะฐ ะพั„ะพั€ะผะปะตะฝะธั. ะš ัะบั€ะธะฟั‚ัƒ ะพั‚ะฝะพัˆะตะฝะธั ะฝะต ะธะผะตัŽั‚ */
2   -.cost_box form {
3   - width: 250px;
4   - position: relative;
5   - margin: 0px;
6   -
7   -}
8   -
9   -.formCost {
10   - float: left;
11   - margin-bottom: 10px;
12   -}
13   -.formCost div{float:left;}
14   -.formCost label {
15   - float: left;
16   - font-size: 14px;
17   - color:#929292;
18   - font-weight: bold;
19   - margin-right: 5px;
20   - margin-top:5px;
21   - position: relative;
22   - top: 2px;
23   -}
24   -.formCost input {
25   - float: left;
26   - text-align: right;
27   - font-size: 14px;
28   - font-weight: bold;
29   - width: 55px;
30   - height: 20px;padding:5px;
31   - background: none;
32   - border: 1px solid #d2d2d2;
33   - margin-right: 10px;
34   - border-radius:5px;
35   -}
36   -
37   -.sliderCont { margin-top:20px;
38   - width: 178px;
39   - height: 27px;
40   - float: left;
41   -}
42   -
43   -/* ะ ัั‚ะพ ะฟั€ะฐะฒะธะปะฐ ะดะปั ัะบั€ะธะฟั‚ะฐ: */
44   -#slider {
45   - width: 200px;
46   -}
47   -
48   -.ui-slider {
49   - position: relative;
50   -}
51   -.ui-slider .ui-slider-handle {
52   - position: absolute;
53   - z-index: 2;
54   - width: 15px;
55   - height: 15px;
56   - background: url(../img/begunok_slider.png) no-repeat;
57   - cursor: pointer
58   -}
59   -.ui-slider .ui-slider-range {
60   - position: absolute;
61   - z-index: 1;
62   - font-size: .7em;
63   - display: block;
64   - border: 0;
65   - overflow: hidden;
66   -}
67   -.ui-slider-horizontal {
68   - height: 4px;
69   -}
70   -.ui-slider-horizontal .ui-slider-handle {
71   - top: -5px;
72   - margin-left: -6px;
73   -}
74   -.ui-slider-horizontal .ui-slider-range {
75   - top: 0;
76   - height: 100%;
77   -}
78   -.ui-slider-horizontal .ui-slider-range-min {
79   - left: 0;
80   -}
81   -.ui-slider-horizontal .ui-slider-range-max {
82   - right: 0;
83   -}
84   -.ui-widget-content {
85   - border: 3px solid #d2d2d2;
86   - background: #fff;
87   -}
88   -.ui-widget-header {
89   - border: 1px solid #D4D4D4;
90   - background: #F00;
91   -}
92   -.ui-corner-all {
93   - -moz-border-radius: 4px;
94   - -webkit-border-radius: 4px;
95   - border-radius: 4px;
96   -}
97   -
frontend/web/css/comments.css deleted
1   -@import "https://fonts.googleapis.com/css?family=Roboto:400,700,500&subset=cyrillic-ext,latin,cyrillic,latin-ext";.input_bl,.area_bl,.form-comm-wr,.user_name,.user_txt,.comment-panel,.answer-form,.comments-start input,.comments-start textarea,.submit_btn button,.input_bl label{box-sizing:border-box}.comments-border{width:100%;margin-top:25px;margin-bottom:27px;height:1px;background:#d2d2d2}.comments-start{width:730px;margin:0 auto;font-family:'Roboto',sans-serif;font-weight:400;color:#333}.form-comm-wr{width:100%;background:#f5f5f5;padding:20px;float:left}.input_bl{margin-top:15px;float:left}.area_bl,.input_bl{position:relative}.input_bl input,.input_bl textarea,.answer-form textarea{width:258px;height:30px;border:1px solid #d2d2d2;background:#fff;outline:none!important;border-radius:4px;padding-left:10px}.area_bl textarea,.answer-form textarea{resize:none!important;height:140px;width:585px;padding-top:7px}.input_bl input:focus,.input_bl textarea:focus,.answer-form textarea:focus{box-shadow:1px 2px 2px 0 rgba(215,215,215,0.75) inset;transition:.1s}.input_bl label{font-size:12px;color:#7d7d7d;font-weight:400;text-transform:uppercase;position:relative;width:105px;float:left;text-align:right;padding-right:10px;margin-top:9px}.input_bl:nth-child(2) label{width:69px}.submit_btn{float:right;margin-top:27px}.submit_btn button,.answer-form button{padding:0 17px;height:32px;font-weight:500;font-size:15px;color:#fff;border-top:0;border-left:0;border-right:0;border-bottom:2px solid #799920;background:#95ba2f;border-radius:4px;cursor:pointer;outline:none!important}.submit_btn button:hover,.answer-form button:hover{border-bottom:2px solid #95ba2f}.submit_btn button:active,.answer-form button:active{border-bottom:2px solid #799920;background:#799920}.answer-form button{float:right;margin-top:27px}.comments-wr,.comment-answer{min-height:64px;position:relative;float:left;width:100%}.answer-form{float:left;width:100%}.user-ico{width:80px;height:80px;float:left;overflow:hidden;border-radius:50%;position:absolute;top:0;left:0}.user-ico img{width:100%;height:100%}.user_data{margin-top:-2px;font-size:12px;color:#636363}.user_name{margin-top:6px;font-weight:700;font-size:15px}.user_name,.user_txt,.comment-panel,.answer-form,.user_data{width:100%;float:left;padding-left:100px}.user_txt{margin-top:8px;font-size:13px;line-height:18px}.comment-panel{width:100%;float:left;margin-top:11px}.comment-panel a:first-child{margin-left:0}.btn-comm-answer,.btn-comm-delete{font-size:13px;color:#799920;border-bottom:1px dotted #799920}.btn-comm-answer,.btn-comm-delete,.btn-comm-like,.btn-comm-dislike{float:left;margin-left:10px;text-decoration:none}.btn-comm-answer,.btn-comm-delete{height:16px;line-height:16px}.btn-comm-answer:hover,.btn-comm-delete:hover{text-decoration:none;border-bottom:0}.btn-comm-like,.btn-comm-dislike{width:14px;height:16px;background-image:url(../images/like_dislike.png);background-repeat:no-repeat}.btn-comm-like{background-position:0 0}.btn-comm-like:hover{background-position:0 -16px}.btn-comm-dislike:hover{background-position:-14px -16px}.btn-comm-dislike{background-position:-14px 0}.btn-comm-like:active,.btn-comm-dislike:active{opacity:.7}.comment-answer{margin-top:40px}.comment-answer .user-ico{left:100px}.comment-answer .user_name,.comment-answer .user_txt,.comment-answer .comment-panel,.comment-answer .answer-form,.comment-answer .user_data{padding-left:200px}.comments-wr{margin-top:40px}.answer-form{margin-top:20px}.answer-form textarea{width:100%;height:90px}.input_bl.has-error input,.input_bl.has-error textarea,.answer-form .has-error textarea{box-shadow:1px 2px 2px 0 rgba(212,0,0,0.2) inset}.required label{color:#d40000}.input_bl .help-block,.answer-form .help-block{display:none}.required label:before{display:block;content:"*";color:#d40000;position:absolute;top:0;right:-7px}.comments-start ul.pagination{list-style:none;text-align:center;margin-top:40px;width:100%;float:left}.comments-start ul.pagination li{display:inline}.comments-start ul.pagination li.prev.disabled span{display:none}.comments-start ul.pagination li a{padding:3px;color:#82a02f;font-size:15px;margin:0;text-decoration:none}.comments-start ul.pagination li.active a{color:#333}
2 0 \ No newline at end of file
frontend/web/css/ion.rangeSlider.css deleted
1   -/* Ion.RangeSlider
2   -// css version 2.0.3
3   -// ยฉ 2013-2014 Denis Ineshin | IonDen.com
4   -// ===================================================================================================================*/
5   -
6   -/* =====================================================================================================================
7   -// RangeSlider */
8   -
9   -.irs {
10   - position: relative; display: block;
11   - -webkit-touch-callout: none;
12   - -webkit-user-select: none;
13   - -khtml-user-select: none;
14   - -moz-user-select: none;
15   - -ms-user-select: none;
16   - user-select: none;
17   -}
18   - .irs-line {
19   - position: relative; display: block;
20   - overflow: hidden;
21   - outline: none !important;
22   - }
23   - .irs-line-left, .irs-line-mid, .irs-line-right {
24   - position: absolute; display: block;
25   - top: 0;
26   - }
27   - .irs-line-left {
28   - left: 0; width: 11%;
29   - }
30   - .irs-line-mid {
31   - left: 9%; width: 82%;
32   - }
33   - .irs-line-right {
34   - right: 0; width: 11%;
35   - }
36   -
37   - .irs-bar {
38   - position: absolute; display: block;
39   - left: 0; width: 0;
40   - }
41   - .irs-bar-edge {
42   - position: absolute; display: block;
43   - top: 0; left: 0;
44   - }
45   -
46   - .irs-shadow {
47   - position: absolute; display: none;
48   - left: 0; width: 0;
49   - }
50   -
51   - .irs-slider {
52   - position: absolute; display: block;
53   - cursor: default;
54   - z-index: 1;
55   - }
56   - .irs-slider.single {
57   -
58   - }
59   - .irs-slider.from {
60   -
61   - }
62   - .irs-slider.to {
63   -
64   - }
65   - .irs-slider.type_last {
66   - z-index: 2;
67   - }
68   -
69   - .irs-min {
70   - position: absolute; display: block;
71   - left: 0;
72   - cursor: default;
73   - }
74   - .irs-max {
75   - position: absolute; display: block;
76   - right: 0;
77   - cursor: default;
78   - }
79   -
80   - .irs-from, .irs-to, .irs-single {
81   - position: absolute; display: block;
82   - top: 0; left: 0;
83   - cursor: default;
84   - white-space: nowrap;
85   - }
86   -
87   -.irs-grid {
88   - position: absolute; display: none;
89   - bottom: 0; left: 0;
90   - width: 100%; height: 20px;
91   -}
92   -.irs-with-grid .irs-grid {
93   - display: block;
94   -}
95   - .irs-grid-pol {
96   - position: absolute;
97   - top: 0; left: 0;
98   - width: 1px; height: 8px;
99   - background: #000;
100   - }
101   - .irs-grid-pol.small {
102   - height: 4px;
103   - }
104   - .irs-grid-text {
105   - position: absolute;
106   - bottom: 0; left: 0;
107   - white-space: nowrap;
108   - text-align: center;
109   - font-size: 9px; line-height: 9px;
110   - padding: 0 3px;
111   - color: #000;
112   - }
113   -
114   -.irs-disable-mask {
115   - position: absolute; display: block;
116   - top: 0; left: -1%;
117   - width: 102%; height: 100%;
118   - cursor: default;
119   - background: rgba(0,0,0,0.0);
120   - z-index: 2;
121   -}
122   -.lt-ie9 .irs-disable-mask {
123   - background: #000;
124   - filter: alpha(opacity=0);
125   - cursor: not-allowed;
126   -}
127   -
128   -.irs-disabled {
129   - opacity: 0.4;
130   -}
131   -
132   -
133   -.irs-hidden-input {
134   - position: absolute !important;
135   - display: block !important;
136   - top: 0 !important;
137   - left: 0 !important;
138   - width: 0 !important;
139   - height: 0 !important;
140   - font-size: 0 !important;
141   - line-height: 0 !important;
142   - padding: 0 !important;
143   - margin: 0 !important;
144   - overflow: hidden;
145   - outline: none !important;
146   - z-index: -9999 !important;
147   - background: none !important;
148   - border-style: solid !important;
149   - border-color: transparent !important;
150   -}
frontend/web/css/ion.rangeSlider.skinHTML5.css deleted
1   -/* Ion.RangeSlider, Simple Skin
2   -// css version 2.0.3
3   -// ยฉ Denis Ineshin, 2014 https://github.com/IonDen
4   -// ยฉ guybowden, 2014 https://github.com/guybowden
5   -// ===================================================================================================================*/
6   -
7   -/* =====================================================================================================================
8   -// Skin details */
9   -
10   -.irs {
11   - height: 55px;
12   -}
13   -.irs-with-grid {
14   - height: 75px;
15   -}
16   -.irs-line {
17   - height: 10px; top: 33px;
18   - background: #EEE;
19   - /*background: linear-gradient(to bottom, #DDD -50%, #FFF 150%); !* W3C *!*/
20   - border: 1px solid #CCC;
21   - border-radius: 16px;
22   - -moz-border-radius: 16px;
23   -}
24   - .irs-line-left {
25   - height: 8px;
26   - }
27   - .irs-line-mid {
28   - height: 8px;
29   - }
30   - .irs-line-right {
31   - height: 8px;
32   - }
33   -
34   -.irs-bar {
35   - height: 10px; top: 33px;
36   - border-top: 1px solid #F75D50;
37   - border-bottom: 1px solid #F75D50;
38   - background: #F75D50;
39   - /*background: linear-gradient(to top, rgba(66,139,202,1) 0%,rgba(127,195,232,1) 100%); !* W3C *!*/
40   -}
41   - .irs-bar-edge {
42   - height: 10px; top: 33px;
43   - width: 14px;
44   - border: 1px solid #F75D50;
45   - border-right: 0;
46   - background: #F75D50;
47   - background: linear-gradient(to top, rgba(66,139,202,1) 0%,rgba(127,195,232,1) 100%); /* W3C */
48   - border-radius: 16px 0 0 16px;
49   - -moz-border-radius: 16px 0 0 16px;
50   - }
51   -
52   -.irs-shadow {
53   - height: 2px; top: 38px;
54   - background: #000;
55   - opacity: 0.3;
56   - border-radius: 5px;
57   - -moz-border-radius: 5px;
58   -}
59   -.lt-ie9 .irs-shadow {
60   - filter: alpha(opacity=30);
61   -}
62   -
63   -.irs-slider {
64   - top: 25px;
65   - width: 27px; height: 27px;
66   - border: 1px solid #AAA;
67   - background: #DDD;
68   - background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(220,220,220,1) 20%,rgba(255,255,255,1) 100%); /* W3C */
69   - border-radius: 27px;
70   - -moz-border-radius: 27px;
71   - box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
72   - cursor: pointer;
73   -}
74   -
75   -.irs-slider.state_hover, .irs-slider:hover {
76   - background: #FFF;
77   -}
78   -
79   -.irs-min, .irs-max {
80   - color: #333;
81   - font-size: 12px; line-height: 1.333;
82   - text-shadow: none;
83   - top: 0;
84   - padding: 1px 5px;
85   - background: rgba(0,0,0,0.1);
86   - border-radius: 3px;
87   - -moz-border-radius: 3px;
88   -}
89   -
90   -.lt-ie9 .irs-min, .lt-ie9 .irs-max {
91   - background: #ccc;
92   -}
93   -
94   -.irs-from, .irs-to, .irs-single {
95   - color: #fff;
96   - font-size: 14px; line-height: 1.333;
97   - text-shadow: none;
98   - padding: 1px 5px;
99   - background: #F75D50;
100   - border-radius: 3px;
101   - -moz-border-radius: 3px;
102   -}
103   -.lt-ie9 .irs-from, .lt-ie9 .irs-to, .lt-ie9 .irs-single {
104   - background: #999;
105   -}
106   -
107   -.irs-grid {
108   - height: 27px;
109   -}
110   -.irs-grid-pol {
111   - opacity: 0.5;
112   - background: #F75D50;
113   -}
114   -.irs-grid-pol.small {
115   - background: #999;
116   -}
117   -
118   -.irs-grid-text {
119   - bottom: 5px;
120   - color: #99a4ac;
121   -}
122   -
123   -.irs-disabled {
124   -}
125   -
126   -
127   -.irs-slider {
128   - top: 27px;
129   - width: 20px; height: 20px;
130   - background: #6BA034;
131   - border-radius: 4px;
132   - -moz-border-radius: 27px;
133   - box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
134   - cursor: pointer;
135   -}
136   -.irs-slider:after {
137   - content: "";
138   - position: absolute;
139   - width: 6px;
140   - height: 6px;
141   - z-index: 2;
142   - bottom: 7px;
143   - right: 7px;
144   - background: white;
145   -}
146   -.irs-slider.state_hover, .irs-slider:hover {
147   - background: #8ECC4E;
148   -}
149   -
150   -.irs-min, .irs-max {
151   - color: #333;
152   - font-size: 12px; line-height: 1.333;
153   - text-shadow: none;
154   - top: 0;
155   - padding: 1px 5px;
156   - background: rgba(0,0,0,0.1);
157   - border-radius: 3px;
158   - -moz-border-radius: 3px;
159   -}
frontend/web/css/style.css deleted
1   -#call,a,nav.top a{color:#6a6a6a}.basket,.menu ul li a{text-transform:uppercase}.basket_item .info,.content,.content2{overflow:hidden}.pic a,.pic a img,.pixbox a,.pixbox img,ul.product_colors li a,ul.product_mod li a,ul.product_mod li img,ul.why_list li div{vertical-align:middle}body,form,html{padding:0;margin:0;font-family:Roboto;font-size:14px;color:#333;height:100%}h1,h2,h3{margin:0;padding:0 0 10px}.fl{float:left}.fotter .wrap .fr{float:right;width:180px;height:50px;position:relative;font-size:12px}.phone,.search,nav.top ul li{float:left}.fotter .wrap .fr img{position:absolute;top:50%;margin-top:-10px;right:0}.fotter .wrap .fl{line-height:50px;font-size:12px}.both{clear:both}h1{margin:10px 0;font-size:24px}h3{margin-bottom:30px}p{margin:3px 0;padding:0}a{font-size:14px;text-decoration:underline}#login,nav.top,nav.top ul li a{font-size:12px}#call,.menu ul li a,nav.top a{text-decoration:none}a:hover{color:#799920}.wrap{width:960px;margin:0 auto}.f{background:#fff}.br{-webkit-box-shadow:-1px 5px 14px 0 rgba(50,46,50,.46);-moz-box-shadow:-1px 5px 14px 0 rgba(50,46,50,.46);box-shadow:-1px 5px 14px 0 rgba(50,46,50,.46);padding:20px}nav.top{background:#f5f5f5;padding:10px 0;border-bottom:1px solid #d2d2d2}nav.top ul{list-style:none;margin:0;padding:0}#help,#login,nav.top ul li{padding-right:20px}#help{background:url(../img/help.png) right no-repeat}#help span,#login span{border-bottom:1px dotted #6a6a6a}#login{background:url(../img/login.png) right no-repeat}.search{margin:-5px 0 -5px 100px}nav input[type=text]{width:325px;outline:0;border:1px solid #d8d6d6;border-radius:5px;padding:5px 0;font-size:14px;text-indent:10px}nav input[type=submit]{width:35px;height:29px;border:none;background:url(../img/lupa_sub.png) center no-repeat;margin-left:-35px;cursor:pointer}.header{margin:0 0 20px}.phone{position:relative;text-align:center}.phone .tel{font-size:23px}.phone .tel span.more{margin-bottom:3px}.more_block{background:#fff;border:1px solid #d2d2d2;padding:10px;position:absolute;font-size:20px;display:none;z-index:99}.more{background:url(../img/more.png) no-repeat;width:12px;height:7px;display:inline-block;cursor:pointer;margin-bottom:5px}.logo{margin:0 auto;width:193px;padding-top:22px}.logo a{display:block;width:193px;height:84px;background:url(../img/logo.png) no-repeat}.logo a span{display:none}#call{border-bottom:1px dotted #6a6a6a}.basket{float:right;position:relative;border:1px solid #d2d2d2;border-radius:5px;padding:15px 20px;font-size:18px}.basket .info{float:left;border-right:1px solid #d2d2d2;padding-right:10px;margin-right:17px}.basket .info span{color:#f75d50;font-size:22px}.basket a:link,.basket a:visited{text-decoration:none;color:#000;font-size:18px}.basket span.more{margin-bottom:-1px}.menu ul,.menu_childs ul{margin:0;list-style:none}.menu{background:#596065;border:1px solid #e8e8e8}.menu ul{padding:0}.menu ul li{float:left;border-left:1px solid #8b9094;height:43px}.menu ul li:first-child{border-left:none}.menu ul li a{width:100%;height:100%;line-height:43px;float:left;box-sizing:border-box;padding:0 19px;color:#fff;font-size:15px;font-weight:600}.menu_childs ul li a,.rubrics ul li a{font-weight:700;text-decoration:none;float:left;text-transform:uppercase}.menu ul li:hover{background:#3e454b}.menu ul li.active a{background:#f5f5f5;color:#596065}.menu ul li.active a:hover{cursor:default}.menu_childs{background:#f5f5f5;border:1px solid #e8e8e8;border-bottom:2px solid #596065}.menu_childs ul{padding:0}.menu_childs ul li{float:left}.menu_childs ul li a{padding:15px 23px;color:#596065;font-size:14px}.menu_childs ul li a:hover{color:#878b8e}.fr ul li{border:none}.akciya a{background:#f75d50;color:#fff}.brands a{background:#95ba2f;color:#fff}a.myorders{color:#f75d50}.sub{margin:2px 0 0}.sub img{float:left;margin-right:2px}.rubrics{margin:60px 0 0;padding-bottom:27px}.rubrics ul{list-style:none;margin:0;padding:0}.rubrics ul li{float:left;margin:0 35px}.rubrics ul li a{width:120px;padding-top:130px;text-align:center;color:#494949}.rubrics ul li.item_ryukzaki a{background:url(../img/ico1.png) no-repeat}.rubrics ul li.item_sumki a{background:url(../img/ico2.png) no-repeat}.rubrics ul li.item_chehly a{background:url(../img/ico3.png) no-repeat}.rubrics ul li.item_nesessery a{background:url(../img/ico4.png) no-repeat}.rubrics ul li.item_koshelki a{background:url(../img/ico5.png) no-repeat}.products{padding-bottom:30px;padding-top:20px}.products,.why_me_{border-top:1px solid #d2d2d2}.products ul{list-style:none;margin:0;padding:0}.products ul li.item{float:left;width:192px;margin:0 0 50px;text-align:center;position:relative}.products ul li a.name,.special-products a.name{display:block;color:#799920;font-size:15px;text-decoration:none;margin:15px 0 0;height:35px;overflow:hidden;box-sizing:border-box;padding:0 10px}.products ul li a.name:hover,.special-products a.name:hover{text-decoration:underline}.products ul li .info{text-align:left}a.more_map,h3,ul.product_colors li,ul.product_mod li{text-align:center}.pn{border:none}.cost,.product_read_price #cost{color:#f75d50;margin:0;padding:0}strike,strike span#old_cost{font-size:14px;color:#333}.checkout_basket button,.submit4,.submit4m,a.link_buy{background:#95ba2f;border-radius:4px;height:29px;text-transform:uppercase;color:#fff;text-decoration:none;font-weight:600;text-align:center;border-bottom:3px solid #799920;font-size:12px}.basket .submit4.bottom3,.submit4.bottom3{font-size:12px!important;display:block}.basket .submit4.bottom3{margin-top:10px}.checkout_basket button,a.link_buy{display:block;margin:0 auto 10px;width:122px;line-height:32px}.checkout_basket button,.submit4{margin:0;padding:0 20px;line-height:31px;width:auto;border-top:0;border-left:0;border-right:0;cursor:pointer}ul.mycarousel,ul.mycarousel li{margin:0;padding:0}.btn-primary:hover,.checkout_basket button:hover,.submit4:hover,.submit4m:hover,a.link_buy:hover{border-bottom:3px solid #95ba2f}.btn-primary:active,.checkout_basket button:active,.submit4:active,.submit4m:active,a.link_buy:active{background:#799920;border-bottom:3px solid #799920}.checkout_basket button:focus,.submit4:focus{outline:0}.mycarousel{position:absolute;right:22px;top:13px}ul.mycarousel{list-style:none}h3{text-transform:uppercase;font-size:20px}span.why{width:213px;background:url(../img/logo-why.png) no-repeat;margin:0 auto;padding:0 0 20px;height:29px;display:block}ul.why_list{list-style:none;margin:0;padding:0}ul.why_list li{float:left;margin-left:58px;width:288px;height:96px;box-sizing:border-box;padding-left:110px;margin-top:20px}ul.why_list li div{display:table-cell;height:96px}ul.why_list li span{font-weight:700;color:#799920}ul.why_list li.item1{background:url(../img/why_item1.png) left no-repeat}ul.why_list li.item2{background:url(../img/why_item2.png) left no-repeat}ul.why_list li.item3{background:url(../img/why_item3.png) left no-repeat}ul.why_list li.item4{background:url(../img/why_item4.png) left no-repeat}ul.why_list li.item5{background:url(../img/why_item5.png) left no-repeat}ul.why_list li.item6{background:url(../img/why_item6.png) left no-repeat}.banner_akciya{margin:50px 0}.bottom{background:#4d5458;padding:40px 0;color:#fff}.bottom .leftbar{float:left;width:210px}.bottom ul{list-style:none;margin:0;padding:0;line-height:23px}.bottom ul a{color:#fff;font-size:15px;text-decoration:none}.bottom ul a:hover{color:#799920}.phones{margin-top:50px;line-height:23px;font-size:18px}.map{padding:5px 0 5px 25px;background:url(../img/map.png) left no-repeat;margin-bottom:7px}a.more_map{color:#99a5ad;border-bottom:1px dotted #99a5ad;text-decoration:none;font-size:11px}.bread-crumbs{padding:0 0 0 20px;border-bottom:1px solid #d2d2d2;height:29px}.bread-crumbs ul{list-style:none;margin:0;padding:0;height:29px}.leftbar,.rightbar.basket_rightbar{margin-right:20px}.bread-crumbs ul li{float:left;padding-left:20px;height:100%;line-height:29px;color:#7d7d7d;position:relative;font-size:12px}* html .content,* html .content2{height:1%}.bread-crumbs ul li:first-child{padding-left:0}.bread-crumbs ul li a{font-size:12px;display:block;color:#7d7d7d}.bread-crumbs ul li a:link,.bread-crumbs ul li a:visited{color:#7d7d7d;text-decoration:underline}.bread-crumbs ul li a:hover{color:#464646;text-decoration:none}.breadcrumb>li+li:before{color:#ccc;content:"/";position:absolute;top:0;left:8px}.loyout{padding:20px 0}.leftbar{float:left;width:172px}.rightbar{float:right;width:380px;margin-left:40px}.rightbar2{float:right;width:320px}.filters{border-top:1px solid #d2d2d2;padding:20px 0 0;margin-top:20px}.filters .begin{text-transform:uppercase;font-weight:700;font-size:12px}.filters ul{list-style:none;margin:6px 0 0;padding:0;line-height:22px}.filters ul li{position:relative;box-sizing:border-box;padding-left:24px;line-height:16px;margin-top:7px}.filters ul li:first-child{margin-top:0}.filters ul li>input{position:absolute;left:4px;margin:0;top:3px}.filters ul li a{color:#464646;text-decoration:none;font-size:13px;line-height:16px}.filters ul li a:hover{text-decoration:underline}.productLeftBar{float:left;width:228px;margin-left:20px;margin-right:20px}.productRightBar{float:right;width:260px;margin:0 20px}.productLeftBar h1{font-size:24px;border-bottom:1px solid #d2d2d2;margin-bottom:10px}ul.product_mod{list-style:none;margin:10px 0 0;padding:0;float:left}ul.product_mod li{float:left;width:46px;height:46px;background:#fff;border:1px solid #d2d2d2;margin:5px 5px 0 0;position:relative}ul.product_mod li.active:before{width:48px;height:48px;position:absolute;content:'';background:0 0;border:2px solid #95ba2f;top:-1px;left:-1px;box-sizing:border-box}ul.product_mod li a{width:46px;height:46px;display:table-cell}ul.product_mod li a:focus{outline:0}ul.product_mod li img{max-width:46px;max-height:46px}ul.product_colors{list-style:none;margin:30px 0 0;padding:0;float:left}ul.product_colors li{float:left;margin:10px 10px 0 0;width:98px;height:98px;border:1px solid #d2d2d2}ul.product_colors li a{width:98px;height:98px;display:table-cell}ul.product_colors li img{max-width:98px;max-height:98px;vertical-align:middle}.productLeftBar .begin{text-transform:uppercase;font-weight:700;font-size:12px}.cost_box{border-top:1px solid #d2d2d2;border-bottom:1px solid #d2d2d2;margin:10px 0;padding:10px 0}.cost_box .w{float:left;margin-right:20px;padding-top:5px}.product_service ul{list-style:none;margin:0;padding:0}.product_service ul li a{color:#799920;text-decoration:none;border-bottom:1px dotted #799920;font-size:12px}.product_service ul li.item1{background:url(../img/li1.png) left no-repeat;padding:3px 23px}.product_service ul li.item2{background:url(../img/li2.png) left no-repeat;padding:3px 23px}.product_service ul li.item3{background:url(../img/li3.png) left no-repeat;padding:3px 23px}#nav_product{list-style:none;margin:0;padding:0;line-height:23px}#nav_product li a{background:url(../img/li_plus.png) left no-repeat;padding:3px 15px;color:#000;text-transform:uppercase;text-decoration:none;font-weight:700;font-size:12px}#nav_product li a.active{background:url(../img/li_minus.png) left no-repeat}#nav_product li .info{display:none;border-bottom:1px solid #d2d2d2;padding:10px 0;margin-bottom:10px}#nav_product li .info,#nav_product li .info p{font-size:12px;line-height:16px}.modal_box{position:fixed;left:0;top:0;width:100%;height:100%;z-index:999;background:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#data_box{position:absolute;top:100px;z-index:1000;width:400px;background:#fff;-webkit-box-shadow:0 0 15px #000;-moz-box-shadow:0 0 15px #000;box-shadow:0 0 15px #000;border:7px solid #1b9bb6;border-radius:5px}#data_box .data_wrp hr,#data_box .data_wrp hr.hr{height:1px;border:none;color:#000;background:#000}#data_box .data_wrp{padding:25px 15px 15px}#data_box .data_wrp h1{text-transform:uppercase}#data_box .data_wrp hr{margin:45px 0 20px}#data_box .data_wrp hr.hr{margin:20px 0}#data_box .pic-tango{margin-right:7px;margin-bottom:7px}#modal_close{cursor:pointer;margin-top:-80px;margin-right:-50px}.rightbar .control-label,.textareagroup .control-label{float:left;width:80px;padding-top:5px}.form-control{outline:0;border:1px solid #d8d6d6;border-radius:5px;padding:5px 0;font-size:14px;text-indent:10px;margin-bottom:3px;width:250px}.form-control:focus{border:1px solid #1b9bb6;box-shadow:0 0 10px #1b9bb6;-webkit-box-shadow:0 0 10px #1b9bb6;-moz-box-shadow:0 0 10px #1b9bb6}.help-block{color:red;font-size:12px;margin-bottom:5px}.basket_item{padding:10px 0;border-bottom:1px solid #b7b7b7;clear:both}.basket_item img{margin-right:20px}.basket_item .count{margin:20px 0}.basket_item .fr{margin-top:13px}.basket_item>a{display:block;float:left}a.del:link,a.del:visited{background:url(../img/del.png) left center no-repeat;padding:2px 25px;font-size:12px;font-weight:400;color:#787878;text-decoration:underline}.btn-primary,.submit4m{background:#95ba2f;height:29px;line-height:29px}a.del:hover{color:#a52828;text-decoration:underline}.total{text-align:right;color:#87476a;font-size:20px;margin:10px 0}._form_checkbox_reset,.basket_item input,.basket_title_,.color_variants .variant,.compare,.content ul.pagination,.jcarousel-skin-tango .jcarousel-item,.lay_title .center,.orders_view .order,.pixbox,.price,.product p,.special-products .item,ul.brends_list li{text-align:center}.btn-primary,.submit4m,a.logout:link,a.logout:visited{color:#fff;cursor:pointer;text-transform:uppercase}.submit4m{font-family:Roboto;border:none;border-radius:4px;font-size:10px;width:102px;border-bottom:3px solid #799920}.submit4m:active,.submit4m:focus{outline:0}.btn-primary{border-bottom:3px solid #799920;border-top:0;border-right:0;border-left:0;margin-top:5px;padding:0 15px;border-radius:4px;text-decoration:none;font-size:12px;font-weight:700}.btn-primary:active,.btn-primary:focus{outline:0}a.logout:link,a.logout:visited{border:none;padding:3px 5px;background:#f75d50;border-radius:5px;text-decoration:none;font-size:11px;font-weight:400}.txtb1,.txtf,a.btn-success{font-size:14px}a.logout:hover{background:#95ba2f}.boy_box{border-bottom:1px solid #b7b7b7;padding:0 0 15px}.boy_box div{padding-top:10px}.content_product .info{padding:0 0 20px}a.btn-success{display:inline-block;border:2px solid #d8d6d6;color:#95ba2f;border-radius:5px;padding:5px;margin-bottom:10px;text-decoration:none}a.btn-success:hover{border:2px solid #95ba2f;color:#f75d50}.txtf,.txtfb{color:#87476a;font-weight:700}.txtb1{font-weight:700}.txtfb{font-size:20px}.count{margin:20px 0}.count input[type=number]{outline:0;width:50px;border:1px solid #d8d6d6;border-radius:5px;padding:5px 0;font-size:14px;text-indent:10px;margin-bottom:7px}a.link2:link,a.link2:visited{font-size:14px;font-weight:700;color:#95ba2f;text-decoration:none}a.link2:hover{color:#f75d50;text-decoration:underline}.well{margin:50px auto;width:400px;background:#f5f5f5;border:1px solid #e8e8e8;padding:20px;border-radius:5px}.control-label{float:left;width:100px;padding-top:5px}#user-verifycode-image{display:block}.form-inline{display:inline}.form-inline .form-group{float:left;margin-right:10px}.form-inline .form-group select{width:100px}.form-group{margin-bottom:10px}.table-bordered{width:100%;border:1px solid silver}.table-bordered th{background:#B3D1FD;padding:5px}.table-bordered tr td{border:1px solid silver;padding:5px}.table-bordered .filters{display:none}.formCost label{float:left;width:30px}.pic,.pic a{width:392px;height:365px}ul.brends_list{list-style:none;margin:0;padding:0}ul.brends_list li{float:left;margin:0 15px 20px}.compare a:link,.compare a:visited{font-size:12px;text-decoration:underline}.alert-success{margin:10px 0;padding:10px;border:1px solid #3ed824;border-radius:5px;background:#c0feb5}#subscribe-sale,.news_item img{margin-right:20px}.news_item,.txts{margin-bottom:20px}.news_item{padding-bottom:20px;border-bottom:1px solid silver}.block_content .item,.borderbottom,.content ul.pagination{border-bottom:1px solid #d2d2d2}.news_item a{font-size:16px}.pic a{display:table-cell}.pic a img{max-width:392px;max-height:365px}input#subscribe-email::-webkit-input-placeholder{color:#596065}input#subscribe-email::-moz-placeholder{color:#596065}input#subscribe-email:-ms-input-placeholder{color:#596065}input#subscribe-sale::-webkit-input-placeholder{color:#596065}input#subscribe-sale::-moz-placeholder{color:#596065}input#subscribe-sale:-ms-input-placeholder{color:#596065}#subscribe-email,#subscribe-sale{color:#596065}#subscribe-sale{width:100px;float:left;height:28px}.saletxt{width:150px;float:left;color:#fff;font-size:12px}#subscribe-email{width:370px}.txts{color:#9da9b1;font-size:18px}.content ul.pagination{list-style:none;margin:0 0 16px;padding:0 0 20px}.content ul.pagination li{display:inline}.content ul.pagination li a{padding:3px;color:#82a02f;font-size:15px;margin:0;text-decoration:none}.footer .fl,.fotter a{font-size:12px}.content ul.pagination li a:hover{text-decoration:underline}.content ul.pagination li.active a{color:#333}.boxitem{height:318px}ul.social{margin-top:20px}.social{list-style:none;margin:10px;padding:0;height:48px}.social li{display:inline-block;margin-right:7px;padding-bottom:10px}.social li a{width:36px;height:36px;display:block;margin:0;padding:0;text-indent:-9999px;background:url(../img/social-ico-two.png) no-repeat #bcbcbc;border-radius:48px;-moz-border-radius:48px;-webkit-border-radius:48px;-webkit-transition:all .5s ease-out;-moz-transition:all .5s ease-out;transition:all .5s ease-out}.content2 br,.hide{display:none}.social .fb{background-position:-44px 0;cursor:pointer}.social .vk{cursor:pointer}.social .vk:hover{background-color:#5B7FA6}.social .fb:hover{background-color:#354f89}.social .gp{background-position:-132px 0;cursor:pointer}.social .gp:hover{background-color:#c72f21}.social .tw{background-position:-144px 0;cursor:pointer}.social .tw:hover{background-color:#6398c9}.social .ok{background-position:-89px 0;cursor:pointer}.social .ok:hover{background-color:#f88f15}.social ul li a:hover{background-color:#065baa}.socialbox{margin:10px 0}.fotter{background:#484f55;height:50px;color:#98a3ab}.fotter a{color:#98a3ab;line-height:50px;float:left}.view_products2{list-style:none;overflow:auto;height:400px}.view_products2 img{float:left;margin-right:20px}.view_products2 li{margin:10px 0}.pixbox{width:160px;margin:0 auto;height:200px;overflow:hidden}.form-order{background:#f5f5f5;padding:0 20px 20px}#order-delivery,#order-payment{float:right;width:280px}.delivery-data{margin-bottom:27px;position:relative;background:#95ba2f;display:none;border-radius:5px;float:left;box-sizing:border-box;padding:14px 20px;color:#fff;font-size:13px}.edit_menu a,.mycabinet a{color:#799920;text-decoration:none}.jcarousel-next-disabled,.jcarousel-prev-disabled{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.pixbox a{width:160px;height:200px;display:table-cell}.pixbox img{max-width:160px;max-height:200px}.pagination li.next.disabled span,.pagination li.prev.disabled span{display:none}.fr{float:right}.nobottom{border-bottom:none!important}.dotted a{border-bottom:1px dotted grey}.mycabinet{padding-left:20px;margin-top:20px}.mycabinet .begin{text-transform:uppercase;font-size:13px;font-weight:700;padding-bottom:15px}.mycabinet ul{margin:0;padding:0;list-style:none}.mycabinet ul li{padding-top:10px;padding-bottom:10px}.lay_title .uppercase{text-transform:uppercase}.lay_title{padding-top:15px;font-size:24px}.edit_menu,.user_data .data,.user_data .title,.user_data_editing .data,.user_data_editing .title{float:left;font-size:13px}.user_data{width:390px;border-right:1px solid #d2d2d2;float:left}.user_data .col{padding-bottom:35px}.user_data .col.last{padding-bottom:0}.user_data .title{text-transform:uppercase;font-weight:700;width:170px}.edit_menu{padding-left:60px}.edit_menu div{padding-bottom:20px}.edit_menu .dotted{border-bottom:1px dotted #799920}.user_edit_area{padding-top:30px}.user_data_editing{float:left}.inputs .col{padding-bottom:12px!important}.user_data_editing .col{padding-bottom:35px;width:432px}.user_data_editing .title{text-transform:uppercase;font-weight:700;width:170px}.user_data_editing .data{width:262px}.user_data_editing input[type=text]{padding:7px 10px;margin:-10px 0 0;border:1px solid #d2d2d2;border-radius:4px;font-size:12px;width:240px}#cancel,.user_data_editing .add{border-bottom:1px dotted #799920;color:#799920;text-decoration:none}.add_more{padding-bottom:24px;padding-left:170px}.delete{float:right}.delete_button{background:url(../img/ico_close.png) right no-repeat;width:16px;height:16px;float:right}.content_area{width:450px}#cancel{font-size:13px;float:left;margin-left:40px}.buttons{display:inline-flex;align-items:center}.favorites{background-color:#f5f5f5;padding:5px;font-size:14px}.favorites .fav_point{background-color:#fff;border:1px solid #d2d2d2;border-radius:3px;margin-top:5px;padding:10px 20px}.favorites .fav_point .left{float:left;padding-right:0;width:178px}.favorites .fav_point .right{float:right;padding-right:0;padding-left:0}.favorites .link{color:#799920;text-decoration:none;border-bottom:1px dotted #799920}.redtext{color:#f75d50}.greentext{color:#95ba2f}.hold .orders_view{display:none!important}.orders_view{width:680px;margin-top:13px;padding-top:13px;padding-bottom:5px;border-top:1px solid #d2d2d2;display:block}.orders_view .order{float:left;width:225px}.orders_view .order .order_price{color:#f75d50;font-weight:700;font-size:15px}.orders_view .order .order_price span{font-size:24px}.orders_view .order img{padding-bottom:22px}.orders_view .order .note{font-size:13px}.orders_view .order .note span{color:#f75d50}.basket_hovered{position:absolute;border:1px solid #d2d2d2;border-radius:5px;padding:15px 20px;background-color:#fff;right:-1px;margin-top:10px;width:640px;display:none;z-index:1111}.open .basket_hovered{display:block}.open,.open .basket_hovered{-moz-box-shadow:0 0 5px rgba(149,149,149,.75);-webkit-box-shadow:0 0 5px rgba(149,149,149,.75);box-shadow:0 0 5px rgba(149,149,149,.75)}.basket_hovered1:before{position:absolute;left:0;content:' ';width:100%;background-color:#fff;height:10px;top:45px;z-index:1112}.basket_item input{border:1px solid #d2d2d2;border-radius:4px;padding:9px;width:26px;font-size:18px;font-weight:700;background-color:#fff;color:#000;margin:7px}.minus,.plus{width:15px;height:15px;display:inline-block;cursor:pointer}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.minus{background:url(../img/minus.png) no-repeat}.plus{background:url(../img/plus.png) no-repeat}.black,.black:before{width:100%;height:100%}.basket_sum{padding-top:15px}.basket_sum .sum_text{font-size:15px;text-transform:none;float:right!important;padding-top:1px;margin-bottom:11px}.item_added_win h2,.left_block .begin,.note_prod,.title_spoiler,.uppercase,ul.product-special li div{text-transform:uppercase}.basket_sum .sum_text span{font-size:18px;color:#f75d50;font-weight:700}.basket_sum a{color:#fff!important;font-size:15px!important;float:right}.black{z-index:9999;position:absolute;display:block;padding-top:6%}.black:before{content:'';background-color:rgba(0,0,0,.5);position:fixed;top:0}.black.hidden{display:none}.black_close,.left_block .links li{display:inline-block;cursor:pointer}.black .item_added_win{background-color:#fff;width:640px;margin:auto;position:relative}.black_close{position:absolute;top:30px;right:30px;background:url(../img/ico_close2.png) no-repeat;width:22px;height:22px}.block_content{padding-left:20px;padding-right:20px}.item_added_win h2{text-align:center;padding:30px}.block_content .item{padding-top:20px;padding-bottom:20px}.w230{width:230px}.w260{width:260px}.w430{width:430px}.left_block .begin{font-size:13px;font-weight:700;padding-bottom:15px}.color_variants .variant{border:1px solid #d2d2d2;float:left;margin-right:5px;margin-bottom:5px}.variant:hover{cursor:pointer}.color_variants{margin-top:14px;margin-bottom:-5px}.color_variants .variant.active{width:44px;height:44px;border:2px solid #95ba2f}.color_variants .variant.active a{width:44px;height:44px}.tobasket{margin-top:20px;margin-bottom:20px}.tobasket:hover{color:#fff}.variant{width:46px;height:46px}.variant.active{width:44px;height:44px}.layout{margin-top:15px}.left_block{float:left}.right_block{float:right}.center_block{float:left;margin-left:23px}.left_block .links{margin-top:25px}.left_block .links li{list-style:none;padding-left:25px;height:20px}.left_block .links ul{margin:0;padding:0}.left_block .links a{font-size:13.5px;text-decoration:none;color:#8ba73e}.links .add_bookmarks{background:url(../img/ico_add_bookmark.png) center left no-repeat}.links .what_price{background:url(../img/ico_price.png) center left no-repeat}.links .add_compare{background:url(../img/ico_scales.png) center left no-repeat}.spoiler_one{padding-top:15px;padding-bottom:15px;border-bottom:1px solid #d2d2d2}.spoiler_one .spoiler_content{margin-top:15px;font-size:13px}.spoiler_one .spoiler_content.hidden{display:none}.title_spoiler:hover{cursor:pointer}.title_spoiler{background:url(../img/ico_open.png) center left no-repeat;padding-left:17px;font-size:13px;color:#333;font-weight:700;text-decoration:none}.title_spoiler.closed{background:url(../img/ico_close3.png) center left no-repeat}.features{list-style:none;padding:0;margin:0;font-size:13px}.features a{font-size:13px;text-decoration:none;border-bottom:1px dotted #8ba73e;color:#8ba73e}.features li{padding-top:5px;padding-bottom:4px}.note_prod .blue,.note_prod .red,.note_prod .yellow{padding:5px 5px 5px 10px;float:left}.note_prod{width:225px;height:23px;overflow:hidden;border-radius:5px;display:table;font-size:11px;font-weight:700}.note_prod .blue:after,.note_prod .red:after,.note_prod .yellow:after{width:0;height:0;border-top:13px solid transparent;border-bottom:13px solid transparent;top:-1px;margin-left:5px;content:''}.note_prod .one{z-index:999}.note_prod .two{z-index:998}.note_prod .blue{background-color:#42b9f6;position:relative}.note_prod .blue:after{border-left:5px solid #42b9f6;position:absolute}.note_prod .red{background-color:#f75d50;position:relative;color:#fff}.note_prod .red:after{border-left:5px solid #f75d50;position:absolute}.note_prod .yellow{background-color:#fbc665;position:relative}.note_prod .yellow:after{border-left:5px solid #fbc665;position:absolute}.products_block .product{float:left;width:190px;vertical-align:bottom}.product .image{height:225px;position:relative}.product .image img{position:absolute;bottom:0;left:15px}.price{font-size:18px;color:#f75d50;font-weight:700}.product{padding-bottom:30px;position:relative}.product p{font-size:15px;margin-top:15px}.left52{margin-left:52px}.product a{color:#fff}.mrg1{margin-top:25px;margin-bottom:15px}.products_martopbot{margin-top:60px;margin-bottom:100px}.cont_shop_but{display:table-cell;vertical-align:middle;padding:35px}.cont_shop{text-decoration:none;font-size:12px;border-bottom:1px dotted #799920;color:#799920}.icons{width:45px;height:50%;position:absolute;z-index:9;right:0;padding-top:25px;padding-right:15px}.icons a{width:44px;height:44px;float:left;border:1px solid #d2d2d2;margin-bottom:5px;background-color:#fff}a:hover{cursor:pointer}.basket_item .form-group{display:inline}.HOME_RIGHT,.sort_block,.sort_block ul,.sort_block ul li{display:inline-block}.basket.open:after{content:'';position:absolute;top:43px;width:100%;height:10px;background-color:#fff;left:0;z-index:9990}.basket_hovered .basket_sum{float:left}a.active{font-weight:700;text-decoration:underline}.HOME_RIGHT{vertical-align:top;margin-left:10px;position:absolute}#HOME_UNDER_SLIDER>div{display:inline-block;margin-right:3px;margin-top:3px}.sort_block ul{margin:0;padding:0}.special-products,.why_me_{padding-top:30px}.sort_block ul li{margin:0 .5em;list-style:none}.sort_block ul li a.asc:after,.sort_block ul li a.desc:after{display:block;width:5px;height:3px;position:absolute;top:50%;margin-top:-1px;right:-10px;content:'';background:url(../img/arrow_sort_asc_desc.png) no-repeat}.sort_block ul li a.asc:after{background-position:0 0}.sort_block ul li a.desc:after{background-position:0 -3px}.home_banner_up{margin-top:20px}.home_banner_up .HOME_RIGHT{display:block;float:right;position:static;margin-left:0}#HOME_SLIDER .jssorb03 .av,#HOME_SLIDER .jssorb03 div,#HOME_SLIDER .jssorb03 div:hover{width:6px;height:6px;border-radius:50%;line-height:6px;background:#fff;border:2px solid #fff;box-shadow:0 0 5px 0 rgba(54,54,54,.75)}#HOME_SLIDER .jssorb03 .av,#HOME_SLIDER .jssorb03 div.av:active,#HOME_SLIDER .jssorb03 div.av:hover{cursor:default;background:#95BA2F}.special-products .link_buy{margin-bottom:0}.special-products .item{margin-bottom:0!important}.why_me_{overflow:hidden;margin-bottom:60px}.why_me_ .why_list{width:1038px;margin-left:-58px}.seo_text p{margin:12px 0 0;font-size:13px!important;color:#333!important;font-family:Roboto!important}.seo_text p:first-child{margin-top:0}.product-special{position:absolute}.jcarousel-skin-tango .jcarousel-item{width:38px;height:38px;border:1px solid #d2d2d2;background:#fff}.jcarousel-skin-tango .jcarousel-item a{display:table-cell;width:38px;height:38px;vertical-align:middle}.mycarousel img{max-width:38px;max-height:38px;border:0;vertical-align:middle}.jcarousel-skin-tango .jcarousel-clip-vertical,.jcarousel-skin-tango .jcarousel-container-vertical{height:175px}.jcarousel-skin-tango .jcarousel-container-vertical{padding:0}.jcarousel-skin-tango .jcarousel-prev-vertical{top:-13px}.jcarousel-skin-tango .jcarousel-next-vertical{bottom:-13px}.jcarousel-skin-tango .jcarousel-next-vertical,.jcarousel-skin-tango .jcarousel-prev-vertical{left:0;width:42px;background-position:14px 0}.products.pn>ul,ul.product-special li{width:100%;float:left}.jcarousel-skin-tango .jcarousel-next-vertical:hover,.jcarousel-skin-tango .jcarousel-prev-vertical:hover{background-position:14px 0;left:0}ul.product-special{position:absolute;top:0;left:16px}ul.product-special li div{color:#333;font-size:10px;font-weight:700;height:22px;line-height:24px;padding:0 9px;position:relative;border-top-left-radius:4px;border-bottom-left-radius:4px;margin-top:8px;float:left}ul.product-special li:first-child{margin-top:0}ul.product-special li.top div{background:#fbc665}ul.product-special li.top div:after{content:'';position:absolute;right:-19px;top:3px;border:11px solid transparent;border-top:5px solid #fbc665;transform:rotate(-90deg)}ul.product-special li.new div:after,ul.product-special li.promo div:after{content:'';position:absolute;right:-18px;top:2px;transform:rotate(-90deg)}ul.product-special li.new div{background:#42b9f6}ul.product-special li.new div:after{border:11px solid transparent;border-top:5px solid #42b9f6}ul.product-special li.promo div{background:#f75d50}ul.product-special li.promo div:after{border:11px solid transparent;border-top:5px solid #f75d50}.cost-block{margin-top:1px}.products.pn a.link_buy{margin-bottom:0}.products.pn{padding-bottom:0}.products.pn>ul{margin-bottom:-3px}._form_checkbox_reset,.sort_block,.sort_block ul li a{font-size:12px}.filter_accept_bloc{margin-top:13px;margin-bottom:0}._form_checkbox_reset{color:#6a6a6a;display:block;width:128px;height:28px;border:1px solid #d2d2d2;line-height:28px;border-radius:4px;text-decoration:none;margin:0 auto}.irs-max,.irs-min,.irs-slider:after{display:none}.footer-mail,input.custom-radio+label:hover{text-decoration:underline}._form_checkbox_reset:hover{border:1px solid #95ba2f;color:#6a6a6a}._form_checkbox_reset:active{border:1px solid #95ba2f;background:#95ba2f;color:#fff}.sort_block ul li a{color:#8fa951;position:relative}.sort_block ul li a:hover{color:#333}#HOME_SLIDER .jssora03l,#HOME_SLIDER .jssora03r{width:36px;height:340px;background:url(../img/new_arrows_.png) no-repeat}#HOME_SLIDER .jssora03l,#HOME_SLIDER .jssora03l:hover{background-position:0 50%;left:0;top:0}#HOME_SLIDER .jssora03r,#HOME_SLIDER .jssora03r:hover{background-position:-36px 50%;right:0;top:0}.loyout ._prd_spec-wr{margin-top:10px}.loyout .special-products:first-child{border-top:0;padding-top:0}.irs-slider{width:13px;height:13px;top:25px;border-radius:100%;box-shadow:none;border:1px solid #d2d2d2;background:#fff;background:-moz-linear-gradient(top,#fff 0,#ebebeb 100%);background:-webkit-linear-gradient(top,#fff 0,#ebebeb 100%);background:linear-gradient(to bottom,#fff 0,#ebebeb 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ebebeb', GradientType=0 )}.irs-slider.state_hover,.irs-slider:hover{background:#fff}.irs-slider:before{content:"";position:absolute;width:5px;height:5px;z-index:2;border:1px solid #d2d2d2;border-radius:100%;background:#799920;top:3px;left:3px}.delivery-data:after,.irs-line:before,.owl-controls .owl-buttons div:before{content:''}.irs-bar{height:3px;top:30px}.irs-line{height:9px;background:#ebebeb;border:1px solid #d2d2d2;top:27px}.irs-line:before{width:166px;height:5px;position:absolute;top:2px;left:2px;background:#d2d2d2;border-radius:5px}.irs{height:49px}.price_filter.first_price_li{margin-top:8px}.product_read_ .w{width:110px;overflow:hidden;margin:0;padding-top:0;display:table-cell;vertical-align:middle;height:32px;float:none}.cont_shopping-wr,.field-orders-body .control-label,.field-orders-delivery .control-label,.field-orders-payment .control-label,.textareagroup .control-label{float:left;width:100%}.product_read_ .w .cost,.product_read_ .w strike{width:100%;float:left}.product_read_price .link_buy{width:118px;position:absolute;top:50%;right:0;margin:-16px 0 0}.product_read_price{position:relative;min-height:32px;margin-top:10px}.special-products.products h3{margin-bottom:10px}.special-products.products li.item{margin-top:30px}.productLeftBar .cost_box{border-top:0;padding:10px 0 0}.productLeftBar .product_mod{width:100%;float:left;border-bottom:1px solid #d2d2d2;padding-bottom:15px}.cont_shopping-wr{margin-top:10px}.cont_shopping-wr .cont_shopping{float:right}.cont_shopping{display:block!important;border-top:0!important;border-left:0!important;border-right:0!important;border-bottom:1px dashed #799920!important;color:#799920!important;margin:0!important;padding:0!important;font-size:12px!important;float:left;border-radius:0!important}.delivery-data .field-order-delivery-childs .control-label,.jcarousel-skin-tango>li,.owl-pagination,input.custom-check,input.custom-radio{display:none}.info.product-thumb-video{width:100%;height:100%}.info.product-thumb-video embed,.info.product-thumb-video iframe{width:100%!important;height:auto!important}.input-blocks,.input-blocks-wrapper{width:100%;float:left}.form-order .input-blocks-wrapper{margin-top:6px}.input-blocks label{font-size:13px;color:#333}.basket_input_2 label{height:30px;line-height:30px;float:left;width:70px!important;padding-top:0!important}.custom-input-2{width:100%;height:30px;outline:0;line-height:30px;padding-left:8px;margin-top:5px;background:#fff;border-radius:4px}.custom-area-2,.custom-input-2,.textareagroup textarea{border:1px solid #d2d2d2;box-sizing:border-box;font-size:13px;color:#636363}.custom-area-2,.textareagroup textarea{min-height:128px;max-height:128px;resize:none;width:100%;max-width:100%;outline:0;padding-left:8px;padding-top:8px;margin-top:8px}.basket_input_2 .custom-input-2{width:270px;float:right;margin-top:0}.custom-area-3:focus,.custom-input-2:focus,.textareagroup textarea:focus{box-shadow:1px 2px 2px 0 rgba(215,215,215,.75) inset;transition:.1s}.textareagroup textarea:focus{border:1px solid #d2d2d2}.radio_grp label.control-label,.textareagroup .control-label,.title_groups{font-size:12px;font-weight:700;text-transform:uppercase;margin-bottom:12px}.input-blocks-group{width:100%;float:left;border-bottom:1px solid #d2d2d2;padding-bottom:20px;margin-top:18px}.custom-form-buttons{width:100%;float:left}input.custom-check+label,input.custom-radio+label{font-size:13px;cursor:pointer;margin-left:6px}input.custom-radio+label span{width:16px;height:16px;background:url(../img/radio_new.png) no-repeat;float:left;transition:.2s;margin-top:1px}input.custom-radio:checked+label span,input.custom-radio:checked+label:hover span{background:url(../img/radio_new-active.png) no-repeat}.custom-form-buttons{margin-top:7px}.custom-form-buttons:first-child{margin-top:0}.checkout_basket{width:100%;float:left}.checkout_basket button{margin:0 auto}.input-blocks-wrapper .help-block{padding-left:71px;padding-top:4px;width:100%;float:left;box-sizing:border-box;margin-bottom:0}.cont_shop_but-wr{height:33px;margin-top:35px;padding-bottom:29px}.cont_shop_but-wr .cont_shop{margin-top:8px;float:left}.cont_shop_but-wr .submit4.bottom3{float:right}._qqq_ .params{font-size:12px}.activeShow{border-bottom:0!important}.delivery-data:after,.special-products{border-bottom:1px solid #d2d2d2}.delivery-data:after{width:100%;position:absolute;bottom:-27px;left:0}.img_ajax_basket img{margin-right:0!important;max-width:90px;max-height:90px;vertical-align:middle}#login-form{margin:50px auto 0}#bg{top:0!important;z-index:1!important}.bottom,.fotter,.top,.wrap{position:relative;z-index:2}.owl-controls .owl-buttons div{width:34px!important;height:50px!important;background:#596065!important;top:50%!important;margin:-25px 0 0!important;opacity:1!important;border-radius:0!important;padding:0!important;position:absolute}.owl-controls .owl-buttons div:hover{background:#acafb2!important;transition:.2s!important}.owl-controls .owl-buttons .owl-prev{border-top-right-radius:4px!important;border-bottom-right-radius:4px!important;left:-20px}.owl-controls .owl-buttons .owl-next{border-top-left-radius:4px!important;border-bottom-left-radius:4px!important;right:-20px}.owl-controls .owl-buttons div:before{position:absolute;width:8px;height:22px;background:url(../img/arrows_blocks.png) no-repeat;top:50%;margin-top:-11px;left:50%;margin-left:-4px}.owl-controls .owl-buttons .owl-prev:before{background-position:0 0}.owl-controls .owl-buttons .owl-next:before{background-position:-8px 0}.basket_input_2.required .control-label{position:relative}.basket_input_2.required .control-label:before{position:absolute;top:0;content:'*';color:#D60000;left:-11px;padding-top:2px}.float-left{float:left}.blog-show-img{padding-right:20px}.text_seo.hidden_seo{height:178px;overflow:hidden;position:relative}.text_seo.hidden_seo div{height:162px;overflow:hidden;position:relative}.text_seo.hidden_seo a{position:absolute;bottom:0;right:0;font-size:16px}.text_seo.hidden_seo div:before{content:'';display:block;position:absolute;bottom:0;right:0;left:0;height:120px;background:-moz-linear-gradient(top,rgba(255,255,255,0) 0,#fff 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(255,255,255,0)),color-stop(100%,#fff));background:-webkit-linear-gradient(top,rgba(255,255,255,0) 0,#fff 100%);background:-o-linear-gradient(top,rgba(255,255,255,0) 0,#fff 100%);background:-ms-linear-gradient(top,rgba(255,255,255,0) 0,#fff 100%);background:linear-gradient(top,rgba(255,255,255,0) 0,#fff 100%)}.checkout_basket button,.submit4,a.link_buy{font-size:15px}.cost,.product_read_price #cost{font-size:20px}.cost span,.cost span.valute,.product_read_price .valute{font-size:15px}.comment_display_block{height:35px}.basket{margin-top:34px!important}.header-time{float:right;margin-right:25px}.header-time table{border:0;padding:0;outline:0;height:129px}.header-time table td{font-size:14px;line-height:14px}.header-time table td span{font-size:16px}.header-time table table{height:auto}.header-time.footer_time{width:100%;float:left;margin-top:68px}.header-time.footer_time table td{vertical-align:top}.footer-mail{color:#99a5ad}.footer-mail:hover{color:#fff}.labels_block .labels_item{display:inline-block;width:49%}.article_comment_description{margin:-10px 0 10px}.article_list_comment{height:auto;margin:10px 0}
2 0 \ No newline at end of file
frontend/web/css/style.dev.css deleted
1   -html,form,
2   -body {
3   - padding:0;
4   - margin:0;
5   - font-family: 'Roboto';
6   - font-size:14px;color:#333;height:100%;
7   -}
8   -h1,h2,h3{margin:0px;padding:0px 0px 10px 0px;}
9   -.fl{float:left;}
10   -.fotter .wrap .fr{float:right; width: 180px; height: 50px; position: relative;font-size: 12px;}
11   -.fotter .wrap .fr img{position: absolute; top: 50%; margin-top: -10px; right: 0;}
12   -.fotter .wrap .fl {line-height: 50px;font-size: 12px;}
13   -.both{clear:both;}
14   -h1{margin:10px 0;font-size:24px;}
15   -h3{margin-bottom:30px;}
16   -p{margin:3px 0px;padding:0px;}
17   -
18   -a{color:#6a6a6a;font-size:14px;text-decoration:underline;}
19   -a:hover{color:#799920;}
20   -
21   -.wrap {
22   - width:960px;margin:0px auto;
23   -}
24   -.f{background: #ffffff;}
25   -
26   -.br{-webkit-box-shadow: -1px 5px 14px 0px rgba(50, 46, 50, 0.46);
27   - -moz-box-shadow: -1px 5px 14px 0px rgba(50, 46, 50, 0.46);
28   - box-shadow: -1px 5px 14px 0px rgba(50, 46, 50, 0.46);
29   - padding:20px;}
30   -
31   -nav.top{background:#f5f5f5;padding:10px 0px;border-bottom:1px solid #d2d2d2;font-size:12px;}
32   -nav.top ul{list-style:none;margin:0px;padding:0px;}
33   -nav.top ul li{float:left;padding-right:20px;}
34   -nav.top ul li a{font-size: 12px;}
35   -nav.top a{color:#6a6a6a;text-decoration:none;}
36   -
37   -#help{background:url('../img/help.png') right no-repeat;padding-right:20px;}
38   -#help span{border-bottom:1px dotted #6a6a6a;}
39   -
40   -#login{background:url('../img/login.png') right no-repeat;padding-right:20px; font-size: 12px;}
41   -#login span{border-bottom:1px dotted #6a6a6a;}
42   -
43   -.search{margin:-5px 0px -5px 100px;float:left;}
44   -nav input[type="text"]{width:325px;outline:0;border:1px solid #d8d6d6;border-radius:5px;padding:5px 0px 5px 0px;font-size:14px;text-indent:10px;}
45   -nav input[type="submit"]{width:35px;height:29px;border:none;background:url('../img/lupa_sub.png') center no-repeat;margin-left:-35px;cursor:pointer;}
46   -
47   -
48   -
49   -.header{margin:0px 0px 20px;}
50   -
51   -.phone{float:left;position:relative;text-align:center;}
52   -.phone .tel{font-size:23px;}
53   -.phone .tel span.more{margin-bottom: 3px}
54   -.more_block{background:#ffffff;border:1px solid #d2d2d2;padding:10px;position:absolute;font-size:20px;display:none;z-index:99;}
55   -
56   -.more{background:url('../img/more.png') no-repeat;width:12px;height:7px;display:inline-block;cursor:pointer;margin-bottom:5px;}
57   -
58   -
59   -.logo{margin:0px auto 0px;width:193px;padding-top: 22px;}
60   -.logo a{display:block;width:193px;height:84px;background:url('../img/logo.png') no-repeat;}
61   -.logo a span{display:none;}
62   -
63   -#call{color:#6a6a6a;text-decoration:none;border-bottom:1px dotted #6a6a6a;}
64   -
65   -.basket{float:right;position:relative;border:1px solid #d2d2d2;border-radius:5px;padding:15px 20px;font-size:18px;text-transform: uppercase;margin-top:13px;}
66   -.basket .info{float:left;border-right:1px solid #d2d2d2;padding-right:10px;margin-right:17px;}
67   -.basket .info span{color:#f75d50;font-size:22px;}
68   -.basket a:link,.basket a:visited{text-decoration:none;color:#000000;font-size:18px;}
69   -
70   -.basket span.more {margin-bottom: -1px}
71   -.menu{
72   - background:#596065;
73   - border:1px solid #e8e8e8;
74   -}
75   -.menu ul{margin:0px;padding:0px;list-style:none;}
76   -.menu ul li{float:left;border-left:1px solid #8b9094; height: 43px;}
77   -.menu ul li:first-child{border-left:none;}
78   -.menu ul li a{width: 100%; height:100%;line-height:43px;float:left;box-sizing:border-box; padding:0 19px;text-transform: uppercase;color:#ffffff;font-size:15px;text-decoration: none;font-weight: 600;}
79   -.menu ul li:hover{background: #3e454b;}
80   -.menu ul li.active a{background:#f5f5f5;color:#596065;}
81   -.menu ul li.active a:hover{cursor: default;}
82   -
83   -.menu_childs{background:#f5f5f5;border:1px solid #e8e8e8;border-bottom:2px solid #596065;}
84   -.menu_childs ul{margin:0px;padding:0px;list-style:none;}
85   -.menu_childs ul li{float:left;}
86   -.menu_childs ul li a{float:left;padding:15px 23px 15px 23px;text-transform: uppercase;color:#596065;font-size:14px;font-weight:bold;text-decoration: none;}
87   -.menu_childs ul li a:hover{color:#878b8e;}
88   -
89   -.fr ul li{border:none;}
90   -.akciya a{background:#f75d50;color:#ffffff;}
91   -.brands a{background:#95ba2f;color:#ffffff;}
92   -
93   -a.myorders{color:#f75d50}
94   -
95   -.sub{margin:2px 0px 0px 0px;}
96   -.sub img{float:left;margin-right:2px;}
97   -
98   -.rubrics{margin:60px 0 0 0;padding-bottom:27px;}
99   -.rubrics ul{list-style:none;margin:0px;padding:0px;}
100   -.rubrics ul li{float:left;margin:0px 35px;}
101   -.rubrics ul li a{float:left;width:120px;padding-top:130px;text-align:center;text-transform: uppercase;color:#494949;text-decoration:none;font-weight:bold;}
102   -.rubrics ul li.item_ryukzaki a{background:url('../img/ico1.png') no-repeat;}
103   -.rubrics ul li.item_sumki a{background:url('../img/ico2.png') no-repeat;}
104   -.rubrics ul li.item_chehly a{background:url('../img/ico3.png') no-repeat;}
105   -.rubrics ul li.item_nesessery a{background:url('../img/ico4.png') no-repeat;}
106   -.rubrics ul li.item_koshelki a{background:url('../img/ico5.png') no-repeat;}
107   -
108   -
109   -.products{padding-bottom:30px;padding-top:20px;}
110   -.why_me_, .products {
111   - border-top: 1px solid #d2d2d2;
112   -}
113   -.products ul{list-style:none;margin:0;padding:0;}
114   -.products ul li.item{float:left;width:192px;margin:0 0 50px 0;text-align:center;position:relative;}
115   -.products ul li a.name, .special-products a.name {display:block;color:#799920;font-size: 15px;text-decoration:none;margin:15px 0 0 0;height:35px;overflow: hidden; box-sizing: border-box;padding: 0 10px;}
116   -.products ul li a.name:hover, .special-products a.name:hover {text-decoration: underline}
117   -.products ul li .info{text-align: left;}
118   -.pn{border:none;}
119   -
120   -.cost, .product_read_price #cost {color:#f75d50;font-size:18px;margin:0;padding:0;}
121   -.cost span, .cost span.valute, .product_read_price .valute {font-size: 14px;}
122   -strike, strike span#old_cost{font-size:14px; color: #333}
123   -
124   -
125   -.submit4m, a.link_buy, .checkout_basket button, .submit4 {
126   - background: #95ba2f;
127   - border-radius:4px;
128   - height: 29px;
129   - text-transform: uppercase;
130   - color:#ffffff;
131   - text-decoration:none;
132   - font-weight:600;
133   - text-align:center;
134   - border-bottom: 3px solid #799920;
135   - font-size: 12px;
136   -}
137   -.submit4.bottom3 {font-size: 12px !important;display: block;}
138   -.basket .submit4.bottom3 {font-size: 12px !important;display: block; margin-top: 10px;}
139   -a.link_buy, .checkout_basket button {
140   -
141   - display:block;
142   - margin:0 auto 10px auto;
143   - width:122px;
144   - line-height:32px;
145   -}
146   -.checkout_basket button, .submit4{
147   - margin: 0;
148   - padding: 0 20px;
149   - line-height: 31px;
150   - width: auto;
151   - border-top: 0;
152   - border-left: 0;
153   - border-right: 0;
154   - cursor: pointer;
155   -}
156   -a.link_buy:hover, .submit4m:hover, .checkout_basket button:hover, .submit4:hover, .btn-primary:hover {
157   - border-bottom: 3px solid #95ba2f;;
158   -}
159   -a.link_buy:active, .submit4m:active,.checkout_basket button:active, .submit4:active, .btn-primary:active {
160   - background: #799920;
161   - border-bottom: 3px solid #799920;
162   -
163   -}
164   -.checkout_basket button:focus, .submit4:focus { outline: none;}
165   -.mycarousel{position:absolute;right:22px;top:13px;}
166   -ul.mycarousel{list-style:none;margin:0px;padding:0px;}
167   -ul.mycarousel li{margin:0px;padding:0px;}
168   -.mycarousel img{border:1px solid #d2d2d2;}
169   -
170   -h3{text-align:center;text-transform: uppercase;font-size:20px;}
171   -span.why {width:213px;height:49px;background:url('../img/logo-why.png') no-repeat;margin:0px auto; padding: 0 0 20px 0; height: 29px;
172   - display: block;}
173   -
174   -ul.why_list{list-style:none;margin:0px;padding:0px;}
175   -ul.why_list li{float:left;margin-left:58px; width: 288px; height:96px;box-sizing: border-box;padding-left: 110px; margin-top: 20px;}
176   -ul.why_list li div {
177   - display: table-cell;
178   - height: 96px;
179   - vertical-align: middle;
180   -}
181   -ul.why_list li span{font-weight:bold;color:#799920;}
182   -ul.why_list li.item1{background:url('../img/why_item1.png') left no-repeat;}
183   -ul.why_list li.item2{background:url('../img/why_item2.png') left no-repeat;}
184   -ul.why_list li.item3{background:url('../img/why_item3.png') left no-repeat;}
185   -ul.why_list li.item4{background:url('../img/why_item4.png') left no-repeat;}
186   -ul.why_list li.item5{background:url('../img/why_item5.png') left no-repeat;}
187   -ul.why_list li.item6{background:url('../img/why_item6.png') left no-repeat;}
188   -
189   -.banner_akciya{margin:50px 0px;}
190   -
191   -.bottom{background:#4d5458;padding:40px 0px;color:#ffffff;}
192   -.bottom .leftbar{float:left;width:210px; }
193   -.bottom ul{list-style:none;margin:0px;padding:0px;line-height: 23px;}
194   -.bottom ul a{color:#ffffff;font-size:15px;text-decoration:none;}
195   -.bottom ul a:hover{color:#799920;}
196   -
197   -.phones{margin-top:50px;line-height: 23px;font-size: 18px;}
198   -.map{padding:5px 0px 5px 25px;background:url('../img/map.png') left no-repeat; margin-bottom: 7px;}
199   -a.more_map{color:#99a5ad;border-bottom:1px dotted #99a5ad;text-decoration:none;font-size:11px;text-align:center;}
200   -
201   -.bread-crumbs{padding:0 0 0 20px;border-bottom:1px solid #d2d2d2; height: 29px;}
202   -.bread-crumbs ul{list-style:none;margin:0 0 0 0;padding:0; height: 29px;}
203   -.bread-crumbs ul li{float:left;padding-left:20px;height: 100%; line-height: 29px; color: #7d7d7d; position: relative; font-size: 12px;}
204   -.bread-crumbs ul li:first-child {padding-left: 0}
205   -.bread-crumbs ul li a {font-size: 12px; display: block; color: #7d7d7d}
206   -.bread-crumbs ul li a:visited,.bread-crumbs ul li a:link{color:#7d7d7d;text-decoration:underline;}
207   -.bread-crumbs ul li a:hover{color:#464646;text-decoration: none;}
208   -.breadcrumb > li + li:before {
209   - color: #ccc;
210   - content: "/";
211   - position: absolute;
212   - top: 0;
213   - left: 8px;
214   -}
215   -
216   -
217   -.loyout{padding:20px 0px;}
218   -.leftbar{float:left;width:172px;margin-right: 20px; }
219   -.rightbar{float:right;width:380px;margin-left:40px;}
220   -.rightbar.basket_rightbar{margin-right: 20px;}
221   -.rightbar2{float:right;width:320px;}
222   -.content {overflow:hidden;}
223   -* html .content{height:1%;}
224   -.content2 {overflow:hidden;}
225   -* html .content2{height:1%;}
226   -
227   -.filters{border-top:1px solid #d2d2d2;padding:20px 0px 0px;margin-top:20px;}
228   -.filters .begin{text-transform: uppercase;font-weight:bold; font-size: 12px;}
229   -.filters ul{list-style:none;margin:0px;padding:0px;line-height:22px; margin-top: 6px;}
230   -.filters ul li {
231   - position: relative;
232   - box-sizing: border-box;
233   - padding-left: 24px;
234   - line-height: 16px;
235   - margin-top: 7px;
236   -}
237   -.filters ul li:first-child {margin-top: 0}
238   -.filters ul li>input {
239   - position: absolute;
240   - left: 4px;
241   - margin: 0px 0 0 ;
242   - top: 3px;
243   -}
244   -.filters ul li a{color:#464646;text-decoration:none; font-size: 13px; line-height: 16px;}
245   -.filters ul li a:hover{text-decoration:underline;}
246   -
247   -.productLeftBar{float:left;width:228px;margin-left:20px;margin-right:20px;}
248   -.productRightBar{float:right;width:260px;margin:0 20px;}
249   -.productLeftBar h1{font-size:24px;border-bottom:1px solid #d2d2d2;margin-bottom:10px;}
250   -
251   -ul.product_mod{list-style:none;margin:10px 0 0 0;padding:0; float: left;}
252   -ul.product_mod li{
253   - float:left;
254   - width: 46px;
255   - height: 46px;
256   - background: #fff;
257   - border: 1px solid #d2d2d2;
258   - margin: 5px 5px 0 0;
259   - text-align: center;
260   - position: relative;
261   -}
262   -ul.product_mod li.active:before {
263   - width: 48px;
264   - height: 48px;
265   - position: absolute;
266   - content: '';
267   - background: none;
268   - border: 2px solid #95ba2f;
269   - top: -1px;
270   - left: -1px;
271   - box-sizing: border-box;
272   -}
273   -ul.product_mod li a{
274   - width: 46px;
275   - height: 46px;
276   - display: table-cell;
277   - vertical-align: middle;
278   -}
279   -ul.product_mod li a:focus {
280   - outline: none;
281   -}
282   -ul.product_mod li img{
283   - vertical-align: middle;
284   - max-width: 46px;
285   - max-height: 46px;
286   -}
287   -
288   -ul.product_colors{list-style:none;margin:30px 0 0 0 ;padding:0; float: left;}
289   -ul.product_colors li{
290   - float:left;
291   - margin:10px 10px 0 0;
292   - width: 98px;
293   - height: 98px;
294   - text-align: center;
295   - border: 1px solid #d2d2d2;
296   -}
297   -ul.product_colors li a {
298   - width: 98px;
299   - height: 98px;
300   - vertical-align: middle;
301   - display: table-cell;
302   -}
303   -ul.product_colors li img{
304   - max-width: 98px;
305   - max-height: 98px;
306   - vertical-align: middle;
307   -}
308   -.productLeftBar .begin{text-transform: uppercase;font-weight:bold; font-size: 12px;}
309   -
310   -.cost_box{border-top:1px solid #d2d2d2;border-bottom:1px solid #d2d2d2;margin:10px 0px;padding:10px 0px;}
311   -.cost_box .w{float:left;margin-right:20px;padding-top:5px;}
312   -
313   -.product_service ul{list-style:none;margin:0px;padding:0px;}
314   -.product_service ul li a{color:#799920;text-decoration:none;border-bottom:1px dotted #799920;font-size:12px;}
315   -.product_service ul li.item1{background:url('../img/li1.png') left no-repeat;padding:3px 23px;}
316   -.product_service ul li.item2{background:url('../img/li2.png') left no-repeat;padding:3px 23px;}
317   -.product_service ul li.item3{background:url('../img/li3.png') left no-repeat;padding:3px 23px;}
318   -
319   -#nav_product{list-style:none;margin:0px;padding:0px;line-height:23px;}
320   -#nav_product li a{background:url('../img/li_plus.png') left no-repeat;padding:3px 15px;color:#000000;text-transform: uppercase;text-decoration:none;font-weight:bold; font-size: 12px;}
321   -#nav_product li a.active{background:url('../img/li_minus.png') left no-repeat;}
322   -#nav_product li .info{display:none;border-bottom:1px solid #d2d2d2;padding:10px 0px;margin-bottom:10px;}
323   -
324   -#nav_product li .info, #nav_product li .info p {font-size: 12px; line-height: 16px;}
325   -.modal_box{
326   - position: fixed;
327   - left: 0;
328   - top: 0;
329   - width: 100%;
330   - height: 100%;
331   - z-index: 999;
332   -
333   - background: #000;
334   - filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50); /* IE 5.5+*/
335   - -moz-opacity: 0.5; /* Mozilla 1.6 รย  รยกรขโ‚ฌหœ รย  รย รขโ‚ฌยฆรย  รยกรขโ‚ฌหœรย  รโ€™ร‚ยถรย  รโ€™ร‚ยต */
336   - -khtml-opacity: 0.5; /* Konqueror 3.1, Safari 1.1 */
337   - opacity: 0.5;
338   -
339   -}
340   -#data_box{position:absolute;top:100px;z-index:1000;width:400px;background:#ffffff;
341   - -webkit-box-shadow: 0 0 15px #000;
342   - -moz-box-shadow: 0 0 15px #000;
343   - box-shadow: 0 0 15px #000;
344   - border:7px solid #1b9bb6;
345   - border-radius:5px;
346   -}
347   -#data_box .data_wrp{padding:25px 15px 15px 15px;}
348   -#data_box .data_wrp h1{text-transform: uppercase;}
349   -#data_box .data_wrp hr{height: 1px;border: none;color: #000000;background: #000000;margin: 45px 0px 20px 0px;}
350   -#data_box .data_wrp hr.hr{height: 1px;border: none;color: #000000;background: #000000;margin: 20px 0px 20px 0px;}
351   -#data_box .pic-tango{margin-right:7px;margin-bottom:7px;}
352   -#modal_close{cursor:pointer;margin-top:-80px;margin-right:-50px;}
353   -
354   -
355   -.rightbar .control-label, .textareagroup .control-label {float:left;width:80px;padding-top:5px;}
356   -.form-control{outline:0;border:1px solid #d8d6d6;border-radius:5px;padding:5px 0px 5px 0px;font-size:14px;text-indent:10px;margin-bottom:3px;width:250px;}
357   -.form-control:focus {
358   - border:#1b9bb6 1px solid;
359   - box-shadow: 0 0 10px #1b9bb6;
360   - -webkit-box-shadow: 0 0 10px #1b9bb6;
361   - -moz-box-shadow: 0 0 10px #1b9bb6;
362   -}
363   -.help-block{color:red;font-size:12px;margin-bottom:5px;}
364   -
365   -.basket_item{padding:10px 0px;border-bottom:1px solid #b7b7b7;clear: both}
366   -.basket_item img{margin-right:20px;}
367   -.basket_item .count{margin:20px 0px;}
368   -.basket_item .fr{margin-top:13px;}
369   -.basket_item .info{overflow:hidden;}
370   -.basket_item > a{display: block;
371   - float: left;}
372   -a.del:visited,a.del:link{background:url('../img/del.png') left center no-repeat;padding:2px 25px;font-size:12px;font-weight:normal;color:#787878;text-decoration: underline;}
373   -a.del:hover{color:#a52828;text-decoration: underline;}
374   -
375   -.total{text-align:right;color:#87476a;font-size:20px;margin:10px 0px;}
376   -
377   -/*.submit4{margin-top:5px;border:none;padding:8px 13px;background:#95ba2f;border-radius:5px;color:#ffffff;text-transform: uppercase;text-decoration:none;font-size:14px;cursor:pointer;}*/
378   -/*.submit4:hover{background:#f75d50;}*/
379   -
380   -.submit4m {font-family: Roboto;border:none;background:#95ba2f;border-radius:4px;color:#ffffff;text-transform: uppercase;font-size:10px;cursor:pointer; width:102px; height: 29px; border-bottom: 3px solid #799920; line-height: 29px;}
381   -.submit4m:active,.submit4m:focus {outline: none}
382   -
383   -.btn-primary{
384   - border-bottom: 3px solid #799920;
385   - border-top:0;border-right: 0;border-left: 0;
386   - margin-top:5px;
387   - padding:0 15px;
388   - background:#95ba2f;
389   - border-radius:4px;
390   - color:#ffffff;
391   - text-transform: uppercase;
392   - text-decoration:none;
393   - font-size:12px;
394   - font-weight:bold;
395   - cursor:pointer;
396   - height: 29px;
397   - line-height: 29px;
398   -}
399   -.btn-primary:active, .btn-primary:focus {outline: none;}
400   -
401   -a.logout:visited,a.logout:link{border:none;padding:3px 5px;background:#f75d50;border-radius:5px;color:#ffffff;text-transform: uppercase;text-decoration:none;font-size:11px;font-weight:normal;cursor:pointer;}
402   -a.logout:hover{background:#95ba2f;}
403   -
404   -.boy_box{border-bottom:1px solid #b7b7b7;padding:0px 0px 15px 0px;}
405   -.boy_box div{padding-top:10px;}
406   -
407   -.content_product .info{padding:0px 0px 20px 0px;}
408   -
409   -a.btn-success{display:inline-block;border:2px solid #d8d6d6;color:#95ba2f;border-radius:5px;padding:5px;margin-bottom:10px;text-decoration:none;font-size:14px;}
410   -a.btn-success:hover{border:#95ba2f 2px solid;color:#f75d50;}
411   -
412   -
413   -.txtb1{font-size:14px;font-weight:bold;}
414   -.txtf{font-size:14px;font-weight:bold;color:#87476a;}
415   -.txtfb{font-size:20px;font-weight:bold;color:#87476a;}
416   -
417   -.count{margin:20px 0px;}
418   -.count input[type="number"]{outline:0;width:50px;border:1px solid #d8d6d6;border-radius:5px;padding:5px 0px 5px 0px;font-size:14px;text-indent:10px;margin-bottom:7px;}
419   -
420   -a.link2:visited,a.link2:link{font-size:14px;font-weight:bold;color:#95ba2f;text-decoration: none;}
421   -a.link2:hover{color:#f75d50;text-decoration: underline;}
422   -
423   -
424   -
425   -.well{margin:50px auto;width:400px;background:#f5f5f5;border:1px solid #e8e8e8;padding:20px;border-radius:5px;}
426   -.control-label{float:left;width:100px;padding-top:5px;}
427   -#user-verifycode-image{display:block;}
428   -.form-inline{display:inline;}
429   -.form-inline .form-group{float:left;margin-right:10px;}
430   -.form-inline .form-group select{width:100px;}
431   -.form-group{margin-bottom: 10px;}
432   -.table-bordered{width:100%;border:1px solid silver;}
433   -.table-bordered th{background: #B3D1FD;padding:5px;}
434   -.table-bordered tr td{border:1px solid silver;padding:5px;}
435   -.table-bordered .filters{display: none;}
436   -
437   -.formCost label{float:left;width:30px;}
438   -
439   -ul.brends_list{list-style: none;margin:0px;padding:0px;}
440   -ul.brends_list li{float:left;text-align:center;margin:0px 15px 20px 15px;}
441   -
442   -.compare{text-align: center;}
443   -.compare a:visited,.compare a:link{font-size:12px;text-decoration: underline;}
444   -
445   -.alert-success{margin:10px 0px;padding:10px;border:1px solid #3ed824;border-radius: 5px;background: #c0feb5;}
446   -
447   -.news_item{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid silver;}
448   -.news_item img{margin-right:20px;}
449   -.news_item a{font-size:16px;}
450   -
451   -.pic{
452   - width: 392px;
453   - height: 365px;
454   -}
455   -.pic a {
456   - width: 392px;
457   - height: 365px;
458   - display: table-cell;
459   - vertical-align: middle;
460   -}
461   -.pic a img {
462   - max-width: 392px;
463   - max-height: 365px;
464   - vertical-align: middle;
465   -}
466   -input#subscribe-email::-webkit-input-placeholder {
467   - color: #596065
468   -}
469   -
470   -input#subscribe-email::-moz-placeholder {
471   - color: #596065
472   -}
473   -
474   -
475   -input#subscribe-email:-ms-input-placeholder {
476   - color: #596065
477   -}
478   -input#subscribe-sale::-webkit-input-placeholder {
479   - color: #596065
480   -}
481   -
482   -input#subscribe-sale::-moz-placeholder {
483   - color: #596065
484   -}
485   -
486   -
487   -input#subscribe-sale:-ms-input-placeholder {
488   - color: #596065
489   -}
490   -#subscribe-email, #subscribe-sale {color: #596065}
491   -#subscribe-sale{width:100px;float:left;margin-right:20px;height: 28px;}
492   -.saletxt{width:150px;float:left;color:#ffffff; font-size: 12px;}
493   -#subscribe-email{width:370px;}
494   -
495   -.txts{color:#9da9b1;font-size:18px;margin-bottom:20px;}
496   -
497   -.content ul.pagination{list-style:none;text-align:center; margin: 0 0 16px 0;padding: 0 0 20px 0; border-bottom: 1px solid #d2d2d2;}
498   -.content ul.pagination li{display:inline;}
499   -.content ul.pagination li a{padding:3px;color:#82a02f;font-size: 15px;margin:0; text-decoration: none; }
500   -.content ul.pagination li a:hover {text-decoration: underline}
501   -.content ul.pagination li.active a{color: #333333;}
502   -.boxitem{
503   - height:318px;
504   -}
505   -ul.social {margin-top: 20px;}
506   -.social{list-style: none;margin: 10px;padding: 0px;height:48px;}
507   -.social li{display:inline-block;margin-right:7px;padding-bottom: 10px;}
508   -.social li a{
509   - width:36px;
510   - height:36px;
511   - display:block;
512   - margin:0;padding:0;
513   - text-indent:-9999px;
514   - background:#bcbcbc url(../img/social-ico-two.png) no-repeat 0 0;
515   - border-radius:48px;
516   - -moz-border-radius:48px;
517   - -webkit-border-radius:48px;
518   - -webkit-transition: all 0.5s ease-out;
519   - -moz-transition: all 0.5s ease-out;
520   - transition: all 0.5s ease-out;
521   -}
522   -.social .fb{background-position:-44px 0;
523   - cursor: pointer;
524   -}
525   -.social .vk{
526   - cursor: pointer;
527   -}
528   -.social .vk:hover{background-color:#5B7FA6;}
529   -.social .fb:hover{background-color:#354f89;
530   -}
531   -.social .gp{background-position:-132px 0;
532   - cursor: pointer;}
533   -.social .gp:hover{background-color:#c72f21;}
534   -.social .tw{background-position:-144px 0;
535   - cursor: pointer;}
536   -.social .tw:hover{background-color:#6398c9;}
537   -.social .ok{background-position:-89px 0;
538   - cursor: pointer;}
539   -.social .ok:hover{background-color:#f88f15;}
540   -.social ul li a:hover{
541   - background-color:#065baa;
542   -}
543   -
544   -.socialbox{margin:10px 0px;}
545   -.hide{display:none;}
546   -
547   -
548   -.footer .fl{font-size: 12px;}
549   -.fotter{background: #484f55;height: 50px;color:#98a3ab;}
550   -.fotter a{color:#98a3ab; line-height: 50px; float: left; font-size: 12px;}
551   -
552   -
553   -.view_products2{list-style: none;overflow:auto;height:400px;}
554   -.view_products2 img{float:left;margin-right:20px;}
555   -.view_products2 li{margin:10px 0px;}
556   -
557   -
558   -.pixbox{width:160px;margin:0 auto;height:200px;overflow: hidden;text-align: center;}
559   -
560   -
561   -.form-order{background:#f5f5f5;padding:0 20px 20px 20px;}
562   -#order-payment{float:right;width:280px;}
563   -#order-delivery{float:right;width:280px;}
564   -
565   -.delivery-data{margin-bottom:27px;position:relative;background: #95ba2f;display:none;border-radius: 5px;float: left;box-sizing: border-box; padding: 14px 20px; color: #fff; font-size: 13px;}
566   -
567   -.jcarousel-next-disabled, .jcarousel-prev-disabled {opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";}
568   -.content2 br {display: none;}
569   -.pixbox a {
570   - width: 160px;
571   - height: 200px;
572   - display: table-cell;
573   - vertical-align: middle;
574   -}
575   -.pixbox img {
576   - max-width: 160px;
577   - max-height: 200px;
578   - vertical-align: middle;
579   -}
580   -.pagination li.prev.disabled span {
581   - /*padding: 9px;*/
582   - /*border-radius: 10%;*/
583   - /*color: #4D5458;*/
584   - /*font-size: 14px;*/
585   - /*margin: 0px;*/
586   - /*border: 1px solid #4d5458;*/
587   - display: none;
588   -}
589   -.pagination li.next.disabled span {
590   - display: none;
591   -}
592   -.fr {float: right;}
593   -
594   -.nobottom{border-bottom:none !important;}
595   -
596   -.dotted a{border-bottom: 1px dotted #808080;}
597   -
598   -.mycabinet{padding-left:20px;margin-top:20px;}
599   -.mycabinet .begin{text-transform:uppercase;font-size: 13px;font-weight:bold; padding-bottom:15px;}
600   -.mycabinet ul{margin:0px;padding:0px;list-style:none;}
601   -.mycabinet ul li{padding-top:10px;padding-bottom:10px;}
602   -.mycabinet a{color:#799920;text-decoration:none;}
603   -
604   -.lay_title .uppercase{text-transform:uppercase;}
605   -.lay_title .center{text-align:center;}
606   -.lay_title{padding-top:15px;font-size:24px;}
607   -
608   -.user_data{width:390px;border-right:1px solid #d2d2d2;float:left;}
609   -.user_data .col{padding-bottom:35px;}
610   -.user_data .col.last{padding-bottom:0px;}
611   -.user_data .title{text-transform:uppercase;font-weight:bold;width:170px;float:left;font-size:13px;}
612   -.user_data .data{float:left;font-size:13px;}
613   -
614   -.edit_menu{float:left;padding-left:60px;font-size:13px;}
615   -.edit_menu div{padding-bottom:20px;}
616   -.edit_menu a{color:#799920;text-decoration:none;}
617   -.edit_menu .dotted{border-bottom:1px dotted #799920;}
618   -
619   -.user_edit_area{padding-top:30px;}
620   -
621   -/* part two */
622   -
623   -.user_data_editing{float:left;}
624   -.inputs .col{padding-bottom:12px !important;}
625   -.user_data_editing .col{padding-bottom:35px; width:432px;}
626   -.user_data_editing .title{text-transform:uppercase;font-weight:bold;width:170px;float:left;font-size:13px;}
627   -.user_data_editing .data{float:left;font-size:13px; width:262px;}
628   -
629   -.user_data_editing input[type="text"] {
630   - padding:0;
631   - margin:0;
632   - border:1px solid #d2d2d2;
633   - padding-top:7px;
634   - padding-bottom:7px;
635   - padding-left:10px;
636   - padding-right:10px;
637   - border-radius:4px;
638   - font-size:12px;
639   - margin-top:-10px;
640   - width: 240px;
641   -}
642   -
643   -.user_data_editing .add {color:#799920; text-decoration:none;border-bottom:1px dotted #799920;}
644   -.add_more{padding-bottom:24px; padding-left:170px;}
645   -
646   -.delete{float:right;}
647   -.delete_button{background: url('../img/ico_close.png') right no-repeat; width:16px;height:16px;float:right;}
648   -
649   -.content_area{width:450px;}
650   -
651   -/*.bottom3{border-top:3px solid #95ba2f !important;border-bottom:3px solid #799920 !important; float:left;font-size:15px;}*/
652   -/*.bottom3:hover{border-top:3px solid #f75d50 !important;border-bottom:3px solid #c33327 !important;}*/
653   -#cancel{text-decoration:none;color:#799920;font-size:13px;border-bottom:1px dotted #799920;float:left;margin-left:40px;}
654   -
655   -.buttons{
656   - display: inline-flex;
657   - align-items: center;}
658   -
659   -/* part three */
660   -
661   -.favorites{background-color:#f5f5f5; padding:5px;font-size:14px;}
662   -.favorites .fav_point{background-color:#ffffff;border:1px solid #d2d2d2;border-radius:3px;padding-top:10px;padding-bottom:10px;padding-left:20px;padding-right:20px; margin-top:5px;}
663   -.favorites .fav_point .left{float:left; padding-right:0; width:178px;}
664   -.favorites .fav_point .right{float:right; padding-right:0; padding-left:0;}
665   -
666   -.favorites .link{color:#799920; text-decoration:none;border-bottom:1px dotted #799920;}
667   -
668   -.redtext{color:#f75d50;}
669   -.greentext{color:#95ba2f;}
670   -
671   -/* part three one */
672   -.hold .orders_view{display:none !important;}
673   -.orders_view{width:680px;margin-top:13px;padding-top:13px;padding-bottom:5px;border-top:1px solid #d2d2d2;display:block;}
674   -.orders_view .order{float:left;width:225px;text-align:center;}
675   -.orders_view .order .order_price{color:#f75d50;font-weight:bold;font-size:15px;}
676   -.orders_view .order .order_price span{font-size:24px;}
677   -.orders_view .order img{padding-bottom:22px;}
678   -.orders_view .order .note{font-size:13px;}
679   -.orders_view .order .note span{color:#f75d50;}
680   -
681   -.basket_hovered{
682   - position:absolute;
683   - border:1px solid #d2d2d2;border-radius:5px;padding:15px 20px;
684   - background-color:white;
685   - right:-1px;
686   - margin-top:10px;
687   - width:640px;
688   - display:none;
689   - z-index:1111;
690   -}
691   -
692   -
693   -.open .basket_hovered{
694   - display:block;
695   -}
696   -
697   -.open, .open .basket_hovered {
698   - -moz-box-shadow: 0px 0px 5px rgba(149,149,149,0.75);
699   - -webkit-box-shadow: 0px 0px 5px rgba(149,149,149,0.75);
700   - box-shadow: 0px 0px 5px rgba(149,149,149,0.75);
701   -}
702   -.basket_hovered1:before{
703   - position:absolute;
704   - left:0;
705   - content:' ';
706   - width:100%;
707   - background-color:white;
708   - height:10px;
709   - top:45px;
710   - z-index:1112;
711   -}
712   -
713   -.basket_item input{
714   - border: 1px solid #d2d2d2;
715   - border-radius: 4px;
716   - padding:9px;
717   - width:26px;
718   - font-size:18px;
719   - font-weight:bold;
720   - text-align:center;
721   - background-color:white;
722   - color: black;
723   - margin:7px;
724   -}
725   -input[type=number]::-webkit-inner-spin-button,
726   -input[type=number]::-webkit-outer-spin-button {-webkit-appearance: none;
727   - margin:0;}
728   -
729   -
730   -.minus{background:url('../img/minus.png') no-repeat;width:15px;height:15px;display:inline-block;cursor:pointer;}
731   -.plus{background:url('../img/plus.png') no-repeat;width:15px;height:15px;display:inline-block;cursor:pointer;}
732   -
733   -.basket_sum{padding-top:15px;}
734   -
735   -.basket_sum .sum_text{font-size:15px; text-transform:none;padding-top:12px;float: right !important;padding-top: 1px;margin-bottom: 11px;}
736   -.basket_sum .sum_text span{font-size:18px; color:#f75d50; font-weight:bold;}
737   -.basket_sum a{color:white !important; font-size:15px !important; float:right;}
738   -
739   -
740   -.black{z-index:9999; width:100%;height:100%;position:absolute;display:block;padding-top:6%;}
741   -.black:before {
742   - content: '';
743   - background-color: rgba(0,0,0,0.5);
744   - width: 100%;
745   - height: 100%;
746   - position: fixed;
747   - top: 0;
748   -}
749   -.black.hidden{display:none;}
750   -.black .item_added_win{background-color:#ffffff;width:640px; margin:auto;position:relative;}
751   -
752   -.black_close{position:absolute; top:30px;right:30px;background:url('../img/ico_close2.png') no-repeat;width:22px;height:22px;display:inline-block;cursor:pointer;}
753   -
754   -.block_content{padding-left:20px;padding-right:20px;}
755   -.item_added_win h2{text-transform:uppercase;text-align:center;padding:30px;}
756   -
757   -.block_content .item{padding-top:20px;padding-bottom:20px;border-bottom:1px solid #d2d2d2;}
758   -
759   -.uppercase{text-transform:uppercase;}
760   -
761   -.w230{width:230px;}
762   -.w260{width:260px;}
763   -.w430{width:430px;}
764   -.borderbottom{border-bottom:1px solid #d2d2d2;}
765   -.left_block .begin{text-transform:uppercase;font-size: 13px;font-weight:bold; padding-bottom:15px;}
766   -
767   -.color_variants .variant{
768   - text-align:center;
769   - border:1px solid #d2d2d2;
770   - float:left;
771   - margin-right:5px;
772   - margin-bottom:5px;
773   -}
774   -.variant:hover{cursor:pointer;}
775   -.color_variants{margin-top:14px;margin-bottom:-5px;}
776   -.color_variants .variant.active{width:44px;height:44px;border:2px solid #95ba2f;}
777   -.color_variants .variant.active a{width:44px;height:44px;}
778   -
779   -.tobasket{margin-top:20px;margin-bottom:20px;}
780   -.tobasket:hover{color:white;}
781   -
782   -.variant{width:46px;height:46px;}
783   -.variant.active{width:44px;height:44px;}
784   -
785   -.layout{margin-top:15px;}
786   -.left_block{float:left;}
787   -.right_block{float:right;}
788   -.center_block{float:left;margin-left:23px;}
789   -
790   -.left_block .links{margin-top:25px;}
791   -
792   -.left_block .links li{list-style: none; padding-left:25px;display:inline-block;cursor:pointer;height:20px;}
793   -.left_block .links ul{margin:0;padding:0;}
794   -.left_block .links a{font-size:13.5px;text-decoration:none; color:#8ba73e;}
795   -
796   -
797   -.links .add_bookmarks{background:url('../img/ico_add_bookmark.png') no-repeat center left; }
798   -.links .what_price{background:url('../img/ico_price.png') no-repeat center left; }
799   -.links .add_compare{background:url('../img/ico_scales.png') no-repeat center left; }
800   -
801   -.spoiler_one{padding-top:15px;padding-bottom:15px;border-bottom:1px solid #d2d2d2;}
802   -.spoiler_one .spoiler_content{margin-top:15px;font-size:13px;}
803   -.spoiler_one .spoiler_content.hidden{display:none;}
804   -
805   -.title_spoiler:hover {cursor: pointer}
806   -
807   -.title_spoiler{
808   - background:url('../img/ico_open.png') no-repeat center left;
809   - padding-left: 17px;
810   - font-size:13px;
811   - text-transform:uppercase;
812   - color:#333333;
813   - font-weight:bold;
814   - text-decoration:none;
815   -}
816   -.title_spoiler.closed{
817   - background:url('../img/ico_close3.png') no-repeat center left;
818   -}
819   -
820   -.features{
821   - list-style:none;
822   - padding:0;
823   - margin:0;
824   - font-size:13px;
825   -}
826   -.features a{
827   - font-size:13px;
828   - text-decoration:none;
829   - border-bottom:1px dotted #8ba73e;
830   - color:#8ba73e;
831   -}
832   -.features li{
833   - padding-top:5px;
834   - padding-bottom:4px;
835   -}
836   -
837   -.note_prod{
838   - width:225px;
839   - height:23px;
840   - overflow:hidden;
841   - border-radius:5px;
842   - display:table;
843   - text-transform:uppercase;
844   - font-size:11px;
845   - font-weight:bold;
846   -}
847   -
848   -.note_prod .one{
849   - z-index:999;
850   -}
851   -.note_prod .two{
852   - z-index:998;
853   -}
854   -
855   -.note_prod .blue{
856   - float:left;
857   - padding-top:5px;
858   - padding-bottom:5px;
859   - background-color:#42b9f6;
860   - padding-left:10px;
861   - padding-right:5px;
862   - position:relative;
863   -}
864   -
865   -.note_prod .blue:after{
866   - content:'';
867   - width: 0;
868   - height: 0;
869   - border-top: 13px solid transparent;
870   - border-left: 5px solid #42b9f6;
871   - border-bottom: 13px solid transparent;
872   - position:absolute;
873   - top:-1px;
874   - margin-left:5px;
875   -}
876   -.note_prod .red{
877   - float:left;
878   - padding-top:5px;
879   - padding-bottom:5px;
880   - background-color:#f75d50;
881   - padding-left:10px;
882   - padding-right:5px;
883   - position:relative;
884   - color:#ffffff;
885   -}
886   -.note_prod .red:after{
887   - content:'';
888   - width: 0;
889   - height: 0;
890   - border-top: 13px solid transparent;
891   - border-left: 5px solid #f75d50;
892   - border-bottom: 13px solid transparent;
893   - position:absolute;
894   - top:-1px;
895   - margin-left:5px;
896   -}
897   -.note_prod .yellow{
898   - float:left;
899   - padding-top:5px;
900   - padding-bottom:5px;
901   - background-color:#fbc665;
902   - padding-left:10px;
903   - padding-right:5px;
904   - position:relative;
905   -}
906   -.note_prod .yellow:after{
907   - content:'';
908   - width: 0;
909   - height: 0;
910   - border-top: 13px solid transparent;
911   - border-left: 5px solid #fbc665;
912   - border-bottom: 13px solid transparent;
913   - position:absolute;
914   - top:-1px;
915   - margin-left:5px;
916   -}
917   -
918   -
919   -.products_block .product{float:left; width:190px; vertical-align:bottom;}
920   -.product .image{height:225px;position:relative;}
921   -.product .image img{position:absolute;bottom:0;left:15px;}
922   -
923   -.price{
924   - font-size: 18px;
925   - color: #f75d50;
926   - font-weight: bold;
927   - text-align:center;}
928   -
929   -.product{padding-bottom:30px;position:relative;}
930   -.product p{font-size:15px; text-align:center; margin-top:15px;}
931   -.left52{margin-left:52px;}
932   -.product a{color:#ffffff;}
933   -.mrg1{margin-top: 25px; margin-bottom: 15px;}
934   -
935   -.products_martopbot{margin-top:60px;margin-bottom:100px;}
936   -
937   -.cont_shop_but{display:table-cell;vertical-align:middle;padding:35px;}
938   -.cont_shop{text-decoration:none;font-size:12px;border-bottom:1px dotted #799920;color:#799920;}
939   -
940   -.icons{
941   - width:45px;
942   - height:50%;
943   - position:absolute;
944   - z-index:9;
945   - right:0;
946   - padding-top:25px;
947   - padding-right:15px;
948   -}
949   -.icons a{
950   - width:44px;
951   - height:44px;
952   - float: left;
953   - border: 1px solid #d2d2d2;
954   - margin-bottom: 5px;
955   - background-color: white;
956   -}
957   -a:hover{cursor:pointer;}
958   -
959   -
960   -.basket_item .form-group{display:inline;}
961   -
962   -.basket.open:after{
963   - content: '';
964   - position: absolute;
965   - top: 43px;
966   - width: 100%;
967   - height: 10px;
968   - background-color: white;
969   - left: 0;
970   - z-index: 9990;
971   -}
972   -
973   -.basket_hovered .basket_sum{float:left;}
974   -
975   -a.active{font-weight:bold;text-decoration: underline;}
976   -
977   -/*
978   - ==== BANNER ====
979   -*/
980   -
981   -.HOME_RIGHT {
982   - display: inline-block;
983   - vertical-align: top;
984   - margin-left: 10px;
985   - position: absolute;
986   -}
987   -
988   -#HOME_UNDER_SLIDER > div {
989   - display: inline-block;
990   - margin-right: 3px;
991   - margin-top: 3px;
992   -}
993   -
994   -.sort_block {
995   - display: inline-block;
996   -}
997   -.sort_block ul {
998   - display: inline-block;
999   - margin: 0;
1000   - padding: 0;
1001   -}
1002   -.sort_block ul li {
1003   - display: inline-block;
1004   - margin: 0 0.5em;
1005   - list-style: none;
1006   -}
1007   -.sort_block ul li a.asc:after, .sort_block ul li a.desc:after {
1008   - display: block;
1009   - width: 5px;
1010   - height: 3px;
1011   - position: absolute;
1012   - top: 50%;
1013   - margin-top: -1px;
1014   - right: -10px;
1015   - content: '';
1016   - background: url("../img/arrow_sort_asc_desc.png") no-repeat;
1017   -}
1018   -.sort_block ul li a.asc:after {
1019   - background-position: 0 0;
1020   -}
1021   -.sort_block ul li a.desc:after {
1022   - background-position: 0 -3px;
1023   -}
1024   -/*************/
1025   -.home_banner_up {margin-top: 20px;}
1026   -.home_banner_up .HOME_RIGHT {
1027   - display: block;
1028   - float: right;
1029   - position: static;
1030   - margin-left: 0;
1031   -}
1032   -#HOME_SLIDER .jssorb03 div, #HOME_SLIDER .jssorb03 div:hover, #HOME_SLIDER .jssorb03 .av {
1033   - width: 6px;
1034   - height: 6px;
1035   - border-radius: 50%;
1036   - line-height: 6px;
1037   - background: #fff;
1038   - border: 2px solid #fff;
1039   - box-shadow: 0px 0px 5px 0px rgba(54, 54, 54, 0.75);
1040   -}
1041   -
1042   -#HOME_SLIDER .jssorb03 div.av:hover, #HOME_SLIDER .jssorb03 div.av:active, #HOME_SLIDER .jssorb03 .av {
1043   - cursor: default;
1044   - background: #95BA2F;
1045   -}
1046   -.special-products {
1047   - padding-top: 30px;
1048   -}
1049   -.special-products .link_buy {
1050   - margin-bottom: 0;
1051   -}
1052   -.special-products .item {
1053   - margin-bottom: 0 !important;
1054   - text-align: center;
1055   -}
1056   -.why_me_ {padding-top: 30px; overflow: hidden; margin-bottom: 60px;}
1057   -.why_me_ .why_list {width: 1038px; margin-left: -58px}
1058   -.seo_text {
1059   -
1060   -}
1061   -.seo_text p {
1062   - margin: 12px 0 0 0;
1063   - font-size: 13px !important;
1064   - color: #333 !important;
1065   - font-family: Roboto !important;
1066   -}
1067   -.seo_text p:first-child {margin-top: 0}
1068   -.product-special {position: absolute}
1069   -.jcarousel-skin-tango .jcarousel-item {
1070   - width: 38px;
1071   - height: 38px;
1072   - border: 1px solid #d2d2d2;
1073   - text-align: center;
1074   - background: #fff;
1075   -}
1076   -.jcarousel-skin-tango .jcarousel-item a {
1077   - display: table-cell;
1078   - width: 38px;
1079   - height: 38px;
1080   - vertical-align: middle;
1081   -}
1082   -.mycarousel img {
1083   - max-width: 38px;
1084   - max-height: 38px;
1085   - border: 0;
1086   - vertical-align: middle;
1087   -}
1088   -.jcarousel-skin-tango .jcarousel-clip-vertical, .jcarousel-skin-tango .jcarousel-container-vertical {
1089   - height: 175px;
1090   -}
1091   -.jcarousel-skin-tango .jcarousel-container-vertical {
1092   - padding: 0;
1093   -}
1094   -.jcarousel-skin-tango .jcarousel-prev-vertical {
1095   - top:-13px;
1096   -}
1097   -.jcarousel-skin-tango .jcarousel-next-vertical {
1098   - bottom: -13px;
1099   -}
1100   -.jcarousel-skin-tango .jcarousel-prev-vertical, .jcarousel-skin-tango .jcarousel-next-vertical {
1101   - left: 0;
1102   - width: 42px;
1103   - background-position: 14px 0;
1104   -}
1105   -.jcarousel-skin-tango .jcarousel-prev-vertical:hover, .jcarousel-skin-tango .jcarousel-next-vertical:hover {
1106   - background-position: 14px 0;
1107   - left: 0;
1108   -}
1109   -ul.product-special {
1110   - position: absolute;
1111   - top: 0;
1112   - left: 16px;
1113   -}
1114   -ul.product-special li {
1115   - width: 100%;
1116   - float: left;
1117   -}
1118   -ul.product-special li div {
1119   - color: #333;
1120   - font-size: 10px;
1121   - text-transform: uppercase;
1122   - font-weight: 700;
1123   - height: 22px;
1124   - line-height: 24px;
1125   - padding: 0 9px;
1126   - position: relative;
1127   - border-top-left-radius: 4px;
1128   - border-bottom-left-radius: 4px;
1129   - margin-top: 8px;
1130   - float: left;
1131   -}
1132   -ul.product-special li:first-child {margin-top: 0}
1133   -ul.product-special li.top div {
1134   - background: #fbc665;
1135   -}
1136   -ul.product-special li.top div:after {
1137   - content: '';
1138   - position: absolute;
1139   - right: -19px;
1140   - top: 3px;
1141   - border: 11px solid transparent;
1142   - border-top: 5px solid #fbc665;
1143   - transform: rotate(-90deg);
1144   -}
1145   -ul.product-special li.new div{
1146   - background: #42b9f6;
1147   -}
1148   -
1149   -ul.product-special li.new div:after {
1150   - content: '';
1151   - position: absolute;
1152   - right: -18px;
1153   - top: 2px;
1154   - border: 11px solid transparent;
1155   - border-top: 5px solid #42b9f6;
1156   - transform: rotate(-90deg);
1157   -}
1158   -ul.product-special li.promo div {
1159   - background: #f75d50;
1160   -}
1161   -ul.product-special li.promo div:after {
1162   - content: '';
1163   - position: absolute;
1164   - right: -18px;
1165   - top: 2px;
1166   - border: 11px solid transparent;
1167   - border-top: 5px solid #f75d50;
1168   - transform: rotate(-90deg);
1169   -}
1170   -.cost-block {
1171   - margin-top: 1px;
1172   -}
1173   -.products.pn a.link_buy {
1174   - margin-bottom: 0;
1175   -}
1176   -.products.pn {
1177   - padding-bottom: 0;
1178   -}
1179   -.products.pn>ul {
1180   - width: 100%;
1181   - float: left;
1182   - margin-bottom: -3px;
1183   -}
1184   -
1185   -._form_checkbox_reset, .sort_block ul li a, .sort_block {
1186   - font-size: 12px;
1187   -}
1188   -.filter_accept_bloc {margin-top: 13px; margin-bottom: 0;}
1189   -._form_checkbox_reset {
1190   - color: #6a6a6a;
1191   - display: block;
1192   - width: 128px;
1193   - height: 28px;
1194   - border: 1px solid #d2d2d2;
1195   - line-height: 28px;
1196   - text-align: center;
1197   - border-radius: 4px;
1198   - text-decoration: none;
1199   - margin: 0 auto;
1200   -}
1201   -._form_checkbox_reset:hover {
1202   - border: 1px solid #95ba2f;
1203   - color: #6a6a6a;
1204   -}
1205   -._form_checkbox_reset:active {
1206   - border: 1px solid #95ba2f;
1207   - background: #95ba2f;
1208   - color: #fff;
1209   -}
1210   -.sort_block ul li a {
1211   - color: #8fa951;
1212   - position: relative;
1213   -}
1214   -.sort_block ul li a:hover {
1215   - color: #333;
1216   -}
1217   -#HOME_SLIDER .jssora03l, #HOME_SLIDER .jssora03r {
1218   - width: 36px;
1219   - height: 340px;
1220   - background: url('../img/new_arrows_.png') no-repeat;
1221   -}
1222   -#HOME_SLIDER .jssora03l, #HOME_SLIDER .jssora03l:hover {
1223   - background-position: 0 50%;
1224   - left: 0;
1225   - top: 0;
1226   -}
1227   -#HOME_SLIDER .jssora03r, #HOME_SLIDER .jssora03r:hover {
1228   - background-position: -36px 50%;
1229   - right: 0;
1230   - top: 0;
1231   -}
1232   -.loyout ._prd_spec-wr {margin-top: 10px;}
1233   -.loyout .special-products:first-child {
1234   - border-top: 0;
1235   - padding-top: 0;
1236   -
1237   -}
1238   -.irs-slider {
1239   - width: 13px;
1240   - height: 13px;
1241   - top: 25px;
1242   - border-radius: 100%;
1243   - box-shadow: none;
1244   - border: 1px solid #d2d2d2;
1245   - background: #ffffff;
1246   - background: -moz-linear-gradient(top, #ffffff 0%, #ebebeb 100%);
1247   - background: -webkit-linear-gradient(top, #ffffff 0%,#ebebeb 100%);
1248   - background: linear-gradient(to bottom, #ffffff 0%,#ebebeb 100%);
1249   - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ebebeb',GradientType=0 );
1250   -}
1251   -.irs-slider.state_hover, .irs-slider:hover {
1252   - background: #ffffff;
1253   -}
1254   -.irs-slider:after {
1255   - display: none;
1256   -}
1257   -.irs-slider:before {
1258   - content: "";
1259   - position: absolute;
1260   - width: 5px;
1261   - height: 5px;
1262   - z-index: 2;
1263   - border: 1px solid #d2d2d2;
1264   - border-radius: 100%;
1265   - background: #799920;
1266   - top: 3px;
1267   - left: 3px;
1268   -}
1269   -.irs-bar {
1270   - height: 3px;
1271   - top: 30px;
1272   -}
1273   -.irs-line {
1274   - height: 9px;
1275   - background: #ebebeb;
1276   - border: 1px solid #d2d2d2;
1277   - top: 27px;
1278   -}
1279   -.irs-line:before {
1280   - width: 166px;
1281   - height: 5px;
1282   - position: absolute;
1283   - content: '';
1284   - top: 2px;
1285   - left: 2px;
1286   - background: #d2d2d2;
1287   - border-radius: 5px;
1288   -}
1289   -.irs-min, .irs-max {display: none;}
1290   -.irs {height: 49px;}
1291   -.price_filter.first_price_li {margin-top: 8px;}
1292   -.product_read_ .w{
1293   - width: 110px;
1294   - overflow: hidden;
1295   - margin: 0;
1296   - padding-top: 0;
1297   - display: table-cell;
1298   - vertical-align: middle;
1299   - height: 32px;
1300   - float: none;
1301   -}
1302   -.product_read_ .w strike, .product_read_ .w .cost {
1303   - width: 100%;
1304   - float: left;
1305   - /*line-height: 15px;*/
1306   -}
1307   -
1308   -.product_read_price .link_buy {
1309   - width: 118px;
1310   - position: absolute;
1311   - top: 50%;
1312   - right: 0;
1313   - margin: -16px 0 0 0;
1314   -}
1315   -.product_read_price { position: relative; min-height: 32px;margin-top: 10px;}
1316   -.special-products.products h3 {margin-bottom: 10px;}
1317   -.special-products.products li.item {
1318   - margin-top: 30px;
1319   -}
1320   -.productLeftBar .cost_box {
1321   - border-top: 0;
1322   - padding: 10px 0 0 0;
1323   -}
1324   -.productLeftBar .product_mod {
1325   - width: 100%;
1326   - float: left;
1327   - border-bottom: 1px solid #d2d2d2;
1328   - padding-bottom: 15px;
1329   -}
1330   -#login-form .btn-primary {
1331   -}
1332   -.field-orders-delivery .control-label, .field-orders-payment .control-label, .field-orders-body .control-label, .textareagroup .control-label {
1333   - width: 100%;
1334   - float: left;
1335   -}
1336   -.basket_title_ {
1337   - text-align: center;
1338   -}
1339   -.cont_shopping-wr {
1340   - width: 100%;
1341   - float: left;
1342   - margin-top: 10px;
1343   -}
1344   -.cont_shopping-wr .cont_shopping {
1345   - float: right;
1346   -}
1347   -.cont_shopping {
1348   - display: block !important;
1349   - border-top: 0!important;
1350   - border-left: 0!important;
1351   - border-right: 0!important;
1352   - border-bottom: 1px dashed #799920!important;
1353   - color: #799920!important;
1354   - margin: 0!important;
1355   - padding: 0!important;
1356   - font-size: 12px!important;
1357   - float: left;
1358   - border-radius: 0 !important;
1359   -}
1360   -.info.product-thumb-video {
1361   - width: 100%;
1362   - height: 100%;
1363   -}
1364   -.info.product-thumb-video iframe, .info.product-thumb-video embed {
1365   - width: 100% !important;
1366   - height: auto !important;
1367   -}
1368   -.input-blocks-wrapper, .input-blocks {
1369   - width: 100%;
1370   - float: left;
1371   -}
1372   -.form-order .input-blocks-wrapper {
1373   - margin-top: 6px;
1374   -}
1375   -.input-blocks label {
1376   - font-size: 13px;
1377   - color: #333;
1378   -}
1379   -.basket_input_2 label {
1380   - height: 30px;
1381   - line-height: 30px;
1382   - float: left;
1383   - width: 70px !important;
1384   - padding-top: 0 !important;
1385   -}
1386   -
1387   -.custom-input-2 {
1388   - width: 100%;
1389   - height: 30px;
1390   - box-sizing: border-box;
1391   - outline: none;
1392   - line-height: 30px;
1393   - padding-left: 8px;
1394   - margin-top: 5px;
1395   - background: #fff;
1396   - border-radius: 4px;
1397   -}
1398   -.custom-input-2, .custom-area-2, .textareagroup textarea {
1399   - border: 1px solid #d2d2d2;
1400   - box-sizing: border-box;
1401   - font-size: 13px;
1402   - color: #636363;
1403   -}
1404   -.custom-area-2, .textareagroup textarea {
1405   - min-height: 128px;
1406   - max-height: 128px;
1407   - resize: none;
1408   - width: 100%;
1409   - max-width: 100%;
1410   - outline: none;
1411   - padding-left: 8px;
1412   - padding-top: 8px;
1413   - margin-top: 8px;
1414   -}
1415   -.basket_input_2 .custom-input-2 {
1416   - width: 270px;
1417   - float: right;
1418   - margin-top: 0;
1419   -}
1420   -.custom-input-2:focus, .custom-area-3:focus, .textareagroup textarea:focus {box-shadow: 1px 2px 2px 0px rgba(215, 215, 215, 0.75) inset; transition: 0.1s}
1421   -.textareagroup textarea:focus{border: 1px solid #d2d2d2;}
1422   -.title_groups, .radio_grp label.control-label, .textareagroup .control-label {
1423   - font-size: 12px;
1424   - font-weight: bold;
1425   - text-transform: uppercase;
1426   - margin-bottom: 12px;
1427   -}
1428   -.input-blocks-group {
1429   - width: 100%;
1430   - float: left;
1431   - border-bottom: 1px solid #d2d2d2;
1432   - padding-bottom: 20px;
1433   - margin-top: 18px;
1434   -}
1435   -.custom-form-buttons {
1436   - width: 100%;
1437   - float: left;
1438   -}
1439   -input.custom-radio + label, input.custom-check + label {
1440   - font-size: 13px;
1441   - cursor: pointer;
1442   - margin-left: 6px;
1443   -}
1444   -/***radio***/
1445   -input.custom-radio, input.custom-check {display: none}
1446   -input.custom-radio + label span{
1447   - width: 16px;
1448   - height: 16px;
1449   - background: url('../img/radio_new.png') no-repeat;
1450   - float: left;
1451   - transition: .2s;
1452   - margin-top: 1px;
1453   -}
1454   -input.custom-radio:checked + label span, input.custom-radio:checked + label:hover span {
1455   - background: url('../img/radio_new-active.png') no-repeat;
1456   -}
1457   -
1458   -input.custom-radio + label:hover {
1459   - text-decoration: underline;
1460   -}
1461   -.custom-form-buttons {
1462   - margin-top: 7px;
1463   -}
1464   -.custom-form-buttons:first-child {margin-top: 0}
1465   -.delivery-data .field-order-delivery-childs .control-label {display: none;}
1466   -.checkout_basket {
1467   - width: 100%;
1468   - float: left;
1469   -}
1470   -.checkout_basket button {
1471   - margin: 0 auto;
1472   -}
1473   -.input-blocks-wrapper .help-block {
1474   - padding-left: 71px;
1475   - padding-top: 4px;
1476   - width: 100%;
1477   - float: left;
1478   - box-sizing: border-box;
1479   - margin-bottom: 0;
1480   -}
1481   -.cont_shop_but-wr {
1482   - height: 33px;
1483   - margin-top: 35px;
1484   - padding-bottom: 29px;
1485   -}
1486   -.cont_shop_but-wr .cont_shop {
1487   - margin-top: 8px;
1488   - float: left;
1489   -}
1490   -.cont_shop_but-wr .submit4.bottom3 {float: right;}
1491   -._qqq_ .params {font-size: 12px;}
1492   -.activeShow {border-bottom: 0 !important;}
1493   -.delivery-data:after {
1494   - width: 100%;
1495   - border-bottom: 1px solid #d2d2d2;
1496   - position: absolute;
1497   - content: '';
1498   - bottom: -27px;
1499   - left: 0;
1500   -}
1501   -.img_ajax_basket img {
1502   - margin-right: 0!important;
1503   - max-width: 90px;
1504   - max-height: 90px;
1505   - vertical-align: middle;
1506   -}
1507   -.jcarousel-skin-tango>li{display: none;}
1508   -#login-form {
1509   - margin: 50px auto 0 auto;
1510   -}
1511   -.wrapper_all {}
1512   -#bg {
1513   - top: 0 !important;
1514   - z-index: 1 !important;
1515   -}
1516   -.top, .wrap, .bottom, .fotter {
1517   - position: relative;
1518   - z-index: 2;
1519   -}
1520   -.owl-pagination {display: none;}
1521   -.owl-controls .owl-buttons div {
1522   - width: 34px !important;
1523   - height: 50px !important;
1524   - background: #596065 !important;
1525   - top:50% !important;
1526   - margin: -25px 0 0 0 !important;
1527   - opacity: 1 !important;
1528   - border-radius: 0 !important;
1529   - padding: 0!important;
1530   - position: absolute;
1531   -}
1532   -.owl-controls .owl-buttons div:hover {
1533   - background: #acafb2 !important;
1534   - transition: 0.2s!important;
1535   -}
1536   -.owl-controls .owl-buttons .owl-prev {
1537   - border-top-right-radius: 4px !important;
1538   - border-bottom-right-radius: 4px !important;
1539   - left: -20px;
1540   -
1541   -}
1542   -.owl-controls .owl-buttons .owl-next {
1543   - border-top-left-radius: 4px !important;
1544   - border-bottom-left-radius: 4px !important;
1545   - right: -20px;
1546   -
1547   -}
1548   -.owl-controls .owl-buttons div:before {
1549   - position: absolute;
1550   - content: '';
1551   - width: 8px;
1552   - height: 22px;
1553   - background: url("../img/arrows_blocks.png") no-repeat;
1554   - top:50%;
1555   - margin-top: -11px;
1556   - left: 50%;
1557   - margin-left: -4px;
1558   -}
1559   -.owl-controls .owl-buttons .owl-prev:before {
1560   - background-position: 0 0;
1561   -}
1562   -.owl-controls .owl-buttons .owl-next:before {
1563   - background-position: -8px 0;
1564   -}
1565   -.basket_input_2.required .control-label {position: relative}
1566   -.basket_input_2.required .control-label:before {
1567   - position: absolute;
1568   - top: 0;
1569   - content: '*';
1570   - color: #D60000;
1571   - left: -11px;
1572   - padding-top: 2px;
1573   -}
1574   -
1575   -
1576   -.float-left{
1577   - float: left;
1578   -}
1579   -
1580   -.blog-show-img{
1581   - padding-right: 20px;
1582   -}
1583   -
1584   -.text_seo.hidden_seo{
1585   - height: 178px;
1586   - overflow: hidden;
1587   - position: relative;
1588   -
1589   -}
1590   -.text_seo.hidden_seo div {
1591   - height: 162px;
1592   - overflow: hidden;
1593   - position: relative;
1594   -}
1595   -.text_seo.hidden_seo a {
1596   - position: absolute;
1597   - bottom: 0;
1598   - right: 0;
1599   - font-size: 16px;
1600   -}
1601   -.text_seo.hidden_seo div:before {
1602   - content: '';
1603   - display: block;
1604   - position: absolute;
1605   - bottom: 0;
1606   - right: 0;
1607   - left: 0;
1608   - height: 120px;
1609   - background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #fff 100%);
1610   - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, #fff));
1611   - background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #fff 100%);
1612   - background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #fff 100%);
1613   - background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #fff 100%);
1614   - background: linear-gradient(top, rgba(255, 255, 255, 0) 0%, #fff 100%);
1615   -}
1616   -.special-products{border-bottom:1px solid #d2d2d2}a.link_buy,.checkout_basket button,.submit4{font-size:15px}.cost,.product_read_price #cost{font-size:20px}.cost span,.cost span.valute,.product_read_price .valute{font-size:15px}
1617   -.comment_display_block {
1618   - height: 35px;
1619   -}
1620   -.basket{margin-top:34px!important}
1621   -.header-time{float:right;margin-right:25px}
1622   -.header-time table{border:0;padding:0;outline:none;height:129px}
1623   -.header-time table td{font-size:14px;line-height:14px}
1624   -.header-time table td span{font-size:16px}
1625   -.header-time table table{height:auto}
1626   -.header-time.footer_time {width: 100%;float: left;margin-top: 68px;}
1627   -.header-time.footer_time table td{vertical-align: top}
1628   -.footer-mail {color: #99a5ad; text-decoration: underline;}
1629   -.footer-mail:hover {color: #fff;}
1630   -.labels_block .labels_item {
1631   - display: inline-block;
1632   - width: 49%;
1633   -}
1634   -
1635   -.article_comment_description {
1636   - margin: -10px 0 10px 0;
1637   -}
1638   -.article_list_comment {
1639   - height: auto;
1640   - margin: 10px 0 10px 0;
1641   -}
1642 0 \ No newline at end of file