@@ -24,7 +24,9 @@ |
||
| 24 | 24 | * DO NOT CHANGE |
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | -if (!defined('INSIDE')) die(); |
|
| 27 | +if (!defined('INSIDE')) { |
|
| 28 | + die(); |
|
| 29 | +} |
|
| 28 | 30 | |
| 29 | 31 | $a_lang_array = (array( |
| 30 | 32 | 'stat_header' => 'Статистика', |
@@ -24,7 +24,9 @@ |
||
| 24 | 24 | * DO NOT CHANGE |
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | -if (!defined('INSIDE')) die(); |
|
| 27 | +if (!defined('INSIDE')) { |
|
| 28 | + die(); |
|
| 29 | +} |
|
| 28 | 30 | |
| 29 | 31 | $a_lang_array = (array( |
| 30 | 32 | 'opt_account' => 'Профиль', |
@@ -24,7 +24,9 @@ |
||
| 24 | 24 | * DO NOT CHANGE |
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | -if (!defined('INSIDE')) die(); |
|
| 27 | +if (!defined('INSIDE')) { |
|
| 28 | + die(); |
|
| 29 | +} |
|
| 28 | 30 | |
| 29 | 31 | $a_lang_array = array( |
| 30 | 32 | 'wiki_title' => 'Новапедия', |
@@ -24,7 +24,9 @@ |
||
| 24 | 24 | * DO NOT CHANGE |
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | -if (!defined('INSIDE')) die(); |
|
| 27 | +if (!defined('INSIDE')) { |
|
| 28 | + die(); |
|
| 29 | +} |
|
| 28 | 30 | |
| 29 | 31 | $a_lang_array = (array( |
| 30 | 32 | 'Multiverse' => '<b>Сервер</b> Uni', |
@@ -23,7 +23,9 @@ |
||
| 23 | 23 | * DO NOT CHANGE |
| 24 | 24 | */ |
| 25 | 25 | |
| 26 | -if (!defined('INSIDE')) die(); |
|
| 26 | +if (!defined('INSIDE')) { |
|
| 27 | + die(); |
|
| 28 | +} |
|
| 27 | 29 | |
| 28 | 30 | $a_lang_array = (array( |
| 29 | 31 | 'art_use' => 'Использовать артефакт', |
@@ -24,7 +24,9 @@ |
||
| 24 | 24 | * DO NOT CHANGE |
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | -if (!defined('INSIDE')) die(); |
|
| 27 | +if (!defined('INSIDE')) { |
|
| 28 | + die(); |
|
| 29 | +} |
|
| 28 | 30 | |
| 29 | 31 | $a_lang_array = (array( |
| 30 | 32 | 'msg_page_header' => 'Личные сообщения', |
@@ -24,7 +24,9 @@ |
||
| 24 | 24 | * DO NOT CHANGE |
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | -if (!defined('INSIDE')) die(); |
|
| 27 | +if (!defined('INSIDE')) { |
|
| 28 | + die(); |
|
| 29 | +} |
|
| 28 | 30 | |
| 29 | 31 | $a_lang_array = (array( |
| 30 | 32 | 'eco_mrk_title' => 'Чёрный Рынок', |
@@ -24,7 +24,9 @@ |
||
| 24 | 24 | * DO NOT CHANGE |
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | -if (!defined('INSIDE')) die(); |
|
| 27 | +if (!defined('INSIDE')) { |
|
| 28 | + die(); |
|
| 29 | +} |
|
| 28 | 30 | |
| 29 | 31 | $a_lang_array = (array( |
| 30 | 32 | 'flt_page2_title' => 'Выбор задания', |
@@ -100,14 +100,12 @@ discard block |
||
| 100 | 100 | } |
| 101 | 101 | */ |
| 102 | 102 | // $ally = doquery("SELECT * FROM {{alliance}} WHERE `id` ='{$user['ally_id']}';", '', true); |
| 103 | -} |
|
| 104 | -elseif(sys_get_param_str('isSaveText')) |
|
| 103 | +} elseif(sys_get_param_str('isSaveText')) |
|
| 105 | 104 | { |
| 106 | 105 | $text = sys_get_param_str_both('text'); |
| 107 | 106 | doquery("UPDATE {{alliance}} SET `{$text_list[$allyTextID]['db_field']}`='{$text['safe']}' WHERE `id`='{$ally['id']}';"); |
| 108 | 107 | $ally[$text_list[$allyTextID]['db_field']] = $text['unsafe']; |
| 109 | -} |
|
| 110 | -elseif(sys_get_param_str('isTransfer') && $idNewLeader = sys_get_param_id('idNewLeader')) |
|
| 108 | +} elseif(sys_get_param_str('isTransfer') && $idNewLeader = sys_get_param_id('idNewLeader')) |
|
| 111 | 109 | { |
| 112 | 110 | if(!$isAllyOwner) |
| 113 | 111 | { |
@@ -124,8 +122,7 @@ discard block |
||
| 124 | 122 | sn_db_transaction_commit(); |
| 125 | 123 | sys_redirect('alliance.php'); |
| 126 | 124 | } |
| 127 | -} |
|
| 128 | -elseif(sys_get_param_str('isDisband') && sys_get_param_str('isConfirmDisband')) |
|
| 125 | +} elseif(sys_get_param_str('isDisband') && sys_get_param_str('isConfirmDisband')) |
|
| 129 | 126 | { |
| 130 | 127 | if(!$isAllyOwner) |
| 131 | 128 | { |