release 1.1.3
This commit is contained in:
17
install.php
17
install.php
@@ -254,7 +254,7 @@ if(isset($_POST['confweb'])) {
|
|||||||
$nextupinfomsg3 = $mysqlcon->quote("You are excepted from the Ranksystem. If you wish to rank contact an admin on the TS3 server.");
|
$nextupinfomsg3 = $mysqlcon->quote("You are excepted from the Ranksystem. If you wish to rank contact an admin on the TS3 server.");
|
||||||
$servernews = $mysqlcon->quote("<strong>Message</strong><br>This is an example Message.<br>Change this Message inside the webinterface.");
|
$servernews = $mysqlcon->quote("<strong>Message</strong><br>This is an example Message.<br>Change this Message inside the webinterface.");
|
||||||
$rankupmsg = $mysqlcon->quote('Hey, you reached a higher rank, since you already connected for %1$s days, %2$s hours and %3$s minutes to our TS3 server.[B]Keep it up![/B] ;-) ');
|
$rankupmsg = $mysqlcon->quote('Hey, you reached a higher rank, since you already connected for %1$s days, %2$s hours and %3$s minutes to our TS3 server.[B]Keep it up![/B] ;-) ');
|
||||||
if($mysqlcon->exec("INSERT INTO $dbname.config (webuser,webpass,tshost,tsquery,tsvoice,tsuser,language,queryname,queryname2,grouptime,resetbydbchange,msgtouser,upcheck,uniqueid,updateinfotime,currvers,exceptuuid,exceptgroup,dateformat,showexcld,showcolcld,showcoluuid,showcoldbid,showcolot,showcolit,showcolat,showcolnx,showcolsg,showcolrg,showcolls,slowmode,cleanclients,cleanperiod,showhighest,showcolas,defchid,timezone,logpath,ignoreidle,rankupmsg,newversion,servernews,nextupinfo,nextupinfomsg1,nextupinfomsg2,nextupinfomsg3,shownav,showgrpsince) VALUES ('$user','$pass','localhost','10011','9987','serveradmin','en','Ranksystem','RankSystem','31536000=>47,31536060=>50','1','1','1','xrTKhT/HDl4ea0WoFDQH2zOpmKg=,9odBYAU7z2E2feUz965sL0/Myom=','7200','1.1.2','xrTKhT/HDl4ea0WoFDQH2zOpmKg=','2,6','%a days, %h hours, %i mins, %s secs','1','1','1','1','1','1','1','1','1','1','1','0','1','86400','1','1','0','Europe/Berlin','$logpath','600',$rankupmsg,'1.1.2',$servernews,'1',$nextupinfomsg1,$nextupinfomsg2,$nextupinfomsg3,'1','1')") === false) {
|
if($mysqlcon->exec("INSERT INTO $dbname.config (webuser,webpass,tshost,tsquery,tsvoice,tsuser,language,queryname,queryname2,grouptime,resetbydbchange,msgtouser,upcheck,uniqueid,updateinfotime,currvers,exceptuuid,exceptgroup,dateformat,showexcld,showcolcld,showcoluuid,showcoldbid,showcolot,showcolit,showcolat,showcolnx,showcolsg,showcolrg,showcolls,slowmode,cleanclients,cleanperiod,showhighest,showcolas,defchid,timezone,logpath,ignoreidle,rankupmsg,newversion,servernews,nextupinfo,nextupinfomsg1,nextupinfomsg2,nextupinfomsg3,shownav,showgrpsince) VALUES ('$user','$pass','localhost','10011','9987','serveradmin','en','Ranksystem','RankSystem','31536000=>47,31536060=>50','1','1','1','xrTKhT/HDl4ea0WoFDQH2zOpmKg=,9odBYAU7z2E2feUz965sL0/Myom=','7200','1.1.3','xrTKhT/HDl4ea0WoFDQH2zOpmKg=','2,6','%a days, %h hours, %i mins, %s secs','1','1','1','1','1','1','1','1','1','1','1','0','1','86400','1','1','0','Europe/Berlin','$logpath','600',$rankupmsg,'1.1.3',$servernews,'1',$nextupinfomsg1,$nextupinfomsg2,$nextupinfomsg3,'1','1')") === false) {
|
||||||
$err_msg = $lang['isntwidbmsg'].$mysqlcon->errorCode()." ".print_r($mysqlcon->errorInfo(), true); $err_lvl = 2;
|
$err_msg = $lang['isntwidbmsg'].$mysqlcon->errorCode()." ".print_r($mysqlcon->errorInfo(), true); $err_lvl = 2;
|
||||||
} else {
|
} else {
|
||||||
$err_msg = $lang['isntwiusr'].'<br><br>';
|
$err_msg = $lang['isntwiusr'].'<br><br>';
|
||||||
@@ -278,27 +278,30 @@ if (!isset($_POST['install']) && !isset($_POST['confweb'])) {
|
|||||||
if(!is_writeable('./other/dbconfig.php')) {
|
if(!is_writeable('./other/dbconfig.php')) {
|
||||||
$err_msg .= "<br>".$lang['isntwicfg']; $err_lvl = 3;
|
$err_msg .= "<br>".$lang['isntwicfg']; $err_lvl = 3;
|
||||||
}
|
}
|
||||||
if (substr(sprintf('%o', fileperms('./avatars/')), -4)!='0777') {
|
if(substr(sprintf('%o', fileperms('./avatars/')), -4)!='0777') {
|
||||||
$err_msg .= "<br>".sprintf($lang['isntwichm'],"avatars"); $err_lvl = 3;
|
$err_msg .= "<br>".sprintf($lang['isntwichm'],"avatars"); $err_lvl = 3;
|
||||||
}
|
}
|
||||||
if (substr(sprintf('%o', fileperms('./icons/')), -4)!='0777') {
|
if(substr(sprintf('%o', fileperms('./icons/')), -4)!='0777') {
|
||||||
$err_msg .= "<br>".sprintf($lang['isntwichm'],"icons"); $err_lvl = 3;
|
$err_msg .= "<br>".sprintf($lang['isntwichm'],"icons"); $err_lvl = 3;
|
||||||
}
|
}
|
||||||
if (substr(sprintf('%o', fileperms('./logs/')), -4)!='0777') {
|
if(substr(sprintf('%o', fileperms('./logs/')), -4)!='0777') {
|
||||||
$err_msg .= "<br>".sprintf($lang['isntwichm'],"logs"); $err_lvl = 3;
|
$err_msg .= "<br>".sprintf($lang['isntwichm'],"logs"); $err_lvl = 3;
|
||||||
}
|
}
|
||||||
if (!class_exists('PDO')) {
|
if(!class_exists('PDO')) {
|
||||||
$err_msg .= "<br>".$lang['insterr2']; $err_lvl = 3;
|
$err_msg .= "<br>".$lang['insterr2']; $err_lvl = 3;
|
||||||
}
|
}
|
||||||
if (!function_exists('exec')) {
|
if(!function_exists('exec')) {
|
||||||
$err_msg .= "<br>".$lang['insterr3']; $err_lvl = 3;
|
$err_msg .= "<br>".$lang['insterr3']; $err_lvl = 3;
|
||||||
}
|
}
|
||||||
if(version_compare(phpversion(), '5.5.0', '<')) {
|
if(version_compare(phpversion(), '5.5.0', '<')) {
|
||||||
$err_msg .= "<br>".sprintf($lang['insterr4'],phpversion()); $err_lvl = 3;
|
$err_msg .= "<br>".sprintf($lang['insterr4'],phpversion()); $err_lvl = 3;
|
||||||
}
|
}
|
||||||
if (!function_exists('simplexml_load_file')) {
|
if(!function_exists('simplexml_load_file')) {
|
||||||
$err_msg .= "<br>".$lang['insterr5']; $err_lvl = 3;
|
$err_msg .= "<br>".$lang['insterr5']; $err_lvl = 3;
|
||||||
}
|
}
|
||||||
|
if(!in_array('curl', get_loaded_extensions())) {
|
||||||
|
$err_msg .= "<br>".$lang['insterr6']; $err_lvl = 3;
|
||||||
|
}
|
||||||
if(!isset($err_lvl)) {
|
if(!isset($err_lvl)) {
|
||||||
unset($err_msg);
|
unset($err_msg);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,6 +52,14 @@ if(version_compare(phpversion(), '5.5.0', '<')) {
|
|||||||
enter_logfile($logpath,$timezone,1,"Your PHP version (".phpversion().") is below 5.5.0. Update of PHP needed! Shuttin down!\n\n");
|
enter_logfile($logpath,$timezone,1,"Your PHP version (".phpversion().") is below 5.5.0. Update of PHP needed! Shuttin down!\n\n");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
if(!function_exists('simplexml_load_file')) {
|
||||||
|
enter_logfile($logpath,$timezone,1,"SimpleXML is missed. Installation of SimpleXML is needed! Shuttin down!\n\n");
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
if(!in_array('curl', get_loaded_extensions())) {
|
||||||
|
enter_logfile($logpath,$timezone,1,"PHP cURL is missed. Installation of PHP cURL is needed! Shuttin down!\n\n");
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
enter_logfile($logpath,$timezone,5,"Initialize Bot...");
|
enter_logfile($logpath,$timezone,5,"Initialize Bot...");
|
||||||
require_once(substr(__DIR__,0,-4).'ts3_lib/TeamSpeak3.php');
|
require_once(substr(__DIR__,0,-4).'ts3_lib/TeamSpeak3.php');
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?PHP
|
<?PHP
|
||||||
function check_db($mysqlcon,$lang,$dbname,$timezone,$currvers,$logpath) {
|
function check_db($mysqlcon,$lang,$dbname,$timezone,$currvers,$logpath) {
|
||||||
$newversion = '1.1.2';
|
$newversion = '1.1.3';
|
||||||
enter_logfile($logpath,$timezone,5,"Check Ranksystem database for updates.");
|
enter_logfile($logpath,$timezone,5,"Check Ranksystem database for updates.");
|
||||||
|
|
||||||
function set_new_version($mysqlcon,$dbname,$timezone,$newversion,$logpath) {
|
function set_new_version($mysqlcon,$dbname,$timezone,$newversion,$logpath) {
|
||||||
@@ -15,14 +15,14 @@ function check_db($mysqlcon,$lang,$dbname,$timezone,$currvers,$logpath) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function check_chmod($timezone) {
|
function check_chmod($timezone,$logpath,$lang) {
|
||||||
if (substr(sprintf('%o', fileperms(substr(__DIR__,0,-4).'icons/')), -4)!='0777') {
|
if(substr(sprintf('%o', fileperms(substr(__DIR__,0,-4).'icons/')), -3, 1)!='7') {
|
||||||
enter_logfile($logpath,$timezone,2,sprintf($lang['isntwichm'],'icons'));
|
enter_logfile($logpath,$timezone,2,sprintf($lang['isntwichm'],'icons'));
|
||||||
}
|
}
|
||||||
if (substr(sprintf('%o', fileperms(substr(__DIR__,0,-4).'logs/')), -4)!='0777') {
|
if(substr(sprintf('%o', fileperms($logpath)), -3, 1)!='7') {
|
||||||
enter_logfile($logpath,$timezone,2,sprintf($lang['isntwichm'],'logs'));
|
enter_logfile($logpath,$timezone,2,sprintf($lang['isntwichm'],'logs'));
|
||||||
}
|
}
|
||||||
if (substr(sprintf('%o', fileperms(substr(__DIR__,0,-4).'avatars/')), -4)!='0777') {
|
if(substr(sprintf('%o', fileperms(substr(__DIR__,0,-4).'avatars/')), -3, 1)!='7') {
|
||||||
enter_logfile($logpath,$timezone,2,sprintf($lang['isntwichm'],'avatars'));
|
enter_logfile($logpath,$timezone,2,sprintf($lang['isntwichm'],'avatars'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -131,7 +131,7 @@ function check_db($mysqlcon,$lang,$dbname,$timezone,$currvers,$logpath) {
|
|||||||
if($currvers==$newversion) {
|
if($currvers==$newversion) {
|
||||||
enter_logfile($logpath,$timezone,5," No newer version detected; Database check finished.");
|
enter_logfile($logpath,$timezone,5," No newer version detected; Database check finished.");
|
||||||
old_files($timezone,$logpath);
|
old_files($timezone,$logpath);
|
||||||
check_chmod($timezone);
|
check_chmod($timezone,$logpath,$lang);
|
||||||
check_config($mysqlcon,$dbname);
|
check_config($mysqlcon,$dbname);
|
||||||
} elseif($currvers=="0.13-beta") {
|
} elseif($currvers=="0.13-beta") {
|
||||||
enter_logfile($logpath,$timezone,4," Update the Ranksystem Database to version 1.0.1");
|
enter_logfile($logpath,$timezone,4," Update the Ranksystem Database to version 1.0.1");
|
||||||
@@ -260,7 +260,7 @@ function check_db($mysqlcon,$lang,$dbname,$timezone,$currvers,$logpath) {
|
|||||||
|
|
||||||
if ($errcount == 1) {
|
if ($errcount == 1) {
|
||||||
$currvers = set_new_version($mysqlcon,$dbname,$timezone,$newversion,$logpath);
|
$currvers = set_new_version($mysqlcon,$dbname,$timezone,$newversion,$logpath);
|
||||||
old_files($timezone,$logpath);
|
check_chmod($timezone,$logpath,$lang);
|
||||||
check_chmod($timezone);
|
check_chmod($timezone);
|
||||||
} else {
|
} else {
|
||||||
enter_logfile($logpath,$timezone,1,"An error happens due updating the Ranksystem Database!");
|
enter_logfile($logpath,$timezone,1,"An error happens due updating the Ranksystem Database!");
|
||||||
@@ -335,8 +335,6 @@ function check_db($mysqlcon,$lang,$dbname,$timezone,$currvers,$logpath) {
|
|||||||
enter_logfile($logpath,$timezone,4," [1.1.2] Adjusted table config (part1) successfully.");
|
enter_logfile($logpath,$timezone,4," [1.1.2] Adjusted table config (part1) successfully.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if(version_compare($currvers, '1.1.1', '<=')) {
|
|
||||||
if($mysqlcon->exec("ALTER TABLE $dbname.config ADD (shownav int(1) NOT NULL default '0', showgrpsince int(1) NOT NULL default '0')") === false) { } else {
|
if($mysqlcon->exec("ALTER TABLE $dbname.config ADD (shownav int(1) NOT NULL default '0', showgrpsince int(1) NOT NULL default '0')") === false) { } else {
|
||||||
if($mysqlcon->exec("UPDATE $dbname.config set shownav='1', showgrpsince='1'") === false) { } else {
|
if($mysqlcon->exec("UPDATE $dbname.config set shownav='1', showgrpsince='1'") === false) { } else {
|
||||||
enter_logfile($logpath,$timezone,4," [1.1.2] Adjusted table config (part2) successfully.");
|
enter_logfile($logpath,$timezone,4," [1.1.2] Adjusted table config (part2) successfully.");
|
||||||
@@ -346,9 +344,12 @@ function check_db($mysqlcon,$lang,$dbname,$timezone,$currvers,$logpath) {
|
|||||||
enter_logfile($logpath,$timezone,4," [1.1.2] Adjusted table user successfully.");
|
enter_logfile($logpath,$timezone,4," [1.1.2] Adjusted table user successfully.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(version_compare($currvers, '1.1.2', '<=')) {
|
||||||
|
enter_logfile($logpath,$timezone,4," [1.1.3] No database changes needed.");
|
||||||
|
}
|
||||||
$currvers = set_new_version($mysqlcon,$dbname,$timezone,$newversion,$logpath);
|
$currvers = set_new_version($mysqlcon,$dbname,$timezone,$newversion,$logpath);
|
||||||
old_files($timezone,$logpath);
|
old_files($timezone,$logpath);
|
||||||
check_chmod($timezone);
|
check_chmod($timezone,$logpath,$lang);
|
||||||
check_config($mysqlcon,$dbname);
|
check_config($mysqlcon,$dbname);
|
||||||
}
|
}
|
||||||
return $currvers;
|
return $currvers;
|
||||||
|
|||||||
@@ -5,19 +5,12 @@ function handle_messages(TeamSpeak3_Adapter_ServerQuery_Event $event, TeamSpeak3
|
|||||||
$uuid = $event["invokeruid"];
|
$uuid = $event["invokeruid"];
|
||||||
|
|
||||||
|
|
||||||
if(strstr($event["msg"], 'nextup') && $nextupinfo == 1) {
|
if(strstr($event["msg"], 'nextup') && $nextupinfo != 0) {
|
||||||
//enter_logfile($logpath,$timezone,6,"Client ".$event["invokername"]." (".$event["invokeruid"].") sent textmessage: ".$event["msg"]);
|
//enter_logfile($logpath,$timezone,6,"Client ".$event["invokername"]." (".$event["invokeruid"].") sent textmessage: ".$event["msg"]);
|
||||||
if(($dbuserdata = $mysqlcon->query("SELECT count,nextup,idle,except FROM $dbname.user WHERE uuid='$uuid'")) === false) {
|
if(($dbuserdata = $mysqlcon->query("SELECT count,nextup,idle,except FROM $dbname.user WHERE uuid='$uuid'")) === false) {
|
||||||
enter_logfile($logpath,$timezone,2,"handle_messages 1:".print_r($mysqlcon->errorInfo(), true));
|
enter_logfile($logpath,$timezone,2,"handle_messages 1:".print_r($mysqlcon->errorInfo(), true));
|
||||||
}
|
}
|
||||||
$user = $dbuserdata->fetchAll(PDO::FETCH_ASSOC);
|
$user = $dbuserdata->fetchAll(PDO::FETCH_ASSOC);
|
||||||
$nextup = $user[0]['nextup'];
|
|
||||||
$dtF = new DateTime("@0");
|
|
||||||
$dtT = new DateTime("@$nextup");
|
|
||||||
$days = $dtF->diff($dtT)->format('%a');
|
|
||||||
$hours = $dtF->diff($dtT)->format('%h');
|
|
||||||
$mins = $dtF->diff($dtT)->format('%i');
|
|
||||||
$secs = $dtF->diff($dtT)->format('%s');
|
|
||||||
|
|
||||||
if(($dbgroups = $mysqlcon->query("SELECT * FROM $dbname.groups")) === false) {
|
if(($dbgroups = $mysqlcon->query("SELECT * FROM $dbname.groups")) === false) {
|
||||||
enter_logfile($logpath,$timezone,2,"handle_messages 2:".print_r($mysqlcon->errorInfo(), true));
|
enter_logfile($logpath,$timezone,2,"handle_messages 2:".print_r($mysqlcon->errorInfo(), true));
|
||||||
@@ -31,15 +24,21 @@ function handle_messages(TeamSpeak3_Adapter_ServerQuery_Event $event, TeamSpeak3
|
|||||||
$countgrp = count($grouptime);
|
$countgrp = count($grouptime);
|
||||||
$grpcount=0;
|
$grpcount=0;
|
||||||
foreach ($grouptime as $time => $groupid) {
|
foreach ($grouptime as $time => $groupid) {
|
||||||
$grpcount++;
|
|
||||||
if ($substridle == 1) {
|
if ($substridle == 1) {
|
||||||
$activetime = $user[0]['count'] - $user[0]['idle'];
|
$nextup = $time - $user[0]['count'] - $user[0]['idle'];
|
||||||
} else {
|
} else {
|
||||||
$activetime = $user[0]['count'];
|
$nextup = $time - $user[0]['count'];
|
||||||
}
|
}
|
||||||
if ($activetime < $time || $grpcount == $countgrp && $nextup <= 0) {
|
$dtF = new DateTime("@0");
|
||||||
|
$dtT = new DateTime("@$nextup");
|
||||||
|
$days = $dtF->diff($dtT)->format('%a');
|
||||||
|
$hours = $dtF->diff($dtT)->format('%h');
|
||||||
|
$mins = $dtF->diff($dtT)->format('%i');
|
||||||
|
$secs = $dtF->diff($dtT)->format('%s');
|
||||||
|
$grpcount++;
|
||||||
|
if ($nextup > 0 && $nextup < $time || $grpcount == $countgrp && $nextup <= 0) {
|
||||||
check_shutdown($timezone,$logpath); usleep($slowmode);
|
check_shutdown($timezone,$logpath); usleep($slowmode);
|
||||||
if ($grpcount == $countgrp && $nextup == 0) {
|
if ($grpcount == $countgrp && $nextup <= 0) {
|
||||||
try {
|
try {
|
||||||
$host->serverGetSelected()->clientGetByUid($event["invokeruid"])->message(sprintf($nextupinfomsg2, $days, $hours, $mins, $secs, $sqlhisgroup[$groupid]));
|
$host->serverGetSelected()->clientGetByUid($event["invokeruid"])->message(sprintf($nextupinfomsg2, $days, $hours, $mins, $secs, $sqlhisgroup[$groupid]));
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
@@ -58,6 +57,9 @@ function handle_messages(TeamSpeak3_Adapter_ServerQuery_Event $event, TeamSpeak3
|
|||||||
enter_logfile($logpath,$timezone,2,"handle_messages 5:".$e->getCode().': '.$e->getMessage());
|
enter_logfile($logpath,$timezone,2,"handle_messages 5:".$e->getCode().': '.$e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if($nextupinfo == 1) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ $lang['insterr2'] = "PDO is needed but seems not installed. Install <a href=\"
|
|||||||
$lang['insterr3'] = "PHP exec function need to be enabled but seems to be disabled. Please enable the PHP <a href=\http://php.net/manual/de/function.exec.php\" target=\"_blank\">exec</a> function and try it again!";
|
$lang['insterr3'] = "PHP exec function need to be enabled but seems to be disabled. Please enable the PHP <a href=\http://php.net/manual/de/function.exec.php\" target=\"_blank\">exec</a> function and try it again!";
|
||||||
$lang['insterr4'] = "Your PHP version (%s) is below 5.5.0. Update your PHP and try it again!";
|
$lang['insterr4'] = "Your PHP version (%s) is below 5.5.0. Update your PHP and try it again!";
|
||||||
$lang['insterr5'] = "SimpleXML is needed but seems not available. Install <a href=\"http://php.net/manual/en/simplexml.installation.php\" target=\"_blank\">simpleXML</a> and try it again!";
|
$lang['insterr5'] = "SimpleXML is needed but seems not available. Install <a href=\"http://php.net/manual/en/simplexml.installation.php\" target=\"_blank\">simpleXML</a> and try it again!";
|
||||||
|
$lang['insterr6'] = "PHP cURL is needed but seems not available. Install <a href=\"//php.net/manual/en/book.curl.php\" target=\"_blank\">PHP cURL</a> and try it again!";
|
||||||
$lang['isntwicfg'] = "Can't save the database configuration! Please edit the 'other/dbconfig.php' with a chmod 0777 (on windows 'full access') and try again after.";
|
$lang['isntwicfg'] = "Can't save the database configuration! Please edit the 'other/dbconfig.php' with a chmod 0777 (on windows 'full access') and try again after.";
|
||||||
$lang['isntwicfg2'] = "Configurate Webinterface";
|
$lang['isntwicfg2'] = "Configurate Webinterface";
|
||||||
$lang['isntwichm'] = "Write Permissions failed on folder \"%s\". Please give them a chmod 777 (on windows 'full access') and try to start the Ranksystem again.";
|
$lang['isntwichm'] = "Write Permissions failed on folder \"%s\". Please give them a chmod 777 (on windows 'full access') and try to start the Ranksystem again.";
|
||||||
@@ -335,13 +336,16 @@ $lang['winav9'] = "Update available!";
|
|||||||
$lang['winav10'] = "Please use the webinterface only via %s HTTPS%s An encryption is critical to ensure your privacy and security.%sTo be able to use HTTPS your webserver needs to support an SSL connection.";
|
$lang['winav10'] = "Please use the webinterface only via %s HTTPS%s An encryption is critical to ensure your privacy and security.%sTo be able to use HTTPS your webserver needs to support an SSL connection.";
|
||||||
$lang['winav11'] = "Please enter the unique Client-ID of the admin of the Ranksystem (Other -> admin ID). This is very important in case you lost your login details for the webinterface (to reset these).";
|
$lang['winav11'] = "Please enter the unique Client-ID of the admin of the Ranksystem (Other -> admin ID). This is very important in case you lost your login details for the webinterface (to reset these).";
|
||||||
$lang['winxinfo'] = "Command \"nextup\"";
|
$lang['winxinfo'] = "Command \"nextup\"";
|
||||||
$lang['winxinfodesc'] = "Allows the user on the TS3 server to write the command \"nextup\" to the Ranksystem (query) bot as private textmessage.<br><br>As answer the user will get a defined text message with the needed time for the next rankup.";
|
$lang['winxinfodesc'] = "Allows the user on the TS3 server to write the command \"nextup\" to the Ranksystem (query) bot as private textmessage.<br><br>As answer the user will get a defined text message with the needed time for the next rankup.<br><br><b>deactivated</b> - The function is deactivated. The command 'nextup' will be ignored.<br><b>allowed - only next rank</b> - Gives back the needed time for the next group.<br><b>allowed - all next ranks</b> - Gives back the needed time for all higher ranks.";
|
||||||
|
$lang['winxmode1'] = "deactivated";
|
||||||
|
$lang['winxmode2'] = "allowed - only next rank";
|
||||||
|
$lang['winxmode3'] = "allowed - all next ranks";
|
||||||
$lang['winxmsg1'] = "Message";
|
$lang['winxmsg1'] = "Message";
|
||||||
$lang['winxmsgdesc1'] = "Define a message, which the user will get as answer at the command \"nextup\".<br><br>Arguments:<br>%1\$s - days to next rankup<br>%2\$s - hours to next rankup<br>%3\$s - minutes to next rankup<br>%4\$s - seconds to next rankup<br>%5\$s - name of the next servergroup<br><br>Example:<br>Your next rank up will be in %1\$s days, %2\$s hours and %3\$s minutes and %4\$s seconds. The next servergroup you will reach is [B]%5\$s[/B].";
|
$lang['winxmsgdesc1'] = "Define a message, which the user will get as answer at the command \"nextup\".<br><br>Arguments:<br>%1$s - days to next rankup<br>%2$s - hours to next rankup<br>%3$s - minutes to next rankup<br>%4$s - seconds to next rankup<br>%5$s - name of the next servergroup<br><br>Example:<br>Your next rank up will be in %1$s days, %2$s hours and %3$s minutes and %4$s seconds. The next servergroup you will reach is [B]%5$s[/B].";
|
||||||
$lang['winxmsg2'] = "Message (highest)";
|
$lang['winxmsg2'] = "Message (highest)";
|
||||||
$lang['winxmsgdesc2'] = "Define a message, which the user will get as answer at the command \"nextup\", when the user already reached the highest rank.<br><br>Arguments:<br>%1\$s - days to next rankup<br>%2\$s - hours to next rankup<br>%3\$s - minutes to next rankup<br>%4\$s - seconds to next rankup<br>%5\$s - name of the next servergroup<br><br>Example:<br>You have already reached the highest rank.";
|
$lang['winxmsgdesc2'] = "Define a message, which the user will get as answer at the command \"nextup\", when the user already reached the highest rank.<br><br>Arguments:<br>%1$s - days to next rankup<br>%2$s - hours to next rankup<br>%3$s - minutes to next rankup<br>%4$s - seconds to next rankup<br>%5$s - name of the next servergroup<br><br>Example:<br>You have been reached the highest rank for %1$s days, %2$s hours and %3$s minutes and %4$s seconds.";
|
||||||
$lang['winxmsg3'] = "Message (excepted)";
|
$lang['winxmsg3'] = "Message (excepted)";
|
||||||
$lang['winxmsgdesc3'] = "Define a message, which the user will get as answer at the command \"nextup\", when the user is excepted from the Ranksystem.<br><br>Arguments:<br>%1\$s - days to next rankup<br>%2\$s - hours to next rankup<br>%3\$s - minutes to next rankup<br>%4\$s - seconds to next rankup<br>%5\$s - name of the next servergroup<br><br>Example:<br>You are excepted from the Ranksystem. If you wish to rank contact an admin on the TS3 server.";
|
$lang['winxmsgdesc3'] = "Define a message, which the user will get as answer at the command \"nextup\", when the user is excepted from the Ranksystem.<br><br>Arguments:<br>%1$s - days to next rankup<br>%2$s - hours to next rankup<br>%3$s - minutes to next rankup<br>%4$s - seconds to next rankup<br>%5$s - name of the next servergroup<br><br>Example:<br>You are excepted from the Ranksystem. If you wish to rank contact an admin on the TS3 server.";
|
||||||
$lang['wirtpw1'] = "Sorry Bro, you have forgotten to enter your admin ID inside the webinterface before. There is no way to reset the password!";
|
$lang['wirtpw1'] = "Sorry Bro, you have forgotten to enter your admin ID inside the webinterface before. There is no way to reset the password!";
|
||||||
$lang['wirtpw2'] = "Admin ID not found on TS3 server. You need to be online with the unique Client ID, which is saved as admin ID.";
|
$lang['wirtpw2'] = "Admin ID not found on TS3 server. You need to be online with the unique Client ID, which is saved as admin ID.";
|
||||||
$lang['wirtpw3'] = "Your IP address do not match with the IP address of the admin on the TS3 server. Be sure you are with the same IP address online on the TS3 server and also on this page (same protocol IPv4 / IPv6 is also needed).";
|
$lang['wirtpw3'] = "Your IP address do not match with the IP address of the admin on the TS3 server. Be sure you are with the same IP address online on the TS3 server and also on this page (same protocol IPv4 / IPv6 is also needed).";
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ $lang['insterr2'] = "PDO wird benötigt, scheint jedoch nicht installiert zu s
|
|||||||
$lang['insterr3'] = "PHP exec wird benötigt, scheint jedoch deaktiviert zu sein. Bitte aktiviere PHP <a href=\http://php.net/manual/de/function.exec.php\" target=\"_blank\">exec</a> und versuche es erneut!";
|
$lang['insterr3'] = "PHP exec wird benötigt, scheint jedoch deaktiviert zu sein. Bitte aktiviere PHP <a href=\http://php.net/manual/de/function.exec.php\" target=\"_blank\">exec</a> und versuche es erneut!";
|
||||||
$lang['insterr4'] = "Deine PHP Version (%s) ist unter 5.5.0. Aktualisiere dein PHP und versuche es erneut!";
|
$lang['insterr4'] = "Deine PHP Version (%s) ist unter 5.5.0. Aktualisiere dein PHP und versuche es erneut!";
|
||||||
$lang['insterr5'] = "SimpleXML wird benötigt, scheint jedoch nicht verfügbar zu sein. Bitte installiere <a href=\"http://php.net/manual/de/simplexml.installation.php\" target=\"_blank\">simpleXML</a> und versuche es erneut!";
|
$lang['insterr5'] = "SimpleXML wird benötigt, scheint jedoch nicht verfügbar zu sein. Bitte installiere <a href=\"http://php.net/manual/de/simplexml.installation.php\" target=\"_blank\">simpleXML</a> und versuche es erneut!";
|
||||||
|
$lang['insterr6'] = "PHP cURL wird benötigt, scheint jedoch nicht verfügbar zu sein. Bitte installiere <a href=\"//php.net/manual/en/book.curl.php\" target=\"_blank\">PHP cURL</a> und versuche es erneut!";
|
||||||
$lang['isntwicfg'] = "Die Datenbankkonfigurationen konnten nicht gespeichert werden! Bitte versehe die 'other/dbconfig.php' mit einem chmod 0777 (für Windows 'Vollzugriff') und versuche es anschließend erneut.";
|
$lang['isntwicfg'] = "Die Datenbankkonfigurationen konnten nicht gespeichert werden! Bitte versehe die 'other/dbconfig.php' mit einem chmod 0777 (für Windows 'Vollzugriff') und versuche es anschließend erneut.";
|
||||||
$lang['isntwicfg2'] = "Konfiguriere Webinterface";
|
$lang['isntwicfg2'] = "Konfiguriere Webinterface";
|
||||||
$lang['isntwichm'] = "Schreibrechte fehlen für Verzeichnis \"%s\". Bitte setze auf dieses einen chmod 777 (für Windows 'Vollzugriff') und starte anschließend das Ranksystem erneut.";
|
$lang['isntwichm'] = "Schreibrechte fehlen für Verzeichnis \"%s\". Bitte setze auf dieses einen chmod 777 (für Windows 'Vollzugriff') und starte anschließend das Ranksystem erneut.";
|
||||||
@@ -335,13 +336,17 @@ $lang['winav9'] = "Update verfügbar!";
|
|||||||
$lang['winav10'] = "Bitte nutze das Webinterface nur via %s HTTPS%s Eine Verschlüsselung ist wichtig um die Privatsphäre und Sicherheit zu gewährleisten.%sUm HTTPS nutzen zu können, muss der Webserver eine SSL Verbindung unterstützen.";
|
$lang['winav10'] = "Bitte nutze das Webinterface nur via %s HTTPS%s Eine Verschlüsselung ist wichtig um die Privatsphäre und Sicherheit zu gewährleisten.%sUm HTTPS nutzen zu können, muss der Webserver eine SSL Verbindung unterstützen.";
|
||||||
$lang['winav11'] = "Bitte hinterlege die eindeutige Client-ID des Admins des Ranksystems (Anderes -> admin ID). Dies ist sehr wichtig im Falle des Verlustes der Logindaten für das Webinterface.";
|
$lang['winav11'] = "Bitte hinterlege die eindeutige Client-ID des Admins des Ranksystems (Anderes -> admin ID). Dies ist sehr wichtig im Falle des Verlustes der Logindaten für das Webinterface.";
|
||||||
$lang['winxinfo'] = "Befehl \"nextup\"";
|
$lang['winxinfo'] = "Befehl \"nextup\"";
|
||||||
$lang['winxinfodesc'] = "Erlaubt einen User auf dem TeamSpeak3 Server den Befehl \"nextup\" dem Ranksystem (Query) Bot als private Textnachricht zu schreiben.<br><br>Als Antwort erhält der User eine Nachricht mit der benötigten Zeit zur nächsten Rangsteigerung.<br><br>Unter folgender URL ein Beispiel zum Setzen einer Verlinkung mit \"client://\" für den Ranksystem (Query) Bot, da nicht unbedingt für alle die Query-User sichtbar sind:<br>http://ts-n.net/lexicon.php?showid=98#lexindex<br><br>Dieser kann dann mit dem [URL] Tag in einem Channel als Link eingefügt werden.<br>http://ts-n.net/lexicon.php?showid=97#lexindex";
|
$lang['winxinfodesc'] = "Erlaubt einen User auf dem TeamSpeak3 Server den Befehl \"nextup\" dem Ranksystem (Query) Bot als private Textnachricht zu schreiben.<br><br>Als Antwort erhält der User eine Nachricht mit der benötigten Zeit zur nächsten Rangsteigerung.
|
||||||
|
<br><br><b>deaktiviert</b> - Die Funktion ist deaktiviert. Der Befehl 'nextup' wird ignoriert.<br><b>erlaubt - nur nächsten Rang</b> - Gibt die benötigte Zeit zum nächsten Rang zurück.<br><b>erlaubt - alle nächsten Ränge</b> - Gibt die benötigte Zeit für alle höheren Ränge zurück.<br><br>Unter folgender URL ein Beispiel zum Setzen einer Verlinkung mit \"client://\" für den Ranksystem (Query) Bot, da nicht unbedingt für alle die Query-User sichtbar sind:<br>http://ts-n.net/lexicon.php?showid=98#lexindex<br><br>Dieser kann dann mit dem [URL] Tag in einem Channel als Link eingefügt werden.<br>http://ts-n.net/lexicon.php?showid=97#lexindex";
|
||||||
|
$lang['winxmode1'] = "deaktiviert";
|
||||||
|
$lang['winxmode2'] = "erlaubt - nur nächster Rang";
|
||||||
|
$lang['winxmode3'] = "erlaubt - alle nächsten Ränge";
|
||||||
$lang['winxmsg1'] = "Nachricht";
|
$lang['winxmsg1'] = "Nachricht";
|
||||||
$lang['winxmsgdesc1'] = "Definiere eine Nachricht, welche ein User als Antwort auf den Befehl \"nextup\" erhält.<br><br>Argumente:<br>%1\$s - Tage zur nächsten Rangsteigerung<br>%2\$s - Stunden zur nächsten Rangsteigerung<br>%3\$s - Minuten zur nächsten Rangsteigerung<br>%4\$s - Sekunden zur nächsten Rangsteigerung<br>%5\$s - Name der nächsten Servergruppe (Rank)<br><br>Beispiel:<br>Deine nächste Rangsteigerung ist in %1\$s Tagen, %2\$s Stunden, %3\$s Minuten und %4\$s Sekunden. Die nächste Servergruppe, die du erreichst ist [B]%5\$s[/B].";
|
$lang['winxmsgdesc1'] = "Definiere eine Nachricht, welche ein User als Antwort auf den Befehl \"nextup\" erhält.<br><br>Argumente:<br>%1$s - Tage zur nächsten Rangsteigerung<br>%2$s - Stunden zur nächsten Rangsteigerung<br>%3$s - Minuten zur nächsten Rangsteigerung<br>%4$s - Sekunden zur nächsten Rangsteigerung<br>%5\$s - Name der nächsten Servergruppe (Rank)<br><br>Beispiel:<br>Deine nächste Rangsteigerung ist in %1$s Tagen, %2$s Stunden, %3$s Minuten und %4$s Sekunden. Die nächste Servergruppe, die du erreichst ist [B]%5$s[/B].";
|
||||||
$lang['winxmsg2'] = "Nachricht (höchste)";
|
$lang['winxmsg2'] = "Nachricht (höchste)";
|
||||||
$lang['winxmsgdesc2'] = "Definiere eine Nachricht, welche ein User als Antwort auf den Befehl \"nextup\" erhält, wenn der User bereits im höchsten Rang ist.<br><br>Argumente:<br>%1\$s - Tage zur nächsten Rangsteigerung<br>%2\$s - Stunden zur nächsten Rangsteigerung<br>%3\$s - Minuten zur nächsten Rangsteigerung<br>%4\$s - Sekunden zur nächsten Rangsteigerung<br>%5\$s - Name der nächsten Servergruppe (Rank)<br><br>Beispiel:<br>Du hast bereits den höchsten Rang erreicht.";
|
$lang['winxmsgdesc2'] = "Definiere eine Nachricht, welche ein User als Antwort auf den Befehl \"nextup\" erhält, wenn der User bereits im höchsten Rang ist.<br><br>Argumente:<br>%1$s - Tage zur nächsten Rangsteigerung<br>%2$s - Stunden zur nächsten Rangsteigerung<br>%3$s - Minuten zur nächsten Rangsteigerung<br>%4$s - Sekunden zur nächsten Rangsteigerung<br>%5vs - Name der nächsten Servergruppe (Rank)<br><br>Beispiel:<br>Du hast bereits den höchsten Rang erreicht seit %1$s Tagen, %2$s Stunden, %3$s Minuten und %4$s Sekunden.";
|
||||||
$lang['winxmsg3'] = "Nachricht (Ausnahme)";
|
$lang['winxmsg3'] = "Nachricht (Ausnahme)";
|
||||||
$lang['winxmsgdesc3'] = "Definiere eine Nachricht, welche ein User als Antwort auf den Befehl \"nextup\" erhält, wemm der User vom Ranksystem ausgeschlossen ist.<br><br>Argumente:<br>%1\$s - Tage zur nächsten Rangsteigerung<br>%2\$s - Stunden zur nächsten Rangsteigerung<br>%3\$s - Minuten zur nächsten Rangsteigerung<br>%4\$s - Sekunden zur nächsten Rangsteigerung<br>%5\$s - Name der nächsten Servergruppe (Rank)<br><br>Beispiel:<br>Du bist vom Ranksystem ausgeschlossen. Wenn du eine Teilnahme am Ranksystem wünschst, kontaktiere einen Admin auf dem TS3 Server.";
|
$lang['winxmsgdesc3'] = "Definiere eine Nachricht, welche ein User als Antwort auf den Befehl \"nextup\" erhält, wemm der User vom Ranksystem ausgeschlossen ist.<br><br>Argumente:<br>%1$s - Tage zur nächsten Rangsteigerung<br>%2$s - Stunden zur nächsten Rangsteigerung<br>%3$s - Minuten zur nächsten Rangsteigerung<br>%4$s - Sekunden zur nächsten Rangsteigerung<br>%5$s - Name der nächsten Servergruppe (Rank)<br><br>Beispiel:<br>Du bist vom Ranksystem ausgeschlossen. Wenn du eine Teilnahme am Ranksystem wünschst, kontaktiere einen Admin auf dem TS3 Server.";
|
||||||
$lang['wirtpw1'] = "Sorry Bro, du hast vergessen die admin ID zuvor im Webinterface zu hinterlegen. Nun besteht keine Möglichkeit das Passwort zurückzusetzen!";
|
$lang['wirtpw1'] = "Sorry Bro, du hast vergessen die admin ID zuvor im Webinterface zu hinterlegen. Nun besteht keine Möglichkeit das Passwort zurückzusetzen!";
|
||||||
$lang['wirtpw2'] = "Admin ID konnte auf dem TS3 Server nicht gefunden werden. Du musst auf dem TS3 mit der hinterlegten admin ID online sein.";
|
$lang['wirtpw2'] = "Admin ID konnte auf dem TS3 Server nicht gefunden werden. Du musst auf dem TS3 mit der hinterlegten admin ID online sein.";
|
||||||
$lang['wirtpw3'] = "Deine IP Adresse stimmt nicht mit der IP des Admins auf dem TS3 überein. Bitte stelle sicher, dass du die gleiche IP Adresse auf dem TS3 Server nutzt wie auch hier auf dieser Seite (und auch das gleiche Protokoll IPv4 / IPv6).";
|
$lang['wirtpw3'] = "Deine IP Adresse stimmt nicht mit der IP des Admins auf dem TS3 überein. Bitte stelle sicher, dass du die gleiche IP Adresse auf dem TS3 Server nutzt wie auch hier auf dieser Seite (und auch das gleiche Protokoll IPv4 / IPv6).";
|
||||||
|
|||||||
@@ -36,7 +36,8 @@ $lang['insterr1'] = "ATTENTION: You are trying to install the Ranksystem, but
|
|||||||
$lang['insterr2'] = "PDO is needed but seems not installed. Install <a href=\"http://php.net/manual/de/pdo.installation.php\" target=\"_blank\">PDO</a> and try it again!";
|
$lang['insterr2'] = "PDO is needed but seems not installed. Install <a href=\"http://php.net/manual/de/pdo.installation.php\" target=\"_blank\">PDO</a> and try it again!";
|
||||||
$lang['insterr3'] = "PHP exec function need to be enabled but seems to be disabled. Please enable the PHP <a href=\http://php.net/manual/de/function.exec.php\" target=\"_blank\">exec</a> function and try it again!";
|
$lang['insterr3'] = "PHP exec function need to be enabled but seems to be disabled. Please enable the PHP <a href=\http://php.net/manual/de/function.exec.php\" target=\"_blank\">exec</a> function and try it again!";
|
||||||
$lang['insterr4'] = "Your PHP version (%s) is below 5.5.0. Update your PHP and try it again!";
|
$lang['insterr4'] = "Your PHP version (%s) is below 5.5.0. Update your PHP and try it again!";
|
||||||
$lang['insterr5'] = "SimpleXML is needed but seems not available. Install <a href=\"http://php.net/manual/en/simplexml.installation.php\" target=\"_blank\">simpleXML</a> and try it again!";
|
$lang['insterr5'] = "SimpleXML is needed but seems not available. Install <a href=\"http://php.net/manual/en/book.simplexml.php\" target=\"_blank\">simpleXML</a> and try it again!";
|
||||||
|
$lang['insterr6'] = "PHP cURL is needed but seems not available. Install <a href=\"//php.net/manual/en/book.curl.php\" target=\"_blank\">PHP cURL</a> and try it again!";
|
||||||
$lang['isntwicfg'] = "Can't save the database configuration! Please edit the 'other/dbconfig.php' with a chmod 0777 (on windows 'full access') and try again after.";
|
$lang['isntwicfg'] = "Can't save the database configuration! Please edit the 'other/dbconfig.php' with a chmod 0777 (on windows 'full access') and try again after.";
|
||||||
$lang['isntwicfg2'] = "Configurate Webinterface";
|
$lang['isntwicfg2'] = "Configurate Webinterface";
|
||||||
$lang['isntwichm'] = "Write Permissions failed on folder \"%s\". Please give them a chmod 777 (on windows 'full access') and try to start the Ranksystem again.";
|
$lang['isntwichm'] = "Write Permissions failed on folder \"%s\". Please give them a chmod 777 (on windows 'full access') and try to start the Ranksystem again.";
|
||||||
@@ -335,13 +336,16 @@ $lang['winav9'] = "Update available!";
|
|||||||
$lang['winav10'] = "Please use the webinterface only via %s HTTPS%s An encryption is critical to ensure your privacy and security.%sTo be able to use HTTPS your webserver needs to support an SSL connection.";
|
$lang['winav10'] = "Please use the webinterface only via %s HTTPS%s An encryption is critical to ensure your privacy and security.%sTo be able to use HTTPS your webserver needs to support an SSL connection.";
|
||||||
$lang['winav11'] = "Please enter the unique Client-ID of the admin of the Ranksystem (Other -> admin ID). This is very important in case you lost your login details for the webinterface (to reset these).";
|
$lang['winav11'] = "Please enter the unique Client-ID of the admin of the Ranksystem (Other -> admin ID). This is very important in case you lost your login details for the webinterface (to reset these).";
|
||||||
$lang['winxinfo'] = "Command \"nextup\"";
|
$lang['winxinfo'] = "Command \"nextup\"";
|
||||||
$lang['winxinfodesc'] = "Allows the user on the TS3 server to write the command \"nextup\" to the Ranksystem (query) bot as private textmessage.<br><br>As answer the user will get a defined text message with the needed time for the next rankup.";
|
$lang['winxinfodesc'] = "Allows the user on the TS3 server to write the command \"nextup\" to the Ranksystem (query) bot as private textmessage.<br><br>As answer the user will get a defined text message with the needed time for the next rankup.<br><br><b>deactivated</b> - The function is deactivated. The command 'nextup' will be ignored.<br><b>allowed - only next rank</b> - Gives back the needed time for the next group.<br><b>allowed - all next ranks</b> - Gives back the needed time for all higher ranks.";
|
||||||
|
$lang['winxmode1'] = "deactivated";
|
||||||
|
$lang['winxmode2'] = "allowed - only next rank";
|
||||||
|
$lang['winxmode3'] = "allowed - all next ranks";
|
||||||
$lang['winxmsg1'] = "Message";
|
$lang['winxmsg1'] = "Message";
|
||||||
$lang['winxmsgdesc1'] = "Define a message, which the user will get as answer at the command \"nextup\".<br><br>Arguments:<br>%1\$s - days to next rankup<br>%2\$s - hours to next rankup<br>%3\$s - minutes to next rankup<br>%4\$s - seconds to next rankup<br>%5\$s - name of the next servergroup<br><br>Example:<br>Your next rank up will be in %1\$s days, %2\$s hours and %3\$s minutes and %4\$s seconds. The next servergroup you will reach is [B]%5\$s[/B].";
|
$lang['winxmsgdesc1'] = "Define a message, which the user will get as answer at the command \"nextup\".<br><br>Arguments:<br>%1$s - days to next rankup<br>%2$s - hours to next rankup<br>%3$s - minutes to next rankup<br>%4$s - seconds to next rankup<br>%5$s - name of the next servergroup<br><br>Example:<br>Your next rank up will be in %1$s days, %2$s hours and %3$s minutes and %4$s seconds. The next servergroup you will reach is [B]%5$s[/B].";
|
||||||
$lang['winxmsg2'] = "Message (highest)";
|
$lang['winxmsg2'] = "Message (highest)";
|
||||||
$lang['winxmsgdesc2'] = "Define a message, which the user will get as answer at the command \"nextup\", when the user already reached the highest rank.<br><br>Arguments:<br>%1\$s - days to next rankup<br>%2\$s - hours to next rankup<br>%3\$s - minutes to next rankup<br>%4\$s - seconds to next rankup<br>%5\$s - name of the next servergroup<br><br>Example:<br>You have already reached the highest rank.";
|
$lang['winxmsgdesc2'] = "Define a message, which the user will get as answer at the command \"nextup\", when the user already reached the highest rank.<br><br>Arguments:<br>%1$s - days to next rankup<br>%2$s - hours to next rankup<br>%3$s - minutes to next rankup<br>%4$s - seconds to next rankup<br>%5$s - name of the next servergroup<br><br>Example:<br>You have been reached the highest rank for %1$s days, %2$s hours and %3$s minutes and %4$s seconds.";
|
||||||
$lang['winxmsg3'] = "Message (excepted)";
|
$lang['winxmsg3'] = "Message (excepted)";
|
||||||
$lang['winxmsgdesc3'] = "Define a message, which the user will get as answer at the command \"nextup\", when the user is excepted from the Ranksystem.<br><br>Arguments:<br>%1\$s - days to next rankup<br>%2\$s - hours to next rankup<br>%3\$s - minutes to next rankup<br>%4\$s - seconds to next rankup<br>%5\$s - name of the next servergroup<br><br>Example:<br>You are excepted from the Ranksystem. If you wish to rank contact an admin on the TS3 server.";
|
$lang['winxmsgdesc3'] = "Define a message, which the user will get as answer at the command \"nextup\", when the user is excepted from the Ranksystem.<br><br>Arguments:<br>%1$s - days to next rankup<br>%2$s - hours to next rankup<br>%3$s - minutes to next rankup<br>%4$s - seconds to next rankup<br>%5$s - name of the next servergroup<br><br>Example:<br>You are excepted from the Ranksystem. If you wish to rank contact an admin on the TS3 server.";
|
||||||
$lang['wirtpw1'] = "Sorry Bro, you have forgotten to enter your admin ID inside the webinterface before. There is no way to reset the password!";
|
$lang['wirtpw1'] = "Sorry Bro, you have forgotten to enter your admin ID inside the webinterface before. There is no way to reset the password!";
|
||||||
$lang['wirtpw2'] = "Admin ID not found on TS3 server. You need to be online with the unique Client ID, which is saved as admin ID.";
|
$lang['wirtpw2'] = "Admin ID not found on TS3 server. You need to be online with the unique Client ID, which is saved as admin ID.";
|
||||||
$lang['wirtpw3'] = "Your IP address do not match with the IP address of the admin on the TS3 server. Be sure you are with the same IP address online on the TS3 server and also on this page (same protocol IPv4 / IPv6 is also needed).";
|
$lang['wirtpw3'] = "Your IP address do not match with the IP address of the admin on the TS3 server. Be sure you are with the same IP address online on the TS3 server and also on this page (same protocol IPv4 / IPv6 is also needed).";
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ $lang['insterr2'] = "PDO è necessario ma non sembra essere installato. Instal
|
|||||||
$lang['insterr3'] = "La funzione PHP exec deve essere abilitata, ma sembra non lo sia. Per favore, abilita la funzione PHP <a href=\http://php.net/manual/de/function.exec.php\" target=\"_blank\">exec</a> e prova ancora!";
|
$lang['insterr3'] = "La funzione PHP exec deve essere abilitata, ma sembra non lo sia. Per favore, abilita la funzione PHP <a href=\http://php.net/manual/de/function.exec.php\" target=\"_blank\">exec</a> e prova ancora!";
|
||||||
$lang['insterr4'] = "La tua versione PHP (%s) is antecedente alla 5.5.0. Aggiorna la tua PHP e prova ancora!";
|
$lang['insterr4'] = "La tua versione PHP (%s) is antecedente alla 5.5.0. Aggiorna la tua PHP e prova ancora!";
|
||||||
$lang['insterr5'] = "SimpleXML è richiesto, ma non sembra disponibile. Installa <a href=\"http://php.net/manual/en/simplexml.installation.php\" target=\"_blank\">simpleXML</a> e provca ancora!";
|
$lang['insterr5'] = "SimpleXML è richiesto, ma non sembra disponibile. Installa <a href=\"http://php.net/manual/en/simplexml.installation.php\" target=\"_blank\">simpleXML</a> e provca ancora!";
|
||||||
|
$lang['insterr6'] = "PHP cURL is needed but seems not available. Install <a href=\"//php.net/manual/en/book.curl.php\" target=\"_blank\">PHP cURL</a> and try it again!";
|
||||||
$lang['isntwicfg'] = "Impossibile salvare la configurazione del database! Modifica il file 'other/dbconfig.php' dandogli i permessi 0777 (chmod 777 nomefile on windows 'full access') e riprova.";
|
$lang['isntwicfg'] = "Impossibile salvare la configurazione del database! Modifica il file 'other/dbconfig.php' dandogli i permessi 0777 (chmod 777 nomefile on windows 'full access') e riprova.";
|
||||||
$lang['isntwicfg2'] = "Configura Webinterface";
|
$lang['isntwicfg2'] = "Configura Webinterface";
|
||||||
$lang['isntwichm'] = "Permessi di scrittura negati per la cartella \"%s\". Per favore dai i permessi chmod 777 (on windows 'full access') e prova ad avviare il Ranksystem di nuovo.";
|
$lang['isntwichm'] = "Permessi di scrittura negati per la cartella \"%s\". Per favore dai i permessi chmod 777 (on windows 'full access') e prova ad avviare il Ranksystem di nuovo.";
|
||||||
@@ -335,13 +336,16 @@ $lang['winav9'] = "Aggiornamento disponibile!";
|
|||||||
$lang['winav10'] = "Per favore utilizzare l'interfaccia solo attraverso %s HTTPS%s Una crittografia è fondamentale per garantire la privacy e la sicurezza.%sPer essere in grado di utilizzare HTTPS il vostro web server deve supportare una connessione SSL.";
|
$lang['winav10'] = "Per favore utilizzare l'interfaccia solo attraverso %s HTTPS%s Una crittografia è fondamentale per garantire la privacy e la sicurezza.%sPer essere in grado di utilizzare HTTPS il vostro web server deve supportare una connessione SSL.";
|
||||||
$lang['winav11'] = "Per favore digita lo unique Client-ID dell'admin per il Ranksystem (Altro -> admin ID). Questo è molto importante nel caso perdessi le credenziali di accesso per la webinterface (per effettuarne un reset).";
|
$lang['winav11'] = "Per favore digita lo unique Client-ID dell'admin per il Ranksystem (Altro -> admin ID). Questo è molto importante nel caso perdessi le credenziali di accesso per la webinterface (per effettuarne un reset).";
|
||||||
$lang['winxinfo'] = "Comando \"nextup\"";
|
$lang['winxinfo'] = "Comando \"nextup\"";
|
||||||
$lang['winxinfodesc'] = "Permette all'utente nel server TS3 di scrivere nel comando \"nextup\" al bot del Ranksystem (coda) come messaggio privato.<br><br>Come risposta l'utente riceverà un messaggio di testo definito con il tempo rimanente alla prossimo rank.";
|
$lang['winxinfodesc'] = "Permette all'utente nel server TS3 di scrivere nel comando \"nextup\" al bot del Ranksystem (coda) come messaggio privato.<br><br>Come risposta l'utente riceverà un messaggio di testo definito con il tempo rimanente alla prossimo rank.<br><br><b>deactivated</b> - The function is deactivated. The command 'nextup' will be ignored.<br><b>allowed - only next rank</b> - Gives back the needed time for the next group.<br><b>allowed - all next ranks</b> - Gives back the needed time for all higher ranks.";
|
||||||
|
$lang['winxmode1'] = "deactivated";
|
||||||
|
$lang['winxmode2'] = "allowed - only next rank";
|
||||||
|
$lang['winxmode3'] = "allowed - all next ranks";
|
||||||
$lang['winxmsg1'] = "Messaggio";
|
$lang['winxmsg1'] = "Messaggio";
|
||||||
$lang['winxmsgdesc1'] = "Definisci il messaggio, che l'utente riceverà come risposta al comando \"nextup\".<br><br>Argomenti:<br>%1\$s - giorni al prossimo aumento di rank<br>%2\$s - ore al prossimo aumento di rank<br>%3\$s - minutial prossimo aumento di rank<br>%4\$s - secondi al prossimo aumento di rank<br>%5\$s - nome del prossimo servergroup<br><br>Esempio:<br>Il tuo prossimo aumento di rank sarà tra %1\$s giorni, %2\$s ore and %3\$s minuti and %4\$s secondi. Il prossimo servergroup che raggiungerai è [B]%5\$s[/B].";
|
$lang['winxmsgdesc1'] = "Definisci il messaggio, che l'utente riceverà come risposta al comando \"nextup\".<br><br>Argomenti:<br>%1$s - giorni al prossimo aumento di rank<br>%2$s - ore al prossimo aumento di rank<br>%3$s - minutial prossimo aumento di rank<br>%4$s - secondi al prossimo aumento di rank<br>%5$s - nome del prossimo servergroup<br><br>Esempio:<br>Il tuo prossimo aumento di rank sarà tra %1$s giorni, %2$s ore and %3$s minuti and %4$s secondi. Il prossimo servergroup che raggiungerai è [B]%5$s[/B].";
|
||||||
$lang['winxmsg2'] = "Messaggio (highest)";
|
$lang['winxmsg2'] = "Messaggio (highest)";
|
||||||
$lang['winxmsgdesc2'] = "Definisci un messaggio, che l'utente riceverà come risposta al comando \"nextup\", quando l'utente ha già raggiunto il rank più alto.<br><br>Argomenti:<br>%1\$s - giorni al prossimo aumento di rank<br>%2\$s - ore al prossimo aumento di rank<br>%3\$s - minuti al prossimo aumento di rank<br>%4\$s - secondi al prossimo aumento di rank<br>%5\$s - nome del prossimo servergroup<br><br>Esempio:<br>Hai già raggiunto il rank più alto.";
|
$lang['winxmsgdesc2'] = "Definisci un messaggio, che l'utente riceverà come risposta al comando \"nextup\", quando l'utente ha già raggiunto il rank più alto.<br><br>Argomenti:<br>%1$s - giorni al prossimo aumento di rank<br>%2$s - ore al prossimo aumento di rank<br>%3$s - minuti al prossimo aumento di rank<br>%4$s - secondi al prossimo aumento di rank<br>%5$s - nome del prossimo servergroup<br><br>Esempio:<br>You have been reached the highest rank for %1$s days, %2$s hours and %3$s minutes and %4$s seconds.";
|
||||||
$lang['winxmsg3'] = "Messaggio (excepted)";
|
$lang['winxmsg3'] = "Messaggio (excepted)";
|
||||||
$lang['winxmsgdesc3'] = "Definisci un messaggio, che l'utente riceverà come risposta al comando \"nextup\",quando l'utente è escluso dal Ranksystem.<br><br>Argomenti:<br>%1\$s - giorni al prossimo aumento di rank<br>%2\$s - ore al prossimo aumento di rank<br>%3\$s - minuti al prossimo aumento di rank<br>%4\$s - secondi al prossimo aumento di rank<br>%5\$s - nome del prossimo servergroup<br><br>Esempio:<br>Sei escluso dal Ranksystem. Se desideri un rank contatta un amministratore nel server di TS3.";
|
$lang['winxmsgdesc3'] = "Definisci un messaggio, che l'utente riceverà come risposta al comando \"nextup\",quando l'utente è escluso dal Ranksystem.<br><br>Argomenti:<br>%1$s - giorni al prossimo aumento di rank<br>%2$s - ore al prossimo aumento di rank<br>%3$s - minuti al prossimo aumento di rank<br>%4$s - secondi al prossimo aumento di rank<br>%5$s - nome del prossimo servergroup<br><br>Esempio:<br>Sei escluso dal Ranksystem. Se desideri un rank contatta un amministratore nel server di TS3.";
|
||||||
$lang['wirtpw1'] = "Scusa Bro, hai dimenticato di inserire il tuo admin ID prima all'interno della webinterface. Non c'è modo di resettare la password!";
|
$lang['wirtpw1'] = "Scusa Bro, hai dimenticato di inserire il tuo admin ID prima all'interno della webinterface. Non c'è modo di resettare la password!";
|
||||||
$lang['wirtpw2'] = "Admin ID non trovato nel server TS3. Devi essere online con il tuo unique Client ID, che è salvato come admin ID.";
|
$lang['wirtpw2'] = "Admin ID non trovato nel server TS3. Devi essere online con il tuo unique Client ID, che è salvato come admin ID.";
|
||||||
$lang['wirtpw3'] = "Il tuo indirizzo IP non coincide con l'indirizzo IP dell'amministratore nel server TS3. Assicurati di avere lo stesso indirizzo IP online nel server TS3 e anche in questa pagina (stesso protocollo IPv4 / IPv6 è inoltre richiesto).";
|
$lang['wirtpw3'] = "Il tuo indirizzo IP non coincide con l'indirizzo IP dell'amministratore nel server TS3. Assicurati di avere lo stesso indirizzo IP online nel server TS3 e anche in questa pagina (stesso protocollo IPv4 / IPv6 è inoltre richiesto).";
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ $lang['insterr2'] = "PDO is needed but seems not installed. Install <a href=\"
|
|||||||
$lang['insterr3'] = "PHP exec function need to be enabled but seems to be disabled. Please enable the PHP <a href=\http://php.net/manual/de/function.exec.php\" target=\"_blank\">exec</a> function and try it again!";
|
$lang['insterr3'] = "PHP exec function need to be enabled but seems to be disabled. Please enable the PHP <a href=\http://php.net/manual/de/function.exec.php\" target=\"_blank\">exec</a> function and try it again!";
|
||||||
$lang['insterr4'] = "Your PHP version (%s) is below 5.5.0. Update your PHP and try it again!";
|
$lang['insterr4'] = "Your PHP version (%s) is below 5.5.0. Update your PHP and try it again!";
|
||||||
$lang['insterr5'] = "SimpleXML is needed but seems not available. Install <a href=\"http://php.net/manual/en/simplexml.installation.php\" target=\"_blank\">simpleXML</a> and try it again!";
|
$lang['insterr5'] = "SimpleXML is needed but seems not available. Install <a href=\"http://php.net/manual/en/simplexml.installation.php\" target=\"_blank\">simpleXML</a> and try it again!";
|
||||||
|
$lang['insterr6'] = "PHP cURL is needed but seems not available. Install <a href=\"//php.net/manual/en/book.curl.php\" target=\"_blank\">PHP cURL</a> and try it again!";
|
||||||
$lang['insttb'] = "Instalăm tabelele:";
|
$lang['insttb'] = "Instalăm tabelele:";
|
||||||
$lang['isntwicfg'] = "Nu se poate salva configurația bazei de date ! Vă rugăm să modificați 'other/dbconfig.php' cu acces chmod 0777 (on windows 'full access') și incercați iar.";
|
$lang['isntwicfg'] = "Nu se poate salva configurația bazei de date ! Vă rugăm să modificați 'other/dbconfig.php' cu acces chmod 0777 (on windows 'full access') și incercați iar.";
|
||||||
$lang['isntwichm'] = "Vă rugăm să modificați 'other/dbconfig.php', și folderele 'avatars/', 'icons/' and 'logs/' cu permisiile necesare. Prin urmare, sa editați accesul chmod cu 0777 (on windows 'full access'). Apoi incercați iar (refresh la pagină).";
|
$lang['isntwichm'] = "Vă rugăm să modificați 'other/dbconfig.php', și folderele 'avatars/', 'icons/' and 'logs/' cu permisiile necesare. Prin urmare, sa editați accesul chmod cu 0777 (on windows 'full access'). Apoi incercați iar (refresh la pagină).";
|
||||||
@@ -335,13 +336,16 @@ $lang['winav9'] = "Update available!";
|
|||||||
$lang['winav10'] = "Please use the webinterface only via %s HTTPS%s An encryption is critical to ensure your privacy and security.%sTo be able to use HTTPS your webserver needs to support an SSL connection.";
|
$lang['winav10'] = "Please use the webinterface only via %s HTTPS%s An encryption is critical to ensure your privacy and security.%sTo be able to use HTTPS your webserver needs to support an SSL connection.";
|
||||||
$lang['winav11'] = "Please enter the unique Client-ID of the admin of the Ranksystem (Other -> admin ID). This is very important in case you lost your login details for the webinterface (to reset these).";
|
$lang['winav11'] = "Please enter the unique Client-ID of the admin of the Ranksystem (Other -> admin ID). This is very important in case you lost your login details for the webinterface (to reset these).";
|
||||||
$lang['winxinfo'] = "Command \"nextup\"";
|
$lang['winxinfo'] = "Command \"nextup\"";
|
||||||
$lang['winxinfodesc'] = "Allows the user on the TS3 server to write the command \"nextup\" to the Ranksystem (query) bot as private textmessage.<br><br>As answer the user will get a defined text message with the needed time for the next rankup.";
|
$lang['winxinfodesc'] = "Allows the user on the TS3 server to write the command \"nextup\" to the Ranksystem (query) bot as private textmessage.<br><br>As answer the user will get a defined text message with the needed time for the next rankup.<br><br><b>deactivated</b> - The function is deactivated. The command 'nextup' will be ignored.<br><b>allowed - only next rank</b> - Gives back the needed time for the next group.<br><b>allowed - all next ranks</b> - Gives back the needed time for all higher ranks.";
|
||||||
|
$lang['winxmode1'] = "deactivated";
|
||||||
|
$lang['winxmode2'] = "allowed - only next rank";
|
||||||
|
$lang['winxmode3'] = "allowed - all next ranks";
|
||||||
$lang['winxmsg1'] = "Message";
|
$lang['winxmsg1'] = "Message";
|
||||||
$lang['winxmsgdesc1'] = "Define a message, which the user will get as answer at the command \"nextup\".<br><br>Arguments:<br>%1\$s - days to next rankup<br>%2\$s - hours to next rankup<br>%3\$s - minutes to next rankup<br>%4\$s - seconds to next rankup<br>%5\$s - name of the next servergroup<br><br>Example:<br>Your next rank up will be in %1\$s days, %2\$s hours and %3\$s minutes and %4\$s seconds. The next servergroup you will reach is [B]%5\$s[/B].";
|
$lang['winxmsgdesc1'] = "Define a message, which the user will get as answer at the command \"nextup\".<br><br>Arguments:<br>%1$s - days to next rankup<br>%2$s - hours to next rankup<br>%3$s - minutes to next rankup<br>%4$s - seconds to next rankup<br>%5$s - name of the next servergroup<br><br>Example:<br>Your next rank up will be in %1$s days, %2$s hours and %3$s minutes and %4$s seconds. The next servergroup you will reach is [B]%5$s[/B].";
|
||||||
$lang['winxmsg2'] = "Message (highest)";
|
$lang['winxmsg2'] = "Message (highest)";
|
||||||
$lang['winxmsgdesc2'] = "Define a message, which the user will get as answer at the command \"nextup\", when the user already reached the highest rank.<br><br>Arguments:<br>%1\$s - days to next rankup<br>%2\$s - hours to next rankup<br>%3\$s - minutes to next rankup<br>%4\$s - seconds to next rankup<br>%5\$s - name of the next servergroup<br><br>Example:<br>You have already reached the highest rank.";
|
$lang['winxmsgdesc2'] = "Define a message, which the user will get as answer at the command \"nextup\", when the user already reached the highest rank.<br><br>Arguments:<br>%1$s - days to next rankup<br>%2$s - hours to next rankup<br>%3$s - minutes to next rankup<br>%4$s - seconds to next rankup<br>%5$s - name of the next servergroup<br><br>Example:<br>You have been reached the highest rank for %1$s days, %2$s hours and %3$s minutes and %4$s seconds.";
|
||||||
$lang['winxmsg3'] = "Message (excepted)";
|
$lang['winxmsg3'] = "Message (excepted)";
|
||||||
$lang['winxmsgdesc3'] = "Define a message, which the user will get as answer at the command \"nextup\", when the user is excepted from the Ranksystem.<br><br>Arguments:<br>%1\$s - days to next rankup<br>%2\$s - hours to next rankup<br>%3\$s - minutes to next rankup<br>%4\$s - seconds to next rankup<br>%5\$s - name of the next servergroup<br><br>Example:<br>You are excepted from the Ranksystem. If you wish to rank contact an admin on the TS3 server.";
|
$lang['winxmsgdesc3'] = "Define a message, which the user will get as answer at the command \"nextup\", when the user is excepted from the Ranksystem.<br><br>Arguments:<br>%1$s - days to next rankup<br>%2$s - hours to next rankup<br>%3$s - minutes to next rankup<br>%4$s - seconds to next rankup<br>%5$s - name of the next servergroup<br><br>Example:<br>You are excepted from the Ranksystem. If you wish to rank contact an admin on the TS3 server.";
|
||||||
$lang['wirtpw1'] = "Sorry Bro, you have forgotten to enter your admin ID inside the webinterface before. There is no way to reset the password!";
|
$lang['wirtpw1'] = "Sorry Bro, you have forgotten to enter your admin ID inside the webinterface before. There is no way to reset the password!";
|
||||||
$lang['wirtpw2'] = "Admin ID not found on TS3 server. You need to be online with the unique Client ID, which is saved as admin ID.";
|
$lang['wirtpw2'] = "Admin ID not found on TS3 server. You need to be online with the unique Client ID, which is saved as admin ID.";
|
||||||
$lang['wirtpw3'] = "Your IP address do not match with the IP address of the admin on the TS3 server. Be sure you are with the same IP address online on the TS3 server and also on this page (same protocol IPv4 / IPv6 is also needed).";
|
$lang['wirtpw3'] = "Your IP address do not match with the IP address of the admin on the TS3 server. Be sure you are with the same IP address online on the TS3 server and also on this page (same protocol IPv4 / IPv6 is also needed).";
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ $lang['insterr2'] = "Для работы RankSystem требуется нал
|
|||||||
$lang['insterr3'] = "Для работы RankSystem требуется наличие включеной функции PHP exec. Пожалуйста, включите данную <a href=\http://php.net/manual/ru/function.exec.php\" target=\"_blank\">exec</a> функцию и попробуйте заново!";
|
$lang['insterr3'] = "Для работы RankSystem требуется наличие включеной функции PHP exec. Пожалуйста, включите данную <a href=\http://php.net/manual/ru/function.exec.php\" target=\"_blank\">exec</a> функцию и попробуйте заново!";
|
||||||
$lang['insterr4'] = "Ваша версия PHP (%s) ниже допустимой 5.5.0. Пожалуйста, обновите версию PHP и попробуйте заново!";
|
$lang['insterr4'] = "Ваша версия PHP (%s) ниже допустимой 5.5.0. Пожалуйста, обновите версию PHP и попробуйте заново!";
|
||||||
$lang['insterr5'] = "Для установки требуется SimpleXML. Пожалуйста, установите <a href=\"http://php.net/manual/ru/simplexml.installation.php\" target=\"_blank\">simpleXML</a> и попробуйте заново!";
|
$lang['insterr5'] = "Для установки требуется SimpleXML. Пожалуйста, установите <a href=\"http://php.net/manual/ru/simplexml.installation.php\" target=\"_blank\">simpleXML</a> и попробуйте заново!";
|
||||||
|
$lang['insterr6'] = "PHP cURL is needed but seems not available. Install <a href=\"//php.net/manual/en/book.curl.php\" target=\"_blank\">PHP cURL</a> and try it again!";
|
||||||
$lang['isntwicfg'] = "Не получилось записать настройки базы данных! Пожалуйста, установите права на запись 'other/dbconfig.php' chmod 0777 (В windows 'Полный доступ') и попробуйте заново.";
|
$lang['isntwicfg'] = "Не получилось записать настройки базы данных! Пожалуйста, установите права на запись 'other/dbconfig.php' chmod 0777 (В windows 'Полный доступ') и попробуйте заново.";
|
||||||
$lang['isntwicfg2'] = "Конфигурирование веб-интерфейса";
|
$lang['isntwicfg2'] = "Конфигурирование веб-интерфейса";
|
||||||
$lang['isntwichm'] = "Отсутствуют права на запись в папку \"%s\". Пожалуйста, установите на эту папку права chmod 0777 (В windows 'полный доступ') и повторите этот этап заново.";
|
$lang['isntwichm'] = "Отсутствуют права на запись в папку \"%s\". Пожалуйста, установите на эту папку права chmod 0777 (В windows 'полный доступ') и повторите этот этап заново.";
|
||||||
@@ -335,13 +336,16 @@ $lang['winav9'] = "Доступно обновление!";
|
|||||||
$lang['winav10'] = "Соединение с данным сайтом не защищено с помощью %s HTTPS%sЭто может повлечь за собой проблемы для вашей приватности и безопасности! %sДля использования HTTPS ваш веб-сервер должен поддерживать SSL-соединение.";
|
$lang['winav10'] = "Соединение с данным сайтом не защищено с помощью %s HTTPS%sЭто может повлечь за собой проблемы для вашей приватности и безопасности! %sДля использования HTTPS ваш веб-сервер должен поддерживать SSL-соединение.";
|
||||||
$lang['winav11'] = "Пожалуйста, укажите ваш уникальный идентификатор(UID) в разделе меню \"Прочее\". Это очень важно, на случай, если вы потеряете пароль от аккаунта веб-панели.";
|
$lang['winav11'] = "Пожалуйста, укажите ваш уникальный идентификатор(UID) в разделе меню \"Прочее\". Это очень важно, на случай, если вы потеряете пароль от аккаунта веб-панели.";
|
||||||
$lang['winxinfo'] = "Команда \"nextup\"";
|
$lang['winxinfo'] = "Команда \"nextup\"";
|
||||||
$lang['winxinfodesc'] = "Разрешает отправлять RankSytem-боту команду \"nextup\" личным сообщением.<br><br>После отправки команды пользователю будет отправлено ответное сообщение с информацией о требуемом времени до следующего повышения.";
|
$lang['winxinfodesc'] = "Разрешает отправлять RankSytem-боту команду \"nextup\" личным сообщением.<br><br>После отправки команды пользователю будет отправлено ответное сообщение с информацией о требуемом времени до следующего повышения.<br><br><b>deactivated</b> - The function is deactivated. The command 'nextup' will be ignored.<br><b>allowed - only next rank</b> - Gives back the needed time for the next group.<br><b>allowed - all next ranks</b> - Gives back the needed time for all higher ranks.";
|
||||||
|
$lang['winxmode1'] = "deactivated";
|
||||||
|
$lang['winxmode2'] = "allowed - only next rank";
|
||||||
|
$lang['winxmode3'] = "allowed - all next ranks";
|
||||||
$lang['winxmsg1'] = "Сообщение-ответ";
|
$lang['winxmsg1'] = "Сообщение-ответ";
|
||||||
$lang['winxmsgdesc1'] = "Задайте форматирование и текст для сообщения, которое будет отправлено ответом на команду \"nextup\".<br><br>Аргументы:<br>%1\$s - Оставшиеся дни до повышения<br>%2\$s - часы<br>%3\$s - минуты<br>%4\$s - секунды<br>%5\$s - Имя следующей группы-ранга<br><br>Пример:<br>Вы достигнете следующего ранга через: %1\$s дней, %2\$s часов, %3\$s минут и %4\$s секунд. Название следующей группы-ранга: [B]%5\$s[/B].";
|
$lang['winxmsgdesc1'] = "Задайте форматирование и текст для сообщения, которое будет отправлено ответом на команду \"nextup\".<br><br>Аргументы:<br>%1$s - Оставшиеся дни до повышения<br>%2$s - часы<br>%3$s - минуты<br>%4$s - секунды<br>%5$s - Имя следующей группы-ранга<br><br>Пример:<br>Вы достигнете следующего ранга через: %1$s дней, %2$s часов, %3$s минут и %4$s секунд. Название следующей группы-ранга: [B]%5$s[/B].";
|
||||||
$lang['winxmsg2'] = "Сообщ. о макс.ранге";
|
$lang['winxmsg2'] = "Сообщ. о макс.ранге";
|
||||||
$lang['winxmsgdesc2'] = "Данный текст будет отправлен пользователю при вводе команды \"nextup\", если пользователь уже достиг высшего ранга<br><br>Аргументы:<br>%1\$s - Оставшиеся дни до повышения<br>%2\$s - часы<br>%3\$s - минуты<br>%4\$s - секунды<br><br>Пример:Вы достигли высшего ранга.";
|
$lang['winxmsgdesc2'] = "Данный текст будет отправлен пользователю при вводе команды \"nextup\", если пользователь уже достиг высшего ранга<br><br>Аргументы:<br>%1$s - Оставшиеся дни до повышения<br>%2$s - часы<br>%3$s - минуты<br>%4$s - секунды<br><br>Пример:<br>You have been reached the highest rank for %1$s days, %2$s hours and %3$s minutes and %4$s seconds.";
|
||||||
$lang['winxmsg3'] = "Сообщ. о исключении";
|
$lang['winxmsg3'] = "Сообщ. о исключении";
|
||||||
$lang['winxmsgdesc3'] = "Данный текст будет отправлен пользователю при вводе команды \"nextup\", если пользователь исключен из системы рангов RankSystem(Исключенный канал, группа, UID)<br><br>Аргументы:<br>%1\$s - Оставшиеся дни до повышения<br>%2\$s - часы<br>%3\$s - минуты<br>%4\$s - секунды<br>%5\$s - Имя следующей группы-ранга<br><br>Пример:<br>Вы исключены из системы рангов RankSystem. Такое могло произойти, если Вы находитесь в \"Исключенном канале\", группе сервера или ваш идентификатор был вручную добавлен в исключение. За подробной информацией обратитесь к администратору сервера.";
|
$lang['winxmsgdesc3'] = "Данный текст будет отправлен пользователю при вводе команды \"nextup\", если пользователь исключен из системы рангов RankSystem(Исключенный канал, группа, UID)<br><br>Аргументы:<br>%1$s - Оставшиеся дни до повышения<br>%2$s - часы<br>%3$s - минуты<br>%4$s - секунды<br>%5$s - Имя следующей группы-ранга<br><br>Пример:<br>Вы исключены из системы рангов RankSystem. Такое могло произойти, если Вы находитесь в \"Исключенном канале\", группе сервера или ваш идентификатор был вручную добавлен в исключение. За подробной информацией обратитесь к администратору сервера.";
|
||||||
$lang['wirtpw1'] = "Увы. Вами ранее не был указан UID администратора, с помощью которого должно производиться восстановление пароля от веб-панели. <b>В данном случае, восстановление пароля невозможно средствами RankSystem</b>.<br>Вы можете попробовать вручную изменить пароль от аккаунта через базу данных, но не забудьте при этом, что там хранится md5-хеш пароля( md5(\"password\") -> d41d8cd98f00b204e9800998ecf8427e ).";
|
$lang['wirtpw1'] = "Увы. Вами ранее не был указан UID администратора, с помощью которого должно производиться восстановление пароля от веб-панели. <b>В данном случае, восстановление пароля невозможно средствами RankSystem</b>.<br>Вы можете попробовать вручную изменить пароль от аккаунта через базу данных, но не забудьте при этом, что там хранится md5-хеш пароля( md5(\"password\") -> d41d8cd98f00b204e9800998ecf8427e ).";
|
||||||
$lang['wirtpw2'] = "Администратор с заданным UID не был найден среди пользователей онлайн на сервере. Вам необходимо подключиться к серверу с заданного в веб-панели уникального идентификатора(UID)!";
|
$lang['wirtpw2'] = "Администратор с заданным UID не был найден среди пользователей онлайн на сервере. Вам необходимо подключиться к серверу с заданного в веб-панели уникального идентификатора(UID)!";
|
||||||
$lang['wirtpw3'] = "Ваш IP-адрес не совпадает с IP Администратора. Такое могло произойти, если ваш траффик в браузере перенаправлен на прокси-сервер или VPN(протоколы IPv4 / IPv6 также учитываются при сверке IP).";
|
$lang['wirtpw3'] = "Ваш IP-адрес не совпадает с IP Администратора. Такое могло произойти, если ваш траффик в браузере перенаправлен на прокси-сервер или VPN(протоколы IPv4 / IPv6 также учитываются при сверке IP).";
|
||||||
|
|||||||
@@ -369,8 +369,8 @@ require_once('nav.php');
|
|||||||
Morris.Donut({
|
Morris.Donut({
|
||||||
element: 'time-gap-donut',
|
element: 'time-gap-donut',
|
||||||
data: [
|
data: [
|
||||||
{label: "Active Time (in Days)", value: <?PHP echo round(($sql_res[0]['total_active_time'] / 86400)); ?>},
|
{label: "<?PHP echo $lang['stix0053']?>", value: <?PHP echo round(($sql_res[0]['total_active_time'] / 86400)); ?>},
|
||||||
{label: "Inactive Time (in Days)", value: <?PHP echo round(($sql_res[0]['total_inactive_time'] / 86400)); ?>},
|
{label: "<?PHP echo $lang['stix0054']?>", value: <?PHP echo round(($sql_res[0]['total_inactive_time'] / 86400)); ?>},
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
Morris.Donut({
|
Morris.Donut({
|
||||||
@@ -381,7 +381,7 @@ require_once('nav.php');
|
|||||||
{label: "<?PHP echo $sql_res[0]['version_name_3'] ?>", value: <?PHP echo $sql_res[0]['version_3'] ?>},
|
{label: "<?PHP echo $sql_res[0]['version_name_3'] ?>", value: <?PHP echo $sql_res[0]['version_3'] ?>},
|
||||||
{label: "<?PHP echo $sql_res[0]['version_name_4'] ?>", value: <?PHP echo $sql_res[0]['version_4'] ?>},
|
{label: "<?PHP echo $sql_res[0]['version_name_4'] ?>", value: <?PHP echo $sql_res[0]['version_4'] ?>},
|
||||||
{label: "<?PHP echo $sql_res[0]['version_name_5'] ?>", value: <?PHP echo $sql_res[0]['version_5'] ?>},
|
{label: "<?PHP echo $sql_res[0]['version_name_5'] ?>", value: <?PHP echo $sql_res[0]['version_5'] ?>},
|
||||||
{label: "Others", value: <?PHP echo $sql_res[0]['version_other'] ?>},
|
{label: "<?PHP echo $lang['stix0052']?>", value: <?PHP echo $sql_res[0]['version_other'] ?>},
|
||||||
],
|
],
|
||||||
colors: [
|
colors: [
|
||||||
'#5cb85c',
|
'#5cb85c',
|
||||||
@@ -399,7 +399,7 @@ require_once('nav.php');
|
|||||||
{label: "<?PHP if (isset($nation[$sql_res[0]['country_nation_name_3']])) { echo $nation[$sql_res[0]['country_nation_name_3']]; } else { echo "unkown";} ?>", value: <?PHP if ( isset($sql_res[0]['country_nation_3'])) { echo $sql_res[0]['country_nation_3']; } else { echo "0";} ?>},
|
{label: "<?PHP if (isset($nation[$sql_res[0]['country_nation_name_3']])) { echo $nation[$sql_res[0]['country_nation_name_3']]; } else { echo "unkown";} ?>", value: <?PHP if ( isset($sql_res[0]['country_nation_3'])) { echo $sql_res[0]['country_nation_3']; } else { echo "0";} ?>},
|
||||||
{label: "<?PHP if (isset($nation[$sql_res[0]['country_nation_name_4']])) { echo $nation[$sql_res[0]['country_nation_name_4']]; } else { echo "unkown";} ?>", value: <?PHP if ( isset($sql_res[0]['country_nation_4'])) { echo $sql_res[0]['country_nation_4']; } else { echo "0";} ?>},
|
{label: "<?PHP if (isset($nation[$sql_res[0]['country_nation_name_4']])) { echo $nation[$sql_res[0]['country_nation_name_4']]; } else { echo "unkown";} ?>", value: <?PHP if ( isset($sql_res[0]['country_nation_4'])) { echo $sql_res[0]['country_nation_4']; } else { echo "0";} ?>},
|
||||||
{label: "<?PHP if (isset($nation[$sql_res[0]['country_nation_name_5']])) { echo $nation[$sql_res[0]['country_nation_name_5']]; } else { echo "unkown";} ?>", value: <?PHP if ( isset($sql_res[0]['country_nation_5'])) { echo $sql_res[0]['country_nation_5']; } else { echo "0";} ?>},
|
{label: "<?PHP if (isset($nation[$sql_res[0]['country_nation_name_5']])) { echo $nation[$sql_res[0]['country_nation_name_5']]; } else { echo "unkown";} ?>", value: <?PHP if ( isset($sql_res[0]['country_nation_5'])) { echo $sql_res[0]['country_nation_5']; } else { echo "0";} ?>},
|
||||||
{label: "Others", value: <?PHP echo $sql_res[0]['country_nation_other'] ?>}
|
{label: "<?PHP echo $lang['stix0052']?>", value: <?PHP echo $sql_res[0]['country_nation_other'] ?>}
|
||||||
],
|
],
|
||||||
colors: [
|
colors: [
|
||||||
'#f0ad4e',
|
'#f0ad4e',
|
||||||
@@ -418,7 +418,7 @@ require_once('nav.php');
|
|||||||
{label: "Android", value: <?PHP echo $sql_res[0]['platform_4'] ?>},
|
{label: "Android", value: <?PHP echo $sql_res[0]['platform_4'] ?>},
|
||||||
{label: "iOS", value: <?PHP echo $sql_res[0]['platform_2'] ?>},
|
{label: "iOS", value: <?PHP echo $sql_res[0]['platform_2'] ?>},
|
||||||
{label: "OS X", value: <?PHP echo $sql_res[0]['platform_5'] ?>},
|
{label: "OS X", value: <?PHP echo $sql_res[0]['platform_5'] ?>},
|
||||||
{label: "Others", value: <?PHP echo $sql_res[0]['platform_other'] ?>},
|
{label: "<?PHP echo $lang['stix0052']?>", value: <?PHP echo $sql_res[0]['platform_other'] ?>},
|
||||||
],
|
],
|
||||||
colors: [
|
colors: [
|
||||||
'#d9534f',
|
'#d9534f',
|
||||||
|
|||||||
@@ -119,16 +119,20 @@ require_once('nav.php');
|
|||||||
$logoutput = getlog($logpath,$number_lines,$filters);
|
$logoutput = getlog($logpath,$number_lines,$filters);
|
||||||
|
|
||||||
if (isset($_POST['start']) && $_SESSION['username'] == $webuser && $_SESSION['password'] == $webpass && $_SESSION['clientip'] == getclientip()) {
|
if (isset($_POST['start']) && $_SESSION['username'] == $webuser && $_SESSION['password'] == $webpass && $_SESSION['clientip'] == getclientip()) {
|
||||||
if (substr(php_uname(), 0, 7) == "Windows") {
|
if(substr(sprintf('%o', fileperms($logpath)), -3, 1)!='7') {
|
||||||
$WshShell = new COM("WScript.Shell");
|
$err_msg = "!!!! Logs folder is not writable !!!!<br>Cancel start request!"; $err_lvl = 3;
|
||||||
$oExec = $WshShell->Run("cmd /C php ".substr(__DIR__,0,-12)."\worker.php start", 0, false);
|
|
||||||
} else {
|
} else {
|
||||||
exec("php ".substr(__DIR__,0,-12)."worker.php start");
|
if (substr(php_uname(), 0, 7) == "Windows") {
|
||||||
|
$WshShell = new COM("WScript.Shell");
|
||||||
|
$oExec = $WshShell->Run("cmd /C php ".substr(__DIR__,0,-12)."\worker.php start", 0, false);
|
||||||
|
} else {
|
||||||
|
exec("php ".substr(__DIR__,0,-12)."worker.php start");
|
||||||
|
}
|
||||||
|
$err_msg = $lang['wibot2'];
|
||||||
|
$err_lvl = 1;
|
||||||
|
usleep(80000);
|
||||||
|
$logoutput = getlog($logpath,$number_lines,$filters);
|
||||||
}
|
}
|
||||||
$err_msg = $lang['wibot2'];
|
|
||||||
$err_lvl = 1;
|
|
||||||
usleep(80000);
|
|
||||||
$logoutput = getlog($logpath,$number_lines,$filters);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_POST['stop']) && $_SESSION['username'] == $webuser && $_SESSION['password'] == $webpass && $_SESSION['clientip'] == getclientip()) {
|
if (isset($_POST['stop']) && $_SESSION['username'] == $webuser && $_SESSION['password'] == $webpass && $_SESSION['clientip'] == getclientip()) {
|
||||||
@@ -145,16 +149,20 @@ if (isset($_POST['stop']) && $_SESSION['username'] == $webuser && $_SESSION['pas
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_POST['restart']) && $_SESSION['username'] == $webuser && $_SESSION['password'] == $webpass && $_SESSION['clientip'] == getclientip()) {
|
if (isset($_POST['restart']) && $_SESSION['username'] == $webuser && $_SESSION['password'] == $webpass && $_SESSION['clientip'] == getclientip()) {
|
||||||
if (substr(php_uname(), 0, 7) == "Windows") {
|
if(substr(sprintf('%o', fileperms($logpath)), -3, 1)!='7') {
|
||||||
$WshShell = new COM("WScript.Shell");
|
$err_msg = "!!!! Logs folder is not writable !!!!<br>Cancel restart request!"; $err_lvl = 3;
|
||||||
$oExec = $WshShell->Run("cmd /C php ".substr(__DIR__,0,-12)."\worker.php restart", 0, false);
|
|
||||||
} else {
|
} else {
|
||||||
exec("php ".substr(__DIR__,0,-12)."worker.php restart");
|
if (substr(php_uname(), 0, 7) == "Windows") {
|
||||||
|
$WshShell = new COM("WScript.Shell");
|
||||||
|
$oExec = $WshShell->Run("cmd /C php ".substr(__DIR__,0,-12)."\worker.php restart", 0, false);
|
||||||
|
} else {
|
||||||
|
exec("php ".substr(__DIR__,0,-12)."worker.php restart");
|
||||||
|
}
|
||||||
|
$err_msg = $lang['wibot3'];
|
||||||
|
$err_lvl = 1;
|
||||||
|
usleep(80000);
|
||||||
|
$logoutput = getlog($logpath,$number_lines,$filters);
|
||||||
}
|
}
|
||||||
$err_msg = $lang['wibot3'];
|
|
||||||
$err_lvl = 1;
|
|
||||||
usleep(80000);
|
|
||||||
$logoutput = getlog($logpath,$number_lines,$filters);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$disabled = '';
|
$disabled = '';
|
||||||
|
|||||||
@@ -48,8 +48,8 @@ if (isset($_POST['update']) && $_SESSION['username'] == $webuser && $_SESSION['p
|
|||||||
$nextupinfomsg1 = addslashes($_POST['nextupinfomsg1']);
|
$nextupinfomsg1 = addslashes($_POST['nextupinfomsg1']);
|
||||||
$nextupinfomsg2 = addslashes($_POST['nextupinfomsg2']);
|
$nextupinfomsg2 = addslashes($_POST['nextupinfomsg2']);
|
||||||
$nextupinfomsg3 = addslashes($_POST['nextupinfomsg3']);
|
$nextupinfomsg3 = addslashes($_POST['nextupinfomsg3']);
|
||||||
|
$nextupinfo = $_POST['nextupinfo'];
|
||||||
if (isset($_POST['msgtouser'])) $msgtouser = 1; else $msgtouser = 0;
|
if (isset($_POST['msgtouser'])) $msgtouser = 1; else $msgtouser = 0;
|
||||||
if (isset($_POST['nextupinfo'])) $nextupinfo = 1; else $nextupinfo = 0;
|
|
||||||
if ($mysqlcon->exec("UPDATE $dbname.config set msgtouser='$msgtouser',rankupmsg='$rankupmsg',servernews='$servernews',nextupinfo='$nextupinfo',nextupinfomsg1='$nextupinfomsg1',nextupinfomsg2='$nextupinfomsg2',nextupinfomsg3='$nextupinfomsg3'") === false) {
|
if ($mysqlcon->exec("UPDATE $dbname.config set msgtouser='$msgtouser',rankupmsg='$rankupmsg',servernews='$servernews',nextupinfo='$nextupinfo',nextupinfomsg1='$nextupinfomsg1',nextupinfomsg2='$nextupinfomsg2',nextupinfomsg3='$nextupinfomsg3'") === false) {
|
||||||
$err_msg = print_r($mysqlcon->errorInfo(), true);
|
$err_msg = print_r($mysqlcon->errorInfo(), true);
|
||||||
$err_lvl = 3;
|
$err_lvl = 3;
|
||||||
@@ -112,11 +112,13 @@ if (isset($_POST['update']) && $_SESSION['username'] == $webuser && $_SESSION['p
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-4 control-label" data-toggle="modal" data-target="#winxinfodesc"><?php echo $lang['winxinfo']; ?><i class="help-hover glyphicon glyphicon-question-sign"></i></label>
|
<label class="col-sm-4 control-label" data-toggle="modal" data-target="#winxinfodesc"><?php echo $lang['winxinfo']; ?><i class="help-hover glyphicon glyphicon-question-sign"></i></label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<?PHP if ($nextupinfo == 1) {
|
<select class="selectpicker show-tick form-control" id="basic" name="nextupinfo">
|
||||||
echo '<input id="switch-animate" type="checkbox" checked data-size="mini" name="nextupinfo" value="',$nextupinfo,'">';
|
<?PHP
|
||||||
} else {
|
echo '<option value="0"'; if($nextupinfo=="0") echo " selected=selected"; echo '>',$lang['winxmode1'],'</option>';
|
||||||
echo '<input id="switch-animate" type="checkbox" data-size="mini" name="nextupinfo" value="',$nextupinfo,'">';
|
echo '<option value="1"'; if($nextupinfo=="1") echo " selected=selected"; echo '>',$lang['winxmode2'],'</option>';
|
||||||
} ?>
|
echo '<option value="2"'; if($nextupinfo=="2") echo " selected=selected"; echo '>',$lang['winxmode3'],'</option>';
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|||||||
@@ -66,6 +66,13 @@ function checkProcess($pid = null) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
|
global $logpath;
|
||||||
|
if(substr(sprintf('%o', fileperms($logpath)), -3, 1)!='7') {
|
||||||
|
echo "\n !!!! Logs folder is not writable !!!!\n\n";
|
||||||
|
echo " Cancel start request...\n\n";
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
if (substr(php_uname(), 0, 7) == "Windows") {
|
if (substr(php_uname(), 0, 7) == "Windows") {
|
||||||
if (checkProcess() == FALSE) {
|
if (checkProcess() == FALSE) {
|
||||||
echo "Starting the Ranksystem Bot.";
|
echo "Starting the Ranksystem Bot.";
|
||||||
|
|||||||
Reference in New Issue
Block a user