release 1.2.9

This commit is contained in:
Newcomer1989
2018-08-19 14:32:26 +02:00
parent 30cbefc1c0
commit d1baa659b5
23 changed files with 369 additions and 63 deletions

View File

@@ -314,7 +314,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`,`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`,`resetexcept`,`upchannel`,`avatar_delay`,`iphash`) VALUES ('$user','$pass','localhost','10011','9987','serveradmin','en','Ranksystem','RankSystem','31536000=>47,31536060=>50','1','1','1.2.8','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.2.8',$servernews,'1',$nextupinfomsg1,$nextupinfomsg2,$nextupinfomsg3,'1','1','0','version','0','0')") === false) { if($mysqlcon->exec("INSERT INTO `$dbname`.`config` (`webuser`,`webpass`,`tshost`,`tsquery`,`tsvoice`,`tsuser`,`language`,`queryname`,`queryname2`,`grouptime`,`resetbydbchange`,`msgtouser`,`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`,`resetexcept`,`upchannel`,`avatar_delay`,`iphash`) VALUES ('$user','$pass','localhost','10011','9987','serveradmin','en','Ranksystem','RankSystem','31536000=>47,31536060=>50','1','1','1.2.9','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.2.9',$servernews,'1',$nextupinfomsg1,$nextupinfomsg2,$nextupinfomsg3,'1','1','0','version','0','0')") === 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>';

View File

@@ -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.2.8'; $newversion = '1.2.9';
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) {
@@ -59,6 +59,11 @@ function check_db($mysqlcon,$lang,$dbname,$timezone,$currvers,$logpath) {
enter_logfile($logpath,$timezone,4,"Unnecessary file, please delete it from your webserver: libs/combined_stats.js"); enter_logfile($logpath,$timezone,4,"Unnecessary file, please delete it from your webserver: libs/combined_stats.js");
} }
} }
if(is_file(substr(__DIR__,0,-4).'webinterface/admin.php')) {
if(!unlink(substr(__DIR__,0,-4).'webinterface/admin.php')) {
enter_logfile($logpath,$timezone,4,"Unnecessary file, please delete it from your webserver: webinterface/admin.php");
}
}
} }
function check_writable($timezone,$logpath) { function check_writable($timezone,$logpath) {
@@ -248,9 +253,9 @@ function check_db($mysqlcon,$lang,$dbname,$timezone,$currvers,$logpath) {
enter_logfile($logpath,$timezone,4," [1.2.7] Created table user_iphash successfully."); enter_logfile($logpath,$timezone,4," [1.2.7] Created table user_iphash successfully.");
} }
} }
if(version_compare($currvers, '1.2.7', '<=')) { if(version_compare($currvers, '1.2.8', '<=')) {
if($mysqlcon->exec("UPDATE `$dbname`.`job_check` SET `timestamp`='".time()."' WHERE `job_name`='last_update'") === false) { } else { if($mysqlcon->exec("UPDATE `$dbname`.`job_check` SET `timestamp`='".time()."' WHERE `job_name`='last_update'") === false) { } else {
enter_logfile($logpath,$timezone,4," [1.2.8] Stored timestamp of last update successfully."); enter_logfile($logpath,$timezone,4," [1.2.9] Stored timestamp of last update successfully.");
} }
} }
$currvers = set_new_version($mysqlcon,$dbname,$timezone,$newversion,$logpath); $currvers = set_new_version($mysqlcon,$dbname,$timezone,$newversion,$logpath);

View File

@@ -110,6 +110,8 @@ $lang['sccupcount'] = "Active time of %s seconds for the unique Client-ID (%s)
$lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function."; $lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function.";
$lang['setontime'] = "add time"; $lang['setontime'] = "add time";
$lang['setontimedesc'] = "Add online time to the previous selected clients. Each user will get this time additional to their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately."; $lang['setontimedesc'] = "Add online time to the previous selected clients. Each user will get this time additional to their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately.";
$lang['setontime2'] = "remove time";
$lang['setontimedesc2'] = "Remove online time from the previous selected clients. Each user will get removed this time from their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately.";
$lang['sgrpadd'] = "Grant servergroup %s to user %s (unique Client-ID: %s; Client-database-ID %s)."; $lang['sgrpadd'] = "Grant servergroup %s to user %s (unique Client-ID: %s; Client-database-ID %s).";
$lang['sgrprerr'] = "It happened a problem with the servergroup of the user %s (unique Client-ID: %s; Client-database-ID %s)!"; $lang['sgrprerr'] = "It happened a problem with the servergroup of the user %s (unique Client-ID: %s; Client-database-ID %s)!";
$lang['sgrprm'] = "تم حذف مجموعة السيرفر %s (ID: %s) من المستخدم %s (unique Client-ID: %s; Client-database-ID %s)."; $lang['sgrprm'] = "تم حذف مجموعة السيرفر %s (ID: %s) من المستخدم %s (unique Client-ID: %s; Client-database-ID %s).";
@@ -416,6 +418,7 @@ $lang['wigrptime'] = "ترفيع رتبة";
$lang['wigrptimedesc'] = "Define here after which time a user should get automatically a predefined servergroup.<br><br>time (seconds)=>servergroup ID<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>Important for this is the 'online time' or the 'active time' of an user, depending on setting of the mode.<br><br>Each entry have to separate from next with a comma.<br><br>The time must be entered cumulative<br><br>Example:<br>60=>9,120=>10,180=>11<br><br>On this a user get after 60 seconds the servergroup 9, in turn after 60 seconds the servergroup 10, and so on..."; $lang['wigrptimedesc'] = "Define here after which time a user should get automatically a predefined servergroup.<br><br>time (seconds)=>servergroup ID<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>Important for this is the 'online time' or the 'active time' of an user, depending on setting of the mode.<br><br>Each entry have to separate from next with a comma.<br><br>The time must be entered cumulative<br><br>Example:<br>60=>9,120=>10,180=>11<br><br>On this a user get after 60 seconds the servergroup 9, in turn after 60 seconds the servergroup 10, and so on...";
$lang['wihladm'] = "List Rankup (Admin-Mode)"; $lang['wihladm'] = "List Rankup (Admin-Mode)";
$lang['wihladm1'] = "Add online Time to User"; $lang['wihladm1'] = "Add online Time to User";
$lang['wihladm2'] = "Remove online Time from User";
$lang['wihlcfg'] = "خيارات النواة"; $lang['wihlcfg'] = "خيارات النواة";
$lang['wihldb'] = "اعدادات قاعدة البيانات"; $lang['wihldb'] = "اعدادات قاعدة البيانات";
$lang['wihlmsg'] = "Message settings"; $lang['wihlmsg'] = "Message settings";
@@ -507,6 +510,7 @@ $lang['wishnavdesc'] = "Show the site navigation on 'stats/' page.<br><br>If th
$lang['wisupidle'] = "Mode"; $lang['wisupidle'] = "Mode";
$lang['wisupidledesc'] = "There are two modes, as time can be counted and can then apply for a rank increase.<br><br>1) online time: Here the pure online time of the user is taken into account (see column 'sum. online time' in the 'stats/list_rankup.php')<br><br>2) active time: This will be deducted from the online time of a user, the inactive time (idle) (see column 'sum. active time' in the 'stats/list_rankup.php').<br><br>A change of mode with an already longer running database is not recommended, but may work."; $lang['wisupidledesc'] = "There are two modes, as time can be counted and can then apply for a rank increase.<br><br>1) online time: Here the pure online time of the user is taken into account (see column 'sum. online time' in the 'stats/list_rankup.php')<br><br>2) active time: This will be deducted from the online time of a user, the inactive time (idle) (see column 'sum. active time' in the 'stats/list_rankup.php').<br><br>A change of mode with an already longer running database is not recommended, but may work.";
$lang['wisvconf'] = "save"; $lang['wisvconf'] = "save";
$lang['wisvinfo1'] = "Attention!! By changing the mode of hashing the users IP address, it is necessary that the user connects new to the TS3 server or the user can't get synchronized with the stats page.";
$lang['wisvsuc'] = "Changes successfully saved!"; $lang['wisvsuc'] = "Changes successfully saved!";
$lang['wisvres'] = "You need to restart the Ranksystem before the changes will take effect! %s"; $lang['wisvres'] = "You need to restart the Ranksystem before the changes will take effect! %s";
$lang['witime'] = "Timezone"; $lang['witime'] = "Timezone";

View File

@@ -110,6 +110,8 @@ $lang['sccupcount'] = "Active time of %s seconds for the unique Client-ID (%s)
$lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function."; $lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function.";
$lang['setontime'] = "Přidat čas"; $lang['setontime'] = "Přidat čas";
$lang['setontimedesc'] = "Přidejte čas online k předchozím vybraným klientům. Každý uživatel dostane tentokrát navíc ke svému stávajícímu online času. <br> <br> Zadaný online čas bude považován za pozici a měl by se projevit okamžitě."; $lang['setontimedesc'] = "Přidejte čas online k předchozím vybraným klientům. Každý uživatel dostane tentokrát navíc ke svému stávajícímu online času. <br> <br> Zadaný online čas bude považován za pozici a měl by se projevit okamžitě.";
$lang['setontime2'] = "remove time";
$lang['setontimedesc2'] = "Remove online time from the previous selected clients. Each user will get removed this time from their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately.";
$lang['sgrpadd'] = "Udělení servergroup %s (ID: %s) uživateli s %s (unique Client-ID: %s; Client-database-ID %s)."; $lang['sgrpadd'] = "Udělení servergroup %s (ID: %s) uživateli s %s (unique Client-ID: %s; Client-database-ID %s).";
$lang['sgrprerr'] = "Chyba při nastavování servergroup pro uživatele %s (unique Client-ID: %s; Client-database-ID %s)!"; $lang['sgrprerr'] = "Chyba při nastavování servergroup pro uživatele %s (unique Client-ID: %s; Client-database-ID %s)!";
$lang['sgrprm'] = "Odstraněna servergroup %s (ID: %s) uživateli %s (unique Client-ID: %s; Client-database-ID %s)."; $lang['sgrprm'] = "Odstraněna servergroup %s (ID: %s) uživateli %s (unique Client-ID: %s; Client-database-ID %s).";
@@ -415,6 +417,7 @@ $lang['wigrptime'] = "definice pořadí";
$lang['wigrptimedesc'] = "Definujte zde a po uplynutí této doby by měl uživatel automaticky získat předdefinovanou serverovou skupinu.<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>čas (sekund) => ID skupiny serverů <br> <br> Důležité pro toto je 'online čas' nebo 'aktivní čas' uživatel v závislosti na nastavení režimu. <br> <br> Každý záznam se oddělí od dalšího čárkou. <br> <br> Čas musí být zadán kumulativní<br><br>Příklad: <br> 60 => 9,120 => 10,180 => 11 <br> <br> Na tomto uživatelé dostanou po 60 sekundách servergroup 9, poté po 60 sekundách servergroup 10 a tak dále ..."; $lang['wigrptimedesc'] = "Definujte zde a po uplynutí této doby by měl uživatel automaticky získat předdefinovanou serverovou skupinu.<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>čas (sekund) => ID skupiny serverů <br> <br> Důležité pro toto je 'online čas' nebo 'aktivní čas' uživatel v závislosti na nastavení režimu. <br> <br> Každý záznam se oddělí od dalšího čárkou. <br> <br> Čas musí být zadán kumulativní<br><br>Příklad: <br> 60 => 9,120 => 10,180 => 11 <br> <br> Na tomto uživatelé dostanou po 60 sekundách servergroup 9, poté po 60 sekundách servergroup 10 a tak dále ...";
$lang['wihladm'] = "Seznam hodnocení (režim administrátora)"; $lang['wihladm'] = "Seznam hodnocení (režim administrátora)";
$lang['wihladm1'] = "Přidat čas online uživateli"; $lang['wihladm1'] = "Přidat čas online uživateli";
$lang['wihladm2'] = "Remove online Time from User";
$lang['wihlcfg'] = "Základní nastavení"; $lang['wihlcfg'] = "Základní nastavení";
$lang['wihldb'] = "Nastavení databáze"; $lang['wihldb'] = "Nastavení databáze";
$lang['wihlmsg'] = "Nastavení zpráv"; $lang['wihlmsg'] = "Nastavení zpráv";
@@ -506,6 +509,7 @@ $lang['wishnavdesc'] = "Zobrazit stránku navigace na stránce 'statistiky'. <b
$lang['wisupidle'] = "Mod"; $lang['wisupidle'] = "Mod";
$lang['wisupidledesc'] = "Existují dva režimy, protože může být započítán čas a může se použít pro zvýšení počtu bodů. <br> <br> 1) online čas: Zde je zohledněna čistá doba online uživatele (viz sloupec 'Součet online času 'v' stats / list_rankup.php ') <br> <br> 2) aktivní čas: bude odečten z online času uživatele, neaktivního času (nečinnosti) (viz sloupec' součet aktivního času 'v 'stats / list_rankup.php'). <br> <br> Změna režimu s již delší běžící databází se nedoporučuje, ale může fungovat."; $lang['wisupidledesc'] = "Existují dva režimy, protože může být započítán čas a může se použít pro zvýšení počtu bodů. <br> <br> 1) online čas: Zde je zohledněna čistá doba online uživatele (viz sloupec 'Součet online času 'v' stats / list_rankup.php ') <br> <br> 2) aktivní čas: bude odečten z online času uživatele, neaktivního času (nečinnosti) (viz sloupec' součet aktivního času 'v 'stats / list_rankup.php'). <br> <br> Změna režimu s již delší běžící databází se nedoporučuje, ale může fungovat.";
$lang['wisvconf'] = "uložit"; $lang['wisvconf'] = "uložit";
$lang['wisvinfo1'] = "Attention!! By changing the mode of hashing the users IP address, it is necessary that the user connects new to the TS3 server or the user can't get synchronized with the stats page.";
$lang['wisvsuc'] = "Změny byly úspěšně uloženy!"; $lang['wisvsuc'] = "Změny byly úspěšně uloženy!";
$lang['wisvres'] = "Potřebujete restartovat systém Ranks předtím, než se změny projeví! % s"; $lang['wisvres'] = "Potřebujete restartovat systém Ranks předtím, než se změny projeví! % s";
$lang['witime'] = "Časové pásmo"; $lang['witime'] = "Časové pásmo";

View File

@@ -109,7 +109,9 @@ $lang['sccrmcld'] = "User mit der eindeutigen Client-ID %s wurde erfolgreich a
$lang['sccupcount'] = "Aktive Zeit von %s Sekunden für die eindeutige Client-ID (%s) wird in wenigen Sekunden hinzugefügt (siehe Ranksystem log)."; $lang['sccupcount'] = "Aktive Zeit von %s Sekunden für die eindeutige Client-ID (%s) wird in wenigen Sekunden hinzugefügt (siehe Ranksystem log).";
$lang['sccupcount2'] = "Füge eine aktive Zeit von %s Sekunden der eindeutigen Client-ID (%s) hinzu; angefordert über Admin Funktion."; $lang['sccupcount2'] = "Füge eine aktive Zeit von %s Sekunden der eindeutigen Client-ID (%s) hinzu; angefordert über Admin Funktion.";
$lang['setontime'] = "Zeit hinzufügen"; $lang['setontime'] = "Zeit hinzufügen";
$lang['setontimedesc'] = "Füge eine online Zeit den zuvor ausgewählten Usern hinzu. Jeder User erhält diese Zeit zusätzlich zur bestehenden.<br><br>Die eingegebene online Zeit wird direkt berücksichtigt für die Rangsteigerung und sollte sofort Wirkung zeigen."; $lang['setontimedesc'] = "Füge eine online Zeit den zuvor ausgewählten Usern hinzu. Jeder User erhält diese Zeit zusätzlich zur bestehenden.<br><br>Die eingegebene online Zeit wird direkt für die Rangsteigerung berücksichtigt und sollte sofort Wirkung zeigen.";
$lang['setontime2'] = "Zeit entfernen";
$lang['setontimedesc2'] = "Entferne Zeit online Zeit von den zuvor ausgewählten Usern. Jeder User bekommt diese Zeit von seiner bisher angesammelten Zeit abgezogen.<br><br>Der eingegebene Abzug wird direkt für die Rangsteigerung berücksichtigt und sollte sofort Wirkung zeigen.";
$lang['sgrpadd'] = "Servergruppe %s (ID: %s) zu User %s (eindeutige Client-ID: %s; Client-Datenbank-ID %s) hinzugefügt."; $lang['sgrpadd'] = "Servergruppe %s (ID: %s) zu User %s (eindeutige Client-ID: %s; Client-Datenbank-ID %s) hinzugefügt.";
$lang['sgrprerr'] = "Betroffener User: %s (unique Client-ID: %s; Client-database-ID %s) und ServerGruppe %s (ID: %s)."; $lang['sgrprerr'] = "Betroffener User: %s (unique Client-ID: %s; Client-database-ID %s) und ServerGruppe %s (ID: %s).";
$lang['sgrprm'] = "Servergruppe %s (ID: %s) von User %s (eindeutige Client-ID: %s; Client-Datenbank-ID %s) entfernt."; $lang['sgrprm'] = "Servergruppe %s (ID: %s) von User %s (eindeutige Client-ID: %s; Client-Datenbank-ID %s) entfernt.";
@@ -127,7 +129,7 @@ $lang['stag0002'] = "Erlaubte Gruppen";
$lang['stag0003'] = "Definiere die Servergruppen, welche ein User sich selbst geben kann.<br><br>Die Servergruppen sind mit ihrer Gruppen-ID (Servergruppen-Datenbank-ID) durch Komma getrennt zu erfassen.<br><br>Beispiel:<br>23,24,28"; $lang['stag0003'] = "Definiere die Servergruppen, welche ein User sich selbst geben kann.<br><br>Die Servergruppen sind mit ihrer Gruppen-ID (Servergruppen-Datenbank-ID) durch Komma getrennt zu erfassen.<br><br>Beispiel:<br>23,24,28";
$lang['stag0004'] = "Gruppen Limit"; $lang['stag0004'] = "Gruppen Limit";
$lang['stag0005'] = "Max. Anzahl der Servergruppen, welche gleichzeitig gesetzt sein können."; $lang['stag0005'] = "Max. Anzahl der Servergruppen, welche gleichzeitig gesetzt sein können.";
$lang['stag0006'] = "Es sind mehrere eindeutige IDs mit deiner IP Adresse online. Bitte %sklicke hier%s um dich zunächst zu verifizieren."; $lang['stag0006'] = "Es sind meherer eindeutige IDs online mit deiner IP Adresse. Bitte %sklicke hier%s um dich zunächst zu verifizieren.";
$lang['stag0007'] = "Bitte warte, bis die letzten Änderungen durchgeführt wurden, bevor du weitere Dinge änderst..."; $lang['stag0007'] = "Bitte warte, bis die letzten Änderungen durchgeführt wurden, bevor du weitere Dinge änderst...";
$lang['stag0008'] = "Gruppen-Änderungen erfolgreich gespeichert. Es kann ein paar Sekunden dauern, bis die Änderungen auf dem TS3 Server erfolgt."; $lang['stag0008'] = "Gruppen-Änderungen erfolgreich gespeichert. Es kann ein paar Sekunden dauern, bis die Änderungen auf dem TS3 Server erfolgt.";
$lang['stag0009'] = "Du kannst nicht mehr als %s Gruppe(n) zur selben Zeit setzen!"; $lang['stag0009'] = "Du kannst nicht mehr als %s Gruppe(n) zur selben Zeit setzen!";
@@ -415,6 +417,7 @@ $lang['wigrptime'] = "Rangsteigerung Definition";
$lang['wigrptimedesc'] = "Definiere hier, nach welcher Zeit ein User automatisch in eine vorgegebene Servergruppe gelangen soll.<br><br>Zeit (Sekunden)=>Servergruppen ID<br><br>Entscheidend hierfür ist die 'online Zeit' bzw. die 'aktive Zeit' des Users, je nach Einstellung des Modus.<br><br>Maximaler Wert sind 999.999.999 Sekunden (über 31 Jahre)<br><br>Jeder Eintrag ist vom nächsten durch ein Komma zu separieren.<br><br>Die Zeiten sind kummulativ zu hinterlegen.<br><br>Beispiel:<br>60=>9,120=>10,180=>11<br><br>Hier werden die User nach 60 Sekunden in die Servergruppe 9, nach wiederum 60 Sekunden in die Servergruppe 10, usw..., hinzugefügt."; $lang['wigrptimedesc'] = "Definiere hier, nach welcher Zeit ein User automatisch in eine vorgegebene Servergruppe gelangen soll.<br><br>Zeit (Sekunden)=>Servergruppen ID<br><br>Entscheidend hierfür ist die 'online Zeit' bzw. die 'aktive Zeit' des Users, je nach Einstellung des Modus.<br><br>Maximaler Wert sind 999.999.999 Sekunden (über 31 Jahre)<br><br>Jeder Eintrag ist vom nächsten durch ein Komma zu separieren.<br><br>Die Zeiten sind kummulativ zu hinterlegen.<br><br>Beispiel:<br>60=>9,120=>10,180=>11<br><br>Hier werden die User nach 60 Sekunden in die Servergruppe 9, nach wiederum 60 Sekunden in die Servergruppe 10, usw..., hinzugefügt.";
$lang['wihladm'] = "List Rankup (Admin-Modus)"; $lang['wihladm'] = "List Rankup (Admin-Modus)";
$lang['wihladm1'] = "Zeit zu User hinzufügen"; $lang['wihladm1'] = "Zeit zu User hinzufügen";
$lang['wihladm2'] = "Zeit von User entfernen";
$lang['wihlcfg'] = "Kern-Einstellungen"; $lang['wihlcfg'] = "Kern-Einstellungen";
$lang['wihldb'] = "Datenbank"; $lang['wihldb'] = "Datenbank";
$lang['wihlmsg'] = "Nachrichten"; $lang['wihlmsg'] = "Nachrichten";
@@ -506,6 +509,7 @@ $lang['wishnavdesc'] = "Zeige die Seitennavigation auf der 'stats/' Seite.<br><
$lang['wisupidle'] = "Modus"; $lang['wisupidle'] = "Modus";
$lang['wisupidledesc'] = "Es gibt zwei Ausprägungen, wie Zeiten gewertet werden können und dann für eine Rangsteigerung herangezogen werden.<br><br>1) online Zeit: Hier wird die reine online Zeit des Users beachtet (siehe Spalte 'ges. online Zeit' in der stats/list_rankup.php).<br><br>2) aktive Zeit: Hier wird von der online Zeit eines Users noch die inaktive Zeit (Idle) abgezogen (siehe Spalte 'ges. aktive Zeit' in der stats/list_rankup.php).<br><br><br>Eine Umstellung des Modus mit einer bereits länger laufenden Datenbank wird nicht empfohlen, kann aber funktionieren."; $lang['wisupidledesc'] = "Es gibt zwei Ausprägungen, wie Zeiten gewertet werden können und dann für eine Rangsteigerung herangezogen werden.<br><br>1) online Zeit: Hier wird die reine online Zeit des Users beachtet (siehe Spalte 'ges. online Zeit' in der stats/list_rankup.php).<br><br>2) aktive Zeit: Hier wird von der online Zeit eines Users noch die inaktive Zeit (Idle) abgezogen (siehe Spalte 'ges. aktive Zeit' in der stats/list_rankup.php).<br><br><br>Eine Umstellung des Modus mit einer bereits länger laufenden Datenbank wird nicht empfohlen, kann aber funktionieren.";
$lang['wisvconf'] = "speichern"; $lang['wisvconf'] = "speichern";
$lang['wisvinfo1'] = "Achtung!! Wenn der Modus zum Hashen von IP Adressen geändert wird, ist es erforderlich, dass der User eine neue Verbindung zum TS3 Server herstellt, andernfalls kann der User nicht mit der Statistikseite synchronisiert werden.";
$lang['wisvsuc'] = "Änderungen erfolgreich gesichert!"; $lang['wisvsuc'] = "Änderungen erfolgreich gesichert!";
$lang['wisvres'] = "Damit die Änderungen wirksam werden ist ein Neustart des Ranksystems erforderlich! %s"; $lang['wisvres'] = "Damit die Änderungen wirksam werden ist ein Neustart des Ranksystems erforderlich! %s";
$lang['witime'] = "Zeitzone"; $lang['witime'] = "Zeitzone";
@@ -534,4 +538,4 @@ $lang['wiverify'] = "Verifizierung-Channel";
$lang['wiverifydesc'] = "Hier ist die Channel-ID des Verifizierungschannels zu hinterlegen.<br><br>Dieser Channel ist <u>manuell</u> auf dem TeamSpeak Server anzulegen. Name, Berechtigungen und sonstige Eigenschaften können völlig nach Belieben gesetzt werden; lediglich sollten User ihn betreten können!<br><br>Die Verifizierung erfolgt durch den jeweiligen Benutzer selbst auf der Statistik-Seite (/stats/). Sie ist nur dann erforderlich, wenn eine Zuordnung des Webseitenbesuchers mit dem TeamSpeak-User nicht automatisch erfolgen kann.<br><br>Für die Verifizierung muss sich der User auf dem TeamSpeak Server in den Verifizierungschannel begeben. Dort kann er den Token empfangen, mit welchem er sich für die Statistik-Seite verifiziert."; $lang['wiverifydesc'] = "Hier ist die Channel-ID des Verifizierungschannels zu hinterlegen.<br><br>Dieser Channel ist <u>manuell</u> auf dem TeamSpeak Server anzulegen. Name, Berechtigungen und sonstige Eigenschaften können völlig nach Belieben gesetzt werden; lediglich sollten User ihn betreten können!<br><br>Die Verifizierung erfolgt durch den jeweiligen Benutzer selbst auf der Statistik-Seite (/stats/). Sie ist nur dann erforderlich, wenn eine Zuordnung des Webseitenbesuchers mit dem TeamSpeak-User nicht automatisch erfolgen kann.<br><br>Für die Verifizierung muss sich der User auf dem TeamSpeak Server in den Verifizierungschannel begeben. Dort kann er den Token empfangen, mit welchem er sich für die Statistik-Seite verifiziert.";
$lang['wivlang'] = "Sprache"; $lang['wivlang'] = "Sprache";
$lang['wivlangdesc'] = "Wähle die Standardsprache des Ranksystems.<br><br>Die Sprache kann über die Webseite für jeden Besucher übersteuert werden und wird dann für die laufende Sitzung gespeichert."; $lang['wivlangdesc'] = "Wähle die Standardsprache des Ranksystems.<br><br>Die Sprache kann über die Webseite für jeden Besucher übersteuert werden und wird dann für die laufende Sitzung gespeichert.";
?> ?>

View File

@@ -110,6 +110,8 @@ $lang['sccupcount'] = "Active time of %s seconds for the unique Client-ID (%s)
$lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function."; $lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function.";
$lang['setontime'] = "add time"; $lang['setontime'] = "add time";
$lang['setontimedesc'] = "Add online time to the previous selected clients. Each user will get this time additional to their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately."; $lang['setontimedesc'] = "Add online time to the previous selected clients. Each user will get this time additional to their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately.";
$lang['setontime2'] = "remove time";
$lang['setontimedesc2'] = "Remove online time from the previous selected clients. Each user will get removed this time from their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately.";
$lang['sgrpadd'] = "Grant servergroup %s (ID: %s) to user %s (unique Client-ID: %s; Client-database-ID %s)."; $lang['sgrpadd'] = "Grant servergroup %s (ID: %s) to user %s (unique Client-ID: %s; Client-database-ID %s).";
$lang['sgrprerr'] = "Affected user: %s (unique Client-ID: %s; Client-database-ID %s) and server group %s (ID: %s)."; $lang['sgrprerr'] = "Affected user: %s (unique Client-ID: %s; Client-database-ID %s) and server group %s (ID: %s).";
$lang['sgrprm'] = "Removed servergroup %s (ID: %s) from user %s (unique Client-ID: %s; Client-database-ID %s)."; $lang['sgrprm'] = "Removed servergroup %s (ID: %s) from user %s (unique Client-ID: %s; Client-database-ID %s).";
@@ -371,7 +373,7 @@ $lang['wiadmhidedesc'] = "To hide excepted user in the following selection";
$lang['wiadmuuid'] = "admin ID"; $lang['wiadmuuid'] = "admin ID";
$lang['wiadmuuiddesc'] = "Enter here your unique Client-ID; as the administrator of the Ranksystem.<br>Also multiple Client-IDs are possible -> comma separated<br><br>This is required to reset the password of the webinterface.<br>Is there no unique Client-ID address defined, it is not possible to reset the password!<br><br>Here defined unique Client-IDs are also permitted to send admin commands to the Bot (!reboot, !shutdown, !update)."; $lang['wiadmuuiddesc'] = "Enter here your unique Client-ID; as the administrator of the Ranksystem.<br>Also multiple Client-IDs are possible -> comma separated<br><br>This is required to reset the password of the webinterface.<br>Is there no unique Client-ID address defined, it is not possible to reset the password!<br><br>Here defined unique Client-IDs are also permitted to send admin commands to the Bot (!reboot, !shutdown, !update).";
$lang['wiboost'] = "boost"; $lang['wiboost'] = "boost";
$lang['wiboostdesc'] = "Give an user on your TeamSpeak server a servergroup (have to be created manually), which you can declare here as boost group. Define also a factor which should be used (for example 2x) and a time, how long the boost should be rated.<br>The higher the factor, the faster an user reaches the next higher rank.<br>Is the time expired, the boost servergroup get automatically removed from the concerned user. The time starts running as soon as the user gets the servergroup.<br><br>servergroup ID => factor => time (in seconds)<br><br>Each entry have to separate from next with a comma.<br><br>Example:<br>12=>2=>6000,13=>3=>2500,14=>5=>600<br><br>On this an user in servergroup 12 get the factor 2 for the next 6000 seconds, an user in servergroup 13 get the factor 3 for 2500 seconds, and so on..."; $lang['wiboostdesc'] = "Give a user on your TeamSpeak server a servergroup (have to be created manually), which you can declare here as boost group. Define also a factor which should be used (for example 2x) and a time, how long the boost should be rated.<br>The higher the factor, the faster an user reaches the next higher rank.<br>Is the time expired, the boost servergroup get automatically removed from the concerned user. The time starts running as soon as the user gets the servergroup.<br><br>servergroup ID => factor => time (in seconds)<br><br>Each entry have to separate from next with a comma.<br><br>Example:<br>12=>2=>6000,13=>3=>2500,14=>5=>600<br><br>On this an user in servergroup 12 get the factor 2 for the next 6000 seconds, an user in servergroup 13 get the factor 3 for 2500 seconds, and so on...";
$lang['wibot1'] = "Ranksystem bot should be stopped. Check the log below for more information!"; $lang['wibot1'] = "Ranksystem bot should be stopped. Check the log below for more information!";
$lang['wibot2'] = "Ranksystem bot should be started. Check the log below for more information!"; $lang['wibot2'] = "Ranksystem bot should be started. Check the log below for more information!";
$lang['wibot3'] = "Ranksystem bot should be restarted. Check the log below for more information!"; $lang['wibot3'] = "Ranksystem bot should be restarted. Check the log below for more information!";
@@ -382,7 +384,7 @@ $lang['wibot7'] = "Restart bot";
$lang['wibot8'] = "Ranksystem log (extract):"; $lang['wibot8'] = "Ranksystem log (extract):";
$lang['wibot9'] = "Fill out all mandatory fields before starting the Ranksystem bot!"; $lang['wibot9'] = "Fill out all mandatory fields before starting the Ranksystem bot!";
$lang['wichdbid'] = "Client-database-ID reset"; $lang['wichdbid'] = "Client-database-ID reset";
$lang['wichdbiddesc'] = "Reset the online time of an user, if his TeamSpeak Client-database-ID changed.<br><br>Example:<br>If a clients gets removed from the TeamSpeak server, it gets a new Client-database-ID with the next connect to the server."; $lang['wichdbiddesc'] = "Reset the online time of a user, if his TeamSpeak Client-database-ID changed.<br><br>Example:<br>If a clients gets removed from the TeamSpeak server, it gets a new Client-database-ID with the next connect to the server.";
$lang['wiconferr'] = "There is an error in the configuration of the Ranksystem. Please go to the webinterface and correct the Core Settings. Especially check the config 'rank up'!"; $lang['wiconferr'] = "There is an error in the configuration of the Ranksystem. Please go to the webinterface and correct the Core Settings. Especially check the config 'rank up'!";
$lang['wichpw1'] = "Your old password is wrong. Please try again"; $lang['wichpw1'] = "Your old password is wrong. Please try again";
$lang['wichpw2'] = "The new passwords dismatch. Please try again."; $lang['wichpw2'] = "The new passwords dismatch. Please try again.";
@@ -415,6 +417,7 @@ $lang['wigrptime'] = "rank up definition";
$lang['wigrptimedesc'] = "Define here after which time a user should get automatically a predefined servergroup.<br><br>time (seconds)=>servergroup ID<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>Important for this is the 'online time' or the 'active time' of an user, depending on setting of the mode.<br><br>Each entry have to separate from next with a comma.<br><br>The time must be entered cumulative<br><br>Example:<br>60=>9,120=>10,180=>11<br><br>On this a user get after 60 seconds the servergroup 9, in turn after 60 seconds the servergroup 10, and so on..."; $lang['wigrptimedesc'] = "Define here after which time a user should get automatically a predefined servergroup.<br><br>time (seconds)=>servergroup ID<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>Important for this is the 'online time' or the 'active time' of an user, depending on setting of the mode.<br><br>Each entry have to separate from next with a comma.<br><br>The time must be entered cumulative<br><br>Example:<br>60=>9,120=>10,180=>11<br><br>On this a user get after 60 seconds the servergroup 9, in turn after 60 seconds the servergroup 10, and so on...";
$lang['wihladm'] = "List Rankup (Admin-Mode)"; $lang['wihladm'] = "List Rankup (Admin-Mode)";
$lang['wihladm1'] = "Add online Time to User"; $lang['wihladm1'] = "Add online Time to User";
$lang['wihladm2'] = "Remove online Time from User";
$lang['wihlcfg'] = "Core settings"; $lang['wihlcfg'] = "Core settings";
$lang['wihldb'] = "Database settings"; $lang['wihldb'] = "Database settings";
$lang['wihlmsg'] = "Message settings"; $lang['wihlmsg'] = "Message settings";
@@ -422,16 +425,16 @@ $lang['wihlsty'] = "Stats page settings";
$lang['wihlts'] = "TeamSpeak settings"; $lang['wihlts'] = "TeamSpeak settings";
$lang['wihlvs'] = "Various settings"; $lang['wihlvs'] = "Various settings";
$lang['wiignidle'] = "Ignore idle"; $lang['wiignidle'] = "Ignore idle";
$lang['wiignidledesc'] = "Define a period, up to which the idle time of an user will be ignored.<br><br>When a client does not do anything on the server (=idle), this time is noted by the Ranksystem. With this feature the idle time of an user will not be counted until the defined limit. Only when the defined limit is exceeded, it counts from that date for the Ranksystem as idle time.<br><br>This function plays only in conjunction with the mode 'active time' a role.<br><br>Meaning the function is e.g. to evaluate the time of listening in conversations as activity.<br><br>0 = disable the feature<br><br>Example:<br>Ignore idle = 600 (seconds)<br>A client has an idle of 8 minuntes<br>consequence:<br>8 minutes idle are ignored and he therefore receives this time as active time. If the idle time now increased to over 12 minutes so the time is over 10 minutes, and in this case 2 minutes would be counted as idle time."; $lang['wiignidledesc'] = "Define a period, up to which the idle time of a user will be ignored.<br><br>When a client does not do anything on the server (=idle), this time is noted by the Ranksystem. With this feature the idle time of an user will not be counted until the defined limit. Only when the defined limit is exceeded, it counts from that date for the Ranksystem as idle time.<br><br>This function plays only in conjunction with the mode 'active time' a role.<br><br>Meaning the function is e.g. to evaluate the time of listening in conversations as activity.<br><br>0 = disable the feature<br><br>Example:<br>Ignore idle = 600 (seconds)<br>A client has an idle of 8 minuntes<br>consequence:<br>8 minutes idle are ignored and he therefore receives this time as active time. If the idle time now increased to over 12 minutes so the time is over 10 minutes, and in this case 2 minutes would be counted as idle time.";
$lang['wilog'] = "Logpath"; $lang['wilog'] = "Logpath";
$lang['wilogdesc'] = "Path of the log file of the Ranksystem.<br><br>Example:<br>/var/logs/ranksystem/<br><br>Be sure, the webuser has the write-permissions to the logpath."; $lang['wilogdesc'] = "Path of the log file of the Ranksystem.<br><br>Example:<br>/var/logs/ranksystem/<br><br>Be sure, the webuser has the write-permissions to the logpath.";
$lang['wilogout'] = "Logout"; $lang['wilogout'] = "Logout";
$lang['wimsgmsg'] = "Messages"; $lang['wimsgmsg'] = "Messages";
$lang['wimsgmsgdesc'] = "Define a message, which will be send to an user, when he rises the next higher rank.<br><br>This message will be send via TS3 private message. So every know bb-code could be used, which also works for a normal private message.<br>http://ts-n.net/lexicon.php?showid=97#lexindex<br><br>Furthermore, the previously spent time can be expressed by arguments:<br>%1\$s - days<br>%2\$s - hours<br>%3\$s - minutes<br>%4\$s - seconds<br>%5\$s - name of reached servergroup<br>%6&#36;s - name of the user (recipient)<br><br>Example:<br>Hey,\\nyou 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] ;-)"; $lang['wimsgmsgdesc'] = "Define a message, which will be send to a user, when he rises the next higher rank.<br><br>This message will be send via TS3 private message. So every know bb-code could be used, which also works for a normal private message.<br>http://ts-n.net/lexicon.php?showid=97#lexindex<br><br>Furthermore, the previously spent time can be expressed by arguments:<br>%1\$s - days<br>%2\$s - hours<br>%3\$s - minutes<br>%4\$s - seconds<br>%5\$s - name of reached servergroup<br>%6&#36;s - name of the user (recipient)<br><br>Example:<br>Hey,\\nyou 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] ;-)";
$lang['wimsgsn'] = "Server-News"; $lang['wimsgsn'] = "Server-News";
$lang['wimsgsndesc'] = "Define a message, which will be shown on the /stats/ page as server news.<br><br>You can use default html functions to modify the layout<br><br>Example:<br>&#60;b&#62; - <b>for bold</b><br>&#60;u&#62; - <u>for underline</u><br>&#60;i&#62; - <i>for italic</i><br>&#60;br&#62; - for word-wrap (new line)"; $lang['wimsgsndesc'] = "Define a message, which will be shown on the /stats/ page as server news.<br><br>You can use default html functions to modify the layout<br><br>Example:<br>&#60;b&#62; - <b>for bold</b><br>&#60;u&#62; - <u>for underline</u><br>&#60;i&#62; - <i>for italic</i><br>&#60;br&#62; - for word-wrap (new line)";
$lang['wimsgusr'] = "Rank up notification"; $lang['wimsgusr'] = "Rank up notification";
$lang['wimsgusrdesc'] = "Inform an user with a private text message about his rank up."; $lang['wimsgusrdesc'] = "Inform a user with a private text message about his rank up.";
$lang['winav1'] = "TeamSpeak"; $lang['winav1'] = "TeamSpeak";
$lang['winav2'] = "Database"; $lang['winav2'] = "Database";
$lang['winav3'] = "Core"; $lang['winav3'] = "Core";
@@ -506,6 +509,7 @@ $lang['wishnavdesc'] = "Show the site navigation on 'stats/' page.<br><br>If th
$lang['wisupidle'] = "Mode"; $lang['wisupidle'] = "Mode";
$lang['wisupidledesc'] = "There are two modes, as time can be counted and can then apply for a rank increase.<br><br>1) online time: Here the pure online time of the user is taken into account (see column 'sum. online time' in the 'stats/list_rankup.php')<br><br>2) active time: This will be deducted from the online time of a user, the inactive time (idle) (see column 'sum. active time' in the 'stats/list_rankup.php').<br><br>A change of mode with an already longer running database is not recommended, but may work."; $lang['wisupidledesc'] = "There are two modes, as time can be counted and can then apply for a rank increase.<br><br>1) online time: Here the pure online time of the user is taken into account (see column 'sum. online time' in the 'stats/list_rankup.php')<br><br>2) active time: This will be deducted from the online time of a user, the inactive time (idle) (see column 'sum. active time' in the 'stats/list_rankup.php').<br><br>A change of mode with an already longer running database is not recommended, but may work.";
$lang['wisvconf'] = "save"; $lang['wisvconf'] = "save";
$lang['wisvinfo1'] = "Attention!! By changing the mode of hashing the users IP address, it is necessary that the user connects new to the TS3 server or the user can't get synchronized with the stats page.";
$lang['wisvsuc'] = "Changes successfully saved!"; $lang['wisvsuc'] = "Changes successfully saved!";
$lang['wisvres'] = "You need to restart the Ranksystem before the changes will take effect! %s"; $lang['wisvres'] = "You need to restart the Ranksystem before the changes will take effect! %s";
$lang['witime'] = "Timezone"; $lang['witime'] = "Timezone";

View File

@@ -110,6 +110,8 @@ $lang['sccupcount'] = "Active time of %s seconds for the unique Client-ID (%s)
$lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function."; $lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function.";
$lang['setontime'] = "ajouter du temps"; $lang['setontime'] = "ajouter du temps";
$lang['setontimedesc'] = "Ajouter du temps en ligne aux anciens clients sélectionnés. Chaque utilisateur obtiendra ce temps supplémentaire à son ancien temps en ligne.<br><br>Le nouveau temps en ligne entré sera considéré pour le rang et devrait prendre effet immédiatement."; $lang['setontimedesc'] = "Ajouter du temps en ligne aux anciens clients sélectionnés. Chaque utilisateur obtiendra ce temps supplémentaire à son ancien temps en ligne.<br><br>Le nouveau temps en ligne entré sera considéré pour le rang et devrait prendre effet immédiatement.";
$lang['setontime2'] = "remove time";
$lang['setontimedesc2'] = "Remove online time from the previous selected clients. Each user will get removed this time from their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately.";
$lang['sgrpadd'] = "Groupe de serveur %s (ID: %s) accordé à l'utilisateur %s (Identifiant unique: %s; ID dans la base de donnée %s)."; $lang['sgrpadd'] = "Groupe de serveur %s (ID: %s) accordé à l'utilisateur %s (Identifiant unique: %s; ID dans la base de donnée %s).";
$lang['sgrprerr'] = "Affected user: %s (unique Client-ID: %s; Client-database-ID %s) and server group %s (ID: %s)."; $lang['sgrprerr'] = "Affected user: %s (unique Client-ID: %s; Client-database-ID %s) and server group %s (ID: %s).";
$lang['sgrprm'] = "Groupe de serveur %s (ID: %s) supprimé à l'utilisateur %s (Identifiant unique: %s; ID dans la base de donnée %s)."; $lang['sgrprm'] = "Groupe de serveur %s (ID: %s) supprimé à l'utilisateur %s (Identifiant unique: %s; ID dans la base de donnée %s).";
@@ -415,6 +417,7 @@ $lang['wigrptime'] = "Définition des prochains rangs";
$lang['wigrptimedesc'] = "Définissez ici après quoi un utilisateur doit automatiquement obtenir un groupe de serveurs prédéfini.<br><br>temps (secondes)=>ID du groupe de serveur<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>Important pour cela est le 'online time' ou le 'active time' d'un utilisateur, en fonction du réglage du mode.<br><br>Chaque entrée doit se séparer de la suivante avec une virgule.<br><br>L'heure doit être saisie cumulative<br><br>Exemple:<br>60=>9,120=>10,180=>11<br><br>Sur ce un utilisateur obtient après 60 secondes le groupe de serveurs 9, à son tour après 60 secondes le groupe de serveurs 10, et ainsi de suite ..."; $lang['wigrptimedesc'] = "Définissez ici après quoi un utilisateur doit automatiquement obtenir un groupe de serveurs prédéfini.<br><br>temps (secondes)=>ID du groupe de serveur<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>Important pour cela est le 'online time' ou le 'active time' d'un utilisateur, en fonction du réglage du mode.<br><br>Chaque entrée doit se séparer de la suivante avec une virgule.<br><br>L'heure doit être saisie cumulative<br><br>Exemple:<br>60=>9,120=>10,180=>11<br><br>Sur ce un utilisateur obtient après 60 secondes le groupe de serveurs 9, à son tour après 60 secondes le groupe de serveurs 10, et ainsi de suite ...";
$lang['wihladm'] = "Liste de classement (Mode-Admin)"; $lang['wihladm'] = "Liste de classement (Mode-Admin)";
$lang['wihladm1'] = "Ajouter du temps en ligne à un utilisateur"; $lang['wihladm1'] = "Ajouter du temps en ligne à un utilisateur";
$lang['wihladm2'] = "Remove online Time from User";
$lang['wihlcfg'] = "Paramètres de base"; $lang['wihlcfg'] = "Paramètres de base";
$lang['wihldb'] = "Paramètres de la base de données"; $lang['wihldb'] = "Paramètres de la base de données";
$lang['wihlmsg'] = "Paramètres des messages"; $lang['wihlmsg'] = "Paramètres des messages";
@@ -506,6 +509,7 @@ $lang['wishnavdesc'] = "Afficher la navigation du site sur la page 'stats/'.<br
$lang['wisupidle'] = "Mode"; $lang['wisupidle'] = "Mode";
$lang['wisupidledesc'] = "Il y a deux modes, comme le temps peut être compté et peut ensuite demander une augmentation de rang.<br><br>1) Temps en ligne: Ici, le temps en ligne pur de l'utilisateur est pris en compte (Voir la colonne 'Temps en ligne ' dans la page 'stats/list_rankup.php')<br><br>2) Temps actif: Ceci sera déduit de l'heure en ligne d'un utilisateur, le temps inactif (inactif) (voir la colonne 'Temps actif' dans la page 'stats/list_rankup.php').<br><br>Un changement de mode avec une base de données déjà utilisée n'est pas recommandé, mais ça peut fonctionner."; $lang['wisupidledesc'] = "Il y a deux modes, comme le temps peut être compté et peut ensuite demander une augmentation de rang.<br><br>1) Temps en ligne: Ici, le temps en ligne pur de l'utilisateur est pris en compte (Voir la colonne 'Temps en ligne ' dans la page 'stats/list_rankup.php')<br><br>2) Temps actif: Ceci sera déduit de l'heure en ligne d'un utilisateur, le temps inactif (inactif) (voir la colonne 'Temps actif' dans la page 'stats/list_rankup.php').<br><br>Un changement de mode avec une base de données déjà utilisée n'est pas recommandé, mais ça peut fonctionner.";
$lang['wisvconf'] = "Sauvegarder"; $lang['wisvconf'] = "Sauvegarder";
$lang['wisvinfo1'] = "Attention!! By changing the mode of hashing the users IP address, it is necessary that the user connects new to the TS3 server or the user can't get synchronized with the stats page.";
$lang['wisvsuc'] = "Modifications enregistrées avec succès !"; $lang['wisvsuc'] = "Modifications enregistrées avec succès !";
$lang['wisvres'] = "Vous devez redémarrer le Ranksystem avant que les modifications prennent effet! %s"; $lang['wisvres'] = "Vous devez redémarrer le Ranksystem avant que les modifications prennent effet! %s";
$lang['witime'] = "Fuseau horaire"; $lang['witime'] = "Fuseau horaire";

View File

@@ -110,6 +110,8 @@ $lang['sccupcount'] = "Active time of %s seconds for the unique Client-ID (%s)
$lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function."; $lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function.";
$lang['setontime'] = "aggiungi tempo"; $lang['setontime'] = "aggiungi tempo";
$lang['setontimedesc'] = "Aggiungi tempo online agli utenti precedentemente selezionati. Ogni utente avrà questo tempo addizionale aggiunto al loro vecchio tempo online.<br><br>Il tempo online digitato sarà considerato per l'aumento di rank e avrà effetto immediato."; $lang['setontimedesc'] = "Aggiungi tempo online agli utenti precedentemente selezionati. Ogni utente avrà questo tempo addizionale aggiunto al loro vecchio tempo online.<br><br>Il tempo online digitato sarà considerato per l'aumento di rank e avrà effetto immediato.";
$lang['setontime2'] = "remove time";
$lang['setontimedesc2'] = "Remove online time from the previous selected clients. Each user will get removed this time from their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately.";
$lang['sgrpadd'] = "All'utente %s è stato assegnato il servergroup %s (Client-ID Univoco: %s; Client-database-ID %s)."; $lang['sgrpadd'] = "All'utente %s è stato assegnato il servergroup %s (Client-ID Univoco: %s; Client-database-ID %s).";
$lang['sgrprerr'] = "Affected user: %s (unique Client-ID: %s; Client-database-ID %s) and server group %s (ID: %s)."; $lang['sgrprerr'] = "Affected user: %s (unique Client-ID: %s; Client-database-ID %s) and server group %s (ID: %s).";
$lang['sgrprm'] = "All'utente %s è stato rimosso il servergroup %s (unique Client-ID: %s; Client-database-ID %s)."; $lang['sgrprm'] = "All'utente %s è stato rimosso il servergroup %s (unique Client-ID: %s; Client-database-ID %s).";
@@ -415,6 +417,7 @@ $lang['wigrptime'] = "Definisci Rankup";
$lang['wigrptimedesc'] = "Definisci qui dopo quanto tempo un utente debba ottenere automaticamente un servergroup predefinito.<br><br>tempo (IN SECONDI)=>servergroup ID<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>Sono importanti per questa impostazione il 'Tempo online' o il 'Tempo di attività' di un utente, dipende da come impostata la modalità.<br><br>Ogni voce deve essere separate dalla successive con una virgola. br><br>Dovrà essere inserito il tempo cumulativo<br><br>Esempio:<br>60=>9,120=>10,180=>11<br><br>Su queste basi un utente ottiene il servergroup 9 dopo 60 secondi, a sua volta il 10 dopo altri 60 secondi e così via..."; $lang['wigrptimedesc'] = "Definisci qui dopo quanto tempo un utente debba ottenere automaticamente un servergroup predefinito.<br><br>tempo (IN SECONDI)=>servergroup ID<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>Sono importanti per questa impostazione il 'Tempo online' o il 'Tempo di attività' di un utente, dipende da come impostata la modalità.<br><br>Ogni voce deve essere separate dalla successive con una virgola. br><br>Dovrà essere inserito il tempo cumulativo<br><br>Esempio:<br>60=>9,120=>10,180=>11<br><br>Su queste basi un utente ottiene il servergroup 9 dopo 60 secondi, a sua volta il 10 dopo altri 60 secondi e così via...";
$lang['wihladm'] = "Lista Utenti (Modalità Admin)"; $lang['wihladm'] = "Lista Utenti (Modalità Admin)";
$lang['wihladm1'] = "Aggiungi del tempo online ad un utente"; $lang['wihladm1'] = "Aggiungi del tempo online ad un utente";
$lang['wihladm2'] = "Remove online Time from User";
$lang['wihlcfg'] = "Impostazioni Principali"; $lang['wihlcfg'] = "Impostazioni Principali";
$lang['wihldb'] = "Impostazioni Database"; $lang['wihldb'] = "Impostazioni Database";
$lang['wihlmsg'] = "Impostazioni Messaggi"; $lang['wihlmsg'] = "Impostazioni Messaggi";
@@ -506,6 +509,7 @@ $lang['wishnavdesc'] = "Mostra colonna navigazione-sito nella pagina 'stats/'.<
$lang['wisupidle'] = "Modalità"; $lang['wisupidle'] = "Modalità";
$lang['wisupidledesc'] = "Ci sono due modalità di conteggio del tempo per applicare un aumento di rank.<br><br>1) Tempo Online: Tutto il tempo che l'utente passa in TS in IDLE o meno (Vedi colonna 'sum. online time' in the 'stats/list_rankup.php')<br><br>2) Tempo di attività: Al tempo online dell'utente viene sottratto il tempo in IDLE (AFK) (Vedi colonna 'sum. active time' in the 'stats/list_rankup.php').<br><br>Il cambiamento di modalità dopo lungo tempo non è consigliato ma dovrebbe funzionare comunque."; $lang['wisupidledesc'] = "Ci sono due modalità di conteggio del tempo per applicare un aumento di rank.<br><br>1) Tempo Online: Tutto il tempo che l'utente passa in TS in IDLE o meno (Vedi colonna 'sum. online time' in the 'stats/list_rankup.php')<br><br>2) Tempo di attività: Al tempo online dell'utente viene sottratto il tempo in IDLE (AFK) (Vedi colonna 'sum. active time' in the 'stats/list_rankup.php').<br><br>Il cambiamento di modalità dopo lungo tempo non è consigliato ma dovrebbe funzionare comunque.";
$lang['wisvconf'] = "Salva"; $lang['wisvconf'] = "Salva";
$lang['wisvinfo1'] = "Attention!! By changing the mode of hashing the users IP address, it is necessary that the user connects new to the TS3 server or the user can't get synchronized with the stats page.";
$lang['wisvsuc'] = "Modifiche salvate con successo!"; $lang['wisvsuc'] = "Modifiche salvate con successo!";
$lang['wisvres'] = "Dovrai riavviare il Ranksystem affinché i cambiamenti vengano applicati!"; $lang['wisvres'] = "Dovrai riavviare il Ranksystem affinché i cambiamenti vengano applicati!";
$lang['witime'] = "Fuso orario"; $lang['witime'] = "Fuso orario";

View File

@@ -110,6 +110,8 @@ $lang['sccupcount'] = "Active time of %s seconds for the unique Client-ID (%s)
$lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function."; $lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function.";
$lang['setontime'] = "voeg tijd toe"; $lang['setontime'] = "voeg tijd toe";
$lang['setontimedesc'] = "Voeg online tijd toe aan de hiervoor geselecteerde clients. Elke gebruiker zal de tijd erbij krijgen op hun oude online tijd.<br><br>De ingevoerde online tijd zal onmiddelijk plaatsvinden en de servergroepen zullen meteen worden toegevoegd."; $lang['setontimedesc'] = "Voeg online tijd toe aan de hiervoor geselecteerde clients. Elke gebruiker zal de tijd erbij krijgen op hun oude online tijd.<br><br>De ingevoerde online tijd zal onmiddelijk plaatsvinden en de servergroepen zullen meteen worden toegevoegd.";
$lang['setontime2'] = "remove time";
$lang['setontimedesc2'] = "Remove online time from the previous selected clients. Each user will get removed this time from their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately.";
$lang['sgrpadd'] = "Verleen servergroep %s (ID: %s) naar gebruiker %s (unieke Client-ID: %s; Client-database-ID %s)."; $lang['sgrpadd'] = "Verleen servergroep %s (ID: %s) naar gebruiker %s (unieke Client-ID: %s; Client-database-ID %s).";
$lang['sgrprerr'] = "Affected user: %s (unique Client-ID: %s; Client-database-ID %s) and server group %s (ID: %s)."; $lang['sgrprerr'] = "Affected user: %s (unique Client-ID: %s; Client-database-ID %s) and server group %s (ID: %s).";
$lang['sgrprm'] = "Servergroep verwijderd van gebruiker %s (ID: %s) user %s (unieke Client-ID: %s; Client-database-ID %s)."; $lang['sgrprm'] = "Servergroep verwijderd van gebruiker %s (ID: %s) user %s (unieke Client-ID: %s; Client-database-ID %s).";
@@ -415,6 +417,7 @@ $lang['wigrptime'] = "rank up definition";
$lang['wigrptimedesc'] = "Define here after which time a user should get automatically a predefined servergroup.<br><br>time (seconds)=>servergroup ID<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>Important for this is the 'online time' or the 'active time' of an user, depending on setting of the mode.<br><br>Each entry have to separate from next with a comma.<br><br>The time must be entered cumulative<br><br>Example:<br>60=>9,120=>10,180=>11<br><br>On this a user get after 60 seconds the servergroup 9, in turn after 60 seconds the servergroup 10, and so on..."; $lang['wigrptimedesc'] = "Define here after which time a user should get automatically a predefined servergroup.<br><br>time (seconds)=>servergroup ID<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>Important for this is the 'online time' or the 'active time' of an user, depending on setting of the mode.<br><br>Each entry have to separate from next with a comma.<br><br>The time must be entered cumulative<br><br>Example:<br>60=>9,120=>10,180=>11<br><br>On this a user get after 60 seconds the servergroup 9, in turn after 60 seconds the servergroup 10, and so on...";
$lang['wihladm'] = "List Rankup (Admin-Mode)"; $lang['wihladm'] = "List Rankup (Admin-Mode)";
$lang['wihladm1'] = "Add online Time to User"; $lang['wihladm1'] = "Add online Time to User";
$lang['wihladm2'] = "Remove online Time from User";
$lang['wihlcfg'] = "Core settings"; $lang['wihlcfg'] = "Core settings";
$lang['wihldb'] = "Database settings"; $lang['wihldb'] = "Database settings";
$lang['wihlmsg'] = "Message settings"; $lang['wihlmsg'] = "Message settings";
@@ -506,6 +509,7 @@ $lang['wishnavdesc'] = "Show the site navigation on 'stats/' page.<br><br>If th
$lang['wisupidle'] = "Mode"; $lang['wisupidle'] = "Mode";
$lang['wisupidledesc'] = "There are two modes, as time can be counted and can then apply for a rank increase.<br><br>1) online time: Here the pure online time of the user is taken into account (see column 'sum. online time' in the 'stats/list_rankup.php')<br><br>2) active time: This will be deducted from the online time of a user, the inactive time (idle) (see column 'sum. active time' in the 'stats/list_rankup.php').<br><br>A change of mode with an already longer running database is not recommended, but may work."; $lang['wisupidledesc'] = "There are two modes, as time can be counted and can then apply for a rank increase.<br><br>1) online time: Here the pure online time of the user is taken into account (see column 'sum. online time' in the 'stats/list_rankup.php')<br><br>2) active time: This will be deducted from the online time of a user, the inactive time (idle) (see column 'sum. active time' in the 'stats/list_rankup.php').<br><br>A change of mode with an already longer running database is not recommended, but may work.";
$lang['wisvconf'] = "save"; $lang['wisvconf'] = "save";
$lang['wisvinfo1'] = "Attention!! By changing the mode of hashing the users IP address, it is necessary that the user connects new to the TS3 server or the user can't get synchronized with the stats page.";
$lang['wisvsuc'] = "Changes successfully saved!"; $lang['wisvsuc'] = "Changes successfully saved!";
$lang['wisvres'] = "You need to restart the Ranksystem before the changes will take effect! %s"; $lang['wisvres'] = "You need to restart the Ranksystem before the changes will take effect! %s";
$lang['witime'] = "Timezone"; $lang['witime'] = "Timezone";

View File

@@ -110,6 +110,8 @@ $lang['sccupcount'] = "Active time of %s seconds for the unique Client-ID (%s)
$lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function."; $lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function.";
$lang['setontime'] = "Dodaj czas"; $lang['setontime'] = "Dodaj czas";
$lang['setontimedesc'] = "Dodaj czas online do poprzednich wybranych klientow. Kazdy uzytkownik otrzyma dodatkowy czas na swoj stary czas online.<br><br>Wprowadzony czas online zostanie uwzgledniony w rankingu i powinien zacząc obowiązywac natychmiast."; $lang['setontimedesc'] = "Dodaj czas online do poprzednich wybranych klientow. Kazdy uzytkownik otrzyma dodatkowy czas na swoj stary czas online.<br><br>Wprowadzony czas online zostanie uwzgledniony w rankingu i powinien zacząc obowiązywac natychmiast.";
$lang['setontime2'] = "remove time";
$lang['setontimedesc2'] = "Remove online time from the previous selected clients. Each user will get removed this time from their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately.";
$lang['sgrpadd'] = "Przyznaj grupie serwerowej %s (ID: %s) do uzytkownika %s (unique Client-ID: %s; Client-database-ID %s)."; $lang['sgrpadd'] = "Przyznaj grupie serwerowej %s (ID: %s) do uzytkownika %s (unique Client-ID: %s; Client-database-ID %s).";
$lang['sgrprerr'] = "Dotkniety uzytkownik: %s (unique Client-ID: %s; Client-database-ID %s) i grupa serwerow %s (ID: %s)."; $lang['sgrprerr'] = "Dotkniety uzytkownik: %s (unique Client-ID: %s; Client-database-ID %s) i grupa serwerow %s (ID: %s).";
$lang['sgrprm'] = "Usunieto grupe serwerow %s (ID: %s) od uzytkownika %s (unique Client-ID: %s; Client-database-ID %s)."; $lang['sgrprm'] = "Usunieto grupe serwerow %s (ID: %s) od uzytkownika %s (unique Client-ID: %s; Client-database-ID %s).";
@@ -415,6 +417,7 @@ $lang['wigrptime'] = "rangowa definicja";
$lang['wigrptimedesc'] = "Okresl tutaj, po ktorym czasie uzytkownik powinien automatycznie uzyskac predefiniowaną grupe serwerow.<br><br>czas (sekundy) => identyfikator grupy serwerow<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>Wazne w tym przypadku jest 'czas online' lub 'czas aktywnosci' uzytkownika, w zaleznosci od ustawienia trybu.<br><br>Kazdy wpis musi oddzielac sie od nastepnego za pomocą przecinka.<br><br>Czas musi byc wprowadzony łącznie<br><br>Przykład:<br>60=>9,120=>10,180=>11<br><br>W tym przypadku uzytkownik dostaje po 60 sekundach grupe serwerow 9, po kolei po 60 sekundach grupa serwerow 10 itd."; $lang['wigrptimedesc'] = "Okresl tutaj, po ktorym czasie uzytkownik powinien automatycznie uzyskac predefiniowaną grupe serwerow.<br><br>czas (sekundy) => identyfikator grupy serwerow<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>Wazne w tym przypadku jest 'czas online' lub 'czas aktywnosci' uzytkownika, w zaleznosci od ustawienia trybu.<br><br>Kazdy wpis musi oddzielac sie od nastepnego za pomocą przecinka.<br><br>Czas musi byc wprowadzony łącznie<br><br>Przykład:<br>60=>9,120=>10,180=>11<br><br>W tym przypadku uzytkownik dostaje po 60 sekundach grupe serwerow 9, po kolei po 60 sekundach grupa serwerow 10 itd.";
$lang['wihladm'] = "Lista Rankup (tryb administratora)"; $lang['wihladm'] = "Lista Rankup (tryb administratora)";
$lang['wihladm1'] = "Dodaj czas online do uzytkownika"; $lang['wihladm1'] = "Dodaj czas online do uzytkownika";
$lang['wihladm2'] = "Remove online Time from User";
$lang['wihlcfg'] = "Ustawienia podstawowe"; $lang['wihlcfg'] = "Ustawienia podstawowe";
$lang['wihldb'] = "Ustawienia bazy danych"; $lang['wihldb'] = "Ustawienia bazy danych";
$lang['wihlmsg'] = "Ustawienia wiadomosci"; $lang['wihlmsg'] = "Ustawienia wiadomosci";
@@ -506,6 +509,7 @@ $lang['wishnavdesc'] = "Pokaz nawigacje po stronie 'stats/' strona.<br><br>Jesl
$lang['wisupidle'] = "Tryb"; $lang['wisupidle'] = "Tryb";
$lang['wisupidledesc'] = "Istnieją dwa tryby, poniewaz czas moze byc policzony, a nastepnie mozna ubiegac sie o podwyzszenie rangi.<br><br>1) czas online: bierze sie pod uwage czysty czas online uzytkownika (see column 'sum. online time' in the 'stats/list_rankup.php')<br><br>2) czas aktywny: zostanie odjety od czasu online uzytkownika, nieaktywny czas (bezczynnosc) (patrz kolumna 'suma aktywnego czasu' w 'stats / list_rankup.php').<br><br>Zmiana trybu z juz działającą bazą danych nie jest zalecana, ale moze działac."; $lang['wisupidledesc'] = "Istnieją dwa tryby, poniewaz czas moze byc policzony, a nastepnie mozna ubiegac sie o podwyzszenie rangi.<br><br>1) czas online: bierze sie pod uwage czysty czas online uzytkownika (see column 'sum. online time' in the 'stats/list_rankup.php')<br><br>2) czas aktywny: zostanie odjety od czasu online uzytkownika, nieaktywny czas (bezczynnosc) (patrz kolumna 'suma aktywnego czasu' w 'stats / list_rankup.php').<br><br>Zmiana trybu z juz działającą bazą danych nie jest zalecana, ale moze działac.";
$lang['wisvconf'] = "zapisac"; $lang['wisvconf'] = "zapisac";
$lang['wisvinfo1'] = "Attention!! By changing the mode of hashing the users IP address, it is necessary that the user connects new to the TS3 server or the user can't get synchronized with the stats page.";
$lang['wisvsuc'] = "Zmiany zostały pomyslnie zapisane!"; $lang['wisvsuc'] = "Zmiany zostały pomyslnie zapisane!";
$lang['wisvres'] = "Musisz ponownie uruchomic system Ranksystem, zanim zmiany zaczną obowiązywac! %s"; $lang['wisvres'] = "Musisz ponownie uruchomic system Ranksystem, zanim zmiany zaczną obowiązywac! %s";
$lang['witime'] = "Strefa czasowa"; $lang['witime'] = "Strefa czasowa";

View File

@@ -110,6 +110,8 @@ $lang['sccupcount'] = "Active time of %s seconds for the unique Client-ID (%s)
$lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function."; $lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function.";
$lang['setontime'] = "tempo extra"; $lang['setontime'] = "tempo extra";
$lang['setontimedesc'] = "Adicione tempo online aos clientes selecionados. Cada usuário obterá esse tempo adicional ao seu antigo tempo online.<br><br>O tempo online estabelecido será considerado para o ranking e deverá entrar em vigor imediatamente."; $lang['setontimedesc'] = "Adicione tempo online aos clientes selecionados. Cada usuário obterá esse tempo adicional ao seu antigo tempo online.<br><br>O tempo online estabelecido será considerado para o ranking e deverá entrar em vigor imediatamente.";
$lang['setontime2'] = "remove time";
$lang['setontimedesc2'] = "Remove online time from the previous selected clients. Each user will get removed this time from their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately.";
$lang['sgrpadd'] = "Conceder o grupo do servidor %s ao usuário %s (ID-Ùnica: %s; Cliente-database-ID %s)."; $lang['sgrpadd'] = "Conceder o grupo do servidor %s ao usuário %s (ID-Ùnica: %s; Cliente-database-ID %s).";
$lang['sgrprerr'] = "Affected user: %s (unique Client-ID: %s; Client-database-ID %s) and server group %s (ID: %s)."; $lang['sgrprerr'] = "Affected user: %s (unique Client-ID: %s; Client-database-ID %s) and server group %s (ID: %s).";
$lang['sgrprm'] = "Grupo do servidor removido %s do usuário %s (ID-Ùnica: %s; Cliente-database-ID %s)."; $lang['sgrprm'] = "Grupo do servidor removido %s do usuário %s (ID-Ùnica: %s; Cliente-database-ID %s).";
@@ -415,6 +417,7 @@ $lang['wigrptime'] = "Definições de classifiaões";
$lang['wigrptimedesc'] = "Defina aqui, após quanto tempo um usuário deve obter automaticamente um grupo de servidores predefinido.<br><br>Tempo (em segundos) => ID do grupo do servidor<br><br>Max. value are 999.999.999 seconds (over 31 years)<br> <br> Importante para este é o 'tempo online' ou o 'tempo ativo' de um usuário, dependendo da configuração do modo.<br><br>Cada entrada deve se separar do próximo com uma vírgula.<br><br>O tempo deve ser inserido cumulativo<br><br>Exemplo:<br>60 => 9,120 => 10,180 => 11<br><br>Neste usuário, pegue após 60 segundos o grupo de servidores 9, por sua vez, após 60 segundos, o grupo de servidores 10 e assim por diante ..."; $lang['wigrptimedesc'] = "Defina aqui, após quanto tempo um usuário deve obter automaticamente um grupo de servidores predefinido.<br><br>Tempo (em segundos) => ID do grupo do servidor<br><br>Max. value are 999.999.999 seconds (over 31 years)<br> <br> Importante para este é o 'tempo online' ou o 'tempo ativo' de um usuário, dependendo da configuração do modo.<br><br>Cada entrada deve se separar do próximo com uma vírgula.<br><br>O tempo deve ser inserido cumulativo<br><br>Exemplo:<br>60 => 9,120 => 10,180 => 11<br><br>Neste usuário, pegue após 60 segundos o grupo de servidores 9, por sua vez, após 60 segundos, o grupo de servidores 10 e assim por diante ...";
$lang['wihladm'] = "Classificação (Modo Admin)"; $lang['wihladm'] = "Classificação (Modo Admin)";
$lang['wihladm1'] = "Adicionar tempo online ao usuário"; $lang['wihladm1'] = "Adicionar tempo online ao usuário";
$lang['wihladm2'] = "Remove online Time from User";
$lang['wihlcfg'] = "Configurações do núcleo"; $lang['wihlcfg'] = "Configurações do núcleo";
$lang['wihldb'] = "Configurações do banco de dados"; $lang['wihldb'] = "Configurações do banco de dados";
$lang['wihlmsg'] = "Configurações de mensagens"; $lang['wihlmsg'] = "Configurações de mensagens";
@@ -506,6 +509,7 @@ $lang['wishnavdesc'] = "Mostrar a aba de navegação na 'stats/' pagina.<br><b
$lang['wisupidle'] = "Modo"; $lang['wisupidle'] = "Modo";
$lang['wisupidledesc'] = "Existem dois modos, pois o tempo pode ser contado e pode então se inscrever para um aumento de classificação.<br><br>1) Tempo online: Aqui, o tempo online do usuário é levado em consideração (ver coluna 'tempo online' na 'stats/list_rankup.php')<br><br>2) tempo ativo: isso será deduzido do tempo online de um usuário, o tempo inativo.o ranking classifica quem tem o maior tempo ativo no servidor.<br><br>Não é recomendada uma mudança de modo com um banco de dados já executado mais longo, mas pode funcionar."; $lang['wisupidledesc'] = "Existem dois modos, pois o tempo pode ser contado e pode então se inscrever para um aumento de classificação.<br><br>1) Tempo online: Aqui, o tempo online do usuário é levado em consideração (ver coluna 'tempo online' na 'stats/list_rankup.php')<br><br>2) tempo ativo: isso será deduzido do tempo online de um usuário, o tempo inativo.o ranking classifica quem tem o maior tempo ativo no servidor.<br><br>Não é recomendada uma mudança de modo com um banco de dados já executado mais longo, mas pode funcionar.";
$lang['wisvconf'] = "Salvar"; $lang['wisvconf'] = "Salvar";
$lang['wisvinfo1'] = "Attention!! By changing the mode of hashing the users IP address, it is necessary that the user connects new to the TS3 server or the user can't get synchronized with the stats page.";
$lang['wisvsuc'] = "Mudanças salvas com sucesso!"; $lang['wisvsuc'] = "Mudanças salvas com sucesso!";
$lang['wisvres'] = "Você precisa reiniciar o Sistema de ranking antes para que as mudanças entrem em vigor!"; $lang['wisvres'] = "Você precisa reiniciar o Sistema de ranking antes para que as mudanças entrem em vigor!";
$lang['witime'] = "Fuso horário"; $lang['witime'] = "Fuso horário";

View File

@@ -110,6 +110,8 @@ $lang['sccupcount'] = "Ai adaugat cu succes timp online: %s pentru useru
$lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function."; $lang['sccupcount2'] = "Add an active time of %s seconds for the unique Client-ID (%s); requested about admin function.";
$lang['setontime'] = "adauga timp"; $lang['setontime'] = "adauga timp";
$lang['setontimedesc'] = "Add online time to the previous selected clients. Each user will get this time additional to their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately."; $lang['setontimedesc'] = "Add online time to the previous selected clients. Each user will get this time additional to their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately.";
$lang['setontime2'] = "remove time";
$lang['setontimedesc2'] = "Remove online time from the previous selected clients. Each user will get removed this time from their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately.";
$lang['sgrpadd'] = "Aloca servergroup %s (ID: %s) user-ului %s (unique Client-ID: %s; Client-database-ID %s)."; $lang['sgrpadd'] = "Aloca servergroup %s (ID: %s) user-ului %s (unique Client-ID: %s; Client-database-ID %s).";
$lang['sgrprerr'] = "User afectat: %s (unique-ID: %s; ID baza de date %s) si grad %s (ID: %s)."; $lang['sgrprerr'] = "User afectat: %s (unique-ID: %s; ID baza de date %s) si grad %s (ID: %s).";
$lang['sgrprm'] = "S-a ?ters gradul %s (ID: %s) de la user-ul %s (unique-ID: %s; ID baza de date %s)."; $lang['sgrprm'] = "S-a ?ters gradul %s (ID: %s) de la user-ul %s (unique-ID: %s; ID baza de date %s).";
@@ -415,6 +417,7 @@ $lang['wigrptime'] = "Clasificare grade";
$lang['wigrptimedesc'] = "Define here after which time a user should get automatically a predefined servergroup.<br><br>time (seconds)=>servergroup ID<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>Important for this is the 'online time' or the 'active time' of an user, depending on setting of the mode.<br><br>Each entry have to separate from next with a comma.<br><br>The time must be entered cumulative<br><br>Example:<br>60=>9,120=>10,180=>11<br><br>On this a user get after 60 seconds the servergroup 9, in turn after 60 seconds the servergroup 10, and so on..."; $lang['wigrptimedesc'] = "Define here after which time a user should get automatically a predefined servergroup.<br><br>time (seconds)=>servergroup ID<br><br>Max. value are 999.999.999 seconds (over 31 years)<br><br>Important for this is the 'online time' or the 'active time' of an user, depending on setting of the mode.<br><br>Each entry have to separate from next with a comma.<br><br>The time must be entered cumulative<br><br>Example:<br>60=>9,120=>10,180=>11<br><br>On this a user get after 60 seconds the servergroup 9, in turn after 60 seconds the servergroup 10, and so on...";
$lang['wihladm'] = "Lista Rank(Mod Admin)"; $lang['wihladm'] = "Lista Rank(Mod Admin)";
$lang['wihladm1'] = "Adauga timp online"; $lang['wihladm1'] = "Adauga timp online";
$lang['wihladm2'] = "Remove online Time from User";
$lang['wihlcfg'] = "Setari core"; $lang['wihlcfg'] = "Setari core";
$lang['wihldb'] = "Setari baza de date"; $lang['wihldb'] = "Setari baza de date";
$lang['wihlmsg'] = "Message settings"; $lang['wihlmsg'] = "Message settings";
@@ -506,6 +509,7 @@ $lang['wishnavdesc'] = "Afisati navigarea site-ului pe pagina '/stats'.<b
$lang['wisupidle'] = "Mod"; $lang['wisupidle'] = "Mod";
$lang['wisupidledesc'] = "Exista doua moduri, pentru ca timpul poate fi calculat si se poate aplica pentru o crestere a rangului.<br><br> 1) timp online: Aici se tine cont de timpul online pur al utilizatorului (a se vedea coloana 'suma' in 'stats/list_rankup.php')<br><br> 2) timp activ: va fi dedus din timpul online al unui utilizator, timpul inactiv (a se vedea coloana 'suma activa' 'stats/list_rankup.php').<br><br> O schimbare a modului cu o baza de date deja in desfasurare nu este recomandata, dar poate functiona."; $lang['wisupidledesc'] = "Exista doua moduri, pentru ca timpul poate fi calculat si se poate aplica pentru o crestere a rangului.<br><br> 1) timp online: Aici se tine cont de timpul online pur al utilizatorului (a se vedea coloana 'suma' in 'stats/list_rankup.php')<br><br> 2) timp activ: va fi dedus din timpul online al unui utilizator, timpul inactiv (a se vedea coloana 'suma activa' 'stats/list_rankup.php').<br><br> O schimbare a modului cu o baza de date deja in desfasurare nu este recomandata, dar poate functiona.";
$lang['wisvconf'] = "salveaza"; $lang['wisvconf'] = "salveaza";
$lang['wisvinfo1'] = "Attention!! By changing the mode of hashing the users IP address, it is necessary that the user connects new to the TS3 server or the user can't get synchronized with the stats page.";
$lang['wisvsuc'] = "Schimbari salvate cu succes"; $lang['wisvsuc'] = "Schimbari salvate cu succes";
$lang['wisvres'] = "Trebuie sa reporniti sistemul rank inainte ca schimbarile sa aiba efect! %s"; $lang['wisvres'] = "Trebuie sa reporniti sistemul rank inainte ca schimbarile sa aiba efect! %s";
$lang['witime'] = "Fus orar"; $lang['witime'] = "Fus orar";

View File

@@ -1,5 +1,5 @@
<?PHP <?PHP
$lang= array(); $lang = array();
$lang['adduser'] = "Пользователь %s (UID: %s; DBID: %s) неизвестен и был успешно добавлен в базу данных системы рангов."; $lang['adduser'] = "Пользователь %s (UID: %s; DBID: %s) неизвестен и был успешно добавлен в базу данных системы рангов.";
$lang['brute'] = "Слишком много некорректных попыток входа в веб-интерфейс. Вы были заблокированы на 300 секунд! Последний успешный вход был выполен с IP %s."; $lang['brute'] = "Слишком много некорректных попыток входа в веб-интерфейс. Вы были заблокированы на 300 секунд! Последний успешный вход был выполен с IP %s.";
$lang['changedbid'] = "У пользователя %s (UID: %s) изменился TeamSpeak DBID (%s). Обновляем старый Client-DBID (%s) и сбрасываем ему старое время!"; $lang['changedbid'] = "У пользователя %s (UID: %s) изменился TeamSpeak DBID (%s). Обновляем старый Client-DBID (%s) и сбрасываем ему старое время!";
@@ -110,6 +110,8 @@ $lang['sccupcount'] = "%s секунд активного времени бы
$lang['sccupcount2'] = "Успешно добавлено %s секунд активного времени клиенту с уникальным ID (UID) %s по запросу администратора системы рангов."; $lang['sccupcount2'] = "Успешно добавлено %s секунд активного времени клиенту с уникальным ID (UID) %s по запросу администратора системы рангов.";
$lang['setontime'] = "Начислить время"; $lang['setontime'] = "Начислить время";
$lang['setontimedesc'] = "Данная функция начисляет пользователю время онлайна с учётом прошлых накоплений. От этого времени также будет впоследствии сформирован ранг пользователя.<br><br>Введенное время будет учитываться при выдаче ранга и должно подействовать мгновенно (немного дольше при включенном SlowMode'е)."; $lang['setontimedesc'] = "Данная функция начисляет пользователю время онлайна с учётом прошлых накоплений. От этого времени также будет впоследствии сформирован ранг пользователя.<br><br>Введенное время будет учитываться при выдаче ранга и должно подействовать мгновенно (немного дольше при включенном SlowMode'е).";
$lang['setontime2'] = "remove time";
$lang['setontimedesc2'] = "Remove online time from the previous selected clients. Each user will get removed this time from their old online time.<br><br>The entered online time will be considered for the rank up and should take effect immediately.";
$lang['sgrpadd'] = "Выдана группа сервера №%s (ID: %s) пользователю %s (UID клиента: %s; DBID: %s)."; $lang['sgrpadd'] = "Выдана группа сервера №%s (ID: %s) пользователю %s (UID клиента: %s; DBID: %s).";
$lang['sgrprerr'] = "Затронут пользователь: %s (UID: %s; DBID %s) и группа сервера %s (ID: %s)."; $lang['sgrprerr'] = "Затронут пользователь: %s (UID: %s; DBID %s) и группа сервера %s (ID: %s).";
$lang['sgrprm'] = "С пользователя %s (ID: %s) снята группа сервера %s (UID: %s; DBID: %s)."; $lang['sgrprm'] = "С пользователя %s (ID: %s) снята группа сервера %s (UID: %s; DBID: %s).";
@@ -415,6 +417,7 @@ $lang['wigrptime'] = "Настройка рангов";
$lang['wigrptimedesc'] = "Укажите через какой промежуток времени, будут выдаваться группы сервера.<br><br>Время (в секундах)=>номер группы сервера (ServerGroupID)<br><br>К тому же, от выбранного режима будет зависеть.<br><br>Каждый параметр должен разделяться запятой.<br><br>Так же время должно быть указано по 'нарастающей'<br><br>Пример:<br>60=>9,120=>10,180=>11<br><br>По истечению 60 секунд пользователь получает сервер группу под SGID 9, по истечению еще 120 секунд пользователь получает сервер группу SGID 10, и так далее..."; $lang['wigrptimedesc'] = "Укажите через какой промежуток времени, будут выдаваться группы сервера.<br><br>Время (в секундах)=>номер группы сервера (ServerGroupID)<br><br>К тому же, от выбранного режима будет зависеть.<br><br>Каждый параметр должен разделяться запятой.<br><br>Так же время должно быть указано по 'нарастающей'<br><br>Пример:<br>60=>9,120=>10,180=>11<br><br>По истечению 60 секунд пользователь получает сервер группу под SGID 9, по истечению еще 120 секунд пользователь получает сервер группу SGID 10, и так далее...";
$lang['wihladm'] = "Список пользователей (Режим администратора)"; $lang['wihladm'] = "Список пользователей (Режим администратора)";
$lang['wihladm1'] = "Начислить время пользователю"; $lang['wihladm1'] = "Начислить время пользователю";
$lang['wihladm2'] = "Remove online Time from User";
$lang['wihlcfg'] = "Настройка системы рангов"; $lang['wihlcfg'] = "Настройка системы рангов";
$lang['wihldb'] = "Настройки базы данных"; $lang['wihldb'] = "Настройки базы данных";
$lang['wihlmsg'] = "Настройка оповещения"; $lang['wihlmsg'] = "Настройка оповещения";
@@ -506,6 +509,7 @@ $lang['wishnavdesc'] = "Показывать ли навигацию на ст
$lang['wisupidle'] = "Режим"; $lang['wisupidle'] = "Режим";
$lang['wisupidledesc'] = "Предоставлены два режима, по которым будет высчиваться ранг пользователей:<br><br>1) Время подключения(Общее время): Общее время подключения на сервере, складывается из \"Активного времени\" и \"времени бездействия\"(колонка 'Сумм. время подключения' в 'stats/list_rankup.php')<br><br>2) Активное время(Время активности): Время, которое пользователь не находился в бездействии. Значение этого времени высчитывается путем вычитания \"времени бездействия из\" из \"Общего времени подключения на сервере\" (Колонка 'Сумм. время активности' в 'stats/list_rankup.php').<br><br>Не рекомендуется смена режима при уже отработавшем долгий срок старом режиме, но допустимо."; $lang['wisupidledesc'] = "Предоставлены два режима, по которым будет высчиваться ранг пользователей:<br><br>1) Время подключения(Общее время): Общее время подключения на сервере, складывается из \"Активного времени\" и \"времени бездействия\"(колонка 'Сумм. время подключения' в 'stats/list_rankup.php')<br><br>2) Активное время(Время активности): Время, которое пользователь не находился в бездействии. Значение этого времени высчитывается путем вычитания \"времени бездействия из\" из \"Общего времени подключения на сервере\" (Колонка 'Сумм. время активности' в 'stats/list_rankup.php').<br><br>Не рекомендуется смена режима при уже отработавшем долгий срок старом режиме, но допустимо.";
$lang['wisvconf'] = "Сохранить"; $lang['wisvconf'] = "Сохранить";
$lang['wisvinfo1'] = "Attention!! By changing the mode of hashing the users IP address, it is necessary that the user connects new to the TS3 server or the user can't get synchronized with the stats page.";
$lang['wisvsuc'] = "Изменения успешно сохранены!"; $lang['wisvsuc'] = "Изменения успешно сохранены!";
$lang['wisvres'] = "Для принятия внесенных правок вам необходимо перезагрузить систему рангов! %s"; $lang['wisvres'] = "Для принятия внесенных правок вам необходимо перезагрузить систему рангов! %s";
$lang['witime'] = "Часовой пояс"; $lang['witime'] = "Часовой пояс";

View File

@@ -1,4 +1,4 @@
<?PHP <?PHP
$nation = array(); $nation = array();
$nation['AD']='Андорра'; $nation['AD']='Андорра';
$nation['AE']='Объединённые Арабские Эмираты (ОАЭ)'; $nation['AE']='Объединённые Арабские Эмираты (ОАЭ)';

View File

@@ -1 +1 @@
var i,tsn=new Array;for(i=1;i<34;i++)tsn[i]=document.getElementById("tsn"+i).value;Morris.Donut({element:"time-gap-donut",data:[{label:tsn[1],value:tsn[4]},{label:tsn[2],value:tsn[5]}]}),Morris.Donut({element:"client-version-donut",data:[{label:tsn[6],value:tsn[11]},{label:tsn[7],value:tsn[12]},{label:tsn[8],value:tsn[13]},{label:tsn[9],value:tsn[14]},{label:tsn[10],value:tsn[15]},{label:tsn[2],value:tsn[16]}],colors:["#5cb85c","#73C773","#8DD68D","#AAE6AA","#C9F5C9","#E6FFE6"]}),Morris.Donut({element:"user-descent-donut",data:[{label:tsn[17],value:tsn[22]},{label:tsn[18],value:tsn[23]},{label:tsn[19],value:tsn[24]},{label:tsn[20],value:tsn[25]},{label:tsn[21],value:tsn[26]},{label:tsn[3],value:tsn[27]}],colors:["#f0ad4e","#ffc675","#fecf8d","#ffdfb1","#fce8cb","#fdf3e5"]}),Morris.Donut({element:"user-platform-donut",data:[{label:"Windows",value:tsn[28]},{label:"Linux",value:tsn[29]},{label:"Android",value:tsn[30]},{label:"iOS",value:tsn[31]},{label:"OS X",value:tsn[32]},{label:tsn[3],value:tsn[33]}],colors:["#d9534f","#FF4040","#FF5050","#FF6060","#FF7070","#FF8080"]}),$(function(){var t=Morris.Area({element:"serverusagechart",behaveLikeLine:!0,data:[],xkey:"y",ykeys:["a","b"],hideHover:"auto",fillOpacity:.4,hoverCallback:function(e,t,n,a){return"<b>"+a.y+"</b><br><div class='morris-hover-point text-primary'>Clients: "+a.a+"</div><div class='morris-hover-point text-muted'>Channel: "+a.b+"</div>"},labels:["Clients","Channel"],resize:!0});$("#period").on("change",function(){var e=$(this).val();$.ajax({type:"POST",url:"update_graph.php?serverusagechart="+e,data:0,dataType:"json",success:function(e){console.log(e),t.setData(e)}})})}),$(document).ready(function(e){$("#period").trigger("change")});var a=document.getElementById("days"),b=document.getElementById("hours"),c=document.getElementById("minutes"),d=document.getElementById("seconds"),e=document.getElementById("sut").value;function setTime(){++e,d.innerHTML=pad(e%60),c.innerHTML=pad(parseInt(e/60)%60),b.innerHTML=pad(parseInt(e/3600)%24),a.innerHTML=pad(parseInt(e/86400))}function pad(e){var t=e+"";return t.length<2?"0"+t:t}setInterval(setTime,1e3); var i,tsn=new Array;for(i=1;i<34;i++)tsn[i]=document.getElementById("tsn"+i).value;Morris.Donut({element:"time-gap-donut",data:[{label:tsn[1],value:tsn[4]},{label:tsn[2],value:tsn[5]}]}),Morris.Donut({element:"client-version-donut",data:[{label:tsn[6],value:tsn[11]},{label:tsn[7],value:tsn[12]},{label:tsn[8],value:tsn[13]},{label:tsn[9],value:tsn[14]},{label:tsn[10],value:tsn[15]},{label:tsn[3],value:tsn[16]}],colors:["#5cb85c","#73C773","#8DD68D","#AAE6AA","#C9F5C9","#E6FFE6"]}),Morris.Donut({element:"user-descent-donut",data:[{label:tsn[17],value:tsn[22]},{label:tsn[18],value:tsn[23]},{label:tsn[19],value:tsn[24]},{label:tsn[20],value:tsn[25]},{label:tsn[21],value:tsn[26]},{label:tsn[3],value:tsn[27]}],colors:["#f0ad4e","#ffc675","#fecf8d","#ffdfb1","#fce8cb","#fdf3e5"]}),Morris.Donut({element:"user-platform-donut",data:[{label:"Windows",value:tsn[28]},{label:"Linux",value:tsn[29]},{label:"Android",value:tsn[30]},{label:"iOS",value:tsn[31]},{label:"OS X",value:tsn[32]},{label:tsn[3],value:tsn[33]}],colors:["#d9534f","#FF4040","#FF5050","#FF6060","#FF7070","#FF8080"]}),$(function(){var e=Morris.Area({element:"serverusagechart",behaveLikeLine:!0,data:[],xkey:"y",ykeys:["a","b"],hideHover:"auto",fillOpacity:.4,hoverCallback:function(e,t,n,a){return"<b>"+a.y+"</b><br><div class='morris-hover-point text-primary'>Clients: "+a.a+"</div><div class='morris-hover-point text-muted'>Channel: "+a.b+"</div>"},labels:["Clients","Channel"],resize:!0});$("#period").on("change",function(){var t=$(this).val();$.ajax({type:"POST",url:"update_graph.php?serverusagechart="+t,data:0,dataType:"json",success:function(t){console.log(t),e.setData(t)}})})}),$(document).ready(function(e){$("#period").trigger("change")});var a=document.getElementById("days"),b=document.getElementById("hours"),c=document.getElementById("minutes"),d=document.getElementById("seconds"),e=document.getElementById("sut").value;function setTime(){++e,d.innerHTML=pad(e%60),c.innerHTML=pad(parseInt(e/60)%60),b.innerHTML=pad(parseInt(e/3600)%24),a.innerHTML=pad(parseInt(e/86400))}function pad(e){var t=e+"";return t.length<2?"0"+t:t}setInterval(setTime,1e3);

View File

@@ -28,6 +28,7 @@ function set_session_ts3($voiceport, $mysqlcon, $dbname, $language, $adminuuid)
$_SESSION[$rspathhex.'tsname'] = $lang['stag0016']; $_SESSION[$rspathhex.'tsname'] = $lang['stag0016'];
$_SESSION[$rspathhex.'serverport'] = $voiceport; $_SESSION[$rspathhex.'serverport'] = $voiceport;
$_SESSION[$rspathhex.'csrf_token'] = bin2hex(openssl_random_pseudo_bytes(32)); $_SESSION[$rspathhex.'csrf_token'] = bin2hex(openssl_random_pseudo_bytes(32));
$_SESSION[$rspathhex.'multiple'] = array();
foreach ($allclients as $client) { foreach ($allclients as $client) {
if(isset($_SESSION[$rspathhex.'uuid_verified']) && $_SESSION[$rspathhex.'uuid_verified'] != $client['uuid']) { if(isset($_SESSION[$rspathhex.'uuid_verified']) && $_SESSION[$rspathhex.'uuid_verified'] != $client['uuid']) {
@@ -46,11 +47,11 @@ function set_session_ts3($voiceport, $mysqlcon, $dbname, $language, $adminuuid)
if ($verify == TRUE) { if ($verify == TRUE) {
$_SESSION[$rspathhex.'tsname'] = htmlspecialchars($client['name']); $_SESSION[$rspathhex.'tsname'] = htmlspecialchars($client['name']);
if(isset($_SESSION[$rspathhex.'tsuid']) && $_SESSION[$rspathhex.'tsuid'] != $client['uuid']) { if(isset($_SESSION[$rspathhex.'tsuid']) && $_SESSION[$rspathhex.'tsuid'] != $client['uuid']) {
$_SESSION[$rspathhex.'multiple'] .= htmlspecialchars($client['uuid']).'=>'.htmlspecialchars($client['name']).','; $_SESSION[$rspathhex.'multiple'][$client['uuid']] = htmlspecialchars($client['name']);
$_SESSION[$rspathhex.'tsname'] = "verification needed (multiple)!"; $_SESSION[$rspathhex.'tsname'] = "verification needed (multiple)!";
unset($_SESSION[$rspathhex.'admin']); unset($_SESSION[$rspathhex.'admin']);
} elseif (!isset($_SESSION[$rspathhex.'tsuid'])) { } elseif (!isset($_SESSION[$rspathhex.'tsuid'])) {
$_SESSION[$rspathhex.'multiple'] = htmlspecialchars($client['uuid']).'=>'.htmlspecialchars($client['name']).','; $_SESSION[$rspathhex.'multiple'][$client['uuid']] = htmlspecialchars($client['name']);
} }
$_SESSION[$rspathhex.'tsuid'] = $client['uuid']; $_SESSION[$rspathhex.'tsuid'] = $client['uuid'];
foreach ($adminuuid as $auuid) { foreach ($adminuuid as $auuid) {

View File

@@ -34,11 +34,6 @@ if(($dbdata = $mysqlcon->query("SELECT `cldgroup` FROM `$dbname`.`user` WHERE `u
$err_msg = print_r($mysqlcon->errorInfo(), true); $err_lvl = 3; $err_msg = print_r($mysqlcon->errorInfo(), true); $err_lvl = 3;
} }
$cld_groups = explode(',', $dbdata['cldgroup']); $cld_groups = explode(',', $dbdata['cldgroup']);
if(isset($_SESSION[$rspathhex.'multiple'])) {
$multiple_uuid = explode(',', substr($_SESSION[$rspathhex.'multiple'], 0, -1));
} else {
$multiple_uuid = array();
}
$disabled = ''; $disabled = '';
$allowed_groups_arr = array(); $allowed_groups_arr = array();
@@ -48,7 +43,7 @@ if (isset($_POST['update']) && $_POST['csrf_token'] != $_SESSION[$rspathhex.'csr
exit; exit;
} }
if(count($multiple_uuid) > 1 and !isset($_SESSION[$rspathhex.'uuid_verified'])) { if(count($_SESSION[$rspathhex.'multiple']) > 1 and !isset($_SESSION[$rspathhex.'uuid_verified'])) {
$disabled = 1; $disabled = 1;
$err_msg = sprintf($lang['stag0006'], '<a href="verify.php">', '</a>'); $err_lvl = 3; $err_msg = sprintf($lang['stag0006'], '<a href="verify.php">', '</a>'); $err_lvl = 3;
} elseif ($_SESSION[$rspathhex.'connected'] == 0) { } elseif ($_SESSION[$rspathhex.'connected'] == 0) {

View File

@@ -20,13 +20,7 @@ if(!isset($_SESSION[$rspathhex.'tsuid'])) {
set_session_ts3($ts['voice'], $mysqlcon, $dbname, $language, $adminuuid); set_session_ts3($ts['voice'], $mysqlcon, $dbname, $language, $adminuuid);
} }
if(isset($_SESSION[$rspathhex.'multiple'])) { if(count($_SESSION[$rspathhex.'multiple']) > 1 && !isset($_SESSION[$rspathhex.'uuid_verified'])) {
$multiple_uuid = explode(',', substr($_SESSION[$rspathhex.'multiple'], 0, -1));
} else {
$multiple_uuid = array();
}
if(count($multiple_uuid) > 1 && !isset($_SESSION[$rspathhex.'uuid_verified'])) {
$err_msg = sprintf($lang['stag0006'], '<a href="verify.php">', '</a>'); $err_lvl = 3; $err_msg = sprintf($lang['stag0006'], '<a href="verify.php">', '</a>'); $err_lvl = 3;
} elseif ($_SESSION[$rspathhex.'connected'] == 0) { } elseif ($_SESSION[$rspathhex.'connected'] == 0) {
$err_msg = sprintf("Du konntest nicht auf dem TeamSpeak gefunden werden. Bitte %sklicke hier%s um dich zun&auml;chst zu verifizieren.", '<a href="verify.php">', '</a>'); $err_lvl = 3; $err_msg = sprintf("Du konntest nicht auf dem TeamSpeak gefunden werden. Bitte %sklicke hier%s um dich zun&auml;chst zu verifizieren.", '<a href="verify.php">', '</a>'); $err_lvl = 3;
@@ -117,7 +111,7 @@ require_once('nav.php');
?> ?>
<div id="page-wrapper"> <div id="page-wrapper">
<?PHP if(isset($err_msg)) error_handling($err_msg, $err_lvl); <?PHP if(isset($err_msg)) error_handling($err_msg, $err_lvl);
if(count($multiple_uuid) > 1 || $_SESSION[$rspathhex.'connected'] == 0) { echo "</div></div></body></html>"; exit; } ?> if(count($_SESSION[$rspathhex.'multiple']) > 1 || $_SESSION[$rspathhex.'connected'] == 0) { echo "</div></div></body></html>"; exit; } ?>
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">

View File

@@ -17,13 +17,17 @@ require_once('../other/load_addons_config.php');
$addons_config = load_addons_config($mysqlcon,$lang,$dbname,$timezone,$logpath); $addons_config = load_addons_config($mysqlcon,$lang,$dbname,$timezone,$logpath);
if(!isset($_SESSION[$rspathhex.'tsuid'])) {
set_session_ts3($ts['voice'], $mysqlcon, $dbname, $language, $adminuuid);
}
if (isset($_POST['verify']) && $_POST['csrf_token'] != $_SESSION[$rspathhex.'csrf_token']) { if (isset($_POST['verify']) && $_POST['csrf_token'] != $_SESSION[$rspathhex.'csrf_token']) {
echo $lang['errcsrf']; echo $lang['errcsrf'];
rem_session_ts3($rspathhex); rem_session_ts3($rspathhex);
exit; exit;
} }
if(isset($_REQUEST['token']) && isset($_SESSION[$rspathhex.'temp_uuid']) && $_POST['csrf_token'] == $_SESSION[$rspathhex.'csrf_token']) { if(isset($_REQUEST['token']) && isset($_SESSION[$rspathhex.'temp_uuid'])) {
if($_REQUEST['token'] == NULL) { if($_REQUEST['token'] == NULL) {
$err_msg = $lang['stve0003']; $err_lvl = 1; $err_msg = $lang['stve0003']; $err_lvl = 1;
} elseif($_REQUEST['token'] != $_SESSION[$rspathhex.'token']) { } elseif($_REQUEST['token'] != $_SESSION[$rspathhex.'token']) {
@@ -33,7 +37,7 @@ if(isset($_REQUEST['token']) && isset($_SESSION[$rspathhex.'temp_uuid']) && $_PO
$_SESSION[$rspathhex.'serverport'] = $ts['voice']; $_SESSION[$rspathhex.'serverport'] = $ts['voice'];
$_SESSION[$rspathhex.'uuid_verified'] = $_SESSION[$rspathhex.'temp_uuid']; $_SESSION[$rspathhex.'uuid_verified'] = $_SESSION[$rspathhex.'temp_uuid'];
$_SESSION[$rspathhex.'tsuid'] = $_SESSION[$rspathhex.'temp_uuid']; $_SESSION[$rspathhex.'tsuid'] = $_SESSION[$rspathhex.'temp_uuid'];
$_SESSION[$rspathhex.'multiple'] = ''; $_SESSION[$rspathhex.'multiple'] = array();
$_SESSION[$rspathhex.'connected'] = 1; $_SESSION[$rspathhex.'connected'] = 1;
$_SESSION[$rspathhex.'tscldbid'] = $_SESSION[$rspathhex.'temp_cldbid']; $_SESSION[$rspathhex.'tscldbid'] = $_SESSION[$rspathhex.'temp_cldbid'];
$_SESSION[$rspathhex.'tsname'] = $_SESSION[$rspathhex.'temp_name']; $_SESSION[$rspathhex.'tsname'] = $_SESSION[$rspathhex.'temp_name'];
@@ -56,6 +60,7 @@ if(isset($_REQUEST['token']) && isset($_SESSION[$rspathhex.'temp_uuid']) && $_PO
} else { } else {
$_SESSION[$rspathhex.'tscreated'] = date('d-m-Y', $clientinfo[0]['firstcon']); $_SESSION[$rspathhex.'tscreated'] = date('d-m-Y', $clientinfo[0]['firstcon']);
} }
$convert = array('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p');
$uuidasbase16 = ''; $uuidasbase16 = '';
for ($i = 0; $i < 20; $i++) { for ($i = 0; $i < 20; $i++) {
$char = ord(substr(base64_decode($_SESSION[$rspathhex.'tsuid']), $i, 1)); $char = ord(substr(base64_decode($_SESSION[$rspathhex.'tsuid']), $i, 1));
@@ -73,31 +78,17 @@ if(isset($_REQUEST['token']) && isset($_SESSION[$rspathhex.'temp_uuid']) && $_PO
} }
} }
if(isset($_SESSION[$rspathhex.'multiple'])) { if((!isset($_SESSION[$rspathhex.'multiple']) || count($_SESSION[$rspathhex.'multiple']) == 0) && ($registercid == NULL || $registercid == 0)) {
$multi_uuid = explode(',', substr($_SESSION[$rspathhex.'multiple'], 0, -1));
} else {
$multi_uuid = array();
}
if(!isset($_SESSION[$rspathhex.'multiple']) && ($registercid == NULL || $registercid == 0)) {
$err_msg = $lang['verify0001']."<br><br>".$lang['verify0003']; $err_msg = $lang['verify0001']."<br><br>".$lang['verify0003'];
$err_lvl = 3; $err_lvl = 3;
} elseif($_SESSION[$rspathhex.'connected'] == 0 && $registercid != NULL && $registercid != 0) { } elseif($_SESSION[$rspathhex.'connected'] == 0 && $registercid != NULL && $registercid != 0) {
$err_msg = $lang['verify0001']; $err_lvl = 1; $err_msg = $lang['verify0001']; $err_lvl = 1;
$uuids = $mysqlcon->query("SELECT `name`,`uuid` FROM `$dbname`.`user` WHERE `online`='1' AND `cid`='$registercid' ORDER BY `name` ASC")->fetchAll(); $uuids = $mysqlcon->query("SELECT `name`,`uuid` FROM `$dbname`.`user` WHERE `online`='1' AND `cid`='$registercid' ORDER BY `name` ASC")->fetchAll();
foreach($uuids as $entry) { foreach($uuids as $entry) {
$multiple_uuid[$entry['uuid']] = $entry['name']; $_SESSION[$rspathhex.'multiple'][$entry['uuid']] = $entry['name'];
} }
} elseif(count($multi_uuid) == 1 && $_SESSION[$rspathhex.'connected'] == 1) { } elseif(count($_SESSION[$rspathhex.'multiple']) == 1 && $_SESSION[$rspathhex.'connected'] == 1) {
$err_msg = $lang['stve0005']; $err_lvl = 1; $err_msg = $lang['stve0005']; $err_lvl = 1;
} elseif(count($multi_uuid) > 1) {
$multi_uuid = explode(',', substr($_SESSION[$rspathhex.'multiple'], 0, -1));
foreach ($multi_uuid as $entry) {
list($key, $value) = explode('=>', $entry);
$multiple_uuid[$key] = $value;
}
} else {
$err_msg = $lang['stve0006']; $err_lvl = 3;
} }
if(isset($_POST['uuid']) && !isset($_SESSION[$rspathhex.'temp_uuid']) && $_POST['csrf_token'] == $_SESSION[$rspathhex.'csrf_token']) { if(isset($_POST['uuid']) && !isset($_SESSION[$rspathhex.'temp_uuid']) && $_POST['csrf_token'] == $_SESSION[$rspathhex.'csrf_token']) {
@@ -118,7 +109,7 @@ if(isset($_POST['uuid']) && !isset($_SESSION[$rspathhex.'temp_uuid']) && $_POST[
} catch (Exception $e) { } catch (Exception $e) {
$err_msg = $lang['errorts3'].$e->getCode().': '.$e->getMessage(); $err_lvl = 3; $err_msg = $lang['errorts3'].$e->getCode().': '.$e->getMessage(); $err_lvl = 3;
} }
foreach ($allclients as $client) { foreach ($allclients as $client) {
if($client['client_unique_identifier'] == $_POST['uuid']) { if($client['client_unique_identifier'] == $_POST['uuid']) {
$cldbid = $client['client_database_id']; $cldbid = $client['client_database_id'];
@@ -143,17 +134,13 @@ if(isset($_POST['uuid']) && !isset($_SESSION[$rspathhex.'temp_uuid']) && $_POST[
} }
} }
if(!isset($_SESSION[$rspathhex.'tsuid'])) {
set_session_ts3($ts['voice'], $mysqlcon, $dbname, $language, $adminuuid);
}
$_SESSION[$rspathhex.'csrf_token'] = bin2hex(openssl_random_pseudo_bytes(32)); $_SESSION[$rspathhex.'csrf_token'] = bin2hex(openssl_random_pseudo_bytes(32));
require_once('nav.php'); require_once('nav.php');
?> ?>
<div id="page-wrapper"> <div id="page-wrapper">
<?PHP if(isset($err_msg)) error_handling($err_msg, $err_lvl); <?PHP if(isset($err_msg)) error_handling($err_msg, $err_lvl);
if(count($multi_uuid) > 1 || ($_SESSION[$rspathhex.'connected'] == 0 && $registercid != NULL && $registercid != 0)) { if(count($_SESSION[$rspathhex.'multiple']) > 1 || ($_SESSION[$rspathhex.'connected'] == 0 && $registercid != NULL && $registercid != 0)) {
?> ?>
<div class="container-fluid"> <div class="container-fluid">
<div id="login-overlay" class="modal-dialog"> <div id="login-overlay" class="modal-dialog">
@@ -185,14 +172,14 @@ require_once('nav.php');
<div class="input-group col-sm-12"> <div class="input-group col-sm-12">
<select class="selectpicker show-tick form-control" name="uuid" id="uuid" onchange="this.form.submit();"> <select class="selectpicker show-tick form-control" name="uuid" id="uuid" onchange="this.form.submit();">
<?PHP <?PHP
if(count($multi_uuid) == 0) { if(count($_SESSION[$rspathhex.'multiple']) == 0) {
echo '<option disabled value="" selected>'.$lang['verify0004'].'</option>'; echo '<option disabled value="" selected>'.$lang['verify0004'].'</option>';
} else { } else {
echo '<option disabled value=""'; echo '<option disabled value=""';
if(!isset($_SESSION[$rspathhex.'temp_uuid'])) echo ' selected','>',$lang['stve0009']; if(!isset($_SESSION[$rspathhex.'temp_uuid'])) echo ' selected','>',$lang['stve0009'];
echo '</option>'; echo '</option>';
} }
foreach($multi_uuid as $uuid => $nickname) { foreach($_SESSION[$rspathhex.'multiple'] as $uuid => $nickname) {
echo '<option data-subtext="',$uuid,'" value="',$uuid,'"'; if(isset($_SESSION[$rspathhex.'temp_uuid']) && $_SESSION[$rspathhex.'temp_uuid'] == $uuid) echo ' selected'; echo '>',htmlspecialchars($nickname),'</option>'; echo '<option data-subtext="',$uuid,'" value="',$uuid,'"'; if(isset($_SESSION[$rspathhex.'temp_uuid']) && $_SESSION[$rspathhex.'temp_uuid'] == $uuid) echo ' selected'; echo '>',htmlspecialchars($nickname),'</option>';
} }
?> ?>

View File

@@ -0,0 +1,259 @@
<?PHP
ini_set('session.cookie_httponly', 1);
ini_set('session.use_strict_mode', 1);
if(in_array('sha512', hash_algos())) {
ini_set('session.hash_function', 'sha512');
}
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") {
ini_set('session.cookie_secure', 1);
header("Strict-Transport-Security: max-age=31536000; includeSubDomains; preload;");
}
session_start();
require_once('../other/config.php');
function getclientip() {
if (!empty($_SERVER['HTTP_CLIENT_IP']))
return $_SERVER['HTTP_CLIENT_IP'];
elseif(!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
return $_SERVER['HTTP_X_FORWARDED_FOR'];
elseif(!empty($_SERVER['HTTP_X_FORWARDED']))
return $_SERVER['HTTP_X_FORWARDED'];
elseif(!empty($_SERVER['HTTP_FORWARDED_FOR']))
return $_SERVER['HTTP_FORWARDED_FOR'];
elseif(!empty($_SERVER['HTTP_FORWARDED']))
return $_SERVER['HTTP_FORWARDED'];
elseif(!empty($_SERVER['REMOTE_ADDR']))
return $_SERVER['REMOTE_ADDR'];
else
return false;
}
if (isset($_POST['logout'])) {
echo "logout";
rem_session_ts3($rspathhex);
header("Location: //".$_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER['PHP_SELF']), '/\\'));
exit;
}
if (!isset($_SESSION[$rspathhex.'username']) || $_SESSION[$rspathhex.'username'] != $webuser || $_SESSION[$rspathhex.'password'] != $webpass || $_SESSION[$rspathhex.'clientip'] != getclientip()) {
header("Location: //".$_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER['PHP_SELF']), '/\\'));
exit;
}
if (isset($_POST['update']) && $_POST['csrf_token'] != $_SESSION[$rspathhex.'csrf_token']) {
echo $lang['errcsrf'];
rem_session_ts3($rspathhex);
exit;
}
require_once('nav.php');
if(!isset($_POST['number']) || $_POST['number'] == "yes") {
$_SESSION[$rspathhex.'showexcepted'] = "yes";
$filter = " `except`='0'";
} else {
$_SESSION[$rspathhex.'showexcepted'] = "no";
$filter = "";
}
if(($dbuserdata = $mysqlcon->query("SELECT `uuid`,`cldbid`,`name` FROM `$dbname`.`user` WHERE $filter ORDER BY `name` ASC")) === false) {
$err_msg = "DB Error: ".print_r($mysqlcon->errorInfo(), true); $err_lvl = 3;
}
$user_arr = $dbuserdata->fetchAll(PDO::FETCH_ASSOC);
if (isset($_POST['update']) && $_SESSION[$rspathhex.'username'] == $webuser && $_SESSION[$rspathhex.'password'] == $webpass && $_SESSION[$rspathhex.'clientip'] == getclientip() && $_POST['csrf_token'] == $_SESSION[$rspathhex.'csrf_token']) {
$setontime = 0;
if($_POST['setontime_day']) { $setontime = $setontime + $_POST['setontime_day'] * 86400; }
if($_POST['setontime_hour']) { $setontime = $setontime + $_POST['setontime_hour'] * 3600; }
if($_POST['setontime_min']) { $setontime = $setontime + $_POST['setontime_min'] * 60; }
if($_POST['setontime_sec']) { $setontime = $setontime + $_POST['setontime_sec']; }
if($setontime == 0) {
$err_msg = $lang['errseltime']; $err_lvl = 3;
} elseif($_POST['user'] == NULL) {
$err_msg = $lang['errselusr']; $err_lvl = 3;
} else {
$allinsertdata = '';
$succmsg = '';
$nowtime = time();
foreach($_POST['user'] as $uuid) {
$setontime = $setontime * -1;
$allinsertdata .= "('".$uuid."', ".$nowtime.", ".$setontime."),";
$succmsg .= sprintf($lang['sccupcount'],$setontime,$uuid)."<br>";
}
$allinsertdata = substr($allinsertdata, 0, -1);
if($mysqlcon->exec("INSERT INTO `$dbname`.`admin_addtime` (`uuid`,`timestamp`,`timecount`) VALUES $allinsertdata;") === false) {
$err_msg = $lang['isntwidbmsg'].print_r($mysqlcon->errorInfo(), true); $err_lvl = 3;
} else {
$err_msg = substr($succmsg,0,-4); $err_lvl = NULL;
}
}
}
$_SESSION[$rspathhex.'csrf_token'] = bin2hex(openssl_random_pseudo_bytes(32));
?>
<div id="page-wrapper">
<?PHP if(isset($err_msg)) error_handling($err_msg, $err_lvl); ?>
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">
<?php echo $lang['wihladm2']; ?>
</h1>
</div>
</div>
<form name="post" method="POST">
<input type="hidden" name="csrf_token" value="<?PHP echo $_SESSION[$rspathhex.'csrf_token']; ?>">
<div class="form-horizontal">
<div class="row">
<div class="col-md-3">
</div>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-body">
<div class="form-group">
<label class="col-sm-4 control-label" data-toggle="modal" data-target="#wiadmhidedesc"><?php echo $lang['wiadmhide']; ?><i class="help-hover glyphicon glyphicon-question-sign"></i></label>
<div class="col-sm-8 pull-right">
<select class="selectpicker show-tick form-control" id="number" name="number" onchange="this.form.submit();">
<?PHP
echo '<option value="yes"'; if(!isset($_SESSION[$rspathhex.'showexcepted']) || $_SESSION[$rspathhex.'showexcepted'] == "yes") echo " selected=selected"; echo '>hide</option>';
echo '<option value="no"'; if(isset($_SESSION[$rspathhex.'showexcepted']) && $_SESSION[$rspathhex.'showexcepted'] == "no") echo " selected=selected"; echo '>show</option>';
?>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" data-toggle="modal" data-target="#wiselclddesc"><?php echo $lang['wiselcld']; ?><i class="help-hover glyphicon glyphicon-question-sign"></i></label>
<div class="col-sm-8">
<select class="selectpicker show-tick form-control" data-live-search="true" multiple name="user[]">
<?PHP
foreach ($user_arr as $user) {
echo '<option value="',$user['uuid'],'" data-subtext="UUID: ',$user['uuid'],'; DBID: ',$user['cldbid'],'">',htmlspecialchars($user['name']),'</option>';
}
?>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" data-toggle="modal" data-target="#setontimedesc2"><?php echo $lang['setontime2']; ?><i class="help-hover glyphicon glyphicon-question-sign"></i></label>
<div class="col-sm-8">
<input type="text" class="form-control" name="setontime_day">
<script>
$("input[name='setontime_day']").TouchSpin({
min: 0,
max: 24855,
verticalbuttons: true,
prefix: '<?PHP echo $lang['time_day']; ?>'
});
</script>
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" data-toggle="modal" data-target="#setontimedesc2"></label>
<div class="col-sm-8">
<input type="text" class="form-control" name="setontime_hour">
<script>
$("input[name='setontime_hour']").TouchSpin({
min: 0,
max: 23,
verticalbuttons: true,
prefix: '<?PHP echo $lang['time_hour']; ?>'
});
</script>
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" data-toggle="modal" data-target="#setontimedesc2"></label>
<div class="col-sm-8">
<input type="text" class="form-control" name="setontime_min">
<script>
$("input[name='setontime_min']").TouchSpin({
min: 0,
max: 59,
verticalbuttons: true,
prefix: '<?PHP echo $lang['time_min']; ?>'
});
</script>
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" data-toggle="modal" data-target="#setontimedesc2"></label>
<div class="col-sm-8">
<input type="text" class="form-control" name="setontime_sec">
<script>
$("input[name='setontime_sec']").TouchSpin({
min: 0,
max: 59,
verticalbuttons: true,
prefix: '<?PHP echo $lang['time_sec']; ?>'
});
</script>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">&nbsp;</div>
<div class="row">
<div class="text-center">
<button type="submit" class="btn btn-primary" name="update"><?php echo $lang['wisvconf']; ?></button>
</div>
</div>
<div class="row">&nbsp;</div>
</div>
</form>
</div>
</div>
</div>
<div class="modal fade" id="wiselclddesc" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title"><?php echo $lang['wiselcld']; ?></h4>
</div>
<div class="modal-body">
<?php echo $lang['wiselclddesc']; ?>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?PHP echo $lang['stnv0002']; ?></button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="setontimedesc2" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title"><?php echo $lang['setontime2']; ?></h4>
</div>
<div class="modal-body">
<?php echo $lang['setontimedesc2']; ?>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?PHP echo $lang['stnv0002']; ?></button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="wiadmhidedesc" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title"><?php echo $lang['wiadmhide']; ?></h4>
</div>
<div class="modal-body">
<?php echo $lang['wiadmhidedesc']; ?>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?PHP echo $lang['stnv0002']; ?></button>
</div>
</div>
</div>
</div>
</body>
</html>

View File

@@ -37,6 +37,11 @@ if((time() - $job_check['last_update']['timestamp']) < 259200 && !isset($_SESSIO
$('#password').password('toggle'); $('#password').password('toggle');
}); });
}); });
$(function() {
$("ul.dropdown-menu").on("click", "[data-keepOpenOnClick]", function(e) {
e.stopPropagation();
});
});
</script> </script>
</head> </head>
<body> <body>
@@ -115,7 +120,7 @@ if((time() - $job_check['last_update']['timestamp']) < 259200 && !isset($_SESSIO
</ul> </ul>
</li> </li>
</ul> </ul>
<div class="collapse navbar-collapse navbar-ex1-collapse"> <div class="collapse navbar-collapse">
<ul class="nav navbar-nav side-nav"> <ul class="nav navbar-nav side-nav">
<?PHP echo '<li'.(basename($_SERVER['SCRIPT_NAME']) == "ts.php" ? ' class="active">' : '>'); ?> <?PHP echo '<li'.(basename($_SERVER['SCRIPT_NAME']) == "ts.php" ? ' class="active">' : '>'); ?>
<a href="ts.php"><i class="fa fa-fw fa-headphones"></i>&nbsp;<?PHP echo $lang['winav1']; ?></a> <a href="ts.php"><i class="fa fa-fw fa-headphones"></i>&nbsp;<?PHP echo $lang['winav1']; ?></a>
@@ -145,11 +150,14 @@ if((time() - $job_check['last_update']['timestamp']) < 259200 && !isset($_SESSIO
</ul> </ul>
</li> </li>
<li class="divider"></li> <li class="divider"></li>
<?PHP echo '<li'.(basename($_SERVER['SCRIPT_NAME']) == "admin.php" ? ' class="active">' : '>'); ?> <li>
<a href="javascript:;" data-toggle="collapse" data-target="#demo"><i class="fa fa-fw fa-users"></i>&nbsp;<?PHP echo $lang['winav7']; ?>&nbsp;<i class="fa fa-fw fa-caret-down"></i></a> <a href="javascript:;" data-toggle="collapse" data-target="#demo"><i class="fa fa-fw fa-users"></i>&nbsp;<?PHP echo $lang['winav7']; ?>&nbsp;<i class="fa fa-fw fa-caret-down"></i></a>
<ul id="demo" class="collapse"> <ul id="demo" class="collapse">
<?PHP echo '<li'.(basename($_SERVER['SCRIPT_NAME']) == "admin_addtime.php" ? ' class="dropdown-item active">' : '>'); ?>
<a href="admin_addtime.php" class="addtime"><?PHP echo $lang['wihladm1']; ?></a>
</li>
<li> <li>
<a href="admin.php"><?PHP echo $lang['wihladm1']; ?></a> <a href="admin_remtime.php"><?PHP echo $lang['wihladm2']; ?></a>
</li> </li>
</ul> </ul>
</li> </li>

View File

@@ -49,7 +49,19 @@ if (isset($_POST['update']) && $_POST['csrf_token'] != $_SESSION[$rspathhex.'csr
} }
if (isset($_POST['update']) && $_SESSION[$rspathhex.'username'] == $webuser && $_SESSION[$rspathhex.'password'] == $webpass && $_SESSION[$rspathhex.'clientip'] == getclientip() && $_POST['csrf_token'] == $_SESSION[$rspathhex.'csrf_token']) { if (isset($_POST['update']) && $_SESSION[$rspathhex.'username'] == $webuser && $_SESSION[$rspathhex.'password'] == $webpass && $_SESSION[$rspathhex.'clientip'] == getclientip() && $_POST['csrf_token'] == $_SESSION[$rspathhex.'csrf_token']) {
if (isset($_POST['iphash'])) $iphash = 1; else $iphash = 0; if (isset($_POST['iphash'])) {
if($iphash != 1) {
$err_msg2 = $lang['wisvinfo1'];
$err_lvl2 = 2;
}
$iphash = 1;
} else {
if($iphash == 1) {
$err_msg2 = $lang['wisvinfo1'];
$err_lvl2 = 2;
}
$iphash = 0;
}
$timezone = $_POST['timezone']; $timezone = $_POST['timezone'];
$timeformat = $_POST['dateformat']; $timeformat = $_POST['dateformat'];
$logpath = addslashes($_POST['logpath']); $logpath = addslashes($_POST['logpath']);
@@ -97,6 +109,7 @@ require_once('nav.php');
?> ?>
<div id="page-wrapper"> <div id="page-wrapper">
<?PHP if(isset($err_msg)) error_handling($err_msg, $err_lvl); ?> <?PHP if(isset($err_msg)) error_handling($err_msg, $err_lvl); ?>
<?PHP if(isset($err_msg2)) error_handling($err_msg2, $err_lvl2); ?>
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">