Closing tags for PSR-12 have been removed

Unpredictable result
This commit is contained in:
Sergei Solovev 2024-03-11 00:54:27 +03:00
parent 35ac6f781e
commit 91c2b73c16
103 changed files with 0 additions and 118 deletions

View file

@ -48,4 +48,3 @@ include(ACP . 'distributor.php');
// Выхлоп
echo $html->arr['all'];
?>

View file

@ -65,4 +65,3 @@ if ($device == '!mobile')
// Выхлоп
echo $html->arr['all'];
?>

View file

@ -139,4 +139,3 @@ foreach ($aRoute as $route)
$html->set('main', isset($html->arr['main']) ? $html->arr['main'] : '', true);
$html->pack('all');
?>

View file

@ -35,4 +35,3 @@ $html->set('plugins', $sql->num());
$html->pack('menu');
include(SEC . 'addons/' . $section . '.php');
?>

View file

@ -37,4 +37,3 @@ $html->pack('menu');
$inc = $section != 'index' ? 'service' : 'index';
include(SEC . 'boost/' . $inc . '.php');
?>

View file

@ -55,4 +55,3 @@ if ($id) {
}
sys::outjs(array('e' => 'Не передан идентификатор заявки'), $nmc);
?>

View file

@ -34,4 +34,3 @@ $html->set('overdue', $sql->num());
$html->pack('menu');
include(SEC . 'control/' . $section . '.php');
?>

View file

@ -6,4 +6,3 @@ $info = '<i class="fa fa-globe"></i> Список вирт. хостингов';
$html->get('menu', 'sections/hosting');
$html->pack('menu');
?>

View file

@ -84,4 +84,3 @@ if ($html->arr['main'] == '') {
$mcache->set($mcache_name, $html->arr['main'], false, 10);
} else
$html->arr['main'] = str_replace('[cashback]', $html->arr['cashback'], $html->arr['main']);
?>

View file

@ -29,4 +29,3 @@ $html->set('jobs_app', $sql->num());
$html->pack('menu');
include(SEC . 'jobs/' . $section . '.php');
?>

View file

@ -24,4 +24,3 @@ foreach ($aSection as $noactive)
$html->pack('menu');
include(SEC . 'letter/' . $section . '.php');
?>

View file

@ -30,4 +30,3 @@ foreach ($aSection as $noactive)
$html->pack('menu');
include(SEC . 'logs/' . $section . '.php');
?>

View file

@ -28,4 +28,3 @@ $html->set('news', $sql->num());
$html->pack('menu');
include(SEC . 'news/' . $section . '.php');
?>

View file

@ -29,4 +29,3 @@ $html->set('active', $sql->num());
$html->pack('menu');
include(SEC . 'notice/' . $section . '.php');
?>

View file

@ -25,4 +25,3 @@ foreach ($aSection as $noactive)
$html->pack('menu');
include(SEC . 'pages/' . $section . '.php');
?>

View file

@ -33,4 +33,3 @@ $html->set('end', $sql->num());
$html->pack('menu');
include(SEC . 'promo/' . $section . '.php');
?>

View file

@ -74,4 +74,3 @@ $html->set('overdue', $sql->num());
$html->pack('menu');
include(SEC . 'servers/' . $section . '.php');
?>

View file

@ -52,4 +52,3 @@ if ($go) {
$html->get('index', 'sections/system');
$html->pack('main');
?>

View file

@ -30,4 +30,3 @@ $html->set('tarifs', $sql->num());
$html->pack('menu');
include(SEC . 'tarifs/' . $section . '.php');
?>

View file

@ -30,4 +30,3 @@ $html->set('units', $sql->num());
$html->pack('menu');
include(SEC . 'units/' . $section . '.php');
?>

View file

@ -41,4 +41,3 @@ $html->set('signup', $sql->num());
$html->pack('menu');
include(SEC . 'users/' . $section . '.php');
?>

View file

@ -59,4 +59,3 @@ $html->set('hosting', $sql->num());
$html->pack('menu');
include(SEC . 'web/' . $section . '.php');
?>

View file

@ -28,4 +28,3 @@ foreach ($aSection as $noactive)
$html->pack('menu');
include(SEC . 'wiki/' . $section . '.php');
?>

View file

@ -51,4 +51,3 @@ $aGname = array(
'mta' => 'GTA: MTA',
'samp' => 'GTA: SAMP'
);
?>

View file

@ -17,4 +17,3 @@ $aBoost = array(
)
)
);
?>

View file

@ -335,4 +335,3 @@ $cfg = array(
'cs2' => false
)
);
?>

View file

