Commit d81e27bb23d358b76445ba8377fa3c78c3f90ed2
1 parent
7be1193e
big commti
Showing
2 changed files
with
31 additions
and
1 deletions
Show diff stats
console/migrations/m160920_193159_add_sale_percent_to_event.php
0 → 100644
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +use yii\db\Migration; | ||
| 4 | + | ||
| 5 | +class m160920_193159_add_sale_percent_to_event extends Migration | ||
| 6 | +{ | ||
| 7 | + public function up() | ||
| 8 | + { | ||
| 9 | + | ||
| 10 | + } | ||
| 11 | + | ||
| 12 | + public function down() | ||
| 13 | + { | ||
| 14 | + echo "m160920_193159_add_sale_percent_to_event cannot be reverted.\n"; | ||
| 15 | + | ||
| 16 | + return false; | ||
| 17 | + } | ||
| 18 | + | ||
| 19 | + /* | ||
| 20 | + // Use safeUp/safeDown to run migration code within a transaction | ||
| 21 | + public function safeUp() | ||
| 22 | + { | ||
| 23 | + } | ||
| 24 | + | ||
| 25 | + public function safeDown() | ||
| 26 | + { | ||
| 27 | + } | ||
| 28 | + */ | ||
| 29 | +} |
frontend/views/layouts/main.php
| @@ -84,7 +84,8 @@ use frontend\widgets\Seo; | @@ -84,7 +84,8 @@ use frontend\widgets\Seo; | ||
| 84 | <a href="#" class="new_cat_link">Распродажа</a> | 84 | <a href="#" class="new_cat_link">Распродажа</a> |
| 85 | <div> | 85 | <div> |
| 86 | <ul> | 86 | <ul> |
| 87 | - <li><a href="#">Скидка -50%</a></li> | 87 | + siemens |
| 88 | + \ssssssssssssxssssыыыыыыыыыыыыыыыыыыыыыыыыыыыыыы<li><a href="#">Скидка -50%</a></li> | ||
| 88 | <li><a href="#">Скидка -60%</a></li> | 89 | <li><a href="#">Скидка -60%</a></li> |
| 89 | <li><a href="#">Скидка -30%</a></li> | 90 | <li><a href="#">Скидка -30%</a></li> |
| 90 | <li><a href="#">Скидка -40%</a></li> | 91 | <li><a href="#">Скидка -40%</a></li> |