mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
#49: Infotexte im Userpanel
This commit is contained in:
parent
acdb156bec
commit
f7e82e951a
@ -6,6 +6,17 @@
|
||||
<fdlstarted>Fastdownload Abgleich gestartet</fdlstarted>
|
||||
<haupt>Standard Fastdownload Speicher</haupt>
|
||||
<haupt2>Standard Fastdownload Speicher benutzen?</haupt2>
|
||||
<help_fdl>
|
||||
<![CDATA[
|
||||
Mittels Fastdownload können Spieler auf Ihrem Gameserver Zusatz-Dateien schneller herunterladen.<br />
|
||||
<br />
|
||||
Sie haben die Möglichkeit einen <strong>Standard Fastdownload Speicher</strong> zu definieren, welcher für alle Gameserver benutzt wird, oder einen eigenen <strong>Fastdownload Speicher</strong> für jeden Gameserver.<br />
|
||||
<br />
|
||||
Beim Klick auf den <strong>Abgleich starten</strong> Button überträgt unser Webinterface Automatisch alle nötigen Daten auf Ihren Fastdownload Speicher.<br />
|
||||
<br />
|
||||
Damit diese Einstellung auf Ihrem Gameserver aktiv wird, muss die entsprechende <strong>HTTP-URL</strong> auch in der <strong>server.cfg</strong> oder <strong>dedicated.cfg</strong> am Gameserver eingetragen werden.
|
||||
]]>
|
||||
</help_fdl>
|
||||
<neben>FTP Zugang zum Fastdownload Webspace für</neben>
|
||||
<noset>Keine FTP Daten hinterlegt</noset>
|
||||
<own2>Eigener Fastdownload Speicher</own2>
|
||||
|
@ -24,7 +24,10 @@
|
||||
<file>Datei</file>
|
||||
<gameroot>Game Rootserver</gameroot>
|
||||
<gameserver>Gameserver</gameserver>
|
||||
<greating_home>Herzlich Willkommen im %name% Webinterface!</greating_home>
|
||||
<groups>Gruppen</groups>
|
||||
<help_home>In Ihrem Dashboard finden Sie eine Übersicht über den Status Ihrer Game- und Voiceserver, sowie die letzten Nachrichten für Spiele von Valve (Counter-Strike, Team Fortress, ...). Bitte beachten Sie, dass die hier aufgeführten Statusinformationen nur alle %n% Minuten aktualisiert werden. Das heißt beispielsweise, dass ein Gameserver, den Sie gerade neugestartet haben, noch eine Zeit lang als abgestürzt angezeigt werden kann, auch wenn er de facto bereits wieder erreichbar ist.</help_home>
|
||||
<help_sidebar>Die Status Informationen werden alle %n% Minuten aktualisiert.</help_sidebar>
|
||||
<hostsystem>Hostsystem</hostsystem>
|
||||
<hotline>Hotline</hotline>
|
||||
<import>Importieren</import>
|
||||
|
@ -49,6 +49,35 @@
|
||||
<gs_add>Server Hinzufügen Schritt 1: User, Rootserver, Spiele</gs_add>
|
||||
<heading_delete>Gameserver löschen</heading_delete>
|
||||
<heading_template>Gameserver Übersicht</heading_template>
|
||||
<help_calendar>
|
||||
<![CDATA[
|
||||
Über den Restart Planer können Sie zu jeder vollen Stunde einen Neustart Ihres Gameservers definieren.<br />
|
||||
Nützlich wird diese Funktion wenn Sie Automatisch an bestimmten Tagen das Spiel oder das Konfigurations-Template wechseln möchten.
|
||||
]]>
|
||||
</help_calendar>
|
||||
<help_config>
|
||||
<![CDATA[
|
||||
Über unser Webinterface können Sie jederzeit die wichtigsten Konfigurationsdateien für Ihr Spiel bearbeiten. Konfigurationsdateien für Plugins werden hinzugefügt, sobald diese über das Webinterface installiert worden sind.<br />
|
||||
<br />
|
||||
Sollte Ihnen eine Konfigurationsdatei im Webinterface fehlen, können Sie diese auch jederzeit direkt per FTP bearbeiten.
|
||||
]]>
|
||||
</help_config>
|
||||
<help_md>Sie können Ihren Gameserver jederzeit zwischen mehreren Spielen wechseln. Auch können Sie über die Templates mehrere Konfigurationsstände gleichzeitig verwalten und beibehalten.</help_md>
|
||||
<help_list>
|
||||
<![CDATA[
|
||||
In dieser Übersicht werden Ihre Gameserver mit allen Detailinformationen, wie dem gerade aktiven Template, den FTP-Daten, etc. aufgeführt. Über die Submenüpunkte können Sie umfangreiche Einstellungsänderungen durchführen.<br />
|
||||
Das Spiel sowie die Template können Sie über <em>Einstellungen</em> definieren. Im <em>Configs</em> Bereich können Sie sämtliche Konfigurationsdateien bequem anpassen. Der <em>Restart Planer</em> ermöglicht es Ihnen, festzulegen, welches Spiel wann laufen soll. Sollten Sie Probleme mit einem Gameserver haben, finden Sie im Menüpunkt <em>Screenlog</em> die Fehlerausgaben, welche es Ihnen ermöglichen, dem Problem auf den Grund zu gehen.
|
||||
]]>
|
||||
</help_list>
|
||||
<help_reinstall>
|
||||
<![CDATA[
|
||||
Mittels <strong>Resynchronisation</strong> werden nur fehlende Dateien auf Ihrem Gameserver hinzugefügt, nicht aber Ihre Konfiguration überschrieben. Das ist vor allem dann nützlich wenn Sie Ordner gelöscht haben und diese wiederherstellen möchten oder zu einem Spiel neue Dateien von uns oder dem Hersteller hinzugefügt wurden.<br />
|
||||
<br />
|
||||
Über die <strong>Reinstallation</strong> führen Sie eine komplette Neuinstallation Ihres Gameservers durch, hierbei werden alle durch Sie vorgenommenen Änderungen zurückgesetzt und Sie erhalten frischen Gameserver.<br />
|
||||
<br />
|
||||
Beide Aktionen sind im Regelfall innerhalb weniger Minuten abgeschlossen.
|
||||
]]>
|
||||
</help_reinstall>
|
||||
<hour>Uhr</hour>
|
||||
<import_corrected>Ist der gefundende Gameserver korrekt?</import_corrected>
|
||||
<import_destination>Zielserver, Spiel und Template des Imports</import_destination>
|
||||
|
@ -32,7 +32,8 @@
|
||||
<game>Spielname</game>
|
||||
<heading_addons>Gameserver Addons</heading_addons>
|
||||
<heading_template>Gameservertemplates</heading_template>
|
||||
<ip>Gameserver IP Adresse</ip>
|
||||
<help_addons>Über unser Webinterface können Sie jederzeit schnell und bequem die aktuellsten Plugins, Addons, Configs und Mappackages zu Ihrem Gameserver hinzufügen. Diese werden von uns immer aktuell gehalten, um Ihren Administrationsaufwand möglichst gering zu halten.</help_addons>
|
||||
<ip>Gameserver IP Adresse</ip>
|
||||
<iptables>IP Tables</iptables>
|
||||
<map>Mappackage</map>
|
||||
<maps>Mappackages</maps>
|
||||
|
@ -6,6 +6,7 @@
|
||||
<all>Alle</all>
|
||||
<banned_till>Gebannt bis</banned_till>
|
||||
<date>Datum</date>
|
||||
<help_logs>Alle wichtigen Aktionen, die Sie über das Webinterface ausführen, werden hier aufgezeichnet. So behalten Sie immer den vollen Überblick. Falls Sie einen Mitarbeiter um Hilfe gebeten haben, sehen Sie seine Aktionen ebenfalls an dieser Stelle. Allerdings mit einem anderen Benutzernamen.</help_logs>
|
||||
<hostname>Hostname</hostname>
|
||||
<ip>IP</ip>
|
||||
<shown>Anzahl</shown>
|
||||
|
@ -34,6 +34,15 @@
|
||||
<ftpport>FTP Port</ftpport>
|
||||
<generate>Generieren</generate>
|
||||
<groupname>Gruppenname</groupname>
|
||||
<help_voiceserver_list>In der Voiceserver-Übersicht werden alle Ihre Voiceserver mit nützlichen Informationen aufgelistet. Auch sind die wichtigsten Funktionen direkt von hier erreichbar. Dies schließt das Bearbeiten wichtiger Konfigurationsparameter und die Möglichkeit zum Anlegen von Tokens mit ein.</help_voiceserver_list>
|
||||
<help_voiceserver_backup>Wir erstellen von jedem Voiceserver einmal täglich ein Backup. So können Sie jederzeit, sollten Channel oder Benutzerrechte verändert worden sein, wieder auf einen vorherigen Stand zurückwechseln. Zudem haben Sie die Möglichkeit jederzeit eigene Backups manuell anzulegen, diese werden auch nicht überschrieben.</help_voiceserver_backup>
|
||||
<help_voiceserver_key>Über ein Token können Sie sich selbst, oder anderen, wenn diese das Token benutzen, bestimmte Zugriffsrechte auf Ihrem Teamspeak zuweisen. Tokens lassen sich über unser Webinterface sowie auch über Teamspeak selbst anlegen und verwalten. Ein Token ist jeweils nur einmal gültig und wird nach dem Gebrauch aus der Liste entfernt.</help_voiceserver_key>
|
||||
<help_voiceserver_md>
|
||||
<![CDATA[
|
||||
Mittels <strong>TSDNS</strong> können Sie sich mit Ihrem Teamspeak Server verbinden, ohne dass die IP und der Port eingegeben werden muss. Es genügt der unter <strong>Aktueller TSDNS</strong> eingetragene Domainname. Der Wert wird von uns auf einen Standard gesetzt, kann aber von Ihnen frei bearbeitet werden. Sie können Ihren Teamspeak Server darüber beispielsweise so einstellen, dass er via ts.clanname.de erreichbar ist. Voraussetzung für eine solche Änderung ist, dass ein gültiger A-Eintrag existiert, der auf die Teamspeak-Server-IP verweist. Im genannten Beispiel muss ein A-Eintrag für "ts.clanname.de" existieren.<br />
|
||||
Mittels der Felder <strong>Hostbanner Grafik URL</strong> und <strong>Hostbutton Grafik URL</strong> kann auf dem Teamspeak Server ein Banner und ein Button hinterlegt werden. Diese werden beim Login für Clients angezeigt. Über die entsprechenden "Link"-Felder können URLs eingetragen werden, die man beim Klick auf den Banner beziehungsweise Button aufruft.
|
||||
]]>
|
||||
</help_voiceserver_md>
|
||||
<hostbanner_gfx_url>Hostbanner Grafik Url</hostbanner_gfx_url>
|
||||
<hostbanner_url>Hostbanner Link</hostbanner_url>
|
||||
<hostbutton_gfx_url>Hostbutton Grafik Url</hostbutton_gfx_url>
|
||||
|
@ -6,6 +6,17 @@
|
||||
<fdlstarted>Fastdownload matching started</fdlstarted>
|
||||
<haupt>Default fastdownload server</haupt>
|
||||
<haupt2>Use default fastdownload server?</haupt2>
|
||||
<help_fdl>
|
||||
<![CDATA[
|
||||
Fastdownload allows the users to download server data like sounds and maps much faster.<br />
|
||||
<br />
|
||||
For one you can define a <strong>default fastdownload server</strong>, which will be used for all gameservers. Or you configure a <strong>own fastdownload server</strong> for each gameserver.<br />
|
||||
<br />
|
||||
Clicking the <strong>SYNC</strong> button will tell our webiterface to automaticaly upload all required files to the fastdownload server.<br />
|
||||
<br />
|
||||
In addition you need to setup the according <strong>HTTP URL</strong> at the server´s <strong>server.cfg</strong> or <strong>dedicated.cfg</strong>.
|
||||
]]>
|
||||
</help_fdl>
|
||||
<neben>FTP Data used for the fastdownload server</neben>
|
||||
<noset>No FTP data available</noset>
|
||||
<own>Use main FTP</own>
|
||||
|
@ -24,7 +24,10 @@
|
||||
<file>File</file>
|
||||
<gameserver>Gameserver</gameserver>
|
||||
<gameroot>Game Rootserver</gameroot>
|
||||
<greating_home>Welcome to the %name% webinterface!</greating_home>
|
||||
<groups>Groups</groups>
|
||||
<help_home>At your Dashboard you can find the overview regarding the status of your game- and voiceserver. Also you can see the latest news regarding Valve games (Counter-Strike, Team Fortress, ...). Please note that the listed status information are updated every %n% minutes. This means that a recently restarted gameserver might be shown as offline for a while even if he is back online.</help_home>
|
||||
<help_sidebar>The status information are gathered every %n% minutes.</help_sidebar>
|
||||
<hostsystem>Hostsystem</hostsystem>
|
||||
<hotline>Hotline</hotline>
|
||||
<import>Import</import>
|
||||
|
@ -49,6 +49,35 @@
|
||||
<gs_add>Add server step 1: User, Rootserver, games</gs_add>
|
||||
<heading_delete>Delete Gameserver</heading_delete>
|
||||
<heading_template>Gameserver Overview</heading_template>
|
||||
<help_calendar>
|
||||
<![CDATA[
|
||||
You can define gameserver restarts to every full hour at our restart planer.<br />
|
||||
This feature comes in handy if you want to switch the game or the template to a given time.
|
||||
]]>
|
||||
</help_calendar>
|
||||
<help_config>
|
||||
<![CDATA[
|
||||
Our webinterface allows you to configre the most important configs for your gameserver. Configs belonging to plugins will be added once they have been installed with the webinterface.<br />
|
||||
<br />
|
||||
In case you cannot see a config at the webinterface you can still edit with the help of FTP.
|
||||
]]>
|
||||
</help_config>
|
||||
<help_md>The gameswitch feature allows you to change games at any time. Our template feature allows you to maintain multiple configurations at a time.</help_md>
|
||||
<help_list>
|
||||
<![CDATA[
|
||||
This overview lists detailed gameserver information. For example the active template, FTP data, and so on are listed. The submenus will allow you to do extensive configuration changes.<br />
|
||||
Game and template can be defined at <em>settings</em>. The <em>Configs</em> area will allow you to manage game and addon settings. If you want to automaticaly change a game or template the <em>restart planer</em> will be of great use for you. Troubleshooting can be done with the <em>Screenlog</em>.
|
||||
]]>
|
||||
</help_list>
|
||||
<help_reinstall>
|
||||
<![CDATA[
|
||||
<strong>Resynchronisation</strong> will add missing files without touching existing ones. The feature comes in handy when you deleted files by accident or new files are shipped out.<br />
|
||||
<br />
|
||||
<strong>Reinstallat</strong> will result in a complete reset. All data will be lost and the server be reset to factory defaults.<br />
|
||||
<br />
|
||||
Both actions are usually done within a few minutes.
|
||||
]]>
|
||||
</help_reinstall>
|
||||
<hour>Hour</hour>
|
||||
<import_corrected>Is the found path correct?</import_corrected>
|
||||
<import_destination>Destination server, game and template of import</import_destination>
|
||||
|
@ -32,7 +32,8 @@
|
||||
<game>Gamename</game>
|
||||
<heading_addons>Gameserver Addons</heading_addons>
|
||||
<heading_template>Gameservertemplates</heading_template>
|
||||
<ip>Gameserver IP adresse</ip>
|
||||
<help_addons>With our webinterface you can easily manage plugins, addons, configs and mappackages for your gameserver. Everything will be kept up to date by us reducing your administration to a minimum.</help_addons>
|
||||
<ip>Gameserver IP adresse</ip>
|
||||
<iptables>IP Tables</iptables>
|
||||
<map>Mappackage</map>
|
||||
<maps>Mappackages</maps>
|
||||
|
@ -6,6 +6,7 @@
|
||||
<all>All</all>
|
||||
<banned_till>Banned until</banned_till>
|
||||
<date>Date</date>
|
||||
<help_logs>All important actions which you perform with the interface will be logged. That way you will have the complete overview. In case you have asked for help you will see the supporter´s actions as well. He will be shown with its own name.</help_logs>
|
||||
<hostname>Hostname</hostname>
|
||||
<ip>IP</ip>
|
||||
<shown>Amount</shown>
|
||||
|
@ -34,6 +34,15 @@
|
||||
<ftpport>FTP port</ftpport>
|
||||
<generate>generate</generate>
|
||||
<groupname>Groupname</groupname>
|
||||
<help_voiceserver_list>At the voiceserver overview all your servers are listed with usefull information. The most important voiceserver functions can be directly accessed at the interface. This includes the configuration of important settings and the Token management.</help_voiceserver_list>
|
||||
<help_voiceserver_backup>We are creating a backup for each voiceserver on a dayly basis. This allows you to switch back to previous settings in case channel or user permissions have been altered. In addition you can create your own backups.</help_voiceserver_backup>
|
||||
<help_voiceserver_key>With the help of a token you can you can access or hand out server permissions to others. Tokens can be managed with the webinterface or directly at the Teamspeak server. A token can be used only once and will be removed after usage.</help_voiceserver_key>
|
||||
<help_voiceserver_md>
|
||||
<![CDATA[
|
||||
With the help of <strong>TSDNS</strong> you can connect to your teamspeak server without using an IP or port. All you need is the domain which is maintained at <strong>Current TSDNS</strong>. The default value we setup during server creation can be edited to whatever you like. For example you can enter and use ts.clanname.net. Prerequisite for this change is a valid A-Record whose target is the Teamspeak server IP.<br />
|
||||
The values at <strong>Hostbanner GFX URL</strong> and <strong>Hostbutton GFX URL</strong> are used to maintain a banner and button at your Teamspeak server. Both will be shown to clients upon connect. If the according link values are maintained, the browser will open with this link.
|
||||
]]>
|
||||
</help_voiceserver_md>
|
||||
<hostbanner_gfx_url>Hostbanner GFX Url</hostbanner_gfx_url>
|
||||
<hostbanner_url>Hostbanner Url</hostbanner_url>
|
||||
<hostbutton_gfx_url>Hostbutton GFX Url</hostbutton_gfx_url>
|
||||
|
@ -989,7 +989,7 @@ function checkDNS ($dns, $id = null, $user_id = null, $type='') {
|
||||
}
|
||||
if ($user_id != null) {
|
||||
$serverdnsArray = array();
|
||||
$query = $sql->prepare("SELECT `id`,`defaultdns`,`externalDefaultDNS` FROM `voice_masterserver` WHERE `resellerid`=?");
|
||||
$query = $sql->prepare("SELECT `id`,`defaultdns`,`externalDefaultDNS`,`tsdnsServerID` FROM `voice_masterserver` WHERE `resellerid`=?");
|
||||
$query->execute(array($reseller_id));
|
||||
foreach ($query->fetchAll(PDO::FETCH_ASSOC) as $row) {
|
||||
if ($row['externalDefaultDNS'] == 'N') {
|
||||
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* File: init_user.php.
|
||||
* Author: Ulrich Block
|
||||
@ -41,8 +42,16 @@ if (!isset($user_id)) {
|
||||
header('Location: login.php');
|
||||
die;
|
||||
}
|
||||
|
||||
$pa = User_Permissions($user_id);
|
||||
|
||||
$query = $sql->prepare("SELECT ((UNIX_TIMESTAMP(`lastcheck`)-UNIX_TIMESTAMP(`oldcheck`))/60)-((UNIX_TIMESTAMP()-UNIX_TIMESTAMP(`lastcheck`))/60) AS `nextRunInMinutes` FROM `lendsettings` LIMIT 1");
|
||||
$query->execute();
|
||||
$statusTime = round($query->fetchColumn());
|
||||
$gsprache->help_home = str_replace('%n%', $statusTime, $gsprache->help_home);
|
||||
$gsprache->help_sidebar = str_replace('%n%', $statusTime, $gsprache->help_sidebar);
|
||||
$gsprache->greating_home = str_replace('%name%', $ewCfg['title'], $gsprache->greating_home);
|
||||
|
||||
# https://github.com/easy-wi/developer/issues/2
|
||||
if (isset($_SESSION['sID'])) {
|
||||
$substituteAccess = array('gs' => array(), 'db' => array(), 'vo' => array(), 'vd' => array(), 'vs' => array(), 'ro' => array());
|
||||
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* File: lendserver.php.
|
||||
* Author: Ulrich Block
|
||||
@ -42,18 +43,21 @@ if ((!isset($admin_id) or $main != 1) or (isset($admin_id) and (!isset($pa) or (
|
||||
include(EASYWIDIR . '/stuff/keyphrasefile.php');
|
||||
include(EASYWIDIR . '/stuff/ssh_exec.php');
|
||||
include(EASYWIDIR . '/stuff/class_voice.php');
|
||||
|
||||
$sprache = getlanguagefile('lendserver',$user_language,$reseller_id);
|
||||
$gssprache = getlanguagefile('gserver',$user_language,$reseller_id);
|
||||
$loguserid = $admin_id;
|
||||
$logusername = getusername($admin_id);
|
||||
$logusertype = 'admin';
|
||||
|
||||
if ($reseller_id == 0) {
|
||||
$logreseller = 0;
|
||||
$logsubuser = 0;
|
||||
} else {
|
||||
$logsubuser=(isset($_SESSION['oldid'])) ? $_SESSION['oldid'] : 0;
|
||||
$logsubuser = (isset($_SESSION['oldid'])) ? $_SESSION['oldid'] : 0;
|
||||
$logreseller = 0;
|
||||
}
|
||||
|
||||
if ($ui->w('action', 4, 'post') and !token(true)) {
|
||||
$template_file = $spracheResponse->token;
|
||||
} else if ($ui->st('d', 'get')=="se" and $pa['lendserverSettings']) {
|
||||
@ -61,6 +65,7 @@ if ($ui->w('action', 4, 'post') and !token(true)) {
|
||||
$query = $sql->prepare("UPDATE `lendsettings` SET `active`=?,`activeGS`=?,`activeVS`=?,`mintime`=?,`maxtime`=?,`timesteps`=?,`minplayer`=?,`maxplayer`=?,`playersteps`=?,`mintimeRegistered`=?,`maxtimeRegistered`=?,`timestepsRegistered`=?,`minplayerRegistered`=?,`maxplayerRegistered`=?,`playerstepsRegistered`=?,`vomintime`=?,`vomaxtime`=?,`votimesteps`=?,`vominplayer`=?,`vomaxplayer`=?,`voplayersteps`=?,`vomintimeRegistered`=?,`vomaxtimeRegistered`=?,`votimestepsRegistered`=?,`vominplayerRegistered`=?,`vomaxplayerRegistered`=?,`voplayerstepsRegistered`=?,`shutdownempty`=?,`shutdownemptytime`=?,`ftpupload`=?,`ftpuploadpath`=AES_ENCRYPT(?,?),`lendaccess`=? WHERE `resellerid`=? LIMIT 1");
|
||||
$query->execute(array($ui->active('active', 'post'),$ui->w('activeGS',1, 'post'),$ui->w('activeVS',1, 'post'),$ui->id('mintime',3, 'post'),$ui->id('maxtime',4, 'post'),$ui->id('timesteps',3, 'post'),$ui->id('minplayer',3, 'post'),$maxplayer = $ui->id('maxplayer',3, 'post'),$ui->id('playersteps',3, 'post'),$ui->id('mintimeRegistered',3, 'post'),$ui->id('maxtimeRegistered',4, 'post'),$ui->id('timestepsRegistered',3, 'post'),$ui->id('minplayerRegistered',3, 'post'),$ui->id('maxplayerRegistered',3, 'post'),$ui->id('playerstepsRegistered',3, 'post'),$vomintime = $ui->id('vomintime',3, 'post'),$ui->id('vomaxtime',4, 'post'),$ui->id('votimesteps',3, 'post'),$ui->id('vominplayer',3, 'post'),$ui->id('vomaxplayer',3, 'post'),$ui->id('voplayersteps',3, 'post'),$ui->id('vomintimeRegistered',3, 'post'),$ui->id('vomaxtimeRegistered',4, 'post'),$ui->id('votimestepsRegistered',3, 'post'),$ui->id('vominplayerRegistered',3, 'post'),$ui->id('vomaxplayerRegistered',3, 'post'),$ui->id('voplayerstepsRegistered',3, 'post'),$ui->active('shutdownempty', 'post'),$ui->id('shutdownemptytime',4, 'post'),$ui->w('ftpupload',1, 'post'),$ui->url('ftpuploadpath', 'post'),$aeskey,$ui->id('lendaccess',1, 'post'),$reseller_id));
|
||||
$template_file = ($query->rowCount()>0) ? $spracheResponse->table_add : $spracheResponse->error_table;;
|
||||
|
||||
} else {
|
||||
$query = $sql->prepare("SELECT *,AES_DECRYPT(`ftpuploadpath`,?) AS `decyptedftpuploadpath` FROM `lendsettings` WHERE `resellerid`=? LIMIT 1");
|
||||
$query->execute(array($aeskey,$reseller_id));
|
||||
@ -68,39 +73,41 @@ if ($ui->w('action', 4, 'post') and !token(true)) {
|
||||
$active = $row['active'];
|
||||
$activeGS = $row['activeGS'];
|
||||
$activeVS = $row['activeVS'];
|
||||
$mintime= (int) $row['mintime'];
|
||||
$maxtime= (int) $row['maxtime'];
|
||||
$timesteps= (int) $row['timesteps'];
|
||||
$minplayer= (int) $row['minplayer'];
|
||||
$maxplayer= (int) $row['maxplayer'];
|
||||
$playersteps= (int) $row['playersteps'];
|
||||
$mintimeRegistered= (int) $row['mintimeRegistered'];
|
||||
$maxtimeRegistered= (int) $row['maxtimeRegistered'];
|
||||
$timestepsRegistered= (int) $row['timestepsRegistered'];
|
||||
$minplayerRegistered= (int) $row['minplayerRegistered'];
|
||||
$maxplayerRegistered= (int) $row['maxplayerRegistered'];
|
||||
$playerstepsRegistered= (int) $row['playerstepsRegistered'];
|
||||
$vomintime= (int) $row['vomintime'];
|
||||
$vomaxtime= (int) $row['vomaxtime'];
|
||||
$votimesteps= (int) $row['votimesteps'];
|
||||
$vominplayer= (int) $row['vominplayer'];
|
||||
$vomaxplayer= (int) $row['vomaxplayer'];
|
||||
$voplayersteps= (int) $row['voplayersteps'];
|
||||
$vomintimeRegistered= (int) $row['vomintimeRegistered'];
|
||||
$vomaxtimeRegistered= (int) $row['vomaxtimeRegistered'];
|
||||
$votimestepsRegistered= (int) $row['votimestepsRegistered'];
|
||||
$vominplayerRegistered= (int) $row['vominplayerRegistered'];
|
||||
$vomaxplayerRegistered= (int) $row['vomaxplayerRegistered'];
|
||||
$voplayerstepsRegistered= (int) $row['voplayerstepsRegistered'];
|
||||
$mintime = (int) $row['mintime'];
|
||||
$maxtime = (int) $row['maxtime'];
|
||||
$timesteps = (int) $row['timesteps'];
|
||||
$minplayer = (int) $row['minplayer'];
|
||||
$maxplayer = (int) $row['maxplayer'];
|
||||
$playersteps = (int) $row['playersteps'];
|
||||
$mintimeRegistered = (int) $row['mintimeRegistered'];
|
||||
$maxtimeRegistered = (int) $row['maxtimeRegistered'];
|
||||
$timestepsRegistered = (int) $row['timestepsRegistered'];
|
||||
$minplayerRegistered = (int) $row['minplayerRegistered'];
|
||||
$maxplayerRegistered = (int) $row['maxplayerRegistered'];
|
||||
$playerstepsRegistered = (int) $row['playerstepsRegistered'];
|
||||
$vomintime = (int) $row['vomintime'];
|
||||
$vomaxtime = (int) $row['vomaxtime'];
|
||||
$votimesteps = (int) $row['votimesteps'];
|
||||
$vominplayer = (int) $row['vominplayer'];
|
||||
$vomaxplayer = (int) $row['vomaxplayer'];
|
||||
$voplayersteps = (int) $row['voplayersteps'];
|
||||
$vomintimeRegistered = (int) $row['vomintimeRegistered'];
|
||||
$vomaxtimeRegistered = (int) $row['vomaxtimeRegistered'];
|
||||
$votimestepsRegistered = (int) $row['votimestepsRegistered'];
|
||||
$vominplayerRegistered = (int) $row['vominplayerRegistered'];
|
||||
$vomaxplayerRegistered = (int) $row['vomaxplayerRegistered'];
|
||||
$voplayerstepsRegistered = (int) $row['voplayerstepsRegistered'];
|
||||
$shutdownempty = $row['shutdownempty'];
|
||||
$shutdownemptytime = $row['shutdownemptytime'];
|
||||
$ftpupload = $row['ftpupload'];
|
||||
$ftpuploadpath = $row['decyptedftpuploadpath'];
|
||||
$lendaccess = $row['lendaccess'];
|
||||
}
|
||||
|
||||
$template_file = "admin_lendserver_settings.tpl";
|
||||
}
|
||||
} else if ($ui->st('d', 'get')=="st" and $pa['lendserver']) {
|
||||
} else if ($ui->st('d', 'get') == 'st' and $pa['lendserver']) {
|
||||
$statistic = array();
|
||||
$query = $sql->prepare("SELECT * FROM `lendstats` WHERE `resellerID`=?");
|
||||
$query->execute(array($reseller_id));
|
||||
foreach ($query->fetchall(PDO::FETCH_ASSOC) as $row) {
|
||||
@ -122,6 +129,7 @@ if ($ui->w('action', 4, 'post') and !token(true)) {
|
||||
}
|
||||
}
|
||||
$template_file = $stats;
|
||||
|
||||
} else if ($pa['lendserver']) {
|
||||
if ($ui->id('id',19, 'post')) {
|
||||
$query = $sql->prepare("SELECT `serverid`,`servertype` FROM `lendedserver` WHERE `id`=? AND `resellerid`=? LIMIT 1");
|
||||
|
@ -50,7 +50,7 @@
|
||||
</div>
|
||||
<div class="control-group<?php if(isset($errors['user'])) echo ' error';?>">
|
||||
<label class="control-label" for="inputSSH2User"><?php echo $sprache->ssh_user;?>:</label>
|
||||
<div class="controls"><input class="span12" id="inputSSH2User" type="text" name="user" value="<?php echo $user?>" maxlength="15"></div>
|
||||
<div class="controls"><input class="span12" id="inputSSH2User" type="text" name="user" value="<?php echo $user?>" maxlength="20"></div>
|
||||
</div>
|
||||
<div class="control-group<?php if(isset($errors['publickey'])) echo ' error';?>">
|
||||
<label class="control-label" for="inputKeyUse"><?php echo $sprache->keyuse;?></label>
|
||||
|
@ -61,7 +61,7 @@
|
||||
</div>
|
||||
<div class="control-group<?php if(isset($errors['user'])) echo ' error';?>">
|
||||
<label class="control-label" for="inputSSH2User"><?php echo $sprache->ssh_user;?>:</label>
|
||||
<div class="controls"><input class="span12" id="inputSSH2User" type="text" name="user" value="<?php echo $user?>" maxlength="15"></div>
|
||||
<div class="controls"><input class="span12" id="inputSSH2User" type="text" name="user" value="<?php echo $user?>" maxlength="20"></div>
|
||||
</div>
|
||||
<div class="control-group<?php if(isset($errors['publickey'])) echo ' error';?>">
|
||||
<label class="control-label" for="inputKeyUse"><?php echo $sprache->keyuse;?></label>
|
||||
|
@ -10,6 +10,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_addons;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row-fluid">
|
||||
<div class="span8">
|
||||
<table class="table table-striped table-bordered table-hover">
|
||||
|
@ -8,6 +8,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_calendar;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row-fluid">
|
||||
<div class="span11">
|
||||
<table class="table table-striped table-bordered table-hover">
|
||||
|
@ -9,6 +9,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_calendar;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<form class="form-horizontal" action="userpanel.php?w=ca&id=<?php echo $server_id;?>&r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
@ -8,6 +8,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_config;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<?php foreach ($configs as $config){ ?>
|
||||
<div class="row-fluid">
|
||||
<div class="span6 pull-left">
|
||||
|
@ -9,6 +9,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_config;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row-fluid">
|
||||
<div class="span5">
|
||||
<form class="form-horizontal" action="userpanel.php?w=gs&d=cf&id=<?php echo $id;?>&type=easy&r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
@ -9,6 +9,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_config;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row-fluid">
|
||||
<div class="span11">
|
||||
<form class="form-horizontal" action="userpanel.php?w=gs&d=cf&id=<?php echo $id;?>&type=full&r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
@ -8,6 +8,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_fdl;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<?php if (count($errors)>0){ ?>
|
||||
<div class="alert alert-error">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
|
@ -8,6 +8,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_fdl;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<?php if (count($errors)>0){ ?>
|
||||
<div class="alert alert-error">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
|
@ -7,6 +7,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_fdl;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<?php if ($pa['modfastdl']==true) { ?>
|
||||
<div class="row-fluid">
|
||||
<div class="span4"><?php echo $sprache->haupt;?></div>
|
||||
|
@ -6,6 +6,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_list;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<?php foreach ($table as $table_row){ ?>
|
||||
<div class="row-fluid span11 alert <?php if($table_row['stopped']=='N') echo 'alert-success'; else echo 'alert-block';?>">
|
||||
<h4 class="row-fluid span12 inline"><img src="images/games/icons/<?php echo $table_row['gameShorten'];?>.png" alt="<?php echo $table_row['gameShorten'];?>" width="14" /> <a href="hlsw://<?php echo $table_row['server'];?>"><?php echo $table_row['server'].' '.$table_row['name'];?></a></h4>
|
||||
|
@ -8,6 +8,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_md;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<form class="form-horizontal" action="userpanel.php?w=gs&d=md&id=<?php echo $id;?>&r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
@ -7,6 +7,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_reinstall;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<form class="form-horizontal" action="userpanel.php?w=gs&d=ri&id=<?php echo $id;?>&r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
@ -6,6 +6,11 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<h4><?php echo $gsprache->greating_home;?></h4>
|
||||
<p class="span11"><?php echo $gsprache->help_home;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<?php if($crashedArray['ticketsOpen']>0){ ?>
|
||||
<div class="row-fluid">
|
||||
<div class="span11 alert alert-block alert-info">
|
||||
|
@ -6,6 +6,12 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11">
|
||||
<?php echo $sprache->help_logs;?>
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row-fluid">
|
||||
<div class="span11 pagination">
|
||||
<ul>
|
||||
|
@ -8,12 +8,16 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_voiceserver_backup;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row-fluid">
|
||||
<dl class="dl-horizontal">
|
||||
<dt><?php echo $gsprache->add;?></dt>
|
||||
<dd><a href="userpanel.php?w=vo&d=bu&po=1&id=<?php echo $id;?>"><span class="btn btn-primary btn-mini"><i class="icon-white icon-plus-sign"></i></span></a></dd>
|
||||
<dt><?php echo $sprache->backups;?></dt>
|
||||
<dd><?php echo $backupcount.'/'.$voice_maxbackup;?></dd>
|
||||
<dt><?php echo $gsprache->add;?></dt>
|
||||
<dd><a href="userpanel.php?w=vo&d=bu&po=1&id=<?php echo $id;?>"><span class="btn btn-primary btn-mini"><i class="icon-white icon-plus-sign"></i></span></a></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<hr>
|
||||
|
@ -8,6 +8,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_voiceserver_backup;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row-fluid">
|
||||
<dl class="dl-horizontal">
|
||||
<dt><?php echo $sprache->backups;?></dt>
|
||||
|
@ -9,6 +9,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_voiceserver_key;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<form class="form-horizontal" action="userpanel.php?w=vo&d=pk&id=<?php echo $id;?>&r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
@ -7,10 +7,14 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_voiceserver_key;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row-fluid">
|
||||
<dl class="dl-horizontal">
|
||||
<dt><?php echo $gsprache->add;?></dt>
|
||||
<dd><a href="userpanel.php?w=vo&d=pk&id=<?php echo $server_id;?>&po=1"><span class="btn btn-primary btn-mini"><i class="icon-white icon-plus-sign"></i></span></a></dd>
|
||||
<dd><a href="userpanel.php?w=vo&d=pk&id=<?php echo $id;?>&po=1"><span class="btn btn-primary btn-mini"><i class="icon-white icon-plus-sign"></i></span></a></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<hr>
|
||||
@ -33,7 +37,7 @@
|
||||
<form method="post" action="userpanel.php?w=vo&d=pk&id=<?php echo $id;?>&r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
|
||||
<input type="hidden" name="token" value="<?php echo $token['token'];?>" >
|
||||
<input type="hidden" name="action" value="dl" >
|
||||
<button class="btn btn-primary btn-mini" id="inputEdit" type="submit"><i class="icon-remove-sign icon-white"></i></button>
|
||||
<button class="btn btn-danger btn-mini" id="inputEdit" type="submit"><i class="icon-remove-sign icon-white"></i></button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -6,6 +6,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_voiceserver_list;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<div class="row-fluid span11 alert <?php if($table_row['stopped']=='Y') echo 'alert-block'; else if($table_row['stopped']=='C') echo 'alert-error'; else echo 'alert-success';?>">
|
||||
<h5><?php echo $table_row['server'];?></h5>
|
||||
|
@ -8,6 +8,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<p class="span11"><?php echo $sprache->help_voiceserver_md;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row-fluid">
|
||||
<div class="span8">
|
||||
<form class="form-horizontal" action="userpanel.php?w=vo&d=md&id=<?php echo $id;?>&r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
Loading…
x
Reference in New Issue
Block a user