@ -198,4 +198,3 @@ $aOwnersI = array(
'copy' => 'Раздел "Копии"',
'graph' => 'Раздел "Графики"'
);
?>

View file

@ -206,4 +206,3 @@ if (isset($aEditslist)) {
}
}
}
?>

View file

@ -39,4 +39,3 @@ $aStyle = array(
'progress' => array('R' => 136, 'G' => 156, 'B' => 99, 'BoxBorderR' => 46, 'BoxBorderG' => 50, 'BoxBorderB' => 37)
),
);
?>

View file

@ -28,4 +28,3 @@ $header = array(
'keywords' => 'аренда игровых серверов, хостинг игровых серверов, игровой хостинг, дешевый хостинг игровых серверов, хостинг игровых серверов css, самый дешевый хостинг игровых серверов, качественный хостинг игровых серверов, бесплатный игровой хостинг'
)
);
?>

View file

@ -26,4 +26,3 @@ $aFindMap = array(
'35hp' => array('35hp')
)
);
?>

View file

@ -7,4 +7,3 @@ DEFINE('PASSWORD_DATABASE', 'SQLPASS'); // пароль mysql
DEFINE('NAME_DATABASE', 'enginegp');
DEFINE('CONNECT_DATABASE', 'localhost');
DEFINE('ERROR_DATABASE', FALSE);
?>

View file

@ -298,5 +298,3 @@ class params
'mc' => 'start.jar'
);
}
?>

View file

@ -50,4 +50,3 @@ $aScfg_form = array(
. '<option value="0">Интернет</option>'
. '<option value="1">Локальный</option></select>'
);
?>

View file

@ -101,4 +101,3 @@ $aScfg_form = array(
'mp_mapvoteratio' => '<input value="[mp_mapvoteratio]" name="config[\'mp_mapvoteratio\']">',
'mp_forcechasecam' => '<select name="config[\'mp_forcechasecam\']"><option value="0">Можно наблюдать за всеми с любого ракурса</option><option value="1">Можно наблюдать только за игроками своей команды</option><option value="2">Наблюдение будет доступно лишь с места вашей смерти. Тоесть, камеру нельзя будет двигать</option></select>'
);
?>

View file

@ -43,4 +43,3 @@ $aScfg_form = array(
'sv_hibernate_when_empty' => '<input value="[sv_hibernate_when_empty]" name="config[\'sv_hibernate_when_empty\']">',
'sv_setsteamaccount' => '<input value="[sv_setsteamaccount]" name="config[\'sv_setsteamaccount\']">'
);
?>

View file

@ -43,4 +43,3 @@ $aScfg_form = array(
'sv_hibernate_when_empty' => '<input value="[sv_hibernate_when_empty]" name="config[\'sv_hibernate_when_empty\']">',
'sv_setsteamaccount' => '<input value="[sv_setsteamaccount]" name="config[\'sv_setsteamaccount\']">'
);
?>

View file

@ -149,4 +149,3 @@ $aScfg_form = array(
'sv_maxcmdrate' => '<input value="[sv_maxcmdrate]" name="config[\'sv_maxcmdrate\']">'
);
?>

View file

@ -123,4 +123,3 @@ $aScfg_form = array(
'net_maxfilesize' => '<input value="[net_maxfilesize]" name="config[\'net_maxfilesize\']">',
'phys_timescale' => '<input value="[phys_timescale]" name="config[\'phys_timescale\']">'
);
?>

View file

@ -110,4 +110,3 @@ $aScfg_form = array(
. '<option value="3">3</option>'
. '<option value="4">4</option></select>'
);
?>

View file

@ -50,4 +50,3 @@ $aScfg_form = array(
. '<option value="0">Интернет</option>'
. '<option value="1">Локальный</option></select>'
);
?>

View file

@ -43,4 +43,3 @@ $text = array(
'ser_owner' => 'У вас нет доступа к данной операции.',
'ser_delete' => 'Удаление невозможно, сервер должен быть выключен.',
);
?>

View file

@ -28,4 +28,3 @@ $text = array(
'phone' => 'Для подтверждения номера, необходимо его указать.',
'code' => 'Указанный код неправильный.',
);
?>

View file

@ -20,4 +20,3 @@ $text = array(
'buy_plugin' => 'Покупка плагина: [plugin], списана сумма: [money] руб. (сервер: #[id])',
'ctrl_buy_plugin' => 'Покупка плагина: [plugin], списана сумма: [money] руб. (CTRL сервер: #[id])',
);
?>

View file

@ -63,4 +63,3 @@ $text = array(
. '<br>'
. 'С уважением, администрация [site].',
);
?>

View file

