release 1.0.2
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,227 +0,0 @@
|
||||
// Morris.js Charts sample data for SB Admin template
|
||||
|
||||
$(function() {
|
||||
|
||||
// Area Chart
|
||||
Morris.Area({
|
||||
element: 'morris-area-chart',
|
||||
data: [{
|
||||
period: '2010 Q1',
|
||||
iphone: 2666,
|
||||
ipad: null,
|
||||
itouch: 2647
|
||||
}, {
|
||||
period: '2010 Q2',
|
||||
iphone: 2778,
|
||||
ipad: 2294,
|
||||
itouch: 2441
|
||||
}, {
|
||||
period: '2010 Q3',
|
||||
iphone: 4912,
|
||||
ipad: 1969,
|
||||
itouch: 2501
|
||||
}, {
|
||||
period: '2010 Q4',
|
||||
iphone: 3767,
|
||||
ipad: 3597,
|
||||
itouch: 5689
|
||||
}, {
|
||||
period: '2011 Q1',
|
||||
iphone: 6810,
|
||||
ipad: 1914,
|
||||
itouch: 2293
|
||||
}, {
|
||||
period: '2011 Q2',
|
||||
iphone: 5670,
|
||||
ipad: 4293,
|
||||
itouch: 1881
|
||||
}, {
|
||||
period: '2011 Q3',
|
||||
iphone: 4820,
|
||||
ipad: 3795,
|
||||
itouch: 1588
|
||||
}, {
|
||||
period: '2011 Q4',
|
||||
iphone: 15073,
|
||||
ipad: 5967,
|
||||
itouch: 5175
|
||||
}, {
|
||||
period: '2012 Q1',
|
||||
iphone: 10687,
|
||||
ipad: 4460,
|
||||
itouch: 2028
|
||||
}, {
|
||||
period: '2012 Q2',
|
||||
iphone: 8432,
|
||||
ipad: 5713,
|
||||
itouch: 1791
|
||||
}],
|
||||
xkey: 'period',
|
||||
ykeys: ['iphone', 'ipad', 'itouch'],
|
||||
labels: ['iPhone', 'iPad', 'iPod Touch'],
|
||||
pointSize: 2,
|
||||
hideHover: 'auto',
|
||||
resize: true
|
||||
});
|
||||
|
||||
// Donut Chart
|
||||
Morris.Donut({
|
||||
element: 'morris-donut-chart',
|
||||
data: [{
|
||||
label: "Download Sales",
|
||||
value: 12
|
||||
}, {
|
||||
label: "In-Store Sales",
|
||||
value: 30
|
||||
}, {
|
||||
label: "Mail-Order Sales",
|
||||
value: 20
|
||||
}],
|
||||
resize: true
|
||||
});
|
||||
|
||||
// Line Chart
|
||||
Morris.Line({
|
||||
// ID of the element in which to draw the chart.
|
||||
element: 'morris-line-chart',
|
||||
// Chart data records -- each entry in this array corresponds to a point on
|
||||
// the chart.
|
||||
data: [{
|
||||
d: '2012-10-01',
|
||||
visits: 802
|
||||
}, {
|
||||
d: '2012-10-02',
|
||||
visits: 783
|
||||
}, {
|
||||
d: '2012-10-03',
|
||||
visits: 820
|
||||
}, {
|
||||
d: '2012-10-04',
|
||||
visits: 839
|
||||
}, {
|
||||
d: '2012-10-05',
|
||||
visits: 792
|
||||
}, {
|
||||
d: '2012-10-06',
|
||||
visits: 859
|
||||
}, {
|
||||
d: '2012-10-07',
|
||||
visits: 790
|
||||
}, {
|
||||
d: '2012-10-08',
|
||||
visits: 1680
|
||||
}, {
|
||||
d: '2012-10-09',
|
||||
visits: 1592
|
||||
}, {
|
||||
d: '2012-10-10',
|
||||
visits: 1420
|
||||
}, {
|
||||
d: '2012-10-11',
|
||||
visits: 882
|
||||
}, {
|
||||
d: '2012-10-12',
|
||||
visits: 889
|
||||
}, {
|
||||
d: '2012-10-13',
|
||||
visits: 819
|
||||
}, {
|
||||
d: '2012-10-14',
|
||||
visits: 849
|
||||
}, {
|
||||
d: '2012-10-15',
|
||||
visits: 870
|
||||
}, {
|
||||
d: '2012-10-16',
|
||||
visits: 1063
|
||||
}, {
|
||||
d: '2012-10-17',
|
||||
visits: 1192
|
||||
}, {
|
||||
d: '2012-10-18',
|
||||
visits: 1224
|
||||
}, {
|
||||
d: '2012-10-19',
|
||||
visits: 1329
|
||||
}, {
|
||||
d: '2012-10-20',
|
||||
visits: 1329
|
||||
}, {
|
||||
d: '2012-10-21',
|
||||
visits: 1239
|
||||
}, {
|
||||
d: '2012-10-22',
|
||||
visits: 1190
|
||||
}, {
|
||||
d: '2012-10-23',
|
||||
visits: 1312
|
||||
}, {
|
||||
d: '2012-10-24',
|
||||
visits: 1293
|
||||
}, {
|
||||
d: '2012-10-25',
|
||||
visits: 1283
|
||||
}, {
|
||||
d: '2012-10-26',
|
||||
visits: 1248
|
||||
}, {
|
||||
d: '2012-10-27',
|
||||
visits: 1323
|
||||
}, {
|
||||
d: '2012-10-28',
|
||||
visits: 1390
|
||||
}, {
|
||||
d: '2012-10-29',
|
||||
visits: 1420
|
||||
}, {
|
||||
d: '2012-10-30',
|
||||
visits: 1529
|
||||
}, {
|
||||
d: '2012-10-31',
|
||||
visits: 1892
|
||||
}, ],
|
||||
// The name of the data record attribute that contains x-visitss.
|
||||
xkey: 'd',
|
||||
// A list of names of data record attributes that contain y-visitss.
|
||||
ykeys: ['visits'],
|
||||
// Labels for the ykeys -- will be displayed when you hover over the
|
||||
// chart.
|
||||
labels: ['Visits'],
|
||||
// Disables line smoothing
|
||||
smooth: false,
|
||||
resize: true
|
||||
});
|
||||
|
||||
// Bar Chart
|
||||
Morris.Bar({
|
||||
element: 'morris-bar-chart',
|
||||
data: [{
|
||||
device: 'iPhone',
|
||||
geekbench: 136
|
||||
}, {
|
||||
device: 'iPhone 3G',
|
||||
geekbench: 137
|
||||
}, {
|
||||
device: 'iPhone 3GS',
|
||||
geekbench: 275
|
||||
}, {
|
||||
device: 'iPhone 4',
|
||||
geekbench: 380
|
||||
}, {
|
||||
device: 'iPhone 4S',
|
||||
geekbench: 655
|
||||
}, {
|
||||
device: 'iPhone 5',
|
||||
geekbench: 1571
|
||||
}],
|
||||
xkey: 'device',
|
||||
ykeys: ['geekbench'],
|
||||
labels: ['Geekbench'],
|
||||
barRatio: 0.4,
|
||||
xLabelAngle: 35,
|
||||
hideHover: 'auto',
|
||||
resize: true
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
@@ -1,2 +1,22 @@
|
||||
.morris-hover{position:absolute;z-index:1000}.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255,255,255,0.8);border:solid 2px rgba(230,230,230,0.8);font-family:sans-serif;font-size:12px;text-align:center}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0}
|
||||
.morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0}
|
||||
.morris-hover {
|
||||
position: absolute;
|
||||
z-index: 1000
|
||||
}
|
||||
.morris-hover.morris-default-style {
|
||||
border-radius: 10px;
|
||||
padding: 6px;
|
||||
color: #666;
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
border: solid 2px rgba(230, 230, 230, 0.8);
|
||||
font-family: sans-serif;
|
||||
font-size: 12px;
|
||||
text-align: center
|
||||
}
|
||||
.morris-hover.morris-default-style .morris-hover-row-label {
|
||||
font-weight: bold;
|
||||
margin: 0.25em 0
|
||||
}
|
||||
.morris-hover.morris-default-style .morris-hover-point {
|
||||
white-space: nowrap;
|
||||
margin: 0.1em 0
|
||||
}
|
||||
4
bootstrap/addons/morris/morris.min.js
vendored
4
bootstrap/addons/morris/morris.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -2,4 +2,4 @@
|
||||
* Start Bootstrap - SB Admin Bootstrap Admin Template (http://startbootstrap.com)
|
||||
* Code licensed under the Apache License v2.0.
|
||||
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
|
||||
*/body{margin-top:100px;background-color:#222}#wrapper{padding-left:0}#page-wrapper{width:100%;padding:0;background-color:#fff}.huge{line-height:normal;font-size:40px}@media(min-width:768px){body{margin-top:50px}#wrapper{padding-left:225px}#page-wrapper{padding:10px}}.top-nav{padding:0 15px}.top-nav>li{display:inline-block;float:left}.top-nav>li>a{padding-top:15px;padding-bottom:15px;line-height:20px;color:#999}.top-nav>.open>a,.top-nav>.open>a:focus,.top-nav>.open>a:hover,.top-nav>li>a:focus,.top-nav>li>a:hover{color:#fff;background-color:#000}.top-nav>.open>.dropdown-menu{float:left;position:absolute;margin-top:0;border:1px solid rgba(0,0,0,.15);border-top-left-radius:0;border-top-right-radius:0;background-color:#fff;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.top-nav>.open>.dropdown-menu>li>a{white-space:normal}ul.message-dropdown{padding:0;max-height:250px;overflow-x:hidden;overflow-y:auto}li.message-preview{width:275px;border-bottom:1px solid rgba(0,0,0,.15)}li.message-preview>a{padding-top:15px;padding-bottom:15px}li.message-footer{margin:5px 0}ul.alert-dropdown{width:200px}@media(min-width:768px){.side-nav,.side-nav>li>a{width:225px}.side-nav{position:fixed;top:51px;left:225px;margin-left:-225px;border:none;border-radius:0;overflow-y:auto;background-color:#222;bottom:0;overflow-x:hidden;padding-bottom:40px}.side-nav li a:focus,.side-nav li a:hover{outline:0;background-color:#000!important}}.side-nav>li>ul{padding:0}.side-nav>li>ul>li>a{display:block;padding:10px 15px 10px 38px;text-decoration:none;color:#999}.side-nav>li>ul>li>a:hover{color:#fff}.flot-chart{display:block;height:400px}.flot-chart-content{width:100%;height:100%}.panel-green{border-color:#5cb85c}.panel-green>.panel-heading{border-color:#5cb85c;color:#fff;background-color:#5cb85c}.panel-green>a{color:#5cb85c}.panel-green>a:hover{color:#3d8b3d}.panel-red{border-color:#d9534f}.panel-red>.panel-heading{border-color:#d9534f;color:#fff;background-color:#d9534f}.panel-red>a{color:#d9534f}.panel-red>a:hover{color:#b52b27}.panel-yellow{border-color:#f0ad4e}.panel-yellow>.panel-heading{border-color:#f0ad4e;color:#fff;background-color:#f0ad4e}.panel-yellow>a{color:#f0ad4e}.panel-yellow>a:hover{color:#df8a13}.pull-bottom{display:inline-block;vertical-align:bottom;float:none}.fixed {top:50px;position:fixed;display:none;color:#000;background-color:#fff!important;}
|
||||
*/body{margin-top:100px;background-color:#222}#wrapper{padding-left:0}#page-wrapper{width:100%;padding:0;background-color:#fff}.huge{line-height:normal;font-size:40px}@media(min-width:768px){body{margin-top:50px}#wrapper{padding-left:225px}#page-wrapper{padding:10px}}.top-nav{padding:0 15px}.top-nav>li{display:inline-block;float:left}.top-nav>li>a{padding-top:15px;padding-bottom:15px;line-height:20px;color:#999}.top-nav>.open>a,.top-nav>.open>a:focus,.top-nav>.open>a:hover,.top-nav>li>a:focus,.top-nav>li>a:hover{color:#fff;background-color:#000}.top-nav>.open>.dropdown-menu{float:left;position:absolute;margin-top:0;border:1px solid rgba(0,0,0,.15);border-top-left-radius:0;border-top-right-radius:0;background-color:#fff;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.top-nav>.open>.dropdown-menu>li>a{white-space:normal}ul.message-dropdown{padding:0;max-height:250px;overflow-x:hidden;overflow-y:auto}li.message-preview{width:275px;border-bottom:1px solid rgba(0,0,0,.15)}li.message-preview>a{padding-top:15px;padding-bottom:15px}li.message-footer{margin:5px 0}ul.alert-dropdown{width:200px}@media(min-width:768px){.side-nav,.side-nav>li>a{width:225px}.side-nav{position:fixed;top:51px;left:225px;margin-left:-225px;border:none;border-radius:0;overflow-y:auto;background-color:#222;bottom:0;overflow-x:hidden;padding-bottom:40px}.side-nav li a:focus,.side-nav li a:hover{outline:0;background-color:#000!important}}.side-nav>li>ul{padding:0}.side-nav>li>ul>li>a{display:block;padding:10px 15px 10px 38px;text-decoration:none;color:#999}.side-nav>li>ul>li>a:hover{color:#fff}.flot-chart{display:block;height:400px}.flot-chart-content{width:100%;height:100%}.panel-green{border-color:#5cb85c}.panel-green>.panel-heading{border-color:#5cb85c;color:#fff;background-color:#5cb85c}.panel-green>a{color:#5cb85c}.panel-green>a:hover{color:#3d8b3d}.panel-red{border-color:#d9534f}.panel-red>.panel-heading{border-color:#d9534f;color:#fff;background-color:#d9534f}.panel-red>a{color:#d9534f}.panel-red>a:hover{color:#b52b27}.panel-yellow{border-color:#f0ad4e}.panel-yellow>.panel-heading{border-color:#f0ad4e;color:#fff;background-color:#f0ad4e}.panel-yellow>a{color:#f0ad4e}.panel-yellow>a:hover{color:#df8a13}.pull-bottom{display:inline-block;vertical-align:bottom;float:none}.fixed {top:50px;width:calc(100% - 275px);position:fixed;display:none;color:#000;background-color:#fff!important;}
|
||||
@@ -46,7 +46,7 @@ if(isset($_POST['confweb'])) {
|
||||
$sqlconerr = 'SQL Connection failed: '.$e->getMessage();
|
||||
exit;
|
||||
}
|
||||
if($mysqlcon->exec("INSERT INTO config (webuser,webpass,tshost,tsquery,tsvoice,tsuser,language,queryname,queryname2,grouptime,resetbydbchange,msgtouser,upcheck,uniqueid,updateinfotime,currvers,exceptuuid,exceptgroup,dateformat,showexgrp,showexcld,showcolcld,showcoluuid,showcoldbid,showcolot,showcolit,showcolat,showcolnx,showcolsg,bgcolor,hdcolor,txcolor,hvcolor,ifcolor,wncolor,sccolor,showgen,showcolrg,showcolls,slowmode,cleanclients,cleanperiod,showhighest,boost,showcolas,defchid,timezone,logpath) VALUES ('$user','$pass','localhost','10011','9987','serveradmin','en','http://ts-n.net/ranksystem.php','www.ts-n.net/ranksystem.php','31536000=>47,31536060=>50','1','1','1','xrTKhT/HDl4ea0WoFDQH2zOpmKg=,9odBYAU7z2E2feUz965sL0/MyBom=','7200','1.0.1','xrTKhT/HDl4ea0WoFDQH2zOpmKg=','2,6','%a days, %h hours, %i mins, %s secs','1','1','1','1','1','1','1','1','1','1','#101010','#909090','#707070','#FFFFFF','#3366CC','#CC0000','#008000','1','1','1','0','1','86400','1','','1','','Europe/Berlin','$logpath')") === false) {
|
||||
if($mysqlcon->exec("INSERT INTO config (webuser,webpass,tshost,tsquery,tsvoice,tsuser,language,queryname,queryname2,grouptime,resetbydbchange,msgtouser,upcheck,uniqueid,updateinfotime,currvers,exceptuuid,exceptgroup,dateformat,showexgrp,showexcld,showcolcld,showcoluuid,showcoldbid,showcolot,showcolit,showcolat,showcolnx,showcolsg,bgcolor,hdcolor,txcolor,hvcolor,ifcolor,wncolor,sccolor,showgen,showcolrg,showcolls,slowmode,cleanclients,cleanperiod,showhighest,boost,showcolas,defchid,timezone,logpath) VALUES ('$user','$pass','localhost','10011','9987','serveradmin','en','http://ts-n.net/ranksystem.php','www.ts-n.net/ranksystem.php','31536000=>47,31536060=>50','1','1','1','xrTKhT/HDl4ea0WoFDQH2zOpmKg=,9odBYAU7z2E2feUz965sL0/MyBom=','7200','1.0.2','xrTKhT/HDl4ea0WoFDQH2zOpmKg=','2,6','%a days, %h hours, %i mins, %s secs','1','1','1','1','1','1','1','1','1','1','#101010','#909090','#707070','#FFFFFF','#3366CC','#CC0000','#008000','1','1','1','0','1','86400','1','','1','','Europe/Berlin','$logpath')") === false) {
|
||||
echo '<span class="wncolor">',$mysqlcon->errorCode(),'</span><br>';
|
||||
} else {
|
||||
echo'<span class="sccolor">'.$lang['isntwiusr'].'</span><br><br>';
|
||||
|
||||
165
jobs/bot.php
165
jobs/bot.php
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
120
jobs/clean.php
120
jobs/clean.php
File diff suppressed because one or more lines are too long
@@ -1 +1,66 @@
|
||||
<?php function get_avatars($ts3,$mysqlcon,$lang,$dbname,$slowmode,$jobid,$timezone){$starttime=microtime(true);$sqlmsg='';$sqlerr=0;$count=0;try{check_shutdown($timezone);usleep($slowmode);$tsfilelist=$ts3->channelFileList($cid="0",$cpw="",$path="/");}catch(Exception $e){if($e->getCode()!=1281){echo DateTime::createFromFormat('U.u',number_format(microtime(true),6,'.',''))->setTimeZone(new DateTimeZone($timezone))->format("Y-m-d H:i:s.u "),"get_avatars 1:",$e->getCode(),': ',"Error by getting Avatarlist: ",$e->getMessage(),"\n";$sqlmsg.=$e->getCode().': '."Error by getting Avatarlist: ".$e->getMessage();$sqlerr++;}}$fsfilelist=opendir(substr(__DIR__,0,-4).'avatars/');while(false!==($fsfile=readdir($fsfilelist))){if($fsfile!='.'&&$fsfile!='..'){$fsfilelistarray[$fsfile]=filemtime(substr(__DIR__,0,-4).'avatars/'.$fsfile);}}if(isset($tsfilelist)){foreach($tsfilelist as $tsfile){$fullfilename='/'.$tsfile['name'];$uuidasbase16=substr($tsfile['name'],7);if(!isset($fsfilelistarray[$uuidasbase16.'.png'])||$tsfile['datetime']>$fsfilelistarray[$uuidasbase16.'.png']){if(substr($tsfile['name'],0,7)=='avatar_'){try{check_shutdown($timezone);usleep($slowmode);$avatar=$ts3->transferInitDownload($clientftfid="5",$cid="0",$name=$fullfilename,$cpw="",$seekpos=0);$transfer=TeamSpeak3::factory("filetransfer://".$avatar["host"].":".$avatar["port"]);$tsfile=$transfer->download($avatar["ftkey"],$avatar["size"]);$avatarfilepath=substr(__DIR__,0,-4).'avatars/'.$uuidasbase16.'.png';echo DateTime::createFromFormat('U.u',number_format(microtime(true),6,'.',''))->setTimeZone(new DateTimeZone($timezone))->format("Y-m-d H:i:s.u "),"Download avatar: ",$fullfilename,"\n";file_put_contents($avatarfilepath,$tsfile);$count++;}catch(Exception $e){echo DateTime::createFromFormat('U.u',number_format(microtime(true),6,'.',''))->setTimeZone(new DateTimeZone($timezone))->format("Y-m-d H:i:s.u "),"get_avatars 2:",$e->getCode(),': ',"Error by download Avatar: ",$e->getMessage(),"\n";$sqlmsg.=$e->getCode().': '."Error by download Avatar: ".$e->getMessage();$sqlerr++;}}}}}$buildtime=microtime(true)- $starttime;if($sqlerr==0){if($mysqlcon->exec("UPDATE $dbname.job_log SET status='0', runtime='$buildtime' WHERE id='$jobid'")===false){echo DateTime::createFromFormat('U.u',number_format(microtime(true),6,'.',''))->setTimeZone(new DateTimeZone($timezone))->format("Y-m-d H:i:s.u "),"get_avatars 3:",print_r($mysqlcon->errorInfo()),"\n";}}else{if($mysqlcon->exec("UPDATE $dbname.job_log SET status='1', err_msg='$sqlmsg', runtime='$buildtime' WHERE id='$jobid'")===false){echo DateTime::createFromFormat('U.u',number_format(microtime(true),6,'.',''))->setTimeZone(new DateTimeZone($timezone))->format("Y-m-d H:i:s.u "),"get_avatars 4:",print_r($mysqlcon->errorInfo()),"\n";}}}?>
|
||||
<?PHP
|
||||
function get_avatars($ts3,$mysqlcon,$lang,$dbname,$slowmode,$jobid,$timezone,$logpath) {
|
||||
$starttime = microtime(true);
|
||||
$sqlmsg = '';
|
||||
$sqlerr = 0;
|
||||
$count = 0;
|
||||
|
||||
try {
|
||||
check_shutdown($timezone); usleep($slowmode);
|
||||
$tsfilelist = $ts3->channelFileList($cid="0", $cpw="", $path="/");
|
||||
} catch (Exception $e) {
|
||||
if ($e->getCode() != 1281) {
|
||||
enter_logfile($logpath,$timezone,2,"get_avatars 1:".$e->getCode().': '."Error while getting avatarlist: ".$e->getMessage());
|
||||
$sqlmsg .= $e->getCode() . ': ' . "Error while getting avatarlist: " . $e->getMessage();
|
||||
$sqlerr++;
|
||||
}
|
||||
}
|
||||
$fsfilelist = opendir(substr(__DIR__,0,-4).'avatars/');
|
||||
while (false !== ($fsfile = readdir($fsfilelist))) {
|
||||
if ($fsfile != '.' && $fsfile != '..') {
|
||||
$fsfilelistarray[$fsfile] = filemtime(substr(__DIR__,0,-4).'avatars/'.$fsfile);
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($tsfilelist)) {
|
||||
foreach($tsfilelist as $tsfile) {
|
||||
$fullfilename = '/'.$tsfile['name'];
|
||||
$uuidasbase16 = substr($tsfile['name'],7);
|
||||
if (!isset($fsfilelistarray[$uuidasbase16.'.png']) || $tsfile['datetime']>$fsfilelistarray[$uuidasbase16.'.png']) {
|
||||
if (substr($tsfile['name'],0,7) == 'avatar_') {
|
||||
try {
|
||||
check_shutdown($timezone); usleep($slowmode);
|
||||
$avatar = $ts3->transferInitDownload($clientftfid="5",$cid="0",$name=$fullfilename,$cpw="", $seekpos=0);
|
||||
$transfer = TeamSpeak3::factory("filetransfer://" . $avatar["host"] . ":" . $avatar["port"]);
|
||||
$tsfile = $transfer->download($avatar["ftkey"], $avatar["size"]);
|
||||
$avatarfilepath = substr(__DIR__,0,-4).'avatars/'.$uuidasbase16.'.png';
|
||||
enter_logfile($logpath,$timezone,5,"Download avatar: ".$fullfilename);
|
||||
if(file_put_contents($avatarfilepath, $tsfile) === false) {
|
||||
enter_logfile($logpath,$timezone,2,"Error while writing out the avatar. Please check the permission for the folder 'avatars'");
|
||||
}
|
||||
$count++;
|
||||
}
|
||||
catch (Exception $e) {
|
||||
enter_logfile($logpath,$timezone,2,"get_avatars 2:".$e->getCode().': '."Error while downloading avatar: ".$e->getMessage());
|
||||
$sqlmsg .= $e->getCode() . ': ' . "Error while downloading avatar: " . $e->getMessage();
|
||||
$sqlerr++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$buildtime = microtime(true) - $starttime;
|
||||
if ($buildtime < 0) { $buildtime = 0; }
|
||||
|
||||
if ($sqlerr == 0) {
|
||||
if($mysqlcon->exec("UPDATE $dbname.job_log SET status='0', runtime='$buildtime' WHERE id='$jobid'") === false) {
|
||||
enter_logfile($logpath,$timezone,2,"get_avatars 3:".print_r($mysqlcon->errorInfo()));
|
||||
}
|
||||
} else {
|
||||
if($mysqlcon->exec("UPDATE $dbname.job_log SET status='1', err_msg='$sqlmsg', runtime='$buildtime' WHERE id='$jobid'") === false) {
|
||||
enter_logfile($logpath,$timezone,2,"get_avatars 4:".print_r($mysqlcon->errorInfo()));
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
361
languages/core_it.php
Normal file
361
languages/core_it.php
Normal file
@@ -0,0 +1,361 @@
|
||||
<?PHP
|
||||
$lang = array();
|
||||
$lang['adduser'] = "L'utente %s ( Client-ID: %s; Client-database-ID %s) non è presente nel database -> L'utente è stato aggiunto al sistema.";
|
||||
$lang['alrup'] = "Hai già aggiornato il database. Per favore cancella questo file dalla web-space!";
|
||||
$lang['changedbid'] = "L'utente %s (unique Client-ID: %s) ha ottenuto un nuovo database-ID (%s). Aggiorna il vecchio Client-database-ID (%s) e resetta il tempo raggiunto!";
|
||||
$lang['crawl'] = "Scansione degli utenti connessi e conteggio delle attività...";
|
||||
$lang['clean'] = "Scansione degli utenti che vanno eliminati...";
|
||||
$lang['cleanc'] = "Utenti eliminati con successo dal database";
|
||||
$lang['cleancdesc'] = "Con questa funzione i vecchi utenti nel database verranno eliminati.<br><br>Così da poter sincronizzare gli utenti del Ranksystem con il database di TeamSpeak. Gli utenti non presenti nel database di TeamSpeak verranno cancellati dal Ranksystem.<br><br>Questa funzione puo essere abilitata solo quando la modalità slowmode non è abilitata!<br><br><br>Per la correzione automatica del database di utenti TeamSpeak potrete usare \"Client Cleaner\" :<br>http://ts-n.net/clientcleaner.php";
|
||||
$lang['cleandel'] = "Sono stati cancellati %s utenti dal database del RankSystem perché non esistevano piu nel database di TeamSpeak.";
|
||||
$lang['cleanno'] = "Non è stato rilevato nulla da cancellare...";
|
||||
$lang['cleanp'] = "tempo di pulitura del database";
|
||||
$lang['cleanpdesc'] = "Imposta il tempo che deve trascorrere alla prossima pulitura del database.<br><br>Imposta il tempo in secondi.<br><br>È consigliato eseguire la 'pulitura' del database almeno una volta al giorno, in quanto il tempo di 'pulitura' del database aumenta nel caso vi sia un database di grandi dimensioni.";
|
||||
$lang['cleanrs'] = "Numero di utenti trovati nel database del Ranksystem: %s";
|
||||
$lang['cleants'] = "Numero di utenti trovati nel database di TeamSpeak: %s (of %s)";
|
||||
$lang['days'] = "giorni";
|
||||
$lang['dbconerr'] = "Connessione al Database MySQL fallita: ";
|
||||
$lang['delcldgrpif'] = "Errore nella rimozione delle informazioni del servergroup: %s";
|
||||
$lang['delcldgrpsc'] = "Informazioni su servergroup per l'utente %s cancellate correttamente.";
|
||||
$lang['delclientsif'] = "%s Utenti cancellati dal database del Ranksystem!";
|
||||
$lang['delclientssc'] = "%s Utenti correttamente cancellati dal database del Ranksystem!";
|
||||
$lang['errlogin'] = "Nome utente e/o password errati! Riprova...";
|
||||
$lang['error'] = "Errore ";
|
||||
$lang['errremgrp'] = "Errore nella rimozione dell'utente: %s (Client-ID) Dal server Group con il servergroup-database-ID: %s!";
|
||||
$lang['errremdb'] = "Errore nella rimozione dell'utente: %s (Client-ID) dal database del RankSystem!";
|
||||
$lang['errsel'] = "Errore nella selezione degli <br>Utenti: %s<br>opzione 'cancella utenti': %s<br>opzione 'somma del tempo online': %s";
|
||||
$lang['errukwn'] = "È stato riscontrato un errore sconosciuto!";
|
||||
$lang['errupcount'] = "Errore nel rinnovo della somma del tempo online dell’utente %s con l’Id unico %s";
|
||||
$lang['firstuse'] = "Sembra che questa sia la prima volta che lanci l'applicazione. Inizio del log degli utenti...";
|
||||
$lang['highest'] = "È stato raggiunto il rank massimo";
|
||||
$lang['instdb'] = "Installa il database:";
|
||||
$lang['instdberr'] = "Errore nella creazione del database: ";
|
||||
$lang['instdbsubm'] = "Crea il database";
|
||||
$lang['instdbsuc'] = "Il database %s è stato creato con successo.";
|
||||
$lang['insttb'] = "Installazione delle tabelle del database:";
|
||||
$lang['insttberr'] = "Errore nella creazione delle tabelle del database: ";
|
||||
$lang['insttbsuc'] = "Le Tabelle del database %s sono state create con successo.";
|
||||
$lang['isntwicfg'] = "Impossibile salvare la configurazione del database! Modifica il file 'other/dbconfig.php' dandogli i permessi 0777 (chmod 777 nomefile) e riprova.";
|
||||
$lang['isntwichm'] = "Per favore modifica il file 'other/dbconfig.php', e la cartella 'avatars/', 'icons/' and 'logs/' con i permessi necessari: Modificali quindi dandogli chmod 0777 (chmod 777 nomefile) e riprova (ricarica la pagina).";
|
||||
$lang['isntwidb'] = "Inserisci le informazioni del database:";
|
||||
$lang['isntwidberr'] = "Per favore controlla di aver inserito tutti i campi correttamente!";
|
||||
$lang['isntwidbhost'] = "Indirizzo host DB:";
|
||||
$lang['isntwidbhostdesc'] = "L'indirizzo del server su cui si trova il database (Se il database è in locale basterà inserire 127.0.0.1)<br>(IP o DNS)";
|
||||
$lang['isntwidbmsg'] = "Errore del Database: ";
|
||||
$lang['isntwidbname'] = "Nome DB:";
|
||||
$lang['isntwidbnamedesc'] = "Nome del database";
|
||||
$lang['isntwidbpass'] = "Password DB:";
|
||||
$lang['isntwidbpassdesc'] = "La Password per accedere al database";
|
||||
$lang['isntwidbtype'] = "Tipo DB:";
|
||||
$lang['isntwidbtypedesc'] = "Il tipo di Database<br><br>Dovrai installare i driver PDO.<br>Per maggiori informazioni sui requisiti guarda sulla pagina http://ts-n.net/ranksystem.php";
|
||||
$lang['isntwidbusr'] = "Utente DB:";
|
||||
$lang['isntwidbusrdesc'] = "Nome dell'utente che ha l'accesso al database";
|
||||
$lang['isntwidel'] = "Per favore cancella il file 'install.php' e titti i file 'update_x-xx.php' dal tuo webserver e apri la %s per configurare il Ranksystem!";
|
||||
$lang['isntwiusr'] = "L'utente dell'interfaccia Web è stato creato con successo.";
|
||||
$lang['isntwiusrcr'] = "Creazione dell'accesso";
|
||||
$lang['isntwiusrdesc'] = "Inserisci nome utente e password per l'accesso all'interfaccia web. Con l'interfaccia web tu potrai configurare il Ranksystem.";
|
||||
$lang['isntwiusrh'] = "Accesso - Interfaccia Web";
|
||||
$lang['listacsg'] = "servergroup attuale";
|
||||
$lang['listcldbid'] = "Client-database-ID";
|
||||
$lang['listexgrp'] = "Non viene considerato dal Ranksystem (eccezione del servergroup).";
|
||||
$lang['listexuid'] = "Non viene considerato dal Ranksystem (eccezione dell'utente).";
|
||||
$lang['listip'] = "Indirizzo IP";
|
||||
$lang['listnick'] = "Nome Utente";
|
||||
$lang['listnxsg'] = "Prossimo servergroup";
|
||||
$lang['listnxup'] = "Prossimo Rank";
|
||||
$lang['listrank'] = "Rank";
|
||||
$lang['listseen'] = "Ultima volta online";
|
||||
$lang['listsuma'] = "Somma del tempo di attività";
|
||||
$lang['listsumi'] = "Somma del tempo in IDLE";
|
||||
$lang['listsumo'] = "Somma del tempo Online";
|
||||
$lang['listtime'] = "%s giorno(i), %s ora(e), %s min., %s sec.";
|
||||
$lang['listuid'] = "unique Client-ID";
|
||||
$lang['new'] = "Nuovo";
|
||||
$lang['nocount'] = "L'utente %s (unique Client-ID: %s; Client-database-ID %s) è una query oppure effettua molte connessioni (conterà solo la prima connessione) -> Non verrà contato!";
|
||||
$lang['noentry'] = "Nessuna voce trovata..";
|
||||
$lang['pass'] = "Password: ";
|
||||
$lang['queryname'] = "Il primo nome del bot è già in uso. Sto riprovando con il secondo...";
|
||||
$lang['sccrmcld'] = "L'utente con il Client-ID %s è stato correttamente cancellato dal database del ranksystem.";
|
||||
$lang['sccupcount'] = "All'utente con il Client-ID %s è stato assegnato un tempo online di %s.";
|
||||
$lang['setontime'] = "Somma tempo online";
|
||||
$lang['setontimedesc'] = "Inserisci il nuovo tempo online, che verrà impostato per gli utenti precedentemente selezionati. Il tempo online raccolto precedentemente verrà sovrascritto.<br><br>La somma del tempo online inserita verrà considerata per il rank.";
|
||||
$lang['sgrpadd'] = "All'utente %s è stato assegnato il servergroup %s (Client-ID unico: %s; Client-database-ID %s).";
|
||||
$lang['sgrprerr'] = "C'è stato un problema con l'aggiunta del servergroup all'utente %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).";
|
||||
$lang['sitegen'] = "Sito generato in %s secondi con %s utenti.";
|
||||
$lang['sitegenl'] = "Sito generato in %s secondi con %s utenti (di cui %s visualizzati; %s non considerati per le regole d'eccezione impostate; %s che hanno raggiunto il rank massimo).";
|
||||
$lang['stix0001'] = "Statistiche del server";
|
||||
$lang['stix0002'] = "Utenti totali";
|
||||
$lang['stix0003'] = "Vedi dettagli";
|
||||
$lang['stix0004'] = "Tempo online di tutti gli utenti / Totale";
|
||||
$lang['stix0005'] = "Vedi i migliori di sempre";
|
||||
$lang['stix0006'] = "Vedi i migliori del mese";
|
||||
$lang['stix0007'] = "Vedi i migliori della settimana";
|
||||
$lang['stix0008'] = "Utilizzo del server";
|
||||
$lang['stix0009'] = "Negli ultimi 7 giorni";
|
||||
$lang['stix0010'] = "Negli ultimi 30 giorni";
|
||||
$lang['stix0011'] = "Nelle ultime 24 ore";
|
||||
$lang['stix0012'] = "seleziona il periodo";
|
||||
$lang['stix0013'] = "Ultimo giorno";
|
||||
$lang['stix0014'] = "Ultima settimana";
|
||||
$lang['stix0015'] = "Ultimo mese";
|
||||
$lang['stix0016'] = "Tempo di attività/inattività (di tutti gli utenti)";
|
||||
$lang['stix0017'] = "Versioni (di tutti gli utenti)";
|
||||
$lang['stix0018'] = "Nazionalità (di tutti gli utenti)";
|
||||
$lang['stix0019'] = "Piattaforme (di tutti gli utenti)";
|
||||
$lang['stix0020'] = "Statistiche correnti";
|
||||
$lang['stix0021'] = "Informazioni richieste";
|
||||
$lang['stix0022'] = "Risultato";
|
||||
$lang['stix0023'] = "Stato del server";
|
||||
$lang['stix0024'] = "Online";
|
||||
$lang['stix0025'] = "Offline";
|
||||
$lang['stix0026'] = "Utenti (Online / Max)";
|
||||
$lang['stix0027'] = "Numero delle stanze";
|
||||
$lang['stix0028'] = "Ping medio del server";
|
||||
$lang['stix0029'] = "Totale byte ricevuti";
|
||||
$lang['stix0030'] = "Totale byte inviati";
|
||||
$lang['stix0031'] = "Tempo online del server";
|
||||
$lang['stix0032'] = "Prima di essere offline:";
|
||||
$lang['stix0033'] = "<span id=\"days\">00</span> Giorni, <span id=\"hours\">00</span> Ore, <span id=\"minutes\">00</span> Min, <span id=\"seconds\">00</span> Sec";
|
||||
$lang['stix0034'] = "Media Pacchetti persi";
|
||||
$lang['stix0035'] = "Statistiche complessive";
|
||||
$lang['stix0036'] = "Nome del server";
|
||||
$lang['stix0037'] = "Indirizzo del server (Indirizzo del server : Porta)";
|
||||
$lang['stix0038'] = "Password del server";
|
||||
$lang['stix0039'] = "No (Il server è pubblico)";
|
||||
$lang['stix0040'] = "Si (Il server è privato)";
|
||||
$lang['stix0041'] = "ID del server";
|
||||
$lang['stix0042'] = "Piattaforma del server";
|
||||
$lang['stix0043'] = "Versione del Server";
|
||||
$lang['stix0044'] = "Data di creazione del server (dd/mm/yyyy)";
|
||||
$lang['stix0045'] = "Inserito nella lista dei server";
|
||||
$lang['stix0046'] = "Attivato";
|
||||
$lang['stix0047'] = "Non attivato";
|
||||
$lang['stix0048'] = "Non vi sono ancora abbastanza informazioni...";
|
||||
$lang['stix0049'] = "Tempo online di tutti gli utenti / mese";
|
||||
$lang['stix0050'] = "Tempo online di tutti gli utenti / settimana";
|
||||
$lang['stix0051'] = "Il TeamSpeak non ha una data di creazione...";
|
||||
$lang['stmy0001'] = "Le mie statistiche";
|
||||
$lang['stmy0002'] = "Rank";
|
||||
$lang['stmy0003'] = "Database ID:";
|
||||
$lang['stmy0004'] = "ID unico:";
|
||||
$lang['stmy0005'] = "Connessioni totali al server:";
|
||||
$lang['stmy0006'] = "Data di inzio statistiche:";
|
||||
$lang['stmy0007'] = "Tempo totale online:";
|
||||
$lang['stmy0008'] = "Tempo online negli ultimi 7 giorni:";
|
||||
$lang['stmy0009'] = "Tempo online negli ultimi 30 giorni:";
|
||||
$lang['stmy0010'] = "Obbiettivi completati:";
|
||||
$lang['stmy0011'] = "Progresso del tempo raggiunto";
|
||||
$lang['stmy0012'] = "Tempo: Leggendario";
|
||||
$lang['stmy0013'] = "Perché hai raggiunto il tempo online di of %s ore.";
|
||||
$lang['stmy0014'] = "Completato";
|
||||
$lang['stmy0015'] = "Tempo: Gold";
|
||||
$lang['stmy0016'] = "% Completata per il raggiungimento del livello 'Leggendario'";
|
||||
$lang['stmy0017'] = "Tempo: Silver";
|
||||
$lang['stmy0018'] = "% Completata per il raggiungimento del livello Gold";
|
||||
$lang['stmy0019'] = "Tempo: Bronze";
|
||||
$lang['stmy0020'] = "% Completata per il raggiungimento del livello Silver";
|
||||
$lang['stmy0021'] = "Tempo: Unranked";
|
||||
$lang['stmy0022'] = "% Completata per il raggiungimento del livello Bronze";
|
||||
$lang['stmy0023'] = "Progresso obbiettivo connessioni";
|
||||
$lang['stmy0024'] = "Connessioni: Legendary";
|
||||
$lang['stmy0025'] = "Perchè ti sei connesso %s volte al server.";
|
||||
$lang['stmy0026'] = "Connessioni: Gold";
|
||||
$lang['stmy0027'] = "Connessioni: Silver";
|
||||
$lang['stmy0028'] = "Connessioni: Bronze";
|
||||
$lang['stmy0029'] = "Connessioni: Unranked";
|
||||
$lang['stmy0030'] = "Progresso prossimo servergroup";
|
||||
$lang['stnv0001'] = "News del server";
|
||||
$lang['stnv0002'] = "Chiudi";
|
||||
$lang['stnv0003'] = "Aggiorna le informazioni utente";
|
||||
$lang['stnv0004'] = "Aggiorna solamente quando vengono modificate le informazioni su TS3, come ad esempio un cambio del nome od un nuovo collegamento";
|
||||
$lang['stnv0005'] = "Funziona solamente se sei connesso al server TS3 in contemporaneo (devi avere TeamSpeak aperto ed essere collegato con la tua identità per vedere le tue statistiche)";
|
||||
$lang['stnv0006'] = "Aggiorna";
|
||||
$lang['stnv0007'] = "Area Battaglie";
|
||||
$lang['stnv0008'] = "Puoi sfidare gli altri utenti in una battaglia tra 2 utenti o 2 team.";
|
||||
$lang['stnv0009'] = "Mentre la battaglia è attiva il tempo online dell'utente o del team sarà contato.";
|
||||
$lang['stnv0010'] = "Quando la battaglia giungerà alla fine il team o l'utente col maggior tempo online vincerà.";
|
||||
$lang['stnv0011'] = "(Regolarmente un combattimento dura 48 ore)";
|
||||
$lang['stnv0012'] = "Il tema o l'utente vincitore riceverà un boost, che l'utente potrà utilizzare quando vorrà.";
|
||||
$lang['stnv0013'] = "Questo sarà mostrato nella pagina <a href=\"my_stats.php\">Le mie statistiche</a> tab.";
|
||||
$lang['stnv0014'] = "(Potrebbe essere un booster(2x) per 8 hours, o un aggiunta istantanea del tempo online (4 hours), etc.";
|
||||
$lang['stnv0015'] = "Questi boost possono essere utilizzati ad esempio per scalare la classifica della settimana.";
|
||||
$lang['stnv0016'] = "Non disponibile";
|
||||
$lang['stnv0017'] = "Non sei connesso al server TeamSpeak, perciò non potrai vedere le tue statistiche personali.";
|
||||
$lang['stnv0018'] = "Per favore connettiti al server TeamSpeak e ricarica questa sessione premendo il pulsante blu in alto a destra.";
|
||||
$lang['stnv0019'] = "Le mie statistiche - contenuto della pagina";
|
||||
$lang['stnv0020'] = "Questa pagina contiene un sommario generale delle tue statistiche personali e le attività nel server.";
|
||||
$lang['stnv0021'] = "Queste informazioni sono state inserite dal primo avvio del Ranksystem e non dall'inizio del server TeamSpeak.";
|
||||
$lang['stnv0022'] = "Questa pagina riceve i dati dal database. Perciò potrebbe avere un lieve ritardo nel ricevere le informazioni.";
|
||||
$lang['stnv0023'] = "La somma contenuta nei grafici ad anello potrebbe differire dal numero degli ‘Utenti totali'. Il motivo è che quei dati non erano stati raccolti dalla versione precedente del Ranksystem.";
|
||||
$lang['stnv0024'] = "Ranksystem - Statistiche";
|
||||
$lang['stnv0025'] = "Inserimenti limitati";
|
||||
$lang['stnv0026'] = "tutti";
|
||||
$lang['stnv0027'] = "Le informazioni su questo sito potrebbero NON essere aggiornate in quanto sembra che la query del Ranksystem non sia connessa a TeamSpeak.";
|
||||
$lang['stnv0028'] = "(Non sei connesso al TS3!)";
|
||||
$lang['stnv0029'] = "Lista dei Rank";
|
||||
$lang['stnv0030'] = "Ranksystem info";
|
||||
$lang['stnv0031'] = "DE - Deutsch";
|
||||
$lang['stnv0032'] = "EN - english";
|
||||
$lang['stnv0033'] = "RU - русский";
|
||||
$lang['stnv0034'] = "IT - italiano";
|
||||
$lang['stri0001'] = "Informazioni sul Ranksystem";
|
||||
$lang['stri0002'] = "Che cos' è il ranksystem?";
|
||||
$lang['stri0003'] = "Un TS3 Bot, che automaticamente attribuisce i rank (servergroups) agli utenti su un TeamSpeak 3 per il tempo trascorso online o di attività online. Inoltre raccoglie info e statistiche sull’utente e mostra i risultati sul sito.";
|
||||
$lang['stri0004'] = "Chi ha creato il Ranksystem?";
|
||||
$lang['stri0005'] = "Quando è stato creato?";
|
||||
$lang['stri0006'] = "Prima alpha: 05/10/2014.";
|
||||
$lang['stri0007'] = "Prima Beta: 01/02/2015.";
|
||||
$lang['stri0008'] = "Puoi trovare l'ultima versione del Ranksystem alla pagina <a href=\"http://ts-n.net/ranksystem.php\" target=\"_blank\">Ranksystem Website</a>.";
|
||||
$lang['stri0009'] = "Com' è stato creato il RankSystem?";
|
||||
$lang['stri0010'] = "Che linguaggio è stato utilizzato";
|
||||
$lang['stri0011'] = "Utilizza inoltre le seguenti librerie:";
|
||||
$lang['stri0012'] = "Un ringraziamento speciale a:";
|
||||
$lang['stri0013'] = "<a href=\"http://nya-pw.ru/\" target=\"_blank\">sergey</a> - for russian translation";
|
||||
$lang['stri0014'] = "Bejamin Frost - for per i primi bootstrap design";
|
||||
$lang['stri0015'] = "<a href=\"http://hydrake.eu/\" target=\"_blank\">ZanK</a> - for italian translation";
|
||||
$lang['sttw0001'] = "Top utenti";
|
||||
$lang['sttw0002'] = "Della settimana";
|
||||
$lang['sttw0003'] = "con %s ore di tempo online";
|
||||
$lang['sttw0004'] = "Top 10 a confronto";
|
||||
$lang['sttw0005'] = "Ore (Definisce il 100 %)";
|
||||
$lang['sttw0006'] = "%s ore (%s%)";
|
||||
$lang['sttw0007'] = "Top 10 Statistiche";
|
||||
$lang['sttw0008'] = "Top 10 vs Altri utenti in tempo online";
|
||||
$lang['sttw0009'] = "Top 10 vs Altri utenti in tempo di attività";
|
||||
$lang['sttw0010'] = "Top 10 vs Altri utenti in tempo di inattività";
|
||||
$lang['sttw0011'] = "Top 10 (in ore)";
|
||||
$lang['sttw0012'] = "Gli altri %s utenti (in ore)";
|
||||
$lang['sttw0013'] = "con %s ore di tempo attivo";
|
||||
$lang['sttm0001'] = "Del mese";
|
||||
$lang['stta0001'] = "Di sempre";
|
||||
$lang['updb'] = "Devi avviare questo file una sola volta per aggiornare il Ranksystem da una versione non aggiornate %s!<br><br>Dopo aver eseguito il file update_%s.php eliminalo dal tuo web server.<br><br><br>Database aggiornato:<br>";
|
||||
$lang['updel'] = "Per favore cancella i seguenti file dalla cartella principale del Ranksystem (se non sono già stati eliminati):<br>%s";
|
||||
$lang['upinf'] = "È stata trovato una versione piu recente del RankSystem (informazioni su come aggiornare qui: http://ts-n.net/ranksystem.php?artid=84#01id84); Informa gli utenti del server...";
|
||||
$lang['upmov'] = "Per favore sposta \'%s\' nella sottocartella \'%s\' e sovrascrivi quella esistente!";
|
||||
$lang['upmsg'] = "\nHey, Una nuova versione del [B]Ranksystem[/B] è disponibile!\n\nVersione corrente: %s\n[B]Nuova Versione: %s[/B]\n\nPer maggiori informazioni visita il nostro sito [URL]http://ts-n.net/ranksystem.php[/URL].";
|
||||
$lang['upsucc'] = "Aggiornamento del database eseguito con successo.";
|
||||
$lang['upuser'] = "L'utente %s (unique Client-ID: %s; Client-database-ID %s) ha ottenuto un nuovo conteggio (somma del tempo online) di %s (tempo di attività (rispetto al nuovo conteggio): %s).";
|
||||
$lang['upuserboost'] = "L'utente %s (unique Client-ID: %s; Client-database-ID %s) ha ottenuto un nuovo conteggi (somma del tempo online) di %s (tempo di attività (rispetto al nuovo conteggio): %s) <b>[BOOST %sx]</b>.";
|
||||
$lang['upusrerr'] = "Il Client-ID unico %s non è raggiungibile dal sistema TeamSpeak!";
|
||||
$lang['upusrinf'] = "L'utente %s è stato informato correttamente.";
|
||||
$lang['user'] = "Nome Utente: ";
|
||||
$lang['usermsgactive'] = "\nHey, Sei aumentato di livello in quanto hai raggiunto un tempo di attività di %s giorni, %s ore, %s minuti and %s secondi.";
|
||||
$lang['usermsgonline'] = "\nHey, Sei aumentato di livello in quanto hai raggiunto un tempo online di %s giorni, %s ore, %s minuti and %s secondi.";
|
||||
$lang['wiaction'] = "azione";
|
||||
$lang['wibgco'] = "Colore di sfondo:";
|
||||
$lang['wibgcodesc'] = "Imposta un colore di sfondo.<br>(utilizza un codice HTML valido, deve iniziare con #)";
|
||||
$lang['wiboost'] = "boost";
|
||||
$lang['wiboostdesc'] = "Dai all'utente sul TS3 un servergroup (che dovrà essere creato manualmente), con il quale potrai definire il Boost. Definisci anche il fattore di moltiplicazione (per esempio 2x) e il (per quanto il boost durerà).<br>Più alto è il fattore, più velocemente l'utente raggiungerà il rank successivo.<br>Uno volta che il tempo impostato finirà il servergroup verrà rimosso in automatico dal RankSystem.Il tempo parte non appena viene assegnato il servergroup all'utente.<br><br>servergroup ID => fattore (2,3) => tempo (in secondi)<br><br>Per separare ogni voce utilizza la virgola.<br><br>Esempio:<br>12=>2=>6000,13=>3=>2500,14=>5=>600<br><br>Nell'esempio il servergroup 12 per i successivi 6000 secondi gli verrà conteggiato il doppio del tempo online, al servergroup 13 verrà moltiplicato il tempo per 3 per 2500 secondi, e cosi via...";
|
||||
$lang['wichdbid'] = "Client-database-ID reset";
|
||||
$lang['wichdbiddesc'] = "Resetta il tempo online di un utente se il suo database-ID è cambiato.<br><br>Esempio:<br>Se un utente viene rimosso da TeamSpeak, gli viene assegnato un nuovo database-ID con la successiva connesione al server.";
|
||||
$lang['wiconferr'] = "C'è un errore nella configurazione del RankSystem. Vai nell'interfaccia web i sistema le Impostazioni Principali. Specialmente la configurazione 'rank'!";
|
||||
$lang['widaform'] = "Formato data";
|
||||
$lang['widaformdesc'] = "scegli il formato della data.<br><br>Esempio:<br>%a Giorni, %h Ore, %i Min, %s Sec";
|
||||
$lang['widbcfgsuc'] = "Configurazione del database salvata con successo.";
|
||||
$lang['widbcfgerr'] = "Errore nel salvataggio della configurazione del database! Connessione fallita o errore nella sovrascrittura del file 'other/dbconfig.php'";
|
||||
$lang['widelcld'] = "elimina utenti";
|
||||
$lang['widelcldgrp'] = "rinnova gruppi";
|
||||
$lang['widelcldgrpdesc'] = "Il Ranksystem memorizzerà il servergroup assegnato, così che non sia più necessario eseguire continuamente il worker.php.<br><br>Con questa funzione potrai rimuovere le informazioni salvate relative ad un servergroup. Il Ranksystem proverà a dare a tutti gli utenti connessi al TS3 il servergroup del loro rank.<br>Per ogni utente, che ottenga il servergroup o che sia su un servergroup, il Ranksystem lo memorizzerà come descritto all'inizio.<br><br>Questa funzione può essere molto utile, quando un utente non è in un servergroup, Gli può essere attribuito il tempo online.<br><br>Attenzione: Eseguilo solo quando sei sicuro che non vi sia un aumento di rank per l'utente! Altrimenti il Ranksystem non potrà rimuovere il precedente servergroup in quanto non è memorizzato ;-)";
|
||||
$lang['widelclddesc'] = "Cancella gli utenti precedentemente selezionati dal Ranksystem.<br><br>Ciò non modificherà lo stato degli utenti nel database di TeamSpeak.";
|
||||
$lang['widelsg'] = "rimosso(i) dal servergroup";
|
||||
$lang['widelsgdesc'] = "Scegli se agli utenti venga rimosso anche l'ultimo servergroup conosciuto, quando cancelli gli utenti dal database del Ranksystem.<br><br>Considererà solamente i servergroup riguardanti il Ranksystem";
|
||||
$lang['wideltime'] = "Tempo di eliminazione";
|
||||
$lang['wideltimedesc'] = "Cancella i 'vecchi utenti' dal database del Ranksystem.<br>Inserisci il tempo dopo cui un utente che non si connette al TeamSpeak verrà eliminato.<br><br>0 - Cancellerà gli utenti dal Ranksystem<br><br>I dati degli utenti su TeamSpeak non verranno toccati!";
|
||||
$lang['wiexgrp'] = "Eccezione dei servergroup";
|
||||
$lang['wiexgrpdesc'] = "Lista dei servergroup ID che non verranno contati dal Ranksystem (separati da virgola. es. 9,10,11)<br>Gli utenti che avranno almeno uno di questi servergroup verranno ignorati.";
|
||||
$lang['wiexuid'] = "Eccezione degli utenti";
|
||||
$lang['wiexuiddesc'] = "Lista degli utenti (ID unico) che non verranno contati dal Ranksystem (separati da virgola. es 5GFxciykQMojlrvugWti835Wdto=,YQf+7x/4LJ2Tw5cuQGItsVEn+S4=)<br>Questi utentiverranno ignorati.";
|
||||
$lang['wigrptime'] = "rank";
|
||||
$lang['wigrptimedesc'] = "Definisci qui dopo quanto tempo un utente debba ottenere automaticamente un servergroup predefinito.<br><br>time (seconds)=>servergroup ID<br><br>Importante per questo è il tempo online di un utente o se \"Idletime\" è attivo, il tempo di attività.<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['wihdco'] = "Colore titolo:";
|
||||
$lang['wihdcodesc'] = "Definisci un colore del titolo.<br>(Deve essere un codice HTML valido e deve iniziare con # )";
|
||||
$lang['wihl'] = "Webinterface - Ranksystem";
|
||||
$lang['wihladm'] = "lista utenti";
|
||||
$lang['wihlcfg'] = "Impostazioni Principali";
|
||||
$lang['wihlclg'] = "Modifica Utenti (globale)";
|
||||
$lang['wihlcls'] = "Modifica Utenti (selezionati)";
|
||||
$lang['wihldb'] = "Impostazioni Database";
|
||||
$lang['wihlsty'] = "Impostazioni Stile";
|
||||
$lang['wihlts'] = "Impostazioni Teamspeak";
|
||||
$lang['wihvco'] = "Colore al passaggio del mouse:";
|
||||
$lang['wihvcodesc'] = "Imposta colore al passaggio del mouse.<br>(Deve essere un codice HTML valido e deve iniziare con # )";
|
||||
$lang['wiifco'] = "Colore infotext:";
|
||||
$lang['wiifcodesc'] = "Imposta il colore del testo delle informazioni.<br>(Deve essere un codice HTML valido e deve iniziare con # )";
|
||||
$lang['wilog'] = "Path dei Log";
|
||||
$lang['wilogdesc'] = "La path dei lod del RankSystem.<br><br>Example:<br>/var/logs/ranksystem/<br><br>Assicurati che l'utente che hai assegnato (del web server) abbia i poteri per scrivere nella directory (oppure dai direttamente chmod 777 alla cartella log).";
|
||||
$lang['wilogout'] = "LogOut";
|
||||
$lang['wimsgusr'] = "Notifica";
|
||||
$lang['wimsgusrdesc'] = "Informa un utente con un messaggio privato testuale sul suo aumento di rank.<br>Stabilisci il messaggio in 'lang.php'<br>(usermsgonline o usermsgactive)";
|
||||
$lang['wiscco'] = "Colore di operazione avvenuta con successo";
|
||||
$lang['wisccodesc'] = "Definisci un success-text color.<br>(Deve essere un codice HTML valido e deve iniziare con # )";
|
||||
$lang['wiselcld'] = "Seleziona utenti";
|
||||
$lang['wiselclddesc'] = "seleziona i clients in base all’ultimo nickname noto. Per farlo devi solo scrivere.<br>Selezioni multiple vanno separate da una virgola, che il sistema fa automaticamente.<br><br>Con la selezione puoi scegliere un’azione con il prossimo passaggio.";
|
||||
$lang['wishcolas'] = "Servergroup attuale";
|
||||
$lang['wishcolasdesc'] = "Show column 'actual servergroup' in list_rankup.php";
|
||||
$lang['wishcolat'] = "Tempo Attività";
|
||||
$lang['wishcolatdesc'] = "Show column 'sum. active time' in list_rankup.php";
|
||||
$lang['wishcolcld'] = "Nome Utente";
|
||||
$lang['wishcolclddesc'] = "Show column 'Client-name' in list_rankup.php";
|
||||
$lang['wishcoldbid'] = "ID del database";
|
||||
$lang['wishcoldbiddesc'] = "Show column 'Client-database-ID' in list_rankup.php";
|
||||
$lang['wishcolit'] = "tempo in IDLE";
|
||||
$lang['wishcolitdesc'] = "Show column 'sum idle time' in list_rankup.php";
|
||||
$lang['wishcolls'] = "Ultimo volta online";
|
||||
$lang['wishcollsdesc'] = "Show column 'last seen' in list_rankup.php";
|
||||
$lang['wishcolnx'] = "Prossimo Rank";
|
||||
$lang['wishcolnxdesc'] = "Show column 'next rank up' in list_rankup.php";
|
||||
$lang['wishcolot'] = "Tempo Online";
|
||||
$lang['wishcolotdesc'] = "Show column 'sum. online time' in list_rankup.php";
|
||||
$lang['wishcolrg'] = "rank";
|
||||
$lang['wishcolrgdesc'] = "Show column 'rank' in list_rankup.php";
|
||||
$lang['wishcolsg'] = "next servergroup";
|
||||
$lang['wishcolsgdesc'] = "Show column 'next servergroup' in list_rankup.php";
|
||||
$lang['wishcoluuid'] = "Client-ID";
|
||||
$lang['wishcoluuiddesc'] = "Show column 'unique Client-ID' in list_rankup.php";
|
||||
$lang['wishexcld'] = "excepted client";
|
||||
$lang['wishexclddesc'] = "Show clients in list_rankup.php,<br>which are excepted by his uniqueID.";
|
||||
$lang['wishexgrp'] = "excepted groups";
|
||||
$lang['wishexgrpdesc'] = "Mostra i clients in list_rankup.php, che sono nella lista 'client exception' e non dovrebbero essere considerati per il Ranksystem.";
|
||||
$lang['wishgen'] = "Sitegen";
|
||||
$lang['wishgendesc'] = "Mostra il tempo richiesto per la generazione del sito al fondo del sito.";
|
||||
$lang['wishhicld'] = "Clients in highest Level";
|
||||
$lang['wishhiclddesc'] = "Mostra I clients in list_rankup.php, che hanno raggiunto il più elevato rank nel Ranksystem.";
|
||||
$lang['wisupidle'] = "Idletime";
|
||||
$lang['wisupidledesc'] = "Se la funzione è attivata, la somma del tempo in IDLE verrà sottratta alla somma del tempo online. Il tempo ricavato verrà utilizzato per l'avanzamento di rank.";
|
||||
$lang['wisvconf'] = "salva";
|
||||
$lang['wisvsuc'] = "Modifiche salvate con successo!";
|
||||
$lang['witime'] = "Timezone";
|
||||
$lang['witimedesc'] = "Select the timezone the server is hosted.";
|
||||
$lang['wits3dch'] = "Canale di Default";
|
||||
$lang['wits3dchdesc'] = "Il channel-ID cui il bot deve connettersi.<br><br>Il Bot entrerà in questo canale appena entrato nel TeamSpeak server.";
|
||||
$lang['wits3host'] = "Indirizzo TS3";
|
||||
$lang['wits3hostdesc'] = "Indirizzo del vostro server Teamspeak<br>(IP o DNS)";
|
||||
$lang['wits3sm'] = "Slowmode";
|
||||
$lang['wits3smdesc'] = "Con la modalità Slowmode potrai ridurre lo \"spam\" dei comandi query di TeamSpeak. E previene inoltre i ban per flood nel server Teamspeak.<br>I comandi della query arriveranno con un lieve ritardo in base al ritardo di risposta scelto.<br><br>!!! INOLTRE RIDURRA L'UTILIZZO DELLE RISORSE DEL SERVER !!!<br><br>Questa funzione non è consigliata, se non è richiesta. Il ritardo dei comandi del bot potrebbe causare imprecisione, sopratutto nell'utilizzo dei boost.";
|
||||
$lang['wits3qnm'] = "Nome del Bot";
|
||||
$lang['wits3qnm2'] = "2° nome del Bot";
|
||||
$lang['wits3qnm2desc'] = "Un secondo nome in caso in cui il primo nome sia già in uso.";
|
||||
$lang['wits3qnmdesc'] = "Il nome con il quale la query si conneterà al TS3.<br>Potrai dare il nome che preferisci.<br> Ricorda che sarà anche il nome con il quale gli utenti riceveranno i messaggi su Teamspeak.";
|
||||
$lang['wits3querpw'] = "TS3 - Password della Query";
|
||||
$lang['wits3querpwdesc'] = "Password della query di Teamspeak (di norma viene creata al primo avvio di Teamspeak, guarda qui per modificarla: <a href=\"https://support.teamspeakusa.com/index.php?/Knowledgebase/Article/View/276/16/how-do-i-change-my-serverquery-admin-password\">CHANGE QUERY PASSWORD</a><br>.";
|
||||
$lang['wits3querusr'] = "TS3 - Utente della Query";
|
||||
$lang['wits3querusrdesc'] = "Il nome utente della Query scelta<br>Di default è serveradmin<br>Ma se preferisci potrai creare un ulteriore query solo per il Ranksystem.<br>Per vedere i permessi necessari alla Query guarda:<br>http://ts-n.net/ranksystem.php";
|
||||
$lang['wits3query'] = "TS3 - Porta della Query";
|
||||
$lang['wits3querydesc'] = "La porta per l'accesso delle query a Teamspeak<br>La porta di default è 10011 (TCP)<br>Se non è la porta di default e non sai che porta possa essere guarda all'interno del file 'ts3server.ini' nella directory principale del server Teamspeak dove troverai tutte le informazioni sul server.";
|
||||
$lang['wits3voice'] = "TS3 - Voice-Port";
|
||||
$lang['wits3voicedesc'] = "La voice port del vostro Teamspeak<br>Di default è 9987 (UDP)<br>Questa è inoltre la porta con cui ti connetti al TS3.";
|
||||
$lang['witxco'] = "Colore del testo:";
|
||||
$lang['witxcodesc'] = "Imposta un colore per il testo.<br>(Deve essere un codice HTML valido e deve iniziare con # )";
|
||||
$lang['wiupcheck'] = "Controlla aggiornamenti";
|
||||
$lang['wiupcheckdesc'] = "Se le funzione 'Controlla aggiornamenti', la lista di utenti inseriti (ID unico dell'utente) riceveranno una notifica su Teamspeak (come messaggio privato), quando sarà disponibile uin aggiornamento.";
|
||||
$lang['wiuptime'] = "Intervallo di cotrollo aggiornamenti";
|
||||
$lang['wiuptimedesc'] = "Inserisci qui ogni quanti secondi il Ranksystem verificherà se vi sono aggiornamenti disponibili.<br>Attenzione, Ogni utente inserito riceverà la notifica di aggiornamento attraverso un messaggio privato su Temaspeak. Se nessuno degli utenti inseriti sarà online, Il Ranksystem proverà ad inviare il messaggio nell'intervallo di tempo successivo.";
|
||||
$lang['wiupuid'] = "Recipiente";
|
||||
$lang['wiupuiddesc'] = "La lista di utenti (dovrà essere inserito l'ID unico dell'utente(i) es. YdicUS4yofeBEONN7J3FeLic8b4=,RiGqBf8hU1kbCV/vwfPL0rzAwZQ=), che verranno informati di eventuali aggiornamenti attraverso un messaggio privato su Teamspeak.";
|
||||
$lang['wiversion'] = "(versione corrente %s)";
|
||||
$lang['wivlang'] = "Lingua";
|
||||
$lang['wivlangdesc'] = "Lingue disponibili per il Ranksystem<br><br>de - Deutsch<br>en - english<br>it - italiano<br>ru - Русский";
|
||||
$lang['wiwnco'] = "Colore messggio d'avviso:";
|
||||
$lang['wiwncodesc'] = "Definisci il colore del messaggio di avviso di aggiornamenti disponibili.<br>(Deve essere un codice HTML valido e deve iniziare con # )";
|
||||
?>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
250
languages/nations_it.php
Normal file
250
languages/nations_it.php
Normal file
@@ -0,0 +1,250 @@
|
||||
<?PHP
|
||||
$nation = array();
|
||||
$nation['AD']='Andorra';
|
||||
$nation['AE']='Emirati Arabi Uniti';
|
||||
$nation['AF']='Afghanistan';
|
||||
$nation['AG']='Antigua e Barbuda';
|
||||
$nation['AI']='Anguilla';
|
||||
$nation['AL']='Albania';
|
||||
$nation['AM']='Armenia';
|
||||
$nation['AO']='Angola';
|
||||
$nation['AQ']='Antartide';
|
||||
$nation['AR']='Argentina';
|
||||
$nation['AS']='Samoa Americane';
|
||||
$nation['AT']='Austria';
|
||||
$nation['AU']='Australia';
|
||||
$nation['AW']='Aruba';
|
||||
$nation['AX']='Isole Åland';
|
||||
$nation['AZ']='Azerbaijan';
|
||||
$nation['BA']='Bosnia ed Erzegovina';
|
||||
$nation['BB']='Barbados';
|
||||
$nation['BD']='Bangladesh';
|
||||
$nation['BE']='Belgio';
|
||||
$nation['BF']='Burkina Faso';
|
||||
$nation['BG']='Bulgaria';
|
||||
$nation['BH']='Bahrein';
|
||||
$nation['BI']='Burundi';
|
||||
$nation['BJ']='Benin';
|
||||
$nation['BL']='Bartolomeo';
|
||||
$nation['BM']='Bermuda';
|
||||
$nation['BN']='Brunei';
|
||||
$nation['BO']='Bolivia';
|
||||
$nation['BR']='Brasile';
|
||||
$nation['BS']='Bahamas';
|
||||
$nation['BT']='Bhutan';
|
||||
$nation['BV']='Isola Bouvet';
|
||||
$nation['BW']='Botswana';
|
||||
$nation['BY']='Bielorussia';
|
||||
$nation['BZ']='Belize';
|
||||
$nation['CA']='Canada';
|
||||
$nation['CC']='Isole Cocos';
|
||||
$nation['CD']='Congo (R.d.)';
|
||||
$nation['CF']='Centrafrica';
|
||||
$nation['CG']='Congo (Rep.)';
|
||||
$nation['CH']='Svizzera';
|
||||
$nation['CI']='Costa d\'Avorio';
|
||||
$nation['CK']='Isole Cook';
|
||||
$nation['CL']='Cile';
|
||||
$nation['CM']='Camerun';
|
||||
$nation['CN']='Cina';
|
||||
$nation['CO']='Colombia';
|
||||
$nation['CR']='Costarica';
|
||||
$nation['CS']='Yugoslavia';
|
||||
$nation['CU']='Cuba';
|
||||
$nation['CV']='Capo Verde';
|
||||
$nation['CW']='Curaçao';
|
||||
$nation['CX']='Isola Christmas';
|
||||
$nation['CY']='Cipro';
|
||||
$nation['CZ']='Ceca (Repubblica)';
|
||||
$nation['DE']='Germania';
|
||||
$nation['DJ']='Gibuti';
|
||||
$nation['DK']='Danimarca';
|
||||
$nation['DM']='Dominica';
|
||||
$nation['DO']='Dominicana (Rep.)';
|
||||
$nation['DZ']='Algeria';
|
||||
$nation['EC']='Ecuador';
|
||||
$nation['EE']='Estonia';
|
||||
$nation['EG']='Egitto';
|
||||
$nation['EH']='Sahara Occidentale';
|
||||
$nation['ER']='Eritrea';
|
||||
$nation['ES']='Spagna';
|
||||
$nation['ET']='Etiopia';
|
||||
$nation['FI']='Finlandia';
|
||||
$nation['FJ']='Isole Fiji';
|
||||
$nation['FK']='Isole Falkland';
|
||||
$nation['FM']='Micronesia (Isole)';
|
||||
$nation['FO']='Isole Faroe';
|
||||
$nation['FR']='Francia';
|
||||
$nation['GA']='Gabon';
|
||||
$nation['GB']='Gran Bretagna';
|
||||
$nation['GD']='Grenada';
|
||||
$nation['GE']='Georgia';
|
||||
$nation['GF']='Guyana Francese';
|
||||
$nation['GG']='Guernsey';
|
||||
$nation['GH']='Ghana';
|
||||
$nation['GI']='Gibilterra';
|
||||
$nation['GL']='Groenlandia';
|
||||
$nation['GM']='Gambia';
|
||||
$nation['GN']='Guinea';
|
||||
$nation['GP']='Guadalupa';
|
||||
$nation['GQ']='Guinea Equatoriale';
|
||||
$nation['GR']='Grecia';
|
||||
$nation['GS']='Georgia del Sud e Isole Sandwich meridionali';
|
||||
$nation['GT']='Guatemala';
|
||||
$nation['GU']='Guam';
|
||||
$nation['GW']='Guinea Bissau';
|
||||
$nation['GY']='Guyana';
|
||||
$nation['HK']='Hong Kong';
|
||||
$nation['HM']='Isole Heard e McDonald';
|
||||
$nation['HN']='Honduras';
|
||||
$nation['HR']='Croazia';
|
||||
$nation['HT']='Haiti';
|
||||
$nation['HU']='Ungheria';
|
||||
$nation['ID']='Indonesia';
|
||||
$nation['IE']='Irlanda';
|
||||
$nation['IL']='Israele';
|
||||
$nation['IM']='Isola di Man';
|
||||
$nation['IN']='India';
|
||||
$nation['IO']='Territori Britannici dell\'Oceano Indiano';
|
||||
$nation['IQ']='Iraq';
|
||||
$nation['IR']='Iran';
|
||||
$nation['IS']='Islanda';
|
||||
$nation['IT']='Italia';
|
||||
$nation['JE']='Jersey';
|
||||
$nation['JM']='Giamaica';
|
||||
$nation['JO']='Giordania';
|
||||
$nation['JP']='Giappone';
|
||||
$nation['KE']='Kenya';
|
||||
$nation['KG']='Kyrghizistan';
|
||||
$nation['KH']='Cambogia';
|
||||
$nation['KI']='Kiribati';
|
||||
$nation['KM']='Comore';
|
||||
$nation['KN']='Sst. Kitts And Nevis';
|
||||
$nation['KP']='Corea (R.d.p)';
|
||||
$nation['KR']='Corea (Rep.)';
|
||||
$nation['KW']='Kuwait';
|
||||
$nation['KY']='Capo Verde';
|
||||
$nation['KZ']='Kazakhstan';
|
||||
$nation['LA']='Laos';
|
||||
$nation['LB']='Libano';
|
||||
$nation['LC']='St. Lucia';
|
||||
$nation['LI']='Liechtenstein';
|
||||
$nation['LK']='Sri Lanka';
|
||||
$nation['LR']='Liberia';
|
||||
$nation['LS']='Lesotho';
|
||||
$nation['LT']='Lituania';
|
||||
$nation['LU']='Lussemburgo';
|
||||
$nation['LV']='Lettonia';
|
||||
$nation['LY']='Libia';
|
||||
$nation['MA']='Marocco';
|
||||
$nation['MC']='Monaco';
|
||||
$nation['MD']='Moldova';
|
||||
$nation['ME']='Montenegro';
|
||||
$nation['MG']='Madagascar';
|
||||
$nation['MH']='Marshall (Isole)';
|
||||
$nation['MK']='Macedonia';
|
||||
$nation['ML']='Mali';
|
||||
$nation['MM']='Myanmar';
|
||||
$nation['MN']='Mongolia';
|
||||
$nation['MO']='Macao';
|
||||
$nation['MP']='Isole Marianne Settentrionali';
|
||||
$nation['MQ']='Martinica';
|
||||
$nation['MR']='Mauritania';
|
||||
$nation['MS']='Montserrat';
|
||||
$nation['MT']='Malta';
|
||||
$nation['MU']='Mauritius';
|
||||
$nation['MV']='Maldive';
|
||||
$nation['MW']='Malawi';
|
||||
$nation['MX']='Messico';
|
||||
$nation['MY']='Malesia';
|
||||
$nation['MZ']='Mozambico';
|
||||
$nation['NA']='Mozambico';
|
||||
$nation['NC']='Nuova Caledonia';
|
||||
$nation['NE']='Niger';
|
||||
$nation['NF']='Isola Norfolk';
|
||||
$nation['NG']='Nigeria';
|
||||
$nation['NI']='Nicaragua';
|
||||
$nation['NL']='Paesi Bassi';
|
||||
$nation['NO']='Norvegia';
|
||||
$nation['NP']='Nepal';
|
||||
$nation['NR']='Nauru';
|
||||
$nation['NU']='Niue';
|
||||
$nation['NZ']='Nuova Zelanda';
|
||||
$nation['OM']='Oman';
|
||||
$nation['PA']='Panama';
|
||||
$nation['PE']='Peru';
|
||||
$nation['PF']='Polinesia Francese';
|
||||
$nation['PG']='Papua - Nuova Guinea';
|
||||
$nation['PH']='Filippine';
|
||||
$nation['PK']='Pakistan';
|
||||
$nation['PL']='Polonia';
|
||||
$nation['PM']='Saint Pierre e Miquelon';
|
||||
$nation['PN']='Isole Pitcairn';
|
||||
$nation['PR']='Puerto Rico';
|
||||
$nation['PS']='Autorità Palestinese';
|
||||
$nation['PT']='Portogallo';
|
||||
$nation['PW']='Palau';
|
||||
$nation['PY']='Paraguay';
|
||||
$nation['QA']='Qatar';
|
||||
$nation['RE']='Reunion';
|
||||
$nation['RO']='Romania';
|
||||
$nation['RS']='Serbia';
|
||||
$nation['RU']='Russia';
|
||||
$nation['RW']='Ruanda';
|
||||
$nation['SA']='Arabia Saudita';
|
||||
$nation['SB']='Salomone';
|
||||
$nation['SC']='Seychelles';
|
||||
$nation['SD']='Sudan';
|
||||
$nation['SE']='Svezia';
|
||||
$nation['SG']='Singapore';
|
||||
$nation['SH']='Sant\'Elena';
|
||||
$nation['SI']='Slovenia';
|
||||
$nation['SJ']='Svalbard e Jan Mayen';
|
||||
$nation['SK']='Slovacchia';
|
||||
$nation['SL']='Sierra Leone';
|
||||
$nation['SM']='San Marino';
|
||||
$nation['SN']='Senegal';
|
||||
$nation['SO']='Somalia';
|
||||
$nation['SR']='Suriname';
|
||||
$nation['ST']='Sao Tome\' e Principe';
|
||||
$nation['SV']='El Salvador';
|
||||
$nation['SY']='Siria';
|
||||
$nation['SZ']='Swaziland';
|
||||
$nation['TC']='Isole Turks and Caicos';
|
||||
$nation['TD']='Ciad';
|
||||
$nation['TF']='French Southern Territories';
|
||||
$nation['TG']='Togo';
|
||||
$nation['TH']='Thailandia';
|
||||
$nation['TJ']='Tajikistan';
|
||||
$nation['TK']='Tokelau';
|
||||
$nation['TL']='Timor Est';
|
||||
$nation['TM']='Turkmenistan';
|
||||
$nation['TN']='Tunisia';
|
||||
$nation['TO']='Tonga';
|
||||
$nation['TR']='Turchia';
|
||||
$nation['TT']='Trinidad e Tobago';
|
||||
$nation['TV']='Tuvalu';
|
||||
$nation['TW']='Taiwan';
|
||||
$nation['TZ']='Tanzania';
|
||||
$nation['UA']='Ucraina';
|
||||
$nation['UG']='Uganda';
|
||||
$nation['UK']='Regno Unito';
|
||||
$nation['UM']='U.S. Minor Outlying Islands';
|
||||
$nation['US']='Stati Uniti d\'America';
|
||||
$nation['UY']='Uruguay';
|
||||
$nation['UZ']='Uzbekistan';
|
||||
$nation['VA']='Citta del Vaticano';
|
||||
$nation['VC']='St. Vincent';
|
||||
$nation['VE']='Venezuela';
|
||||
$nation['VG']='Isole Vergini Britanniche';
|
||||
$nation['VI']='Isole Vergini Statunitensi';
|
||||
$nation['VN']='Vietnam';
|
||||
$nation['VU']='Vanuatu';
|
||||
$nation['WF']='Wallis e Futuna';
|
||||
$nation['WS']='Samoa';
|
||||
$nation['YE']='Yemen';
|
||||
$nation['YT']='Mayotte';
|
||||
$nation['ZA']='Sudafrica';
|
||||
$nation['ZM']='Zambia';
|
||||
$nation['ZW']='Zimbabwe';
|
||||
?>
|
||||
250
languages/nations_ru.php
Normal file
250
languages/nations_ru.php
Normal file
@@ -0,0 +1,250 @@
|
||||
<?PHP
|
||||
$nation = array();
|
||||
$nation['AD']='Андорра';
|
||||
$nation['AE']='Объединённые Арабские Эмираты (ОАЭ)';
|
||||
$nation['AF']='Афганистан';
|
||||
$nation['AG']='Антигуа и Барбуда';
|
||||
$nation['AI']='Ангилья';
|
||||
$nation['AL']='Албания';
|
||||
$nation['AM']='Армения';
|
||||
$nation['AO']='Ангола';
|
||||
$nation['AQ']='Антарктида';
|
||||
$nation['AR']='Аргентина';
|
||||
$nation['AS']='Американское Самоа';
|
||||
$nation['AT']='Австрия';
|
||||
$nation['AU']='Австралия';
|
||||
$nation['AW']='Аруба';
|
||||
$nation['AX']='Аландские острова';
|
||||
$nation['AZ']='Азербайджан';
|
||||
$nation['BA']='Босния и Герцеговина';
|
||||
$nation['BB']='Барбадос';
|
||||
$nation['BD']='Бангладеш';
|
||||
$nation['BE']='Бельгия';
|
||||
$nation['BF']='Буркина-Фасо';
|
||||
$nation['BG']='Болгария';
|
||||
$nation['BH']='Бахрейн';
|
||||
$nation['BI']='Бурунди';
|
||||
$nation['BJ']='Бенин';
|
||||
$nation['BL']='Сен-Бартелеми-ле-Мей';
|
||||
$nation['BM']='Бермуды';
|
||||
$nation['BN']='Бруней';
|
||||
$nation['BO']='Боливия';
|
||||
$nation['BR']='Бразилия';
|
||||
$nation['BS']='Багамы';
|
||||
$nation['BT']='Бутан';
|
||||
$nation['BV']='Остров Буве';
|
||||
$nation['BW']='Ботсвана';
|
||||
$nation['BY']='Белоруссия';
|
||||
$nation['BZ']='Белиз';
|
||||
$nation['CA']='Канада';
|
||||
$nation['CC']='Кокосовые острова';
|
||||
$nation['CD']='Демократическая Республика Конго';
|
||||
$nation['CF']='Центрально-Африканская Республика';
|
||||
$nation['CG']='Республика Конго';
|
||||
$nation['CH']='Швейцария';
|
||||
$nation['CI']='Кот-д\'Ивуар';
|
||||
$nation['CK']='Острова Кука';
|
||||
$nation['CL']='Чили';
|
||||
$nation['CM']='Камерун';
|
||||
$nation['CN']='Китай';
|
||||
$nation['CO']='Колумбия';
|
||||
$nation['CR']='Коста-Рика';
|
||||
$nation['CS']='Югославия';
|
||||
$nation['CU']='Куба';
|
||||
$nation['CV']='Кабо-Верде';
|
||||
$nation['CW']='Кюрасао';
|
||||
$nation['CX']='Остров Рождества';
|
||||
$nation['CY']='Кипр';
|
||||
$nation['CZ']='Чехия';
|
||||
$nation['DE']='Германия';
|
||||
$nation['DJ']='Джибути';
|
||||
$nation['DK']='Дания';
|
||||
$nation['DM']='Доминика';
|
||||
$nation['DO']='Доминиканская Республика';
|
||||
$nation['DZ']='Алжир';
|
||||
$nation['EC']='Эквадор';
|
||||
$nation['EE']='Эстония';
|
||||
$nation['EG']='Египет';
|
||||
$nation['EH']='Западная Сахара';
|
||||
$nation['ER']='Эритрея';
|
||||
$nation['ES']='Испания';
|
||||
$nation['ET']='Эфиопия';
|
||||
$nation['FI']='Финляндия';
|
||||
$nation['FJ']='Фиджи';
|
||||
$nation['FK']='Фолклендские острова';
|
||||
$nation['FM']='Микронезии, Федеративные Штаты';
|
||||
$nation['FO']='Фарерские острова';
|
||||
$nation['FR']='Франция';
|
||||
$nation['GA']='Габон';
|
||||
$nation['GB']='Соединённое Королевство Великобритании и Северной Ирландии';
|
||||
$nation['GD']='Гренада';
|
||||
$nation['GE']='Грузия';
|
||||
$nation['GF']='Французская Гвиана';
|
||||
$nation['GG']='Гернси';
|
||||
$nation['GH']='Гана';
|
||||
$nation['GI']='Гибралтар';
|
||||
$nation['GL']='Гренландия';
|
||||
$nation['GM']='Гамбия';
|
||||
$nation['GN']='Гвинея';
|
||||
$nation['GP']='Гваделупа';
|
||||
$nation['GQ']='Экваториальная Гвинея';
|
||||
$nation['GR']='Греция';
|
||||
$nation['GS']='Южная Георгия и Южные Сандвичевы Острова';
|
||||
$nation['GT']='Гватемала';
|
||||
$nation['GU']='Гуам';
|
||||
$nation['GW']='Гвинея-Бисау';
|
||||
$nation['GY']='Гайана';
|
||||
$nation['HK']='Гонконг';
|
||||
$nation['HM']='Остров Херд и острова Макдональд';
|
||||
$nation['HN']='Гондурас';
|
||||
$nation['HR']='Хорватия';
|
||||
$nation['HT']='Гаити';
|
||||
$nation['HU']='Венгрия';
|
||||
$nation['ID']='Индонезия';
|
||||
$nation['IE']='Ирландия';
|
||||
$nation['IL']='Израиль';
|
||||
$nation['IM']='Гонки';
|
||||
$nation['IN']='Индия';
|
||||
$nation['IO']='British Indian Ocean Territory';
|
||||
$nation['IQ']='Ирак';
|
||||
$nation['IR']='Иран';
|
||||
$nation['IS']='Исландия';
|
||||
$nation['IT']='Италия';
|
||||
$nation['JE']='Jersey';
|
||||
$nation['JM']='Ямайка';
|
||||
$nation['JO']='Иордания';
|
||||
$nation['JP']='Япония';
|
||||
$nation['KE']='Кения';
|
||||
$nation['KG']='Киргизия';
|
||||
$nation['KH']='Камбоджа';
|
||||
$nation['KI']='Кирибати';
|
||||
$nation['KM']='Коморские острова';
|
||||
$nation['KN']='Сент-Китс и Невис';
|
||||
$nation['KP']='Корея, северная';
|
||||
$nation['KR']='Корея, южная';
|
||||
$nation['KW']='Кувейт';
|
||||
$nation['KY']='Каймановы Острова';
|
||||
$nation['KZ']='Казахстан';
|
||||
$nation['LA']='Лаос';
|
||||
$nation['LB']='Ливан';
|
||||
$nation['LC']='Сент-Люсия';
|
||||
$nation['LI']='Лихтенштейн';
|
||||
$nation['LK']='Шри-Ланка';
|
||||
$nation['LR']='Либерия';
|
||||
$nation['LS']='Лесото';
|
||||
$nation['LT']='Литва';
|
||||
$nation['LU']='Люксембург';
|
||||
$nation['LV']='Латвия';
|
||||
$nation['LY']='Ливия';
|
||||
$nation['MA']='Марокко';
|
||||
$nation['MC']='Монако';
|
||||
$nation['MD']='Молдавия';
|
||||
$nation['ME']='Черногория';
|
||||
$nation['MG']='Мадагаскар';
|
||||
$nation['MH']='Маршалловы Острова';
|
||||
$nation['MK']='Македония';
|
||||
$nation['ML']='Мали';
|
||||
$nation['MM']='Мьянма';
|
||||
$nation['MN']='Монголия';
|
||||
$nation['MO']='Макао';
|
||||
$nation['MP']='Северные Марианские острова';
|
||||
$nation['MQ']='Мартиника';
|
||||
$nation['MR']='Мавритания';
|
||||
$nation['MS']='Монтсерат';
|
||||
$nation['MT']='Мальта';
|
||||
$nation['MU']='Маврикий';
|
||||
$nation['MV']='Мальдивы';
|
||||
$nation['MW']='Малави';
|
||||
$nation['MX']='Мексика';
|
||||
$nation['MY']='Малайзия';
|
||||
$nation['MZ']='Мозамбик';
|
||||
$nation['NA']='Намибия';
|
||||
$nation['NC']='Новая Каледония';
|
||||
$nation['NE']='Нигер';
|
||||
$nation['NF']='Norfolk Island';
|
||||
$nation['NG']='Нигерия';
|
||||
$nation['NI']='Никарагуа';
|
||||
$nation['NL']='Нидерланды';
|
||||
$nation['NO']='Норвегия';
|
||||
$nation['NP']='Непал';
|
||||
$nation['NR']='Науру';
|
||||
$nation['NU']='Ниуэ';
|
||||
$nation['NZ']='Новая Зеландия';
|
||||
$nation['OM']='Оман';
|
||||
$nation['PA']='Панама';
|
||||
$nation['PE']='Перу';
|
||||
$nation['PF']='Французская Полинезия';
|
||||
$nation['PG']='Папуа — Новая Гвинея';
|
||||
$nation['PH']='Филиппины';
|
||||
$nation['PK']='Пакистан';
|
||||
$nation['PL']='Польша';
|
||||
$nation['PM']='St. Pierre und Miquelon';
|
||||
$nation['PN']='Pitcairn Island';
|
||||
$nation['PR']='Пуэрто-Рико';
|
||||
$nation['PS']='палестинской территории';
|
||||
$nation['PT']='Португалия';
|
||||
$nation['PW']='Палау';
|
||||
$nation['PY']='Парагвай';
|
||||
$nation['QA']='Катар';
|
||||
$nation['RE']='Реюньон';
|
||||
$nation['RO']='Румыния';
|
||||
$nation['RS']='Сербия';
|
||||
$nation['RU']='Россия';
|
||||
$nation['RW']='Руанда';
|
||||
$nation['SA']='Саудовская Аравия';
|
||||
$nation['SB']='Соломоновы Острова';
|
||||
$nation['SC']='Сейшельские острова';
|
||||
$nation['SD']='Судан';
|
||||
$nation['SE']='Швеция';
|
||||
$nation['SG']='Сингапур';
|
||||
$nation['SH']='Saint Helena , Ascension und Tristan da Cunha';
|
||||
$nation['SI']='Словения';
|
||||
$nation['SJ']='Svalbard and Jan Mayen Islands';
|
||||
$nation['SK']='Словакия';
|
||||
$nation['SL']='Сьерра-Леоне';
|
||||
$nation['SM']='Сан-Марино';
|
||||
$nation['SN']='Сенегал';
|
||||
$nation['SO']='Сомали';
|
||||
$nation['SR']='Суринам';
|
||||
$nation['ST']='Сан-Томе и Принсипи';
|
||||
$nation['SV']='Эль-Сальвадор';
|
||||
$nation['SY']='Сирия';
|
||||
$nation['SZ']='Свазиленд';
|
||||
$nation['TC']='Turks and Caicos Islands';
|
||||
$nation['TD']='Чад';
|
||||
$nation['TF']='French Southern Territories';
|
||||
$nation['TG']='Того';
|
||||
$nation['TH']='Таиланд';
|
||||
$nation['TJ']='Таджикистан';
|
||||
$nation['TK']='Токелау';
|
||||
$nation['TL']='Восточный Тимор';
|
||||
$nation['TM']='Туркменистан';
|
||||
$nation['TN']='Тунис';
|
||||
$nation['TO']='Тонга';
|
||||
$nation['TR']='Турция';
|
||||
$nation['TT']='Тринидад и Тобаго';
|
||||
$nation['TV']='Тувалу';
|
||||
$nation['TW']='Тайвань';
|
||||
$nation['TZ']='Танзания';
|
||||
$nation['UA']='Украина';
|
||||
$nation['UG']='Уганда';
|
||||
$nation['UK']='Соединённое Королевство';
|
||||
$nation['UM']='U.S. Minor Outlying Islands';
|
||||
$nation['US']='Соединённые Штаты Америки';
|
||||
$nation['UY']='Уругвай';
|
||||
$nation['UZ']='Узбекистан';
|
||||
$nation['VA']='Ватикан';
|
||||
$nation['VC']='Сент-Винсент и Гренадины';
|
||||
$nation['VE']='Венесуэла';
|
||||
$nation['VG']='Британские Виргинские острова';
|
||||
$nation['VI']='Американские Виргинские острова';
|
||||
$nation['VN']='Вьетнам';
|
||||
$nation['VU']='Вануату';
|
||||
$nation['WF']='Острова Уоллис и Футуна';
|
||||
$nation['WS']='Самоа';
|
||||
$nation['YE']='Йемен';
|
||||
$nation['YT']='Mayotte';
|
||||
$nation['ZA']='Южно-Африканская Республика (ЮАР)';
|
||||
$nation['ZM']='Замбия';
|
||||
$nation['ZW']='Зимбабве';
|
||||
?>
|
||||
136
other/config.php
136
other/config.php
@@ -1 +1,135 @@
|
||||
<?php require_once('dbconfig.php');if(isset($db['type'])===false){$db['type']="mysql";}$dbname=$db['dbname'];$dbserver=$db['type'].':host='.$db['host'].';dbname='.$db['dbname'];if($db['type']=='mysql'){$dboptions=array(PDO::MYSQL_ATTR_INIT_COMMAND=>'SET NAMES utf8',PDO::ATTR_PERSISTENT=>true);}else{$dboptions=array();}try{$mysqlcon=new PDO($dbserver,$db['user'],$db['pass'],$dboptions);}catch(PDOException $e){$sqlconerr="SQL Connection failed: ".$e->getMessage()."\n";echo $sqlconerr;exit;}if(($config=$mysqlcon->query("SELECT * FROM config"))===false){$bgcolor='#101010';$hdcolor='#909090';$txcolor='#707070';$hvcolor='#FFFFFF';$ifcolor='#3366CC';$wncolor='#CC0000';$sccolor='#008000';$showgen='1';}else{$config=$config->fetchAll();$ts['host']=$config[0]['tshost'];$ts['query']=$config[0]['tsquery'];$ts['voice']=$config[0]['tsvoice'];$ts['user']=$config[0]['tsuser'];$ts['pass']=$config[0]['tspass'];$webuser=$config[0]['webuser'];$webpass=$config[0]['webpass'];if(!isset($_GET["lang"])){if(isset($_SESSION['language'])){$language=$_SESSION['language'];}else{$language=$config[0]['language'];}}elseif($_GET["lang"]=="de"){$language="de";$_SESSION['language']="de";}elseif($_GET["lang"]=="ru"){$language="ru";$_SESSION['language']="ru";}else{$language="en";$_SESSION['language']="en";}$queryname=$config[0]['queryname'];$queryname2=$config[0]['queryname2'];$slowmode=$config[0]['slowmode'];if(empty($config[0]['grouptime'])){$grouptime=null;}else{$grouptimearr=explode(',',$config[0]['grouptime']);foreach($grouptimearr as $entry){list($key,$value)=explode('=>',$entry);$grouptime[$key]=$value;}}if(empty($config[0]['boost'])){$boostarr=null;}else{$boostexp=explode(',',$config[0]['boost']);foreach($boostexp as $entry){list($key,$value1,$value2)=explode('=>',$entry);$boostarr[$key]=array("group"=>$key,"factor"=>$value1,"time"=>$value2);}}$resetbydbchange=$config[0]['resetbydbchange'];$msgtouser=$config[0]['msgtouser'];$update=$config[0]['upcheck'];$uniqueid=explode(',',$config[0]['uniqueid']);$updateinfotime=$config[0]['updateinfotime'];$currvers=$config[0]['currvers'];$substridle=$config[0]['substridle'];$exceptuuid=explode(',',$config[0]['exceptuuid']);$exceptgroup=explode(',',$config[0]['exceptgroup']);$timeformat=$config[0]['dateformat'];$showexgrp=$config[0]['showexgrp'];$showexcld=$config[0]['showexcld'];$showhighest=$config[0]['showhighest'];$showcolrg=$config[0]['showcolrg'];$showcolcld=$config[0]['showcolcld'];$showcoluuid=$config[0]['showcoluuid'];$showcoldbid=$config[0]['showcoldbid'];$showcolls=$config[0]['showcolls'];$showcolot=$config[0]['showcolot'];$showcolit=$config[0]['showcolit'];$showcolat=$config[0]['showcolat'];$showcolas=$config[0]['showcolas'];$showcolnx=$config[0]['showcolnx'];$showcolsg=$config[0]['showcolsg'];$bgcolor=$config[0]['bgcolor'];$hdcolor=$config[0]['hdcolor'];$txcolor=$config[0]['txcolor'];$hvcolor=$config[0]['hvcolor'];$ifcolor=$config[0]['ifcolor'];$wncolor=$config[0]['wncolor'];$sccolor=$config[0]['sccolor'];$showgen=$config[0]['showgen'];$cleanclients=$config[0]['cleanclients'];$cleanperiod=$config[0]['cleanperiod'];$defchid=$config[0]['defchid'];$logpath=$config[0]['logpath'];if($config[0]['timezone']==NULL){$timezone="Europe/Berlin";}else{$timezone=$config[0]['timezone'];}date_default_timezone_set($timezone);}if(!isset($language)||$language=="en"){require_once(substr(dirname(__FILE__),0,-5).'languages/core_en.php');}elseif($language=="de"){require_once(substr(dirname(__FILE__),0,-5).'languages/core_de.php');}elseif($language=="ru"){require_once(substr(dirname(__FILE__),0,-5).'languages/core_ru.php');}?>
|
||||
<?PHP
|
||||
require_once('dbconfig.php');
|
||||
if(isset($db['type']) === false) {
|
||||
$db['type']="mysql";
|
||||
}
|
||||
$dbname = $db['dbname'];
|
||||
$dbserver = $db['type'].':host='.$db['host'].';dbname='.$db['dbname'];
|
||||
if ($db['type'] == 'mysql') {
|
||||
$dboptions = array(
|
||||
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
|
||||
PDO::ATTR_PERSISTENT => true
|
||||
);
|
||||
} else {
|
||||
$dboptions = array();
|
||||
}
|
||||
|
||||
try {
|
||||
$mysqlcon = new PDO($dbserver, $db['user'], $db['pass'], $dboptions);
|
||||
} catch (PDOException $e) {
|
||||
$sqlconerr = "SQL Connection failed: ".$e->getMessage()."\n";
|
||||
echo $sqlconerr;
|
||||
// open function mail here and try to ts3 msg (perhaps uuid out of text file; mysqlconf?)
|
||||
exit;
|
||||
}
|
||||
if (($config = $mysqlcon->query("SELECT * FROM config")) === false) {
|
||||
$bgcolor = '#101010';
|
||||
$hdcolor = '#909090';
|
||||
$txcolor = '#707070';
|
||||
$hvcolor = '#FFFFFF';
|
||||
$ifcolor = '#3366CC';
|
||||
$wncolor = '#CC0000';
|
||||
$sccolor = '#008000';
|
||||
$showgen = '1';
|
||||
} else {
|
||||
$config = $config->fetchAll();
|
||||
$ts['host'] = $config[0]['tshost'];
|
||||
$ts['query'] = $config[0]['tsquery'];
|
||||
$ts['voice'] = $config[0]['tsvoice'];
|
||||
$ts['user'] = $config[0]['tsuser'];
|
||||
$ts['pass'] = $config[0]['tspass'];
|
||||
$webuser = $config[0]['webuser'];
|
||||
$webpass = $config[0]['webpass'];
|
||||
if(!isset($_GET["lang"])) {
|
||||
if(isset($_SESSION['language'])) {
|
||||
$language = $_SESSION['language'];
|
||||
} else {
|
||||
$language = $config[0]['language'];
|
||||
}
|
||||
} elseif($_GET["lang"] == "de") {
|
||||
$language = "de";
|
||||
$_SESSION['language'] = "de";
|
||||
} elseif($_GET["lang"] == "ru") {
|
||||
$language = "ru";
|
||||
$_SESSION['language'] = "ru";
|
||||
} elseif($_GET["lang"] == "it") {
|
||||
$language = "it";
|
||||
$_SESSION['language'] = "it";
|
||||
} else {
|
||||
$language = "en";
|
||||
$_SESSION['language'] = "en";
|
||||
}
|
||||
$queryname = $config[0]['queryname'];
|
||||
$queryname2 = $config[0]['queryname2'];
|
||||
$slowmode = $config[0]['slowmode'];
|
||||
if(empty($config[0]['grouptime'])) {
|
||||
$grouptime = null;
|
||||
} else {
|
||||
$grouptimearr = explode(',', $config[0]['grouptime']);
|
||||
foreach ($grouptimearr as $entry) {
|
||||
list($key, $value) = explode('=>', $entry);
|
||||
$grouptime[$key] = $value;
|
||||
}
|
||||
}
|
||||
if(empty($config[0]['boost'])) {
|
||||
$boostarr = null;
|
||||
} else {
|
||||
$boostexp = explode(',', $config[0]['boost']);
|
||||
foreach ($boostexp as $entry) {
|
||||
list($key, $value1, $value2) = explode('=>', $entry);
|
||||
$boostarr[$key] = array("group"=>$key,"factor"=>$value1,"time"=>$value2);
|
||||
}
|
||||
}
|
||||
$resetbydbchange = $config[0]['resetbydbchange'];
|
||||
$msgtouser = $config[0]['msgtouser'];
|
||||
$update = $config[0]['upcheck'];
|
||||
$uniqueid = explode(',', $config[0]['uniqueid']);
|
||||
$updateinfotime = $config[0]['updateinfotime'];
|
||||
$currvers = $config[0]['currvers'];
|
||||
$substridle = $config[0]['substridle'];
|
||||
$exceptuuid = explode(',', $config[0]['exceptuuid']);
|
||||
$exceptgroup = explode(',', $config[0]['exceptgroup']);
|
||||
$timeformat = $config[0]['dateformat'];
|
||||
$showexgrp = $config[0]['showexgrp'];
|
||||
$showexcld = $config[0]['showexcld'];
|
||||
$showhighest = $config[0]['showhighest'];
|
||||
$showcolrg = $config[0]['showcolrg'];
|
||||
$showcolcld = $config[0]['showcolcld'];
|
||||
$showcoluuid = $config[0]['showcoluuid'];
|
||||
$showcoldbid = $config[0]['showcoldbid'];
|
||||
$showcolls = $config[0]['showcolls'];
|
||||
$showcolot = $config[0]['showcolot'];
|
||||
$showcolit = $config[0]['showcolit'];
|
||||
$showcolat = $config[0]['showcolat'];
|
||||
$showcolas = $config[0]['showcolas'];
|
||||
$showcolnx = $config[0]['showcolnx'];
|
||||
$showcolsg = $config[0]['showcolsg'];
|
||||
$bgcolor = $config[0]['bgcolor'];
|
||||
$hdcolor = $config[0]['hdcolor'];
|
||||
$txcolor = $config[0]['txcolor'];
|
||||
$hvcolor = $config[0]['hvcolor'];
|
||||
$ifcolor = $config[0]['ifcolor'];
|
||||
$wncolor = $config[0]['wncolor'];
|
||||
$sccolor = $config[0]['sccolor'];
|
||||
$showgen = $config[0]['showgen'];
|
||||
$cleanclients = $config[0]['cleanclients'];
|
||||
$cleanperiod = $config[0]['cleanperiod'];
|
||||
$defchid = $config[0]['defchid'];
|
||||
$logpath = $config[0]['logpath'];
|
||||
if ($config[0]['timezone'] == NULL) {
|
||||
$timezone = "Europe/Berlin";
|
||||
} else {
|
||||
$timezone = $config[0]['timezone'];
|
||||
}
|
||||
date_default_timezone_set($timezone);
|
||||
}
|
||||
if(!isset($language) || $language == "en") {
|
||||
require_once(substr(dirname(__FILE__),0,-5).'languages/core_en.php');
|
||||
} elseif($language == "de") {
|
||||
require_once(substr(dirname(__FILE__),0,-5).'languages/core_de.php');
|
||||
} elseif($language == "ru") {
|
||||
require_once(substr(dirname(__FILE__),0,-5).'languages/core_ru.php');
|
||||
} elseif($language == "it") {
|
||||
require_once(substr(dirname(__FILE__),0,-5).'languages/core_it.php');
|
||||
}
|
||||
?>
|
||||
@@ -1,4 +1,8 @@
|
||||
<?php $configs=$mysqlcon->query("SELECT * FROM config");$configs=$configs->fetch(PDO::FETCH_ASSOC);echo '<table class="tabledefault">
|
||||
<?PHP
|
||||
$configs = $mysqlcon->query("SELECT * FROM config");
|
||||
$configs = $configs->fetch(PDO::FETCH_ASSOC);
|
||||
|
||||
echo '<table class="tabledefault">
|
||||
<tr><td class="right"><a href="webinterface.php?logout=true">', $lang['wilogout'], '</a></td></tr>
|
||||
<tr><td class="center size1">', $lang['wihl'], '</td></tr>
|
||||
<tr><td class="center">', sprintf($lang['wiversion'], $configs['currvers']), '</td></tr>
|
||||
@@ -34,10 +38,24 @@
|
||||
<td class="tdlefth"><input type="number" name="defchid" value="', $configs['defchid'], '" class="width" tabindex="8"></td></tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr><td class="tdrighth tooltip">', $lang['wits3sm'], '<span>', $lang['wits3smdesc'], '</span><em class="elevated wncolor"> new</em></td>
|
||||
<td class="tdlefth"><select name="slowmode" class="width" tabindex="9">';echo '<option value="0"';if($configs['slowmode']=="0")echo "selected=selected";echo '">Realtime (deactivated) [recommended]</option>';echo '<option value="200000"';if($configs['slowmode']=="200000")echo "selected=selected";echo '">Low delay (0,2s)</option>';echo '<option value="500000"';if($configs['slowmode']=="500000")echo "selected=selected";echo '">Middle delay (0,5s)</option>';echo '<option value="1000000"';if($configs['slowmode']=="1000000")echo "selected=selected";echo '">High delay (1s)</option>';echo '</select></td></tr>
|
||||
<td class="tdlefth"><select name="slowmode" class="width" tabindex="9">';
|
||||
echo '<option value="0"'; if($configs['slowmode']=="0") echo "selected=selected"; echo '">Realtime (deactivated) [recommended]</option>';
|
||||
echo '<option value="200000"'; if($configs['slowmode']=="200000") echo "selected=selected"; echo '">Low delay (0,2s)</option>';
|
||||
echo '<option value="500000"'; if($configs['slowmode']=="500000") echo "selected=selected"; echo '">Middle delay (0,5s)</option>';
|
||||
echo '<option value="1000000"'; if($configs['slowmode']=="1000000") echo "selected=selected"; echo '">High delay (1s)</option>';
|
||||
echo '</select></td></tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr><td class="tdrighth tooltip">',$lang['witime'],'<span>', $lang['witimedesc'], '</span><em class="elevated wncolor"> new</em></td>
|
||||
<td class="tdlefth"><select name="timezone" class="width" tabindex="10">';$timezonearr=DateTimeZone::listIdentifiers();foreach($timezonearr as $timez){if($timez==$timezone){echo '<option value="'.$timezone,'" selected=selected>',$timezone,'</option>';}else{echo '<option value="',$timez,'">',$timez,'</option>';}}echo '</select></td></tr>
|
||||
<td class="tdlefth"><select name="timezone" class="width" tabindex="10">';
|
||||
$timezonearr = DateTimeZone::listIdentifiers();
|
||||
foreach ($timezonearr as $timez) {
|
||||
if ($timez == $timezone) {
|
||||
echo '<option value="'.$timezone,'" selected=selected>',$timezone,'</option>';
|
||||
} else {
|
||||
echo '<option value="',$timez,'">',$timez,'</option>';
|
||||
}
|
||||
}
|
||||
echo '</select></td></tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr><td> </td><td class="tdlefth"><input type="submit" name="updatets" value="', $lang['wisvconf'], '" tabindex="11"></td></tr>
|
||||
</table></form>
|
||||
@@ -54,7 +72,20 @@
|
||||
<table class="tabledefault">
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr><td class="tdrighth tooltip">',$lang['isntwidbtype'],'<span>', $lang['isntwidbtypedesc'], '</span></td>
|
||||
<td class="tdlefth"><select name="dbtype" class="width" tabindex="1">';echo '<option value="cubrid"';if($db['type']=="cubrid")echo "selected=selected";echo '">cubrid - Cubrid</option>';echo '<option value="dblib"';if($db['type']=="dblib")echo "selected=selected";echo '">dblib - FreeTDS / Microsoft SQL Server / Sybase</option>';echo '<option value="firebird"';if($db['type']=="firebird")echo "selected=selected";echo '">firebird - Firebird/Interbase 6</option>';echo '<option value="ibm"';if($db['type']=="ibm")echo "selected=selected";echo '">ibm - IBM DB2</option>';echo '<option value="informix"';if($db['type']=="informix")echo "selected=selected";echo '">informix - IBM Informix Dynamic Server</option>';echo '<option value="mysql"';if($db['type']=="mysql")echo "selected=selected";echo '">mysql - MySQL 3.x/4.x/5.x [recommend]</option>';echo '<option value="oci"';if($db['type']=="oci")echo "selected=selected";echo '">oci - Oracle Call Interface</option>';echo '<option value="odbc"';if($db['type']=="odbc")echo "selected=selected";echo '">odbc - ODBC v3 (IBM DB2, unixODBC und win32 ODBC)</option>';echo '<option value="pgsql"';if($db['type']=="pgsql")echo "selected=selected";echo '">pgsql - PostgreSQL</option>';echo '<option value="sqlite"';if($db['type']=="sqlite")echo "selected=selected";echo '">sqlite - SQLite 3 und SQLite 2</option>';echo '<option value="sqlsrv"';if($db['type']=="sqlsrv")echo "selected=selected";echo '">sqlsrv - Microsoft SQL Server / SQL Azure</option>';echo '<option value="4d"';if($db['type']=="4d")echo "selected=selected";echo '">4d - 4D</option>';echo '</select></td></tr>
|
||||
<td class="tdlefth"><select name="dbtype" class="width" tabindex="1">';
|
||||
echo '<option value="cubrid"'; if($db['type']=="cubrid") echo "selected=selected"; echo '">cubrid - Cubrid</option>';
|
||||
echo '<option value="dblib"'; if($db['type']=="dblib") echo "selected=selected"; echo '">dblib - FreeTDS / Microsoft SQL Server / Sybase</option>';
|
||||
echo '<option value="firebird"'; if($db['type']=="firebird") echo "selected=selected"; echo '">firebird - Firebird/Interbase 6</option>';
|
||||
echo '<option value="ibm"'; if($db['type']=="ibm") echo "selected=selected"; echo '">ibm - IBM DB2</option>';
|
||||
echo '<option value="informix"'; if($db['type']=="informix") echo "selected=selected"; echo '">informix - IBM Informix Dynamic Server</option>';
|
||||
echo '<option value="mysql"'; if($db['type']=="mysql") echo "selected=selected"; echo '">mysql - MySQL 3.x/4.x/5.x [recommend]</option>';
|
||||
echo '<option value="oci"'; if($db['type']=="oci") echo "selected=selected"; echo '">oci - Oracle Call Interface</option>';
|
||||
echo '<option value="odbc"'; if($db['type']=="odbc") echo "selected=selected"; echo '">odbc - ODBC v3 (IBM DB2, unixODBC und win32 ODBC)</option>';
|
||||
echo '<option value="pgsql"'; if($db['type']=="pgsql") echo "selected=selected"; echo '">pgsql - PostgreSQL</option>';
|
||||
echo '<option value="sqlite"'; if($db['type']=="sqlite") echo "selected=selected"; echo '">sqlite - SQLite 3 und SQLite 2</option>';
|
||||
echo '<option value="sqlsrv"'; if($db['type']=="sqlsrv") echo "selected=selected"; echo '">sqlsrv - Microsoft SQL Server / SQL Azure</option>';
|
||||
echo '<option value="4d"'; if($db['type']=="4d") echo "selected=selected"; echo '">4d - 4D</option>';
|
||||
echo '</select></td></tr>
|
||||
<tr><td class="tdrighth tooltip">'.$lang['isntwidbhost'].'<span>', $lang['isntwidbhostdesc'], '</span></td>
|
||||
<td class="tdlefth"><input type="text" name="dbhost" value="', $db['host'], '" class="width" tabindex="2"></td></tr>
|
||||
<tr><td class="tdrighth tooltip">'.$lang['isntwidbusr'].'<span>', $lang['isntwidbusrdesc'], '</span></td>
|
||||
@@ -80,30 +111,60 @@
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr><td class="tdrighth tooltip">', $lang['wigrptime'], '<span>', $lang['wigrptimedesc'], '</span></td>
|
||||
<td class="tdlefth"><textarea rows="2" cols="30" name="grouptime" class="width" tabindex="1">', $configs['grouptime'], '</textarea></td></tr>
|
||||
<tr><td class="tdrighth tooltip">',$lang['wisupidle'],'<span>',$lang['wisupidledesc'],'</span></td>';if($configs['substridle']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch201" name="substridle" class="switch" checked class="width" tabindex="2">
|
||||
<label for="switch201"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch201" name="substridle" class="switch" class="width" tabindex="2">
|
||||
<label for="switch201"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['wimsgusr'],'<span>',$lang['wimsgusrdesc'],'</span></td>';if($configs['msgtouser']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch202" name="msgtouser" class="switch" checked class="width" tabindex="3">
|
||||
<label for="switch202"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch202" name="msgtouser" class="switch" class="width" tabindex="3">
|
||||
<label for="switch202"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['wiexgrp'],'<span>',$lang['wiexgrpdesc'],'</span></td>
|
||||
<tr><td class="tdrighth tooltip">', $lang['wisupidle'], '<span>', $lang['wisupidledesc'], '</span></td>';
|
||||
if ($configs['substridle'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch201" name="substridle" class="switch" checked class="width" tabindex="2">
|
||||
<label for="switch201"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch201" name="substridle" class="switch" class="width" tabindex="2">
|
||||
<label for="switch201"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['wimsgusr'], '<span>', $lang['wimsgusrdesc'], '</span></td>';
|
||||
if ($configs['msgtouser'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch202" name="msgtouser" class="switch" checked class="width" tabindex="3">
|
||||
<label for="switch202"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch202" name="msgtouser" class="switch" class="width" tabindex="3">
|
||||
<label for="switch202"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['wiexgrp'], '<span>', $lang['wiexgrpdesc'], '</span></td>
|
||||
<td class="tdlefth"><textarea rows="1" cols="30" name="exceptgroup" class="width" tabindex="4">', $configs['exceptgroup'], '</textarea></td></tr>
|
||||
<tr><td class="tdrighth tooltip">', $lang['wiexuid'], '<span>', $lang['wiexuiddesc'], '</span></td>
|
||||
<td class="tdlefth"><textarea rows="2" cols="30" name="exceptuuid" class="width" tabindex="5">', $configs['exceptuuid'], '</textarea></td></tr>
|
||||
<tr><td class="tdrighth tooltip">', $lang['wiboost'], '<span>', $lang['wiboostdesc'], '</span><em class="elevated wncolor"> new</em></td>
|
||||
<td class="tdlefth"><textarea rows="2" cols="30" name="boost" class="width" tabindex="6">', $configs['boost'], '</textarea></td></tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr><td class="tdrighth tooltip">',$lang['wichdbid'],'<span>',$lang['wichdbiddesc'],'</span></td>';if($configs['resetbydbchange']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch203" name="resetbydbchange" class="switch" checked class="width" tabindex="7">
|
||||
<label for="switch203"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch203" name="resetbydbchange" class="switch" class="width" tabindex="7">
|
||||
<label for="switch203"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['cleanc'],'<span>',$lang['cleancdesc'],'</span></td>';if($configs['cleanclients']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch204" name="cleanclients" class="switch" checked class="width" tabindex="8">
|
||||
<label for="switch204"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch204" name="cleanclients" class="switch" class="width" tabindex="8">
|
||||
<label for="switch204"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['cleanp'],'<span>',$lang['cleanpdesc'],'</span></td>
|
||||
<tr><td class="tdrighth tooltip">', $lang['wichdbid'], '<span>', $lang['wichdbiddesc'], '</span></td>';
|
||||
if ($configs['resetbydbchange'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch203" name="resetbydbchange" class="switch" checked class="width" tabindex="7">
|
||||
<label for="switch203"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch203" name="resetbydbchange" class="switch" class="width" tabindex="7">
|
||||
<label for="switch203"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['cleanc'], '<span>', $lang['cleancdesc'], '</span></td>';
|
||||
if ($configs['cleanclients'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch204" name="cleanclients" class="switch" checked class="width" tabindex="8">
|
||||
<label for="switch204"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch204" name="cleanclients" class="switch" class="width" tabindex="8">
|
||||
<label for="switch204"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['cleanp'], '<span>', $lang['cleanpdesc'], '</span></td>
|
||||
<td class="tdlefth"><input type="number" name="cleanperiod" value="', $configs['cleanperiod'], '" class="width" tabindex="9"></td></tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr><td class="tdrighth tooltip">'.$lang['wilog'].'<span>', $lang['wilogdesc'], '</span><em class="elevated wncolor"> new</em></td>
|
||||
<td class="tdlefth"><input type="text" name="logpath" value="', $configs['logpath'], '" class="width" tabindex="10"></td></tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr><td class="tdrighth tooltip">',$lang['wiupcheck'],'<span>',$lang['wiupcheckdesc'],'</span></td>';if($configs['upcheck']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch205" name="upcheck" class="switch" checked class="width" tabindex="11">
|
||||
<label for="switch205"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch205" name="upcheck" class="switch" class="width" tabindex="11">
|
||||
<label for="switch205"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['wiupuid'],'<span>',$lang['wiupuiddesc'],'</span></td>
|
||||
<tr><td class="tdrighth tooltip">', $lang['wiupcheck'], '<span>', $lang['wiupcheckdesc'], '</span></td>';
|
||||
if ($configs['upcheck'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch205" name="upcheck" class="switch" checked class="width" tabindex="11">
|
||||
<label for="switch205"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch205" name="upcheck" class="switch" class="width" tabindex="11">
|
||||
<label for="switch205"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['wiupuid'], '<span>', $lang['wiupuiddesc'], '</span></td>
|
||||
<td class="tdlefth"><textarea rows="2" cols="30" name="uniqueid" class="width" tabindex="12">', $configs['uniqueid'], '</textarea></td></tr>
|
||||
<tr><td class="tdrighth tooltip">', $lang['wiuptime'], '<span>', $lang['wiuptimedesc'], '</span></td>
|
||||
<td class="tdlefth"><input type="number" min="1800" name="updateinfotime" value="', $configs['updateinfotime'], '" class="width" tabindex="13" ></td></tr>
|
||||
@@ -121,40 +182,129 @@
|
||||
<table class="tabledefault">
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr><td class="tdrighth tooltip">', $lang['wivlang'], '<span>', sprintf($lang['wivlangdesc'], "<br>"), '</span></td>
|
||||
<td class="tdlefth"><select name="languagedb" class="width" tabindex="1">';echo($language==='en'?'<option value="en" selected="selected">english</option>':'<option value="en">english</option>');echo($language==='de'?'<option value="de" selected="selected">german</option>':'<option value="de">german</option>');echo($language==='ru'?'<option value="ru" selected="selected">русский</option>':'<option value="ru">русский</option>');echo '</select></td></tr>
|
||||
<td class="tdlefth"><select name="languagedb" class="width" tabindex="1">';
|
||||
echo ($language === 'de' ? '<option value="de" selected="selected">'.$lang['stnv0031'].'</option>' : '<option value="de">'.$lang['stnv0031'].'</option>');
|
||||
echo ($language === 'en' ? '<option value="en" selected="selected">'.$lang['stnv0032'].'</option>' : '<option value="en">'.$lang['stnv0032'].'</option>');
|
||||
echo ($language === 'it' ? '<option value="it" selected="selected">'.$lang['stnv0034'].'</option>' : '<option value="it">'.$lang['stnv0034'].'</option>');
|
||||
echo ($language === 'ru' ? '<option value="ru" selected="selected">'.$lang['stnv0033'].'</option>' : '<option value="ru">'.$lang['stnv0033'].'</option>');
|
||||
echo '</select></td></tr>
|
||||
<tr><td class="tdrighth tooltip">', $lang['widaform'], '<span>', $lang['widaformdesc'], '</span></td>
|
||||
<td class="tdlefth"><input type="text" name="dateformat" value="', $configs['dateformat'], '" class="width" tabindex="2"></td></tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr><td class="tdrighth tooltip">',$lang['wishexgrp'],'<span>',$lang['wishexgrpdesc'],'</span></td>';if($configs['showexgrp']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch301" name="showexgrp" class="switch" checked class="width" tabindex="3">
|
||||
<label for="switch301"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch301" name="showexgrp" class="switch" class="width" tabindex="3">
|
||||
<label for="switch301"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['wishexcld'],'<span>',$lang['wishexclddesc'],'</span></td>';if($configs['showexcld']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch302" name="showexcld" class="switch" checked class="width" tabindex="4">
|
||||
<label for="switch302"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch302" name="showexcld" class="switch" class="width" tabindex="4">
|
||||
<label for="switch302"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['wishhicld'],'<span>',$lang['wishhiclddesc'],'</span></td>';if($configs['showhighest']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch303" name="showhighest" class="switch" checked class="width" tabindex="5">
|
||||
<label for="switch303"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch303" name="showhighest" class="switch" class="width" tabindex="5">
|
||||
<label for="switch303"> </label></div></td></tr>';}echo '<tr><td colspan="2"> </td></tr>
|
||||
<tr><td class="tdrighth tooltip">',$lang['wishcolrg'],'<span>',$lang['wishcolrgdesc'],'</span></td>';if($configs['showcolrg']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch304" name="showcolrg" class="switch" checked class="width" tabindex="6">
|
||||
<label for="switch304"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch304" name="showcolrg" class="switch" class="width" tabindex="6">
|
||||
<label for="switch304"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['wishcolcld'],'<span>',$lang['wishcolclddesc'],'</span></td>';if($configs['showcolcld']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch305" name="showcolcld" class="switch" checked class="width" tabindex="7">
|
||||
<label for="switch305"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch305" name="showcolcld" class="switch" class="width" tabindex="7">
|
||||
<label for="switch305"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['wishcoluuid'],'<span>',$lang['wishcoluuiddesc'],'</span></td>';if($configs['showcoluuid']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch306" name="showcoluuid" class="switch" checked class="width" tabindex="8">
|
||||
<label for="switch306"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch306" name="showcoluuid" class="switch" class="width" tabindex="8">
|
||||
<label for="switch306"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['wishcoldbid'],'<span>',$lang['wishcoldbiddesc'],'</span></td>';if($configs['showcoldbid']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch307" name="showcoldbid" class="switch" checked class="width" tabindex="9">
|
||||
<label for="switch307"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch307" name="showcoldbid" class="switch" class="width" tabindex="9">
|
||||
<label for="switch307"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['wishcolls'],'<span>',$lang['wishcollsdesc'],'</span></td>';if($configs['showcolls']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch308" name="showcolls" class="switch" checked class="width" tabindex="10">
|
||||
<label for="switch308"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch308" name="showcolls" class="switch" class="width" tabindex="10">
|
||||
<label for="switch308"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['wishcolot'],'<span>',$lang['wishcolotdesc'],'</span></td>';if($configs['showcolot']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch309" name="showcolot" class="switch" checked class="width" tabindex="11">
|
||||
<label for="switch309"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch309" name="showcolot" class="switch" class="width" tabindex="11">
|
||||
<label for="switch309"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['wishcolit'],'<span>',$lang['wishcolitdesc'],'</span></td>';if($configs['showcolit']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch310" name="showcolit" class="switch" checked class="width" tabindex="12">
|
||||
<label for="switch310"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch310" name="showcolit" class="switch" class="width" tabindex="12">
|
||||
<label for="switch310"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['wishcolat'],'<span>',$lang['wishcolatdesc'],'</span></td>';if($configs['showcolat']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch311" name="showcolat" class="switch" checked class="width" tabindex="13">
|
||||
<label for="switch311"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch311" name="showcolat" class="switch" class="width" tabindex="13">
|
||||
<label for="switch311"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['wishcolas'],'<span>',$lang['wishcolasdesc'],'</span></td>';if($configs['showcolas']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch312" name="showcolas" class="switch" checked class="width" tabindex="14">
|
||||
<label for="switch312"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch312" name="showcolas" class="switch" class="width" abindex="14">
|
||||
<label for="switch312"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['wishcolnx'],'<span>',$lang['wishcolnxdesc'],'</span></td>';if($configs['showcolnx']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch313" name="showcolnx" class="switch" checked class="width" tabindex="15">
|
||||
<label for="switch313"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch313" name="showcolnx" class="switch" class="width" tabindex="15">
|
||||
<label for="switch313"> </label></div></td></tr>';}echo '<tr><td class="tdrighth tooltip">',$lang['wishcolsg'],'<span>',$lang['wishcolsgdesc'],'</span><em class="elevated wncolor"> new</em></td>';if($configs['showcolsg']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch314" name="showcolsg" class="switch" checked class="width" tabindex="16">
|
||||
<label for="switch314"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch314" name="showcolsg" class="switch" class="width" tabindex="16">
|
||||
<label for="switch314"> </label></div></td></tr>';}echo '<tr><td colspan="2"> </td></tr>
|
||||
<tr><td class="tdrighth tooltip">', $lang['wishexgrp'], '<span>', $lang['wishexgrpdesc'], '</span></td>';
|
||||
if ($configs['showexgrp'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch301" name="showexgrp" class="switch" checked class="width" tabindex="3">
|
||||
<label for="switch301"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch301" name="showexgrp" class="switch" class="width" tabindex="3">
|
||||
<label for="switch301"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['wishexcld'], '<span>', $lang['wishexclddesc'], '</span></td>';
|
||||
if ($configs['showexcld'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch302" name="showexcld" class="switch" checked class="width" tabindex="4">
|
||||
<label for="switch302"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch302" name="showexcld" class="switch" class="width" tabindex="4">
|
||||
<label for="switch302"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['wishhicld'], '<span>', $lang['wishhiclddesc'], '</span></td>';
|
||||
if ($configs['showhighest'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch303" name="showhighest" class="switch" checked class="width" tabindex="5">
|
||||
<label for="switch303"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch303" name="showhighest" class="switch" class="width" tabindex="5">
|
||||
<label for="switch303"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td colspan="2"> </td></tr>
|
||||
<tr><td class="tdrighth tooltip">', $lang['wishcolrg'], '<span>', $lang['wishcolrgdesc'], '</span></td>';
|
||||
if ($configs['showcolrg'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch304" name="showcolrg" class="switch" checked class="width" tabindex="6">
|
||||
<label for="switch304"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch304" name="showcolrg" class="switch" class="width" tabindex="6">
|
||||
<label for="switch304"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['wishcolcld'], '<span>', $lang['wishcolclddesc'], '</span></td>';
|
||||
if ($configs['showcolcld'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch305" name="showcolcld" class="switch" checked class="width" tabindex="7">
|
||||
<label for="switch305"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch305" name="showcolcld" class="switch" class="width" tabindex="7">
|
||||
<label for="switch305"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['wishcoluuid'], '<span>', $lang['wishcoluuiddesc'], '</span></td>';
|
||||
if ($configs['showcoluuid'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch306" name="showcoluuid" class="switch" checked class="width" tabindex="8">
|
||||
<label for="switch306"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch306" name="showcoluuid" class="switch" class="width" tabindex="8">
|
||||
<label for="switch306"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['wishcoldbid'], '<span>', $lang['wishcoldbiddesc'], '</span></td>';
|
||||
if ($configs['showcoldbid'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch307" name="showcoldbid" class="switch" checked class="width" tabindex="9">
|
||||
<label for="switch307"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch307" name="showcoldbid" class="switch" class="width" tabindex="9">
|
||||
<label for="switch307"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['wishcolls'], '<span>', $lang['wishcollsdesc'], '</span></td>';
|
||||
if ($configs['showcolls'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch308" name="showcolls" class="switch" checked class="width" tabindex="10">
|
||||
<label for="switch308"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch308" name="showcolls" class="switch" class="width" tabindex="10">
|
||||
<label for="switch308"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['wishcolot'], '<span>', $lang['wishcolotdesc'], '</span></td>';
|
||||
if ($configs['showcolot'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch309" name="showcolot" class="switch" checked class="width" tabindex="11">
|
||||
<label for="switch309"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch309" name="showcolot" class="switch" class="width" tabindex="11">
|
||||
<label for="switch309"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['wishcolit'], '<span>', $lang['wishcolitdesc'], '</span></td>';
|
||||
if ($configs['showcolit'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch310" name="showcolit" class="switch" checked class="width" tabindex="12">
|
||||
<label for="switch310"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch310" name="showcolit" class="switch" class="width" tabindex="12">
|
||||
<label for="switch310"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['wishcolat'], '<span>', $lang['wishcolatdesc'], '</span></td>';
|
||||
if ($configs['showcolat'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch311" name="showcolat" class="switch" checked class="width" tabindex="13">
|
||||
<label for="switch311"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch311" name="showcolat" class="switch" class="width" tabindex="13">
|
||||
<label for="switch311"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['wishcolas'], '<span>', $lang['wishcolasdesc'], '</span></td>';
|
||||
if ($configs['showcolas'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch312" name="showcolas" class="switch" checked class="width" tabindex="14">
|
||||
<label for="switch312"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch312" name="showcolas" class="switch" class="width" abindex="14">
|
||||
<label for="switch312"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['wishcolnx'], '<span>', $lang['wishcolnxdesc'], '</span></td>';
|
||||
if ($configs['showcolnx'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch313" name="showcolnx" class="switch" checked class="width" tabindex="15">
|
||||
<label for="switch313"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch313" name="showcolnx" class="switch" class="width" tabindex="15">
|
||||
<label for="switch313"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td class="tdrighth tooltip">', $lang['wishcolsg'], '<span>', $lang['wishcolsgdesc'], '</span><em class="elevated wncolor"> new</em></td>';
|
||||
if ($configs['showcolsg'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch314" name="showcolsg" class="switch" checked class="width" tabindex="16">
|
||||
<label for="switch314"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch314" name="showcolsg" class="switch" class="width" tabindex="16">
|
||||
<label for="switch314"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td colspan="2"> </td></tr>
|
||||
<tr><td class="tdrighth tooltip">', $lang['wibgco'], '<span>', $lang['wibgcodesc'], '</span></td>
|
||||
<td class="tdlefth"><input type="text" name="bgcolor" value="', $configs['bgcolor'], '" class="width" tabindex="17"></td></tr>
|
||||
<tr><td class="tdrighth tooltip">', $lang['wihdco'], '<span>', $lang['wihdcodesc'], '</span></td>
|
||||
@@ -170,9 +320,15 @@
|
||||
<tr><td class="tdrighth tooltip">', $lang['wiscco'], '<span>', $lang['wisccodesc'], '</span></td>
|
||||
<td class="tdlefth"><input type="text" name="sccolor" value="', $configs['sccolor'], '" class="width" tabindex="23"></td></tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr><td class="tdrighth tooltip">',$lang['wishgen'],'<span>',$lang['wishgendesc'],'</span></td>';if($configs['showgen']==1){echo '<td class="tdlefth"><div><input type="checkbox" id="switch315" name="showgen" class="switch" checked class="width" tabindex="24">
|
||||
<label for="switch315"> </label></div></td></tr>';}else{echo '<td class="tdlefth"><div><input type="checkbox" id="switch315" name="showgen" class="switch" class="width" tabindex="25">
|
||||
<label for="switch315"> </label></div></td></tr>';}echo '<tr><td colspan="2"> </td></tr>
|
||||
<tr><td class="tdrighth tooltip">', $lang['wishgen'], '<span>', $lang['wishgendesc'], '</span></td>';
|
||||
if ($configs['showgen'] == 1) {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch315" name="showgen" class="switch" checked class="width" tabindex="24">
|
||||
<label for="switch315"> </label></div></td></tr>';
|
||||
} else {
|
||||
echo '<td class="tdlefth"><div><input type="checkbox" id="switch315" name="showgen" class="switch" class="width" tabindex="25">
|
||||
<label for="switch315"> </label></div></td></tr>';
|
||||
}
|
||||
echo '<tr><td colspan="2"> </td></tr>
|
||||
<tr><td> </td><td class="tdlefth"><input type="submit" name="updatestyle" value="', $lang['wisvconf'], '" tabindex="26"><input type="hidden" name="savesettings" value="true"></td></tr>
|
||||
</table></form>
|
||||
</div>
|
||||
@@ -227,4 +383,5 @@
|
||||
</table></form>
|
||||
</div>
|
||||
</td></tr>
|
||||
</table>';?>
|
||||
</table>';
|
||||
?>
|
||||
466
stats/index.php
466
stats/index.php
File diff suppressed because one or more lines are too long
@@ -1 +1,84 @@
|
||||
<?php session_start();$starttime=microtime(true);require_once('../other/config.php');require_once('../other/session.php');if(!isset($_SESSION['tsuid'])){$hpclientip=ip2long($_SERVER['REMOTE_ADDR']);set_session_ts3($hpclientip,$ts['voice'],$mysqlcon,$dbname);}require_once('nav.php');?><div id="page-wrapper"> <?php if(isset($err_msg))error_handling($err_msg,3);?><div class="container-fluid"><div class="row"><div class="col-lg-12"><h1 class="page-header"> <?php echo $lang['stri0001'];?></h1></div></div><div class="row"><div class="col-lg-12"><h4><strong><span class="text-info"><?php echo $lang['stri0002'];?></span></strong></h4><p><?php echo $lang['stri0003'];?></p> <br></div></div><div class="row"><div class="col-lg-12"><h4><strong><span class="text-success"><?php echo $lang['stri0004'];?></span></strong></h4><p>The <a href="http://ts-n.net/ranksystem.php" target="_blank">Ranksystem</a> was coded by <strong>Newcomer1989</strong> Copyright © 2009-2016 <a href="http://ts-n.net/" target="_blank">TeamSpeak Sponsoring TS-N.NET</a>. All rights reserved.</p> <br></div></div><div class="row"><div class="col-lg-12"><h4><strong><span class="text-warning"><?php echo $lang['stri0005'];?></span></strong></h4><p><?php echo $lang['stri0006'];?></p><p><?php echo $lang['stri0007'];?></p><p><?php echo $lang['stri0008'];?></p> <br></div></div><div class="row"><div class="col-lg-12"><h4><strong><span class="text-danger"><?php echo $lang['stri0009'];?></span></strong></h4><p><?php echo $lang['stri0010'];?></p><p><a href="http://php.net/" target="_blank">PHP</a> - Copyright © 2001-2016 the <a href="https://secure.php.net/credits.php" target="_blank">PHP Group</a></p><br><p><?php echo $lang['stri0011'];?></p><p><a href="http://jquery.com/" target="_blank">jQuery v2.2.0</a> - Copyright © 2016 The jQuery Foundation</p><p>jQuery Autocomplete plugin 1.1 - Copyright © 2009 Jörn Zaefferer</p><p><a href="http://fontawesome.io" target="_blank">Font Awesome 4.2.0</a> - Copyright © davegandy</p><p><a href="http://flag-icon-css.lip.is/" target="_blank">flag-icon-css</a> - Copyright © 2016 lipis</p><p><a href="http://jquery.com/plugins/project/ajaxqueue" target="_blank">Ajax Queue Plugin</a> - Copyright © 2013 Corey Frang</p><p><a href="http://planetteamspeak.com/" target="_blank">TeamSpeak 3 PHP Framework 1.1.23</a> - Copyright © 2010 Planet TeamSpeak</p><p><a href="http://getbootstrap.com/" target="_blank">Bootstrap 3.3.6</a> - Copyright © 2011-2016 Twitter, Inc.</p><p><a href="http://morrisjs.github.io/morris.js/" target="_blank">morris.js</a> - Copyright © 2013 Olly Smith</p><p><a href="http://raphaeljs.com" target="_blank">Raphaël 2.1.4 - JavaScript Vector Library</a> - Copyright © 2008-2012 Dmitry Baranovskiy</p><p><a href="http://startbootstrap.com" target="_blank">SB Admin Bootstrap Admin Template</a> - Copyright © 2013-2016 Blackrock Digital LLC.</p> <br></div></div><div class="row"><div class="col-lg-12"><h4><strong><span class="text-info"><?php echo $lang['stri0012'];?></span></strong></h4><p><?php echo $lang['stri0013'];?></p><p><?php echo $lang['stri0014'];?></p> <br></div></div></div></div></div></body></html>
|
||||
<?PHP
|
||||
session_start();
|
||||
$starttime = microtime(true);
|
||||
|
||||
require_once('../other/config.php');
|
||||
require_once('../other/session.php');
|
||||
|
||||
if(!isset($_SESSION['tsuid'])) {
|
||||
$hpclientip = ip2long($_SERVER['REMOTE_ADDR']);
|
||||
set_session_ts3($hpclientip, $ts['voice'], $mysqlcon, $dbname);
|
||||
}
|
||||
require_once('nav.php');
|
||||
?>
|
||||
<div id="page-wrapper">
|
||||
<?PHP if(isset($err_msg)) error_handling($err_msg, 3); ?>
|
||||
<div class="container-fluid">
|
||||
|
||||
<!-- Page Heading -->
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<h1 class="page-header">
|
||||
<?PHP echo $lang['stri0001']; ?>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<h4><strong><span class="text-info"><?PHP echo $lang['stri0002']; ?></span></strong></h4>
|
||||
<p><?PHP echo $lang['stri0003']; ?></p>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<h4><strong><span class="text-success"><?PHP echo $lang['stri0004']; ?></span></strong></h4>
|
||||
<p>The <a href="http://ts-n.net/ranksystem.php" target="_blank">Ranksystem</a> was coded by <strong>Newcomer1989</strong> Copyright © 2009-2016 <a href="http://ts-n.net/" target="_blank">TeamSpeak Sponsoring TS-N.NET</a>. All rights reserved.</p>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<h4><strong><span class="text-warning"><?PHP echo $lang['stri0005']; ?></span></strong></h4>
|
||||
<p><?PHP echo $lang['stri0006']; ?></p>
|
||||
<p><?PHP echo $lang['stri0007']; ?></p>
|
||||
<p><?PHP echo $lang['stri0008']; ?></p>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<h4><strong><span class="text-danger"><?PHP echo $lang['stri0009']; ?></span></strong></h4>
|
||||
<p><?PHP echo $lang['stri0010']; ?></p>
|
||||
<p><a href="http://php.net/" target="_blank">PHP</a> - Copyright © 2001-2016 the <a href="https://secure.php.net/credits.php" target="_blank">PHP Group</a></p><br>
|
||||
<p><?PHP echo $lang['stri0011']; ?></p>
|
||||
<p><a href="http://jquery.com/" target="_blank">jQuery v2.2.0</a> - Copyright © 2016 The jQuery Foundation</p>
|
||||
<p>jQuery Autocomplete plugin 1.1 - Copyright © 2009 Jörn Zaefferer</p>
|
||||
<p><a href="http://fontawesome.io" target="_blank">Font Awesome 4.2.0</a> - Copyright © davegandy</p>
|
||||
<p><a href="http://flag-icon-css.lip.is/" target="_blank">flag-icon-css</a> - Copyright © 2016 lipis</p>
|
||||
<p><a href="http://jquery.com/plugins/project/ajaxqueue" target="_blank">Ajax Queue Plugin</a> - Copyright © 2013 Corey Frang</p>
|
||||
<p><a href="http://planetteamspeak.com/" target="_blank">TeamSpeak 3 PHP Framework 1.1.23</a> - Copyright © 2010 Planet TeamSpeak</p>
|
||||
<p><a href="http://getbootstrap.com/" target="_blank">Bootstrap 3.3.6</a> - Copyright © 2011-2016 Twitter, Inc.</p>
|
||||
<p><a href="http://morrisjs.github.io/morris.js/" target="_blank">morris.js</a> - Copyright © 2013 Olly Smith</p>
|
||||
<p><a href="http://raphaeljs.com" target="_blank">Raphaël 2.1.4 - JavaScript Vector Library</a> - Copyright © 2008-2012 Dmitry Baranovskiy</p>
|
||||
<p><a href="http://startbootstrap.com" target="_blank">SB Admin Bootstrap Admin Template</a> - Copyright © 2013-2016 Blackrock Digital LLC.</p>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<h4><strong><span class="text-info"><?PHP echo $lang['stri0012']; ?></span></strong></h4>
|
||||
<p><?PHP echo $lang['stri0013']; ?></p>
|
||||
<p><?PHP echo $lang['stri0014']; ?></p>
|
||||
<p><?PHP echo $lang['stri0015']; ?></p>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.container-fluid -->
|
||||
</div>
|
||||
<!-- /#page-wrapper -->
|
||||
</div>
|
||||
<!-- /#wrapper -->
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
264
stats/nav.php
264
stats/nav.php
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
343
webinterface.php
343
webinterface.php
File diff suppressed because one or more lines are too long
202
worker.php
202
worker.php
@@ -1 +1,201 @@
|
||||
<?php error_reporting(0);require_once(__DIR__.'/other/config.php');$GLOBALS['exec']=FALSE;if($logpath==NULL){$logpath="./logs/";}$GLOBALS['logfile']=$logpath.'ranksystem.log';$GLOBALS['pidfile']=__DIR__.'/logs/pid';function checkProcess($pid=null){if(substr(php_uname(),0,7)=="Windows"){if(!empty($pid)){exec("wmic process where 'Name='php.exe' and processid='".$pid."'' get processid 2>nul",$result);if(isset($result[1])&&is_numeric($result[1])){return TRUE;}else {return FALSE;}}else {if(file_exists($GLOBALS['pidfile'])){preg_match_all('!\d+!',file_get_contents($GLOBALS['pidfile']),$pid);exec("wmic process where 'Name='php.exe' and processid='".$pid[0][0]."'' get processid",$result);if(isset($result[1])&&is_numeric($result[1])){return TRUE;}else {return FALSE;}}else {return FALSE;}}}else {if(!empty($pid)){$check_pid="ps ".$pid;$result=shell_exec($check_pid);if(count(preg_split("/\n/",$result))>2){return TRUE;}else {return FALSE;}}else {if(file_exists($GLOBALS['pidfile'])){$check_pid="ps ".file_get_contents($GLOBALS['pidfile']);$result=shell_exec($check_pid);if(count(preg_split("/\n/",$result))>2){return TRUE;}else {return FALSE;}}else {return FALSE;}}}}function start(){if(substr(php_uname(),0,7)=="Windows"){if(checkProcess()==FALSE){echo "Starting the Ranksystem Bot.";$cmd="php ".dirname(__FILE__)."\jobs\bot.php >> ".$GLOBALS['logfile'];pclose(popen("start /B ".$cmd,"r"));exec("wmic process where 'Name='php.exe' and commandline LIKE '%jobs\\\\bot.php%'' get processid",$pid);if(isset($pid[1])&&is_numeric($pid[1])){exec("echo ".$pid[1]." > ".$GLOBALS['pidfile']);echo " [OK]\n";}else {echo " [Failed]\n";}}else {echo "The Ranksystem is already running.\n";}$GLOBALS['exec']=TRUE;}else {if(checkProcess()==FALSE){echo "Starting the Ranksystem Bot.";exec("php ".dirname(__FILE__)."/jobs/bot.php >> ".$GLOBALS['logfile']." 2>&1 & echo $! > ".$GLOBALS['pidfile']);if(checkProcess()==FALSE){echo " [Failed]\n";}else {echo " [OK]\n";}}else {echo "The Ranksystem is already running.\n";}$GLOBALS['exec']=TRUE;}}function stop(){if(substr(php_uname(),0,7)=="Windows"){if(checkProcess()==TRUE){echo "Stopping the Ranksystem Bot.\n";preg_match_all('!\d+!',file_get_contents($GLOBALS['pidfile']),$pid);exec("del /F ".$GLOBALS['pidfile']);echo "Wait until Bot is down";$count_check=0;while(checkProcess($pid[0][0])==TRUE){sleep(1);echo ".";$count_check++;if($count_check>10){exec("taskkill /F /PID ".$pid[0][0]);break;}}if(checkProcess($pid[0][0])==TRUE){echo " [Failed]\n";}else {echo " [OK]\n";}}else {echo "The Ranksystem seems not running.\n";}$GLOBALS['exec']=TRUE;}else {if(checkProcess()==TRUE){echo "Stopping the Ranksystem Bot.\n";$pid=file_get_contents($GLOBALS['pidfile']);exec("rm -f ".$GLOBALS['pidfile']);echo "Wait until Bot is down";$count_check=0;while(checkProcess($pid)==TRUE){sleep(1);echo ".";$count_check++;if($count_check>10){exec("kill -9 ".$pid);break;}}if(checkProcess($pid)==TRUE){echo " [Failed]\n";}else {echo " [OK]\n";}}else {echo "The Ranksystem seems not running.\n";}$GLOBALS['exec']=TRUE;}}function check(){if(substr(php_uname(),0,7)=="Windows"){if(checkProcess()==FALSE){if(file_exists($GLOBALS['pidfile'])){exec("del /F ".$GLOBALS['pidfile']);}start();}$GLOBALS['exec']=TRUE;}else {if(checkProcess()==FALSE){if(file_exists($GLOBALS['pidfile'])){exec("rm -f ".$GLOBALS['pidfile']);}start();}$GLOBALS['exec']=TRUE;}}function restart(){stop();start();$GLOBALS['exec']=TRUE;}function status(){if(checkProcess()==FALSE){echo "The Ranksystem does not seem to run.\n";}else {echo "The Ranksystem seems to be running.\n";}$GLOBALS['exec']=TRUE;}function help(){echo " Usage: php worker.php {start|stop|restart|check|status}\n\n","\t* start \t\t [start Ranksystem Bot]\n","\t* stop \t\t [stop Ranksystem Bot]\n","\t* restart \t\t [restart Ranksystem Bot]\n","\t* check \t\t [check Ranksystem Bot is running; if not, start it; no output if all is ok]\n","\t* status \t\t [output status Ranksystem Bot]\n";$GLOBALS['exec']=TRUE;}if(isset($_SERVER['argv'][1])==0){help();}else {$cmd=$_SERVER['argv'][1];if($cmd=='start')start();if($cmd=='stop')stop();if($cmd=='restart')restart();if($cmd=='check')check();if($cmd=='status')status();if($cmd=='help')help();if($GLOBALS['exec']==FALSE)echo " Error parameter '$cmd' not valid. Type \"php worker.php help\" to get a list of valid parameter.\n";}?>
|
||||
<?php
|
||||
error_reporting(0);
|
||||
require_once(__DIR__.'/other/config.php');
|
||||
$GLOBALS['exec'] = FALSE;
|
||||
if($logpath == NULL) { $logpath = "./logs/"; }
|
||||
$GLOBALS['logfile'] = $logpath.'ranksystem.log';
|
||||
$GLOBALS['pidfile'] = __DIR__.'/logs/pid';
|
||||
|
||||
function checkProcess($pid = null) {
|
||||
if (substr(php_uname(), 0, 7) == "Windows") {
|
||||
if(!empty($pid)) {
|
||||
exec("wmic process where 'Name='php.exe' and processid='".$pid."'' get processid 2>nul", $result);
|
||||
if(isset($result[1]) && is_numeric($result[1])) {
|
||||
return TRUE;
|
||||
} else {
|
||||
return FALSE;
|
||||
}
|
||||
} else {
|
||||
if (file_exists($GLOBALS['pidfile'])) {
|
||||
preg_match_all('!\d+!', file_get_contents($GLOBALS['pidfile']), $pid);
|
||||
exec("wmic process where 'Name='php.exe' and processid='".$pid[0][0]."'' get processid", $result);
|
||||
if(isset($result[1]) && is_numeric($result[1])) {
|
||||
return TRUE;
|
||||
} else {
|
||||
return FALSE;
|
||||
}
|
||||
} else {
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if(!empty($pid)) {
|
||||
$check_pid = "ps ".$pid;
|
||||
$result = shell_exec($check_pid);
|
||||
if (count(preg_split("/\n/", $result)) > 2) {
|
||||
return TRUE;
|
||||
} else {
|
||||
return FALSE;
|
||||
}
|
||||
} else {
|
||||
if (file_exists($GLOBALS['pidfile'])) {
|
||||
$check_pid = "ps ".file_get_contents($GLOBALS['pidfile']);
|
||||
$result = shell_exec($check_pid);
|
||||
if (count(preg_split("/\n/", $result)) > 2) {
|
||||
return TRUE;
|
||||
} else {
|
||||
return FALSE;
|
||||
}
|
||||
} else {
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function start() {
|
||||
if (substr(php_uname(), 0, 7) == "Windows") {
|
||||
if (checkProcess() == FALSE) {
|
||||
echo "Starting the Ranksystem Bot.";
|
||||
$WshShell = new COM("WScript.Shell");
|
||||
$oExec = $WshShell->Run("cmd /C php ".__DIR__."\jobs\bot.php >/dev/null 2>&1", 0, false);
|
||||
exec("wmic process where 'Name='php.exe' and commandline LIKE '%jobs\\\\bot.php%'' get processid", $pid);
|
||||
if(isset($pid[1]) && is_numeric($pid[1])) {
|
||||
exec("echo ".$pid[1]." > ".$GLOBALS['pidfile']);
|
||||
echo " [OK]\n";
|
||||
} else {
|
||||
echo " [Failed]\n";
|
||||
}
|
||||
} else {
|
||||
echo "The Ranksystem is already running.\n";
|
||||
}
|
||||
$GLOBALS['exec'] = TRUE;
|
||||
} else {
|
||||
if (checkProcess() == FALSE) {
|
||||
echo "Starting the Ranksystem Bot.";
|
||||
exec("php ".dirname(__FILE__)."/jobs/bot.php >/dev/null 2>&1 & echo $! > ".$GLOBALS['pidfile']);
|
||||
if (checkProcess() == FALSE) {
|
||||
echo " [Failed]\n";
|
||||
} else {
|
||||
echo " [OK]\n";
|
||||
}
|
||||
} else {
|
||||
echo "The Ranksystem is already running.\n";
|
||||
}
|
||||
$GLOBALS['exec'] = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
function stop() {
|
||||
if (substr(php_uname(), 0, 7) == "Windows") {
|
||||
if (checkProcess() == TRUE) {
|
||||
echo "Stopping the Ranksystem Bot.\n";
|
||||
preg_match_all('!\d+!', file_get_contents($GLOBALS['pidfile']), $pid);
|
||||
exec("del /F ".$GLOBALS['pidfile']);
|
||||
echo "Wait until Bot is down";
|
||||
$count_check=0;
|
||||
while (checkProcess($pid[0][0]) == TRUE) {
|
||||
sleep(1);
|
||||
echo ".";
|
||||
$count_check ++;
|
||||
if($count_check > 10) {
|
||||
exec("taskkill /F /PID ".$pid[0][0]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (checkProcess($pid[0][0]) == TRUE) {
|
||||
echo " [Failed]\n";
|
||||
} else {
|
||||
echo " [OK]\n";
|
||||
}
|
||||
} else {
|
||||
echo "The Ranksystem seems not running.\n";
|
||||
}
|
||||
$GLOBALS['exec'] = TRUE;
|
||||
} else {
|
||||
if (checkProcess() == TRUE) {
|
||||
echo "Stopping the Ranksystem Bot.\n";
|
||||
$pid = file_get_contents($GLOBALS['pidfile']);
|
||||
exec("rm -f ".$GLOBALS['pidfile']);
|
||||
echo "Wait until Bot is down";
|
||||
$count_check=0;
|
||||
while (checkProcess($pid) == TRUE) {
|
||||
sleep(1);
|
||||
echo ".";
|
||||
$count_check ++;
|
||||
if($count_check > 10) {
|
||||
exec("kill -9 ".$pid);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (checkProcess($pid) == TRUE) {
|
||||
echo " [Failed]\n";
|
||||
} else {
|
||||
echo " [OK]\n";
|
||||
}
|
||||
} else {
|
||||
echo "The Ranksystem seems not running.\n";
|
||||
}
|
||||
$GLOBALS['exec'] = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
function check() {
|
||||
if (substr(php_uname(), 0, 7) == "Windows") {
|
||||
if (checkProcess() == FALSE) {
|
||||
if (file_exists($GLOBALS['pidfile'])) {
|
||||
exec("del /F ".$GLOBALS['pidfile']);
|
||||
}
|
||||
start();
|
||||
}
|
||||
$GLOBALS['exec'] = TRUE;
|
||||
} else {
|
||||
if (checkProcess() == FALSE) {
|
||||
if (file_exists($GLOBALS['pidfile'])) {
|
||||
exec("rm -f ".$GLOBALS['pidfile']);
|
||||
}
|
||||
start();
|
||||
}
|
||||
$GLOBALS['exec'] = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
function restart() {
|
||||
stop();
|
||||
start();
|
||||
$GLOBALS['exec'] = TRUE;
|
||||
}
|
||||
|
||||
function status() {
|
||||
if (checkProcess() == FALSE) {
|
||||
echo "The Ranksystem does not seem to run.\n";
|
||||
} else {
|
||||
echo "The Ranksystem seems to be running.\n";
|
||||
}
|
||||
$GLOBALS['exec'] = TRUE;
|
||||
}
|
||||
|
||||
function help() {
|
||||
echo " Usage: php worker.php {start|stop|restart|check|status}\n\n",
|
||||
"\t* start \t\t [start Ranksystem Bot]\n",
|
||||
"\t* stop \t\t [stop Ranksystem Bot]\n",
|
||||
"\t* restart \t\t [restart Ranksystem Bot]\n",
|
||||
"\t* check \t\t [check Ranksystem Bot is running; if not, start it; no output if all is ok]\n",
|
||||
"\t* status \t\t [output status Ranksystem Bot]\n";
|
||||
$GLOBALS['exec'] = TRUE;
|
||||
}
|
||||
|
||||
if (isset($_SERVER['argv'][1]) == 0) {
|
||||
help();
|
||||
} else {
|
||||
$cmd = $_SERVER['argv'][1];
|
||||
if ($cmd == 'start') start();
|
||||
if ($cmd == 'stop') stop();
|
||||
if ($cmd == 'restart') restart();
|
||||
if ($cmd == 'check') check();
|
||||
if ($cmd == 'status') status();
|
||||
if ($cmd == 'help') help();
|
||||
|
||||
if ($GLOBALS['exec'] == FALSE) echo " Error parameter '$cmd' not valid. Type \"php worker.php help\" to get a list of valid parameter.\n";
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user