@@ -24,7 +24,7 @@ |
||
| 24 | 24 | $html = "<{$tag}"; |
| 25 | 25 | if ($attributes && is_array($attributes)) { |
| 26 | 26 | foreach ($attributes as $key => $value) { |
| 27 | - $html .=" {$key} = '"; |
|
| 27 | + $html .= " {$key} = '"; |
|
| 28 | 28 | if (!is_array($value)) { |
| 29 | 29 | $html .= addcslashes($value, "'"); |
| 30 | 30 | } else { |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | if (!empty($_SESSION['_INJI_MSG'])) { |
| 23 | 23 | foreach ($_SESSION['_INJI_MSG'] as $key => $msg) { |
| 24 | 24 | if ($msg['text'] == $text) { |
| 25 | - $msg['count'] ++; |
|
| 25 | + $msg['count']++; |
|
| 26 | 26 | return true; |
| 27 | 27 | } |
| 28 | 28 | } |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | static $forms = [ |
| 47 | 47 | 'manager' => [ |
| 48 | 48 | 'map' => [ |
| 49 | - ['name',], |
|
| 49 | + ['name', ], |
|
| 50 | 50 | ['price', 'currency_id'], |
| 51 | 51 | ['max_cart_price', 'icon_file_id'], |
| 52 | 52 | ['info'] |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | static $forms = [ |
| 40 | 40 | 'manager' => [ |
| 41 | 41 | 'map' => [ |
| 42 | - ['price', 'currency_id',], |
|
| 42 | + ['price', 'currency_id', ], |
|
| 43 | 43 | ['item_offer_price_type_id', 'item_offer_id'] |
| 44 | 44 | ] |
| 45 | 45 | ]]; |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | { |
| 15 | 15 | $args = func_get_args(); |
| 16 | 16 | $path = $this->module->getPath($args); |
| 17 | - if($path){ |
|
| 17 | + if ($path) { |
|
| 18 | 18 | $this->StaticLoader->giveFile($path); |
| 19 | 19 | } |
| 20 | 20 | } |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | return function($reward, $user) { |
| 4 | 4 | return [ |
| 5 | - 'date' => date('Y-m-d H:i:s',mktime(0, 0, 0, date('n'), date("j") + 1, date("Y"))), |
|
| 5 | + 'date' => date('Y-m-d H:i:s', mktime(0, 0, 0, date('n'), date("j") + 1, date("Y"))), |
|
| 6 | 6 | 'type' => 'burn' |
| 7 | 7 | ]; |
| 8 | 8 | }; |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | <div class="panel-heading">Пользователи</div> |
| 7 | 7 | <div class="panel-body"> |
| 8 | 8 | <p>Всего: <?= Users\User::getCount(); ?></p> |
| 9 | - <p>Новых сегодня: <?= Users\User::getCount(['where'=>['date_create',date('Y-m-d 00:00:00'),'>']]); ?></p>
|
|
| 9 | + <p>Новых сегодня: <?= Users\User::getCount(['where'=>['date_create', date('Y-m-d 00:00:00'), '>']]); ?></p>
|
|
| 10 | 10 | </div> |
| 11 | 11 | <div class="panel-footer"> |
| 12 | 12 | <a href ="/admin/users/User">Управление</a> |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | 'role_id' => ['type' => 'select', 'source' => 'relation', 'relation' => 'role'], |
| 38 | 38 | 'admin_text' => ['type' => 'html'], |
| 39 | 39 | 'activation' => ['type' => 'text'], |
| 40 | - 'blocked' => ['type' => 'bool',], |
|
| 40 | + 'blocked' => ['type' => 'bool', ], |
|
| 41 | 41 | 'date_last_active' => ['type' => 'dateTime'], |
| 42 | 42 | 'date_create' => ['type' => 'dateTime'] |
| 43 | 43 | ]; |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | ] |
| 101 | 101 | ], |
| 102 | 102 | 'map' => [ |
| 103 | - ['login', 'mail',], |
|
| 103 | + ['login', 'mail', ], |
|
| 104 | 104 | ['group_id', 'role_id'], |
| 105 | 105 | ['userSearch', 'blocked'], |
| 106 | 106 | ['pass'], |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | static $forms = [ |
| 46 | 46 | 'manager' => [ |
| 47 | 47 | 'map' => [ |
| 48 | - ['code', 'type',], |
|
| 48 | + ['code', 'type', ], |
|
| 49 | 49 | ['user_id'], |
| 50 | 50 | ['limit', 'count'], |
| 51 | 51 | ] |