@ -6,4 +6,3 @@ $text = array(
'mcache' => 'Пожалуйста, дождитесь выполнения предыдущего запроса.',
'captcha' => 'Неправильно указан код проверки либо закончился срок его жизни.',
);
?>

View file

@ -17,4 +17,3 @@ $text = array(
'auth' => 'Вы уже авторизованы, обновите страницу.',
'noauth' => 'Необходимо авторизоваться.',
);
?>

View file

@ -11,4 +11,3 @@ $text = array(
'firewall' => 'Неверный формат адреса.',
'bans' => 'Неверный формат переданных данных.',
);
?>

View file

@ -11,4 +11,3 @@ $text = array(
'change_plan' => 'Изменение тарифного плана.',
'change_unit' => 'Изменение локации.',
);
?>

View file

@ -532,4 +532,3 @@ $aWebdbConf = array(
);
$aWebothPath = array();
?>

View file

@ -186,4 +186,3 @@ if ($auth) {
$html->unitall('all', 'admin', 0, 1);
$html->unitall('all', 'support', 0, 1);
}
?>

View file

@ -4,4 +4,3 @@ if (!DEFINED('EGP'))
http_response_code(404);
exit(file_get_contents(ROOT . '404.html'));
?>

View file

@ -7,4 +7,3 @@ $html->nav($title);
$html->get('agreement');
$html->pack('main');
?>

View file

@ -41,4 +41,3 @@ switch ($action) {
}
sys::outjs(array('e' => 'Метод не найден'));
?>

View file

@ -7,4 +7,3 @@ $html->nav($title);
$html->get('api');
$html->pack('main');
?>

View file

@ -71,4 +71,3 @@ switch ($url['action']) {
}
sys::outfile($tmp, $url['action'], $del);
?>

View file

@ -8,4 +8,3 @@ sys::noauth();
$title = 'Онлайн чат';
include(SEC . 'chat/chats.php');
?>

View file

@ -5,5 +5,3 @@ if (!DEFINED('EGP'))
$title = 'Проверка плагина';
include(SEC . 'check/index.php');
?>

View file

@ -8,4 +8,3 @@ $html->nav($title);
$html->get('contacts');
$html->pack('main');
?>

View file

@ -66,4 +66,3 @@ if ($id) {
$html->set('updates_control', $js);
$html->pack('main');
}
?>

View file

