diff --git a/web/lend.php b/web/lend.php index 16f24a91..8cb6b942 100644 --- a/web/lend.php +++ b/web/lend.php @@ -66,7 +66,7 @@ include(EASYWIDIR . '/stuff/methods/functions_ssh_exec.php'); include(EASYWIDIR . '/stuff/methods/class_ts3.php'); include(EASYWIDIR . '/stuff/methods/class_app.php'); -$validaccess= false; +$validacces = false; if ($ui->ip4('REMOTE_ADDR', 'server') and $ui->names('user', 255, 'post') and !isset($page_include)) { @@ -82,16 +82,16 @@ if ($ui->ip4('REMOTE_ADDR', 'server') and $ui->names('user', 255, 'post') and !i if (isset($resellerIDs) and count($resellerIDs) == 1 and passwordhash($ui->password('pwd', 255, 'post'), $salt) == $pwd) { $reseller_id = $resellerIDs[0]; - $validaccess= true; + $validacces = true; } } } else { $reseller_id = 0; - $validaccess= true; + $validacces = true; } -if ($validaccess== false) { +if ($validacces == false) { header('HTTP/1.1 403 Forbidden'); die('403 Forbidden: Access data not valid'); } diff --git a/web/statuscheck.php b/web/statuscheck.php index 3372257c..cea4a54b 100644 --- a/web/statuscheck.php +++ b/web/statuscheck.php @@ -74,7 +74,7 @@ include(EASYWIDIR . '/stuff/methods/functions_gs.php'); include(EASYWIDIR . '/stuff/methods/functions_ssh_exec.php'); include(EASYWIDIR . '/stuff/methods/class_app.php'); include(EASYWIDIR . '/stuff/methods/class_ts3.php'); -include(EASYWIDIR . '/third_party/gameq/GameQ.php'); +include(EASYWIDIR . '/third_party/gameq/GameQ/Autoloader.php'); include(EASYWIDIR . '/stuff/methods/class_mysql.php'); include(EASYWIDIR . '/stuff/methods/class_httpd.php'); include(EASYWIDIR . '/stuff/keyphrasefile.php'); @@ -216,21 +216,19 @@ if (!isset($ip) or $ui->escaped('SERVER_ADDR', 'server') == $ip or in_array($ip, // without the gameq value we cannot query. So this results need to be sorted out. if (!in_array($row2['gameq'], array('', null, false))) { - $checkAtIPPort = $row2['serverip'] . ':'; - if ($row2['useQueryPort'] == 5) { - $checkAtIPPort .= $row2['port5']; + $queryPort = $row2['port5']; } else if ($row2['useQueryPort'] == 4) { - $checkAtIPPort .= $row2['port4']; + $queryPort = $row2['port4']; } else if ($row2['useQueryPort'] == 3) { - $checkAtIPPort .= $row2['port3']; + $queryPort = $row2['port3']; } else if ($row2['useQueryPort'] == 2) { - $checkAtIPPort .= $row2['port2']; + $queryPort = $row2['port2']; } else { - $checkAtIPPort .= $row2['port']; + $queryPort = $row2['port']; } - $serverBatchArray[] = array('id' => $row2['id'], 'type' => $row2['gameq'], 'host' => $checkAtIPPort); + $serverBatchArray[] = array('id' => $row2['id'], 'type' => $row2['gameq'], 'host' => $row2['serverip'] . ':' . $row2['port'], 'options' => array('query_port' => $queryPort)); $i++; if ($i == 5) { @@ -256,17 +254,18 @@ if (!isset($ip) or $ui->escaped('SERVER_ADDR', 'server') == $ip or in_array($ip, foreach ($allServersArray as $servers) { - $gq = new GameQ(); + $gq = new \GameQ\GameQ(); + $gq->addServers($servers); $gq->setOption('timeout', 60); if (isset($dbConnect['debug']) and $dbConnect['debug'] == 1) { $gq->setOption('debug', true); } - $gq->setFilter('normalise'); - $gq->addServers($servers); + $gq->addFilter('normalise'); + $gq->addFilter('stripcolor'); - foreach($gq->requestData() as $switchID => $v) { + foreach($gq->process() as $switchID => $v) { unset($userid, $resellerid, $lendserver, $stopserver, $doNotRestart); diff --git a/web/stuff/admin/addons.php b/web/stuff/admin/addons.php index ea2948df..2b1c1b8f 100644 --- a/web/stuff/admin/addons.php +++ b/web/stuff/admin/addons.php @@ -38,7 +38,7 @@ if ((!isset($admin_id) or !$main == 1) or (isset($admin_id) and !$pa['addons'])) { header('Location: admin.php'); - die('No access'); + die('No acces'); } $sprache = getlanguagefile('images', $user_language, $reseller_id); @@ -515,4 +515,4 @@ if ($ui->w('action',4, 'post') and !token(true)) { configureDateTables('-1', '1, "asc"', 'ajax.php?w=datatable&d=gameserveraddons'); $template_file = 'admin_addons_list.tpl'; -} +} \ No newline at end of file diff --git a/web/stuff/admin/admin_search.php b/web/stuff/admin/admin_search.php index c533ba61..5a065d0b 100644 --- a/web/stuff/admin/admin_search.php +++ b/web/stuff/admin/admin_search.php @@ -38,7 +38,7 @@ */ if ((!isset($admin_id) or $main != 1) or (isset($admin_id) and !isanyadmin($admin_id) and !rsellerpermisions($admin_id)) or (!isset($pa))) { header('Location: login.php'); - die('No access'); + die('No acces'); } $sprache = getlanguagefile('search',$user_language,$reseller_id); $results = array(); @@ -315,4 +315,4 @@ if (isset($ui->get['q'])) { configureDateTables('-1', '1, "DESC"'); $q=implode(' ',$q); -$template_file = 'admin_search.tpl'; +$template_file = 'admin_search.tpl'; \ No newline at end of file diff --git a/web/stuff/admin/admin_social_provider.php b/web/stuff/admin/admin_social_provider.php index 2159e1fb..fbdfb1a1 100644 --- a/web/stuff/admin/admin_social_provider.php +++ b/web/stuff/admin/admin_social_provider.php @@ -39,7 +39,7 @@ if ((!isset($admin_id) or $main != 1) or (isset($admin_id) and !$pa['root'])) { header('Location: admin.php'); - die('No access'); + die('No acces'); } $loguserid = $admin_id; @@ -244,4 +244,4 @@ if ($ui->w('action',4, 'post') and !token(true)) { configureDateTables('-1'); $template_file = 'admin_social_provider_list.tpl'; -} +} \ No newline at end of file diff --git a/web/stuff/admin/adminhome.php b/web/stuff/admin/adminhome.php index 7766d843..f9249d06 100644 --- a/web/stuff/admin/adminhome.php +++ b/web/stuff/admin/adminhome.php @@ -38,7 +38,7 @@ if ((!isset($admin_id) or $main != 1) or (isset($admin_id) and !isanyadmin($admin_id) and !rsellerpermisions($admin_id))) { header('Location: login.php'); - die('No access'); + die('No acces'); } $sprache_bad = getlanguagefile('home', $user_language, $reseller_id); diff --git a/web/stuff/admin/api_external_auth.php b/web/stuff/admin/api_external_auth.php index 295e07ea..867758f1 100644 --- a/web/stuff/admin/api_external_auth.php +++ b/web/stuff/admin/api_external_auth.php @@ -39,7 +39,7 @@ if ($main != 1 or !isset($admin_id) or (isset($admin_id) and !$pa['apiSettings'])) { header('Location: admin.php'); - die('No access'); + die('No acces'); } include(EASYWIDIR . '/stuff/keyphrasefile.php'); @@ -111,4 +111,4 @@ if ($ui->w('action', 4, 'post') and !token(true)) { } $template_file = 'admin_api_external_auth_settings.tpl'; -} +} \ No newline at end of file diff --git a/web/stuff/admin/api_import_users.php b/web/stuff/admin/api_import_users.php index c1798c8b..1c945610 100644 --- a/web/stuff/admin/api_import_users.php +++ b/web/stuff/admin/api_import_users.php @@ -38,7 +38,7 @@ */ if ($main != 1 or !isset($admin_id) or (isset($admin_id) and !$pa['apiSettings'])) { header('Location: admin.php'); - die('No access'); + die('No acces'); } include(EASYWIDIR . '/stuff/keyphrasefile.php'); $sprache = getlanguagefile('api',$user_language,$reseller_id); @@ -224,4 +224,4 @@ if ($ui->w('action', 4, 'post') and !token(true)) { configureDateTables('-1', '2, "desc"'); $template_file = 'admin_api_import_users_list.tpl'; -} +} \ No newline at end of file diff --git a/web/stuff/admin/api_settings.php b/web/stuff/admin/api_settings.php index cb132d6f..ab8348f2 100644 --- a/web/stuff/admin/api_settings.php +++ b/web/stuff/admin/api_settings.php @@ -39,7 +39,7 @@ if ($main != 1 or !isset($admin_id) or (isset($admin_id) and !$pa['apiSettings'])) { header('Location: admin.php'); - die('No access'); + die('No acces'); } $sprache = getlanguagefile('api',$user_language,$reseller_id); $loguserid = $admin_id; @@ -112,4 +112,4 @@ if ($ui->w('action', 4, 'post') and !token(true)) { $pwd='encrypted'; } $template_file = "admin_api_settings.tpl"; -} +} \ No newline at end of file diff --git a/web/stuff/admin/eac.php b/web/stuff/admin/eac.php index 2b5818c6..e03f1468 100644 --- a/web/stuff/admin/eac.php +++ b/web/stuff/admin/eac.php @@ -38,7 +38,7 @@ if ((!isset($admin_id) or $main != 1) or (isset($admin_id) and !$pa['eac'])) { header('Location: admin.php'); - die('No access'); + die('No acces'); } include(EASYWIDIR . '/stuff/keyphrasefile.php'); @@ -116,4 +116,4 @@ if ($ui->w('action', 4, 'post') and !token(true)) { } else { $template_file = $spracheResponse->error_table; } -} +} \ No newline at end of file diff --git a/web/stuff/admin/images.php b/web/stuff/admin/images.php index f3f3d234..0cc9b77e 100644 --- a/web/stuff/admin/images.php +++ b/web/stuff/admin/images.php @@ -38,7 +38,7 @@ if ((!isset($admin_id) or $main != 1) or (isset($admin_id) and !$pa['gimages'])) { header('Location: admin.php'); - die('No access'); + die('No acces'); } include(EASYWIDIR . '/third_party/gameq/GameQ/Autoloader.php'); include(EASYWIDIR . '/stuff/keyphrasefile.php'); @@ -563,4 +563,4 @@ if ($ui->w('action', 4, 'post') and !token(true)) { configureDateTables('-1', '0, "asc"', 'ajax.php?w=datatable&d=gameimages'); $template_file = 'admin_images_list.tpl'; -} +} \ No newline at end of file diff --git a/web/stuff/admin/ip_bans.php b/web/stuff/admin/ip_bans.php index 50b645c1..8a250bba 100644 --- a/web/stuff/admin/ip_bans.php +++ b/web/stuff/admin/ip_bans.php @@ -39,7 +39,7 @@ if ((!isset($admin_id) or $main != 1) or (isset($admin_id) and !$pa['ipBans'] and $reseller_id != 0)) { header('Location: admin.php'); - die('No access'); + die('No acces'); } $sprache = getlanguagefile('logs', $user_language, $reseller_id); @@ -70,4 +70,4 @@ if ($ui->w('action', 2, 'post') == 'dl' and $ui->id('id', 19, 'post')) { configureDateTables('-1', '1, "desc"', 'ajax.php?w=datatable&d=ipbans'); $template_file = 'admin_ip_bans.tpl'; -} +} \ No newline at end of file diff --git a/web/stuff/admin/jobs_list.php b/web/stuff/admin/jobs_list.php index c5a4ddc6..60c9f37d 100644 --- a/web/stuff/admin/jobs_list.php +++ b/web/stuff/admin/jobs_list.php @@ -40,7 +40,7 @@ if ((!isset($admin_id) or $main != 1) or (isset($admin_id) and !$pa['jobs'])) { header('Location: admin.php'); - die('No access'); + die('No acces'); } $sprache = getlanguagefile('api', $user_language, $reseller_id); diff --git a/web/stuff/admin/logdata.php b/web/stuff/admin/logdata.php index 66cbeeed..b16721b0 100644 --- a/web/stuff/admin/logdata.php +++ b/web/stuff/admin/logdata.php @@ -37,11 +37,11 @@ if ((!isset($admin_id) or $main != 1) or (isset($admin_id) and !$pa['log'])) { header('Location: admin.php'); - die('No access'); + die('No acces'); } $sprache = getlanguagefile('logs', $user_language,$reseller_id); configureDateTables('', '0, "desc"', 'ajax.php?w=datatable&d=adminuserlog'); -$template_file = 'admin_logs.tpl'; +$template_file = 'admin_logs.tpl'; \ No newline at end of file diff --git a/web/stuff/admin/maillog.php b/web/stuff/admin/maillog.php index 134274cf..d07f44b2 100644 --- a/web/stuff/admin/maillog.php +++ b/web/stuff/admin/maillog.php @@ -37,11 +37,11 @@ if ((!isset($admin_id) or $main != 1) or (isset($admin_id) and !$pa['log'])) { header('Location: admin.php'); - die('No access'); + die('No acces'); } $sprache = getlanguagefile('logs', $user_language, $reseller_id); configureDateTables('', '0, "desc"', 'ajax.php?w=datatable&d=maillog'); -$template_file = 'admin_logs_mail.tpl'; +$template_file = 'admin_logs_mail.tpl'; \ No newline at end of file diff --git a/web/stuff/admin/masterserver.php b/web/stuff/admin/masterserver.php index 1bc3fb07..d74092cd 100644 --- a/web/stuff/admin/masterserver.php +++ b/web/stuff/admin/masterserver.php @@ -38,7 +38,7 @@ if ((!isset($admin_id) or $main != 1) or (isset($admin_id) and !$pa['masterServer'])) { header('Location: admin.php'); - die('No access'); + die('No acces'); } include(EASYWIDIR . '/stuff/keyphrasefile.php'); @@ -273,4 +273,4 @@ if ($ui->w('action', 4, 'post') and !token(true)) { } $template_file = 'admin_master_ud.tpl'; -} +} \ No newline at end of file diff --git a/web/stuff/admin/mysql_root.php b/web/stuff/admin/mysql_root.php index 540f0ab7..0dc3d687 100644 --- a/web/stuff/admin/mysql_root.php +++ b/web/stuff/admin/mysql_root.php @@ -39,7 +39,7 @@ if (!isset($admin_id) or $main != 1 or !isset($reseller_id) or !$pa['root']) { header('Location: admin.php'); - die('No access'); + die('No acces'); } @@ -269,4 +269,4 @@ if ($ui->st('d', 'get') == 'bu' and $ui->st('action', 'post') == 'bu' and $resel } else { $template_file = 'admin_db_operations.tpl'; -} +} \ No newline at end of file diff --git a/web/stuff/admin/page_settings.php b/web/stuff/admin/page_settings.php index 11e38a55..253e2286 100644 --- a/web/stuff/admin/page_settings.php +++ b/web/stuff/admin/page_settings.php @@ -38,7 +38,7 @@ if ((!isset($admin_id) or $main != 1) or (isset($admin_id) and !$pa['cms_settings']) or $reseller_id != 0) { header('Location: admin.php'); - die('No access'); + die('No acces'); } $sprache = getlanguagefile('page',$user_language,$reseller_id); $loguserid = $admin_id; @@ -215,4 +215,4 @@ if ($ui->w('action', 4, 'post') and !token(true)) { } } $template_file = "admin_page_settings.tpl"; -} +} \ No newline at end of file diff --git a/web/stuff/admin/roots.php b/web/stuff/admin/roots.php index a9ec2b00..793e2732 100644 --- a/web/stuff/admin/roots.php +++ b/web/stuff/admin/roots.php @@ -38,7 +38,7 @@ if ((!isset($admin_id) or $main != 1) or (isset($admin_id) and !$pa['roots'])) { header('Location: admin.php'); - die('No access'); + die('No acces'); } include(EASYWIDIR . '/stuff/keyphrasefile.php'); @@ -475,4 +475,4 @@ if ($ui->w('action', 4, 'post') and !token(true)) { configureDateTables('-1', '1, "asc"', 'ajax.php?w=datatable&d=appserver'); $template_file = 'admin_roots_list.tpl'; -} +} \ No newline at end of file diff --git a/web/stuff/admin/system_check.php b/web/stuff/admin/system_check.php index daeed035..79feb39b 100644 --- a/web/stuff/admin/system_check.php +++ b/web/stuff/admin/system_check.php @@ -38,7 +38,7 @@ if ((!isset($admin_id) or $main != 1) or (isset($admin_id) and (!isset($reseller_id) or $reseller_id != 0)) or !$pa['settings']) { header('Location: admin.php'); - die('No access'); + die('No acces'); } $sprache = getlanguagefile('system_check', $user_language, $reseller_id); @@ -164,4 +164,4 @@ $query = $sql->prepare("SELECT `pageurl` FROM `page_settings` WHERE `id`=1 LIMIT $query->execute(); $pageUrl = $query->fetchColumn(); -$template_file = 'admin_system_check.tpl'; +$template_file = 'admin_system_check.tpl'; \ No newline at end of file diff --git a/web/stuff/admin/traffic.php b/web/stuff/admin/traffic.php index 0fb73ce3..178a8833 100644 --- a/web/stuff/admin/traffic.php +++ b/web/stuff/admin/traffic.php @@ -36,7 +36,7 @@ */ if (!isset($admin_id) or $main != 1 or (isset($admin_id) and !$pa['traffic'])) { header('Location: admin.php'); - die('No access'); + die('No acces'); } $sprache = getlanguagefile('traffic',$user_language,$reseller_id); if ($d== 'se' and $reseller_id == 0) { @@ -438,4 +438,4 @@ if ($d== 'se' and $reseller_id == 0) { } $trafficdata = "images.php?img=tr&from=admin&d={$dmy}&w={$unit}&p={$year}&id={$day}&po={$month}&m={$amount}{$whichdata}"; $template_file = "admin_traffic.tpl"; -} +} \ No newline at end of file diff --git a/web/stuff/admin/user_groups.php b/web/stuff/admin/user_groups.php index bc82a83f..e50a49f5 100644 --- a/web/stuff/admin/user_groups.php +++ b/web/stuff/admin/user_groups.php @@ -40,7 +40,7 @@ if ((!isset($admin_id) or $main != 1) or (isset($admin_id) and !$pa['userGroups'])) { header('Location: admin.php'); - die('No access'); + die('No acces'); } $sprache = getlanguagefile('user', $user_language, $reseller_id); @@ -467,4 +467,4 @@ if ($ui->w('action', 4, 'post') and !token(true)) { configureDateTables('-1'); $template_file = 'admin_user_groups_list.tpl'; -} +} \ No newline at end of file diff --git a/web/stuff/admin/web_master.php b/web/stuff/admin/web_master.php index fcfd77ba..c4dead53 100644 --- a/web/stuff/admin/web_master.php +++ b/web/stuff/admin/web_master.php @@ -39,7 +39,7 @@ if (!isset($admin_id) or $main != 1 or !isset($admin_id) or !isset($reseller_id) or !$pa['webmaster']) { header('Location: admin.php'); - die; + die('No access'); } include(EASYWIDIR . '/stuff/keyphrasefile.php'); diff --git a/web/stuff/methods/tables_add.php b/web/stuff/methods/tables_add.php index 60088833..7e5513e7 100644 --- a/web/stuff/methods/tables_add.php +++ b/web/stuff/methods/tables_add.php @@ -40,7 +40,7 @@ if (!isset($displayToUser) and (!isset($admin_id) or !isset($reseller_id) or $main != 1 or $reseller_id != 0)) { header('Location: admin.php'); - die('No access'); + die('No Acces'); } $query = "CREATE TABLE IF NOT EXISTS `addons` ( @@ -1636,6 +1636,7 @@ $query = "CREATE TABLE IF NOT EXISTS `voice_masterserver` ( `latest_version` varchar(10) DEFAULT NULL, `active` enum('Y','N') DEFAULT 'Y', `description` varchar(255) DEFAULT NULL, + `iniConfiguration` text, `type` varchar(30) NOT NULL DEFAULT 'ts3', `usedns` enum('Y','N') DEFAULT 'Y', `tsdnsServerID` int(10) unsigned DEFAULT NULL, @@ -1683,6 +1684,7 @@ $add->execute(); $query = "CREATE TABLE IF NOT EXISTS `voice_server` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `active` enum('Y','N') DEFAULT 'Y', + `iniConfiguration` text, `autoRestart` enum('Y','N') DEFAULT 'Y', `backup` enum('Y','N') DEFAULT 'Y', `lendserver` enum('Y','N') NOT NULL DEFAULT 'N', @@ -1780,4 +1782,4 @@ $query = "CREATE TABLE IF NOT EXISTS `voice_tsdns` ( PRIMARY KEY (`id`),KEY(`rootid`),KEY(`externalID`),KEY(`resellerid`) ) ENGINE=InnoDB"; $add = $sql->prepare($query); -$add->execute(); +$add->execute(); \ No newline at end of file diff --git a/web/stuff/methods/tables_entries_repair.php b/web/stuff/methods/tables_entries_repair.php index a00c1f8b..193b1069 100644 --- a/web/stuff/methods/tables_entries_repair.php +++ b/web/stuff/methods/tables_entries_repair.php @@ -40,7 +40,7 @@ if (!isset($displayToUser) and (!isset($admin_id) or $main != 1 or $reseller_id != 0)) { header('Location: admin.php'); - die('No access'); + die('No acces'); } $query = $sql->prepare("SELECT DISTINCT(`id`) FROM `userdata` u WHERE `accounttype`='r' AND NOT EXISTS (SELECT 1 FROM `settings` WHERE `resellerid`=u.`id`)"); @@ -55,4 +55,4 @@ $query2 = $sql->prepare("INSERT INTO `lendsettings` (`resellerid`) VALUES (?)"); $query->execute(); while ($row = $query->fetch(PDO::FETCH_ASSOC)) { $query2->execute(array($row['id'])); -} +} \ No newline at end of file diff --git a/web/stuff/methods/tables_repair.php b/web/stuff/methods/tables_repair.php index 5c0eaed2..51dd5ee9 100644 --- a/web/stuff/methods/tables_repair.php +++ b/web/stuff/methods/tables_repair.php @@ -40,7 +40,7 @@ if (!isset($displayToUser) and (!isset($admin_id) or $main != 1 or $reseller_id != 0)) { header('Location: admin.php'); - die('No access'); + die('No acces'); } $defined['addons'] = array( @@ -1429,6 +1429,7 @@ $defined['voice_masterserver'] = array( 'latest_version' => array("Type"=>"varchar(10)","Null"=>"YES","Key"=>"","Default"=>"","Extra"=>""), 'active' => array("Type"=>"enum('Y','N')","Null"=>"YES","Key"=>"","Default"=>"Y","Extra"=>""), 'description' => array("Type"=>"varchar(255)","Null"=>"YES","Key"=>"","Default"=>"","Extra"=>""), + 'iniConfiguration' => array("Type"=>"text","Null"=>"YES","Key"=>"","Default"=>"","Extra"=>""), 'type' => array("Type"=>"varchar(30)","Null"=>"NO","Key"=>"","Default"=>"ts3","Extra"=>""), 'usedns' => array("Type"=>"enum('Y','N')","Null"=>"YES","Key"=>"","Default"=>"Y","Extra"=>""), 'tsdnsServerID' => array("Type"=>"int(10) unsigned","Null"=>"YES","Key"=>"MUL","Default"=>"","Extra"=>""), @@ -1473,6 +1474,7 @@ $defined['voice_masterserver'] = array( $defined['voice_server'] = array( 'id' => array("Type"=>"int(10) unsigned","Null"=>"NO","Key"=>"PRI","Default"=>"","Extra"=>"auto_increment"), 'active' => array("Type"=>"enum('Y','N')","Null"=>"YES","Key"=>"","Default"=>"Y","Extra"=>""), + 'iniConfiguration' => array("Type"=>"text","Null"=>"YES","Key"=>"","Default"=>"","Extra"=>""), 'autoRestart' => array("Type"=>"enum('Y','N')","Null"=>"YES","Key"=>"","Default"=>"Y","Extra"=>""), 'backup' => array("Type"=>"enum('Y','N')","Null"=>"YES","Key"=>"","Default"=>"Y","Extra"=>""), 'lendserver' => array("Type"=>"enum('Y','N')","Null"=>"NO","Key"=>"","Default"=>"N","Extra"=>""), @@ -1715,4 +1717,4 @@ foreach ($defined as $table => $t_p) { $response->add('ADD: ' . $remove_query . '
'); } } -} +} \ No newline at end of file diff --git a/web/stuff/user/userpanel_ao.php b/web/stuff/user/userpanel_ao.php index 765489ac..f1e7b536 100644 --- a/web/stuff/user/userpanel_ao.php +++ b/web/stuff/user/userpanel_ao.php @@ -43,7 +43,7 @@ include(EASYWIDIR . '/stuff/methods/class_app.php'); if ((!isset($user_id) or $main != 1) or (isset($user_id) and !$pa['useraddons'])) { header('Location: userpanel.php'); - die('No access'); + die('No acces'); } $sprache = getlanguagefile('images', $user_language, $resellerLockupID); @@ -246,4 +246,4 @@ if ($ui->id('id', 10, 'get') and $ui->id('adid', 10, 'get') and in_array($ui->st } else { $template_file = 'userpanel_404.tpl'; -} +} \ No newline at end of file diff --git a/web/stuff/user/userpanel_dedicated.php b/web/stuff/user/userpanel_dedicated.php index 11bb4d23..4f757095 100644 --- a/web/stuff/user/userpanel_dedicated.php +++ b/web/stuff/user/userpanel_dedicated.php @@ -39,7 +39,7 @@ if ((!isset($main) or $main != 1) or (!isset($user_id) or (isset($user_id) and !$pa['restart']))) { header('Location: userpanel.php'); - die('No access'); + die('No acces'); } include(EASYWIDIR . '/stuff/keyphrasefile.php'); @@ -183,4 +183,4 @@ if ($ui->w('action', 4, 'post') and !token(true)) { } } $template_file = 'userpanel_root_dedicated_list.tpl'; -} +} \ No newline at end of file diff --git a/web/stuff/user/userpanel_fdl.php b/web/stuff/user/userpanel_fdl.php index 607ae27d..d069a0e8 100644 --- a/web/stuff/user/userpanel_fdl.php +++ b/web/stuff/user/userpanel_fdl.php @@ -38,7 +38,7 @@ if ((!isset($user_id) or $main != 1) or (isset($user_id) and !$pa['fastdl'])) { header('Location: userpanel.php'); - die('No access'); + die('No acces'); } include(EASYWIDIR . '/stuff/keyphrasefile.php'); diff --git a/web/stuff/user/userpanel_gserver.php b/web/stuff/user/userpanel_gserver.php index 51976dac..dde7238f 100644 --- a/web/stuff/user/userpanel_gserver.php +++ b/web/stuff/user/userpanel_gserver.php @@ -37,7 +37,7 @@ */ if ((!isset($main) or $main != 1) or (!isset($user_id) or (isset($user_id) and !$pa['restart']))) { header('Location: userpanel.php'); - die('No access'); + die('No acces'); } include(EASYWIDIR . '/stuff/keyphrasefile.php'); @@ -1110,4 +1110,4 @@ if ($ui->w('action', 4, 'post') and !token(true)) { } $template_file = 'userpanel_gserver_list.tpl'; -} +} \ No newline at end of file diff --git a/web/stuff/user/userpanel_home.php b/web/stuff/user/userpanel_home.php index a6c2d9b2..f4fbabfb 100644 --- a/web/stuff/user/userpanel_home.php +++ b/web/stuff/user/userpanel_home.php @@ -38,7 +38,7 @@ if ((!isset($user_id) or !$main == "1") or (isset($user_id) and !isanyuser($user_id))) { header('Location: login.php'); - die('No access'); + die('No acces'); } $sprache_bad = getlanguagefile('home', $user_language, $reseller_id); @@ -210,4 +210,4 @@ if ($ui->smallletters('w', 2, 'get') == 'da' or (!$ui->smallletters('w', 2, 'get } } } -} +} \ No newline at end of file diff --git a/web/stuff/user/userpanel_virtual.php b/web/stuff/user/userpanel_virtual.php index 139c9186..9887a89f 100644 --- a/web/stuff/user/userpanel_virtual.php +++ b/web/stuff/user/userpanel_virtual.php @@ -40,7 +40,7 @@ if ((!isset($main) or $main != 1) or (!isset($user_id) or (isset($user_id) and !$pa['restart']))) { header('Location: userpanel.php'); - die('No access'); + die('No acces'); } include(EASYWIDIR . '/stuff/keyphrasefile.php'); @@ -184,4 +184,4 @@ if ($ui->w('action', 4, 'post') and !token(true)) { } } $template_file = 'userpanel_root_virtual_list.tpl'; -} +} \ No newline at end of file diff --git a/web/stuff/user/userpanel_voice.php b/web/stuff/user/userpanel_voice.php index deb33cc8..06b6332c 100644 --- a/web/stuff/user/userpanel_voice.php +++ b/web/stuff/user/userpanel_voice.php @@ -38,7 +38,7 @@ if ((!isset($user_id) or $main != 1) or (isset($user_id) and !$pa['voiceserver'])) { header('Location: userpanel.php'); - die('No access'); + die('No acces'); } include(EASYWIDIR . '/stuff/keyphrasefile.php'); @@ -970,4 +970,4 @@ if ($ui->st('d', 'get') == 'bu' and $ui->id('id', 10, 'get') and (!isset($_SESSI $template_file = 'userpanel_voiceserver_list.tpl'; -} +} \ No newline at end of file diff --git a/web/third_party/monstaftp/monstaftp.php b/web/third_party/monstaftp/monstaftp.php index 23b75f3d..580ea3cd 100644 --- a/web/third_party/monstaftp/monstaftp.php +++ b/web/third_party/monstaftp/monstaftp.php @@ -53,7 +53,7 @@ if (!isset($userPanelInclude)) { header('Location: userpanel.php'); - die('No access'); + die('No acces'); } // Include the language file @@ -182,4 +182,4 @@ if ($monsta->loggedIn === true and in_array($ftpAction, array("download", "ifram } $template_file = $monsta->errorResponse; -} +} \ No newline at end of file