From 91c2b73c16c7f144d37daa86130002e3011b88d1 Mon Sep 17 00:00:00 2001 From: Sergei Solovev Date: Mon, 11 Mar 2024 00:54:27 +0300 Subject: [PATCH] Closing tags for PSR-12 have been removed Unpredictable result --- acp/index.php | 1 - index.php | 1 - system/acp/distributor.php | 1 - system/acp/engine/addons.php | 1 - system/acp/engine/boost.php | 1 - system/acp/engine/cashback.php | 1 - system/acp/engine/control.php | 1 - system/acp/engine/hosting.php | 1 - system/acp/engine/index.php | 1 - system/acp/engine/jobs.php | 1 - system/acp/engine/letter.php | 1 - system/acp/engine/logs.php | 1 - system/acp/engine/news.php | 1 - system/acp/engine/notice.php | 1 - system/acp/engine/pages.php | 1 - system/acp/engine/promo.php | 1 - system/acp/engine/servers.php | 1 - system/acp/engine/system.php | 1 - system/acp/engine/tarifs.php | 1 - system/acp/engine/units.php | 1 - system/acp/engine/users.php | 1 - system/acp/engine/web.php | 1 - system/acp/engine/wiki.php | 1 - system/data/acpengine.php | 1 - system/data/boost.php | 1 - system/data/config.php | 1 - system/data/engine.php | 1 - system/data/filedits.php | 1 - system/data/graph.php | 1 - system/data/header.php | 1 - system/data/maps.php | 1 - system/data/mysql.php | 1 - system/data/params.php | 2 -- system/data/scfg/crmp.php | 1 - system/data/scfg/cs.php | 1 - system/data/scfg/cs2.php | 1 - system/data/scfg/csgo.php | 1 - system/data/scfg/css.php | 1 - system/data/scfg/cssold.php | 1 - system/data/scfg/mc.php | 1 - system/data/scfg/samp.php | 1 - system/data/text/error.php | 1 - system/data/text/input.php | 1 - system/data/text/logs.php | 1 - system/data/text/mail.php | 1 - system/data/text/other.php | 1 - system/data/text/output.php | 1 - system/data/text/servers.php | 1 - system/data/text/syslogs.php | 1 - system/data/web.php | 1 - system/distributor.php | 1 - system/engine/404.php | 1 - system/engine/agreement.php | 1 - system/engine/api.php | 1 - system/engine/api_v1.php | 1 - system/engine/autocontrol.php | 1 - system/engine/chat.php | 1 - system/engine/check.php | 2 -- system/engine/contacts.php | 1 - system/engine/control.php | 1 - system/engine/freekassa.php | 1 - system/engine/graph.php | 1 - system/engine/help.php | 1 - system/engine/index.php | 1 - system/engine/jobs.php | 1 - system/engine/megp/auth.php | 1 - system/engine/megp/help.php | 1 - system/engine/megp/index.php | 1 - system/engine/megp/news.php | 1 - system/engine/megp/quit.php | 1 - system/engine/megp/recovery.php | 1 - system/engine/megp/replenish.php | 1 - system/engine/megp/servers.php | 1 - system/engine/news.php | 1 - system/engine/pages.php | 1 - system/engine/partners.php | 1 - system/engine/pluginbuy.php | 1 - system/engine/plugins.php | 1 - system/engine/replenish.php | 1 - system/engine/servers.php | 1 - system/engine/services.php | 1 - system/engine/unitpay.php | 1 - system/engine/unitpay_entity.php | 1 - system/engine/user.php | 1 - system/engine/webmoney.php | 1 - system/engine/wiki.php | 1 - system/library/acpsystem.php | 2 -- system/library/api.php | 2 -- system/library/cron/privileges.php | 2 -- system/library/cron/threads.php | 2 -- system/library/ftp.php | 2 -- system/library/geo.php | 2 -- system/library/help.php | 2 -- system/library/html.php | 1 - system/library/megp.php | 1 - system/library/smtp.php | 2 -- system/library/sql.php | 1 - system/library/ssh.php | 1 - system/library/system.php | 2 -- system/library/users.php | 2 -- system/library/web/free.php | 2 -- system/library/zip.php | 3 --- system/mdistributor.php | 1 - 103 files changed, 118 deletions(-) diff --git a/acp/index.php b/acp/index.php index a392850..72ea3ff 100644 --- a/acp/index.php +++ b/acp/index.php @@ -48,4 +48,3 @@ include(ACP . 'distributor.php'); // Выхлоп echo $html->arr['all']; -?> \ No newline at end of file diff --git a/index.php b/index.php index 155ba1d..7188ca9 100644 --- a/index.php +++ b/index.php @@ -65,4 +65,3 @@ if ($device == '!mobile') // Выхлоп echo $html->arr['all']; -?> \ No newline at end of file diff --git a/system/acp/distributor.php b/system/acp/distributor.php index a2b0d9f..8969ace 100644 --- a/system/acp/distributor.php +++ b/system/acp/distributor.php @@ -139,4 +139,3 @@ foreach ($aRoute as $route) $html->set('main', isset($html->arr['main']) ? $html->arr['main'] : '', true); $html->pack('all'); -?> \ No newline at end of file diff --git a/system/acp/engine/addons.php b/system/acp/engine/addons.php index 94af15e..3cba894 100644 --- a/system/acp/engine/addons.php +++ b/system/acp/engine/addons.php @@ -35,4 +35,3 @@ $html->set('plugins', $sql->num()); $html->pack('menu'); include(SEC . 'addons/' . $section . '.php'); -?> \ No newline at end of file diff --git a/system/acp/engine/boost.php b/system/acp/engine/boost.php index 7798834..d103ed3 100644 --- a/system/acp/engine/boost.php +++ b/system/acp/engine/boost.php @@ -37,4 +37,3 @@ $html->pack('menu'); $inc = $section != 'index' ? 'service' : 'index'; include(SEC . 'boost/' . $inc . '.php'); -?> \ No newline at end of file diff --git a/system/acp/engine/cashback.php b/system/acp/engine/cashback.php index bd7ad55..3ddc876 100644 --- a/system/acp/engine/cashback.php +++ b/system/acp/engine/cashback.php @@ -55,4 +55,3 @@ if ($id) { } sys::outjs(array('e' => 'Не передан идентификатор заявки'), $nmc); -?> \ No newline at end of file diff --git a/system/acp/engine/control.php b/system/acp/engine/control.php index 459e596..3a85d77 100644 --- a/system/acp/engine/control.php +++ b/system/acp/engine/control.php @@ -34,4 +34,3 @@ $html->set('overdue', $sql->num()); $html->pack('menu'); include(SEC . 'control/' . $section . '.php'); -?> \ No newline at end of file diff --git a/system/acp/engine/hosting.php b/system/acp/engine/hosting.php index 1d190ac..4b94132 100644 --- a/system/acp/engine/hosting.php +++ b/system/acp/engine/hosting.php @@ -6,4 +6,3 @@ $info = ' Список вирт. хостингов'; $html->get('menu', 'sections/hosting'); $html->pack('menu'); -?> \ No newline at end of file diff --git a/system/acp/engine/index.php b/system/acp/engine/index.php index 8cc9bc8..70f9c01 100644 --- a/system/acp/engine/index.php +++ b/system/acp/engine/index.php @@ -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']); -?> \ No newline at end of file diff --git a/system/acp/engine/jobs.php b/system/acp/engine/jobs.php index 7d40cde..c33be79 100644 --- a/system/acp/engine/jobs.php +++ b/system/acp/engine/jobs.php @@ -29,4 +29,3 @@ $html->set('jobs_app', $sql->num()); $html->pack('menu'); include(SEC . 'jobs/' . $section . '.php'); -?> \ No newline at end of file diff --git a/system/acp/engine/letter.php b/system/acp/engine/letter.php index 9440775..681888c 100644 --- a/system/acp/engine/letter.php +++ b/system/acp/engine/letter.php @@ -24,4 +24,3 @@ foreach ($aSection as $noactive) $html->pack('menu'); include(SEC . 'letter/' . $section . '.php'); -?> \ No newline at end of file diff --git a/system/acp/engine/logs.php b/system/acp/engine/logs.php index 7f08815..e470bb3 100644 --- a/system/acp/engine/logs.php +++ b/system/acp/engine/logs.php @@ -30,4 +30,3 @@ foreach ($aSection as $noactive) $html->pack('menu'); include(SEC . 'logs/' . $section . '.php'); -?> \ No newline at end of file diff --git a/system/acp/engine/news.php b/system/acp/engine/news.php index 3572f40..db3d5f4 100644 --- a/system/acp/engine/news.php +++ b/system/acp/engine/news.php @@ -28,4 +28,3 @@ $html->set('news', $sql->num()); $html->pack('menu'); include(SEC . 'news/' . $section . '.php'); -?> \ No newline at end of file diff --git a/system/acp/engine/notice.php b/system/acp/engine/notice.php index 79277a2..69f464c 100644 --- a/system/acp/engine/notice.php +++ b/system/acp/engine/notice.php @@ -29,4 +29,3 @@ $html->set('active', $sql->num()); $html->pack('menu'); include(SEC . 'notice/' . $section . '.php'); -?> \ No newline at end of file diff --git a/system/acp/engine/pages.php b/system/acp/engine/pages.php index 1630e0d..83889ce 100644 --- a/system/acp/engine/pages.php +++ b/system/acp/engine/pages.php @@ -25,4 +25,3 @@ foreach ($aSection as $noactive) $html->pack('menu'); include(SEC . 'pages/' . $section . '.php'); -?> \ No newline at end of file diff --git a/system/acp/engine/promo.php b/system/acp/engine/promo.php index 3dcdc26..cc25da1 100644 --- a/system/acp/engine/promo.php +++ b/system/acp/engine/promo.php @@ -33,4 +33,3 @@ $html->set('end', $sql->num()); $html->pack('menu'); include(SEC . 'promo/' . $section . '.php'); -?> \ No newline at end of file diff --git a/system/acp/engine/servers.php b/system/acp/engine/servers.php index 3d07774..bb6b451 100644 --- a/system/acp/engine/servers.php +++ b/system/acp/engine/servers.php @@ -74,4 +74,3 @@ $html->set('overdue', $sql->num()); $html->pack('menu'); include(SEC . 'servers/' . $section . '.php'); -?> \ No newline at end of file diff --git a/system/acp/engine/system.php b/system/acp/engine/system.php index 953d475..ca6c027 100644 --- a/system/acp/engine/system.php +++ b/system/acp/engine/system.php @@ -52,4 +52,3 @@ if ($go) { $html->get('index', 'sections/system'); $html->pack('main'); -?> \ No newline at end of file diff --git a/system/acp/engine/tarifs.php b/system/acp/engine/tarifs.php index 3bac8c0..4266370 100644 --- a/system/acp/engine/tarifs.php +++ b/system/acp/engine/tarifs.php @@ -30,4 +30,3 @@ $html->set('tarifs', $sql->num()); $html->pack('menu'); include(SEC . 'tarifs/' . $section . '.php'); -?> \ No newline at end of file diff --git a/system/acp/engine/units.php b/system/acp/engine/units.php index 2af8f96..507f30d 100644 --- a/system/acp/engine/units.php +++ b/system/acp/engine/units.php @@ -30,4 +30,3 @@ $html->set('units', $sql->num()); $html->pack('menu'); include(SEC . 'units/' . $section . '.php'); -?> \ No newline at end of file diff --git a/system/acp/engine/users.php b/system/acp/engine/users.php index 74db691..de2ebc8 100644 --- a/system/acp/engine/users.php +++ b/system/acp/engine/users.php @@ -41,4 +41,3 @@ $html->set('signup', $sql->num()); $html->pack('menu'); include(SEC . 'users/' . $section . '.php'); -?> \ No newline at end of file diff --git a/system/acp/engine/web.php b/system/acp/engine/web.php index a9941ca..42abcf3 100644 --- a/system/acp/engine/web.php +++ b/system/acp/engine/web.php @@ -59,4 +59,3 @@ $html->set('hosting', $sql->num()); $html->pack('menu'); include(SEC . 'web/' . $section . '.php'); -?> \ No newline at end of file diff --git a/system/acp/engine/wiki.php b/system/acp/engine/wiki.php index 1c92096..4884111 100644 --- a/system/acp/engine/wiki.php +++ b/system/acp/engine/wiki.php @@ -28,4 +28,3 @@ foreach ($aSection as $noactive) $html->pack('menu'); include(SEC . 'wiki/' . $section . '.php'); -?> \ No newline at end of file diff --git a/system/data/acpengine.php b/system/data/acpengine.php index 1daa590..b315406 100644 --- a/system/data/acpengine.php +++ b/system/data/acpengine.php @@ -51,4 +51,3 @@ $aGname = array( 'mta' => 'GTA: MTA', 'samp' => 'GTA: SAMP' ); -?> \ No newline at end of file diff --git a/system/data/boost.php b/system/data/boost.php index 48e2a3b..2e66060 100644 --- a/system/data/boost.php +++ b/system/data/boost.php @@ -17,4 +17,3 @@ $aBoost = array( ) ) ); -?> \ No newline at end of file diff --git a/system/data/config.php b/system/data/config.php index 281ad47..c350c98 100644 --- a/system/data/config.php +++ b/system/data/config.php @@ -335,4 +335,3 @@ $cfg = array( 'cs2' => false ) ); -?> \ No newline at end of file diff --git a/system/data/engine.php b/system/data/engine.php index 8b481cf..222a0a8 100644 --- a/system/data/engine.php +++ b/system/data/engine.php @@ -198,4 +198,3 @@ $aOwnersI = array( 'copy' => 'Раздел "Копии"', 'graph' => 'Раздел "Графики"' ); -?> \ No newline at end of file diff --git a/system/data/filedits.php b/system/data/filedits.php index 46f3c42..d367b88 100644 --- a/system/data/filedits.php +++ b/system/data/filedits.php @@ -206,4 +206,3 @@ if (isset($aEditslist)) { } } } -?> \ No newline at end of file diff --git a/system/data/graph.php b/system/data/graph.php index 3a7d4e3..282af27 100644 --- a/system/data/graph.php +++ b/system/data/graph.php @@ -39,4 +39,3 @@ $aStyle = array( 'progress' => array('R' => 136, 'G' => 156, 'B' => 99, 'BoxBorderR' => 46, 'BoxBorderG' => 50, 'BoxBorderB' => 37) ), ); -?> \ No newline at end of file diff --git a/system/data/header.php b/system/data/header.php index 361b15b..6ab49a0 100644 --- a/system/data/header.php +++ b/system/data/header.php @@ -28,4 +28,3 @@ $header = array( 'keywords' => 'аренда игровых серверов, хостинг игровых серверов, игровой хостинг, дешевый хостинг игровых серверов, хостинг игровых серверов css, самый дешевый хостинг игровых серверов, качественный хостинг игровых серверов, бесплатный игровой хостинг' ) ); -?> \ No newline at end of file diff --git a/system/data/maps.php b/system/data/maps.php index 4682cf6..6d4ec0a 100644 --- a/system/data/maps.php +++ b/system/data/maps.php @@ -26,4 +26,3 @@ $aFindMap = array( '35hp' => array('35hp') ) ); -?> \ No newline at end of file diff --git a/system/data/mysql.php b/system/data/mysql.php index c6e66d0..e1ec0ec 100644 --- a/system/data/mysql.php +++ b/system/data/mysql.php @@ -7,4 +7,3 @@ DEFINE('PASSWORD_DATABASE', 'SQLPASS'); // пароль mysql DEFINE('NAME_DATABASE', 'enginegp'); DEFINE('CONNECT_DATABASE', 'localhost'); DEFINE('ERROR_DATABASE', FALSE); -?> \ No newline at end of file diff --git a/system/data/params.php b/system/data/params.php index 51c6fa2..ffa6940 100644 --- a/system/data/params.php +++ b/system/data/params.php @@ -298,5 +298,3 @@ class params 'mc' => 'start.jar' ); } - -?> \ No newline at end of file diff --git a/system/data/scfg/crmp.php b/system/data/scfg/crmp.php index 6911554..8937192 100644 --- a/system/data/scfg/crmp.php +++ b/system/data/scfg/crmp.php @@ -50,4 +50,3 @@ $aScfg_form = array( . '' . '' ); -?> \ No newline at end of file diff --git a/system/data/scfg/cs.php b/system/data/scfg/cs.php index e01f7c4..ad6846c 100644 --- a/system/data/scfg/cs.php +++ b/system/data/scfg/cs.php @@ -101,4 +101,3 @@ $aScfg_form = array( 'mp_mapvoteratio' => '', 'mp_forcechasecam' => '' ); -?> \ No newline at end of file diff --git a/system/data/scfg/cs2.php b/system/data/scfg/cs2.php index fe2199c..04feeee 100644 --- a/system/data/scfg/cs2.php +++ b/system/data/scfg/cs2.php @@ -43,4 +43,3 @@ $aScfg_form = array( 'sv_hibernate_when_empty' => '', 'sv_setsteamaccount' => '' ); -?> \ No newline at end of file diff --git a/system/data/scfg/csgo.php b/system/data/scfg/csgo.php index fe2199c..04feeee 100644 --- a/system/data/scfg/csgo.php +++ b/system/data/scfg/csgo.php @@ -43,4 +43,3 @@ $aScfg_form = array( 'sv_hibernate_when_empty' => '', 'sv_setsteamaccount' => '' ); -?> \ No newline at end of file diff --git a/system/data/scfg/css.php b/system/data/scfg/css.php index 9c6ea6b..aa9a295 100644 --- a/system/data/scfg/css.php +++ b/system/data/scfg/css.php @@ -149,4 +149,3 @@ $aScfg_form = array( 'sv_maxcmdrate' => '' ); -?> \ No newline at end of file diff --git a/system/data/scfg/cssold.php b/system/data/scfg/cssold.php index b2cff0a..0c86c2f 100644 --- a/system/data/scfg/cssold.php +++ b/system/data/scfg/cssold.php @@ -123,4 +123,3 @@ $aScfg_form = array( 'net_maxfilesize' => '', 'phys_timescale' => '' ); -?> \ No newline at end of file diff --git a/system/data/scfg/mc.php b/system/data/scfg/mc.php index cb51bd6..2815b12 100644 --- a/system/data/scfg/mc.php +++ b/system/data/scfg/mc.php @@ -110,4 +110,3 @@ $aScfg_form = array( . '' . '' ); -?> \ No newline at end of file diff --git a/system/data/scfg/samp.php b/system/data/scfg/samp.php index 6911554..8937192 100644 --- a/system/data/scfg/samp.php +++ b/system/data/scfg/samp.php @@ -50,4 +50,3 @@ $aScfg_form = array( . '' . '' ); -?> \ No newline at end of file diff --git a/system/data/text/error.php b/system/data/text/error.php index 4414b42..5fe09ce 100644 --- a/system/data/text/error.php +++ b/system/data/text/error.php @@ -43,4 +43,3 @@ $text = array( 'ser_owner' => 'У вас нет доступа к данной операции.', 'ser_delete' => 'Удаление невозможно, сервер должен быть выключен.', ); -?> \ No newline at end of file diff --git a/system/data/text/input.php b/system/data/text/input.php index f136a95..bea7edd 100644 --- a/system/data/text/input.php +++ b/system/data/text/input.php @@ -28,4 +28,3 @@ $text = array( 'phone' => 'Для подтверждения номера, необходимо его указать.', 'code' => 'Указанный код неправильный.', ); -?> \ No newline at end of file diff --git a/system/data/text/logs.php b/system/data/text/logs.php index 6b8e6d0..6e736f8 100644 --- a/system/data/text/logs.php +++ b/system/data/text/logs.php @@ -20,4 +20,3 @@ $text = array( 'buy_plugin' => 'Покупка плагина: [plugin], списана сумма: [money] руб. (сервер: #[id])', 'ctrl_buy_plugin' => 'Покупка плагина: [plugin], списана сумма: [money] руб. (CTRL сервер: #[id])', ); -?> \ No newline at end of file diff --git a/system/data/text/mail.php b/system/data/text/mail.php index 151710b..117f7bf 100644 --- a/system/data/text/mail.php +++ b/system/data/text/mail.php @@ -63,4 +63,3 @@ $text = array( . '
' . 'С уважением, администрация [site].', ); -?> \ No newline at end of file diff --git a/system/data/text/other.php b/system/data/text/other.php index 9ebe424..de45d05 100644 --- a/system/data/text/other.php +++ b/system/data/text/other.php @@ -6,4 +6,3 @@ $text = array( 'mcache' => 'Пожалуйста, дождитесь выполнения предыдущего запроса.', 'captcha' => 'Неправильно указан код проверки либо закончился срок его жизни.', ); -?> \ No newline at end of file diff --git a/system/data/text/output.php b/system/data/text/output.php index f20218a..9e773a0 100644 --- a/system/data/text/output.php +++ b/system/data/text/output.php @@ -17,4 +17,3 @@ $text = array( 'auth' => 'Вы уже авторизованы, обновите страницу.', 'noauth' => 'Необходимо авторизоваться.', ); -?> \ No newline at end of file diff --git a/system/data/text/servers.php b/system/data/text/servers.php index dccca22..a9cf73c 100644 --- a/system/data/text/servers.php +++ b/system/data/text/servers.php @@ -11,4 +11,3 @@ $text = array( 'firewall' => 'Неверный формат адреса.', 'bans' => 'Неверный формат переданных данных.', ); -?> \ No newline at end of file diff --git a/system/data/text/syslogs.php b/system/data/text/syslogs.php index 0852809..49e2b92 100644 --- a/system/data/text/syslogs.php +++ b/system/data/text/syslogs.php @@ -11,4 +11,3 @@ $text = array( 'change_plan' => 'Изменение тарифного плана.', 'change_unit' => 'Изменение локации.', ); -?> \ No newline at end of file diff --git a/system/data/web.php b/system/data/web.php index d18bfee..11d3a5a 100644 --- a/system/data/web.php +++ b/system/data/web.php @@ -532,4 +532,3 @@ $aWebdbConf = array( ); $aWebothPath = array(); -?> \ No newline at end of file diff --git a/system/distributor.php b/system/distributor.php index 608c3dd..e0ffcaa 100644 --- a/system/distributor.php +++ b/system/distributor.php @@ -186,4 +186,3 @@ if ($auth) { $html->unitall('all', 'admin', 0, 1); $html->unitall('all', 'support', 0, 1); } -?> \ No newline at end of file diff --git a/system/engine/404.php b/system/engine/404.php index 1d61161..1b117c1 100644 --- a/system/engine/404.php +++ b/system/engine/404.php @@ -4,4 +4,3 @@ if (!DEFINED('EGP')) http_response_code(404); exit(file_get_contents(ROOT . '404.html')); -?> \ No newline at end of file diff --git a/system/engine/agreement.php b/system/engine/agreement.php index 0db852d..c10bab5 100644 --- a/system/engine/agreement.php +++ b/system/engine/agreement.php @@ -7,4 +7,3 @@ $html->nav($title); $html->get('agreement'); $html->pack('main'); -?> \ No newline at end of file diff --git a/system/engine/api.php b/system/engine/api.php index 7389941..55a2c61 100644 --- a/system/engine/api.php +++ b/system/engine/api.php @@ -41,4 +41,3 @@ switch ($action) { } sys::outjs(array('e' => 'Метод не найден')); -?> \ No newline at end of file diff --git a/system/engine/api_v1.php b/system/engine/api_v1.php index ee037c7..db152cb 100644 --- a/system/engine/api_v1.php +++ b/system/engine/api_v1.php @@ -7,4 +7,3 @@ $html->nav($title); $html->get('api'); $html->pack('main'); -?> \ No newline at end of file diff --git a/system/engine/autocontrol.php b/system/engine/autocontrol.php index 51a26c7..d7fb36d 100644 --- a/system/engine/autocontrol.php +++ b/system/engine/autocontrol.php @@ -71,4 +71,3 @@ switch ($url['action']) { } sys::outfile($tmp, $url['action'], $del); -?> \ No newline at end of file diff --git a/system/engine/chat.php b/system/engine/chat.php index 06c1011..4fb2d93 100644 --- a/system/engine/chat.php +++ b/system/engine/chat.php @@ -8,4 +8,3 @@ sys::noauth(); $title = 'Онлайн чат'; include(SEC . 'chat/chats.php'); -?> \ No newline at end of file diff --git a/system/engine/check.php b/system/engine/check.php index cb7b860..3fd0eca 100644 --- a/system/engine/check.php +++ b/system/engine/check.php @@ -5,5 +5,3 @@ if (!DEFINED('EGP')) $title = 'Проверка плагина'; include(SEC . 'check/index.php'); - -?> \ No newline at end of file diff --git a/system/engine/contacts.php b/system/engine/contacts.php index b1f8860..43fd0af 100644 --- a/system/engine/contacts.php +++ b/system/engine/contacts.php @@ -8,4 +8,3 @@ $html->nav($title); $html->get('contacts'); $html->pack('main'); -?> \ No newline at end of file diff --git a/system/engine/control.php b/system/engine/control.php index dc1fa30..7dbe9d0 100644 --- a/system/engine/control.php +++ b/system/engine/control.php @@ -66,4 +66,3 @@ if ($id) { $html->set('updates_control', $js); $html->pack('main'); } -?> \ No newline at end of file diff --git a/system/engine/freekassa.php b/system/engine/freekassa.php index a89e923..d7ba191 100644 --- a/system/engine/freekassa.php +++ b/system/engine/freekassa.php @@ -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'); -?> \ No newline at end of file diff --git a/system/engine/graph.php b/system/engine/graph.php index 5c42e73..9042711 100644 --- a/system/engine/graph.php +++ b/system/engine/graph.php @@ -55,4 +55,3 @@ if (isset($url['type'])) { header('Content-type: image/png'); exit(file_get_contents(TEMP . (md5($key . $style . $type)) . '.png')); } -?> \ No newline at end of file diff --git a/system/engine/help.php b/system/engine/help.php index 2775e39..14e29e9 100644 --- a/system/engine/help.php +++ b/system/engine/help.php @@ -30,4 +30,3 @@ if (!$sql->num()) { include(SEC . 'help/' . $section . '.php'); } -?> \ No newline at end of file diff --git a/system/engine/index.php b/system/engine/index.php index 80c1890..d506998 100644 --- a/system/engine/index.php +++ b/system/engine/index.php @@ -23,4 +23,3 @@ $html->get('index'); $html->set('news', isset($html->arr['news']) ? $html->arr['news'] : ''); $html->pack('main'); -?> \ No newline at end of file diff --git a/system/engine/jobs.php b/system/engine/jobs.php index 8bd726f..da8cebc 100644 --- a/system/engine/jobs.php +++ b/system/engine/jobs.php @@ -75,4 +75,3 @@ else $html->set('jobs', ''); $html->pack('main'); -?> \ No newline at end of file diff --git a/system/engine/megp/auth.php b/system/engine/megp/auth.php index 07a358f..14b953a 100644 --- a/system/engine/megp/auth.php +++ b/system/engine/megp/auth.php @@ -3,4 +3,3 @@ if (!DEFINED('EGP')) exit(header('Refresh: 0; URL=http://' . $_SERVER['HTTP_HOST'] . '/404')); include(SEC . 'user/auth.php'); -?> \ No newline at end of file diff --git a/system/engine/megp/help.php b/system/engine/megp/help.php index c23e614..89be624 100644 --- a/system/engine/megp/help.php +++ b/system/engine/megp/help.php @@ -26,4 +26,3 @@ if (!$sql->num()) { include(SEC . 'help/' . $section . '.php'); } -?> \ No newline at end of file diff --git a/system/engine/megp/index.php b/system/engine/megp/index.php index e046c0b..49865e0 100644 --- a/system/engine/megp/index.php +++ b/system/engine/megp/index.php @@ -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'); -?> \ No newline at end of file diff --git a/system/engine/megp/news.php b/system/engine/megp/news.php index 7f67849..e1062f0 100644 --- a/system/engine/megp/news.php +++ b/system/engine/megp/news.php @@ -37,4 +37,3 @@ if ($id) { $html->set('list', isset($html->arr['news']) ? $html->arr['news'] : ''); $html->pack('main'); } -?> \ No newline at end of file diff --git a/system/engine/megp/quit.php b/system/engine/megp/quit.php index 916fb7e..75de460 100644 --- a/system/engine/megp/quit.php +++ b/system/engine/megp/quit.php @@ -3,4 +3,3 @@ if (!DEFINED('EGP')) exit(header('Refresh: 0; URL=http://' . $_SERVER['HTTP_HOST'] . '/404')); include(SEC . 'user/quit.php'); -?> \ No newline at end of file diff --git a/system/engine/megp/recovery.php b/system/engine/megp/recovery.php index d7672ae..65ea954 100644 --- a/system/engine/megp/recovery.php +++ b/system/engine/megp/recovery.php @@ -3,4 +3,3 @@ if (!DEFINED('EGP')) exit(header('Refresh: 0; URL=http://' . $_SERVER['HTTP_HOST'] . '/404')); include(SEC . 'user/recovery.php'); -?> \ No newline at end of file diff --git a/system/engine/megp/replenish.php b/system/engine/megp/replenish.php index cd56c7e..ab14501 100644 --- a/system/engine/megp/replenish.php +++ b/system/engine/megp/replenish.php @@ -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'); -?> \ No newline at end of file diff --git a/system/engine/megp/servers.php b/system/engine/megp/servers.php index efc1f8d..a682259 100644 --- a/system/engine/megp/servers.php +++ b/system/engine/megp/servers.php @@ -69,4 +69,3 @@ if (in_array($section, array('action', 'scan', 'index', 'console', 'settings', ' $mcache->set('servers_' . $user['id'], $html->arr['main'], false, 4); } } -?> \ No newline at end of file diff --git a/system/engine/news.php b/system/engine/news.php index 75e5313..f8255f8 100644 --- a/system/engine/news.php +++ b/system/engine/news.php @@ -12,4 +12,3 @@ else { include(SEC . 'news/index.php'); } -?> \ No newline at end of file diff --git a/system/engine/pages.php b/system/engine/pages.php index 83fa2f7..4a2054e 100644 --- a/system/engine/pages.php +++ b/system/engine/pages.php @@ -21,4 +21,3 @@ $html->get('page'); $html->set('content', file_get_contents(FILES . 'pages/' . $page['file'])); $html->pack('main'); -?> \ No newline at end of file diff --git a/system/engine/partners.php b/system/engine/partners.php index 444de2e..b34da39 100644 --- a/system/engine/partners.php +++ b/system/engine/partners.php @@ -7,4 +7,3 @@ $html->nav($title); $html->get('partners'); $html->pack('main'); -?> \ No newline at end of file diff --git a/system/engine/pluginbuy.php b/system/engine/pluginbuy.php index c3b73f8..0f9fa74 100644 --- a/system/engine/pluginbuy.php +++ b/system/engine/pluginbuy.php @@ -24,4 +24,3 @@ if ($sql->num()) sys::out('true'); sys::out('false'); -?> \ No newline at end of file diff --git a/system/engine/plugins.php b/system/engine/plugins.php index a9777ed..ebe405b 100644 --- a/system/engine/plugins.php +++ b/system/engine/plugins.php @@ -158,4 +158,3 @@ if (!isset($html->arr['main'])) { $mcache->set('plugins_list_view_' . $url['game'], $html->arr['main'], false, 60); } } -?> \ No newline at end of file diff --git a/system/engine/replenish.php b/system/engine/replenish.php index e0b2990..bf97e7b 100644 --- a/system/engine/replenish.php +++ b/system/engine/replenish.php @@ -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')); -?> \ No newline at end of file diff --git a/system/engine/servers.php b/system/engine/servers.php index 29feeca..49efad7 100644 --- a/system/engine/servers.php +++ b/system/engine/servers.php @@ -101,4 +101,3 @@ if (in_array($section, array('action', 'scan', 'index', 'console', 'settings', ' $mcache->set('servers_' . $user['id'], $html->arr['main'], false, 4); } } -?> \ No newline at end of file diff --git a/system/engine/services.php b/system/engine/services.php index 5380fbb..cab0659 100644 --- a/system/engine/services.php +++ b/system/engine/services.php @@ -33,4 +33,3 @@ if (!in_array($section, array('cs', 'css', 'cssold', 'csgo', 'cs2', 'rust', 'mc include(SEC . 'services/' . $section . '.php'); } -?> \ No newline at end of file diff --git a/system/engine/unitpay.php b/system/engine/unitpay.php index 6fc680c..c5afd90 100644 --- a/system/engine/unitpay.php +++ b/system/engine/unitpay.php @@ -123,4 +123,3 @@ switch ($_GET['method']) { case 'error': sys::outjs(array('result' => array('message' => 'Запрос успешно обработан'))); } -?> \ No newline at end of file diff --git a/system/engine/unitpay_entity.php b/system/engine/unitpay_entity.php index da6057f..6e77360 100644 --- a/system/engine/unitpay_entity.php +++ b/system/engine/unitpay_entity.php @@ -114,4 +114,3 @@ switch ($_GET['method']) { case 'error': sys::outjs(array('result' => array('message' => 'Запрос успешно обработан'))); } -?> \ No newline at end of file diff --git a/system/engine/user.php b/system/engine/user.php index 67e13ee..26307da 100644 --- a/system/engine/user.php +++ b/system/engine/user.php @@ -23,4 +23,3 @@ else $html->nav($title); include(SEC . 'user/' . $section . '.php'); -?> diff --git a/system/engine/webmoney.php b/system/engine/webmoney.php index c80c5ac..27a08c5 100644 --- a/system/engine/webmoney.php +++ b/system/engine/webmoney.php @@ -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'); -?> \ No newline at end of file diff --git a/system/engine/wiki.php b/system/engine/wiki.php index b0230dd..64522db 100644 --- a/system/engine/wiki.php +++ b/system/engine/wiki.php @@ -8,4 +8,3 @@ if (in_array($section, array('answer', 'question', 'search', 'msearch'))) include(SEC . 'wiki/' . $section . '.php'); else include(SEC . 'wiki/index.php'); -?> \ No newline at end of file diff --git a/system/library/acpsystem.php b/system/library/acpsystem.php index ac0ccbb..a87e1ac 100644 --- a/system/library/acpsystem.php +++ b/system/library/acpsystem.php @@ -702,5 +702,3 @@ class sys $logger->info($message, $context); } } - -?> \ No newline at end of file diff --git a/system/library/api.php b/system/library/api.php index 6dca12c..9cfc629 100644 --- a/system/library/api.php +++ b/system/library/api.php @@ -92,5 +92,3 @@ class api include(SEC . 'servers/' . $server['game'] . '/console.php'); } } - -?> \ No newline at end of file diff --git a/system/library/cron/privileges.php b/system/library/cron/privileges.php index d651658..a747ab8 100644 --- a/system/library/cron/privileges.php +++ b/system/library/cron/privileges.php @@ -93,5 +93,3 @@ class privileges extends cron return NULL; } } - -?> \ No newline at end of file diff --git a/system/library/cron/threads.php b/system/library/cron/threads.php index 6b74d95..36f0cdf 100644 --- a/system/library/cron/threads.php +++ b/system/library/cron/threads.php @@ -63,5 +63,3 @@ class threads extends cron return NULL; } } - -?> \ No newline at end of file diff --git a/system/library/ftp.php b/system/library/ftp.php index fa14595..79198e8 100644 --- a/system/library/ftp.php +++ b/system/library/ftp.php @@ -492,5 +492,3 @@ class ftp return $address; } } - -?> \ No newline at end of file diff --git a/system/library/geo.php b/system/library/geo.php index 4798492..5f9d68f 100644 --- a/system/library/geo.php +++ b/system/library/geo.php @@ -419,5 +419,3 @@ class SxGeo ); } } - -?> \ No newline at end of file diff --git a/system/library/help.php b/system/library/help.php index 1206a7c..dd7df8d 100644 --- a/system/library/help.php +++ b/system/library/help.php @@ -96,5 +96,3 @@ class help return $titles[($number % 100 > 4 and $number % 100 < 20) ? 2 : $cases[min($number % 10, 5)]]; } } - -?> \ No newline at end of file diff --git a/system/library/html.php b/system/library/html.php index 70c30fd..8166208 100644 --- a/system/library/html.php +++ b/system/library/html.php @@ -160,4 +160,3 @@ class html } $html = new html; -?> \ No newline at end of file diff --git a/system/library/megp.php b/system/library/megp.php index d031b69..727bfab 100644 --- a/system/library/megp.php +++ b/system/library/megp.php @@ -724,4 +724,3 @@ class megp } $megp = new megp; -?> \ No newline at end of file diff --git a/system/library/smtp.php b/system/library/smtp.php index eaad0dc..f0b71db 100644 --- a/system/library/smtp.php +++ b/system/library/smtp.php @@ -119,5 +119,3 @@ class smtp return true; } } - -?> \ No newline at end of file diff --git a/system/library/sql.php b/system/library/sql.php index ca1b526..d3f4188 100644 --- a/system/library/sql.php +++ b/system/library/sql.php @@ -83,4 +83,3 @@ class mysql } $sql = new mysql; -?> \ No newline at end of file diff --git a/system/library/ssh.php b/system/library/ssh.php index 2338e1a..43dae12 100644 --- a/system/library/ssh.php +++ b/system/library/ssh.php @@ -96,4 +96,3 @@ class ssh } $ssh = new ssh; -?> \ No newline at end of file diff --git a/system/library/system.php b/system/library/system.php index fe52b4a..deedbb5 100644 --- a/system/library/system.php +++ b/system/library/system.php @@ -1426,5 +1426,3 @@ class sys $logger->info($message, $context); } } - -?> diff --git a/system/library/users.php b/system/library/users.php index 251e673..2d69993 100644 --- a/system/library/users.php +++ b/system/library/users.php @@ -50,5 +50,3 @@ class users return NULL; } } - -?> \ No newline at end of file diff --git a/system/library/web/free.php b/system/library/web/free.php index bc2a430..45b64f2 100644 --- a/system/library/web/free.php +++ b/system/library/web/free.php @@ -477,5 +477,3 @@ class web return array('address' => $aWebUnit['address'], 'passwd' => $aWebUnit['passwd']); } } - -?> \ No newline at end of file diff --git a/system/library/zip.php b/system/library/zip.php index 4431883..a6bd209 100644 --- a/system/library/zip.php +++ b/system/library/zip.php @@ -5449,6 +5449,3 @@ function PclZipUtilTranslateWinPath($p_path, $p_remove_disk_letter = true) } // -------------------------------------------------------------------------------- - - -?> diff --git a/system/mdistributor.php b/system/mdistributor.php index 4cc206c..b1adbf5 100644 --- a/system/mdistributor.php +++ b/system/mdistributor.php @@ -112,4 +112,3 @@ if ($auth) { else $html->unitall('all', 'servers', 0, 1); } -?> \ No newline at end of file