@ -85,4 +85,3 @@ $sql->query('UPDATE `users` set `balance`="' . $money . '" WHERE `id`="' . $user
$sql->query('INSERT INTO `logs` set `user`="' . $user['id'] . '", `text`="Пополнение баланса на сумму: ' . $sum . ' ' . $cfg['currency'] . '", `date`="' . $start_point . '", `type`="replenish", `money`="' . $sum . '"');
sys::out('YES');
?>

View file

@ -55,4 +55,3 @@ if (isset($url['type'])) {
header('Content-type: image/png');
exit(file_get_contents(TEMP . (md5($key . $style . $type)) . '.png'));
}
?>

View file

@ -30,4 +30,3 @@ if (!$sql->num()) {
include(SEC . 'help/' . $section . '.php');
}
?>

View file

@ -23,4 +23,3 @@ $html->get('index');
$html->set('news', isset($html->arr['news']) ? $html->arr['news'] : '');
$html->pack('main');
?>

View file

@ -75,4 +75,3 @@ else
$html->set('jobs', '');
$html->pack('main');
?>

View file

@ -3,4 +3,3 @@ if (!DEFINED('EGP'))
exit(header('Refresh: 0; URL=http://' . $_SERVER['HTTP_HOST'] . '/404'));
include(SEC . 'user/auth.php');
?>

View file

@ -26,4 +26,3 @@ if (!$sql->num()) {
include(SEC . 'help/' . $section . '.php');
}
?>

View file

@ -21,4 +21,3 @@ $html->set('balance', round($user['balance'], 2));
$html->set('cur', $cfg['currency']);
$html->set('logs', isset($html->arr['main']) ? $html->arr['main'] : '');
$html->pack('main');
?>

View file

@ -37,4 +37,3 @@ if ($id) {
$html->set('list', isset($html->arr['news']) ? $html->arr['news'] : '');
$html->pack('main');
}
?>

View file

@ -3,4 +3,3 @@ if (!DEFINED('EGP'))
exit(header('Refresh: 0; URL=http://' . $_SERVER['HTTP_HOST'] . '/404'));
include(SEC . 'user/quit.php');
?>

View file

@ -3,4 +3,3 @@ if (!DEFINED('EGP'))
exit(header('Refresh: 0; URL=http://' . $_SERVER['HTTP_HOST'] . '/404'));
include(SEC . 'user/recovery.php');
?>

View file

@ -26,4 +26,3 @@ $html->set('balance', round($user['balance'], 2));
$html->set('cur', $cfg['currency']);
$html->set('logs', isset($html->arr['logs']) ? $html->arr['logs'] : '');
$html->pack('main');
?>

View file

@ -69,4 +69,3 @@ if (in_array($section, array('action', 'scan', 'index', 'console', 'settings', '
$mcache->set('servers_' . $user['id'], $html->arr['main'], false, 4);
}
}
?>

View file

@ -12,4 +12,3 @@ else {
include(SEC . 'news/index.php');
}
?>

View file

@ -21,4 +21,3 @@ $html->get('page');
$html->set('content', file_get_contents(FILES . 'pages/' . $page['file']));
$html->pack('main');
?>

View file

@ -7,4 +7,3 @@ $html->nav($title);
$html->get('partners');
$html->pack('main');
?>

View file

@ -24,4 +24,3 @@ if ($sql->num())
sys::out('true');
sys::out('false');
?>

View file

@ -158,4 +158,3 @@ if (!isset($html->arr['main'])) {
$mcache->set('plugins_list_view_' . $url['game'], $html->arr['main'], false, 60);
}
}
?>

View file

@ -9,4 +9,3 @@ if ($url['response'] == 'success')
sys::out(file_get_contents(ROOT . 'success.html'));
else
sys::out(file_get_contents(ROOT . 'fail.html'));
?>

View file

@ -101,4 +101,3 @@ if (in_array($section, array('action', 'scan', 'index', 'console', 'settings', '
$mcache->set('servers_' . $user['id'], $html->arr['main'], false, 4);
}
}
?>

View file

@ -33,4 +33,3 @@ if (!in_array($section, array('cs', 'css', 'cssold', 'csgo', 'cs2', 'rust', 'mc
include(SEC . 'services/' . $section . '.php');
}
?>

View file

@ -123,4 +123,3 @@ switch ($_GET['method']) {
case 'error':
sys::outjs(array('result' => array('message' => 'Запрос успешно обработан')));
}
?>

View file

@ -114,4 +114,3 @@ switch ($_GET['method']) {
case 'error':
sys::outjs(array('result' => array('message' => 'Запрос успешно обработан')));
}
?>

View file

@ -23,4 +23,3 @@ else
$html->nav($title);
include(SEC . 'user/' . $section . '.php');
?>

View file

@ -91,4 +91,3 @@ $sql->query('UPDATE `users` set `balance`="' . $money . '" WHERE `id`="' . $user
$sql->query('INSERT INTO `logs` set `user`="' . $user['id'] . '", `text`="Пополнение баланса на сумму: ' . $sum . ' ' . $cfg['currency'] . '", `date`="' . $start_point . '", `type`="replenish", `money`="' . $sum . '"');
sys::out('success');
?>

View file

@ -8,4 +8,3 @@ if (in_array($section, array('answer', 'question', 'search', 'msearch')))
include(SEC . 'wiki/' . $section . '.php');
else
include(SEC . 'wiki/index.php');
?>

View file

@ -702,5 +702,3 @@ class sys
$logger->info($message, $context);
}
}
?>

View file

@ -92,5 +92,3 @@ class api
include(SEC . 'servers/' . $server['game'] . '/console.php');
}
}
?>

View file

@ -93,5 +93,3 @@ class privileges extends cron
return NULL;
}
}
?>

View file

@ -63,5 +63,3 @@ class threads extends cron
return NULL;
}
}
?>

View file

@ -492,5 +492,3 @@ class ftp
return $address;
}
}
?>

View file

@ -419,5 +419,3 @@ class SxGeo
);
}
}
?>

View file

@ -96,5 +96,3 @@ class help
return $titles[($number % 100 > 4 and $number % 100 < 20) ? 2 : $cases[min($number % 10, 5)]];
}
}
?>

View file

@ -160,4 +160,3 @@ class html
}
$html = new html;
?>

View file

@ -724,4 +724,3 @@ class megp
}
$megp = new megp;
?>

View file

@ -119,5 +119,3 @@ class smtp
return true;
}
}
?>

View file

@ -83,4 +83,3 @@ class mysql
}
$sql = new mysql;
?>

View file

@ -96,4 +96,3 @@ class ssh
}
$ssh = new ssh;
?>

View file

@ -1426,5 +1426,3 @@ class sys
$logger->info($message, $context);
}
}
?>

View file

@ -50,5 +50,3 @@ class users
return NULL;
}
}
?>

Some files were not shown because too many files have changed in this diff Show more