release 1.1.0
This commit is contained in:
@@ -3,19 +3,22 @@ session_start();
|
||||
require_once('../other/config.php');
|
||||
require_once('../other/session.php');
|
||||
|
||||
if($language == "de") {
|
||||
if($language == "ar") {
|
||||
require_once('../languages/nations_en.php');
|
||||
} elseif($language == "de") {
|
||||
require_once('../languages/nations_de.php');
|
||||
} elseif($language == "en") {
|
||||
require_once('../languages/nations_en.php');
|
||||
} elseif($language == "it") {
|
||||
require_once('../languages/nations_it.php');
|
||||
} elseif($language == "ro") {
|
||||
require_once('../languages/nations_en.php');
|
||||
} elseif($language == "ru") {
|
||||
require_once('../languages/nations_ru.php');
|
||||
}
|
||||
|
||||
if(!isset($_SESSION['tsuid'])) {
|
||||
$hpclientip = ip2long($_SERVER['REMOTE_ADDR']);
|
||||
set_session_ts3($hpclientip, $ts['voice'], $mysqlcon, $dbname);
|
||||
set_session_ts3($ts['voice'], $mysqlcon, $dbname);
|
||||
}
|
||||
|
||||
function human_readable_size($bytes) {
|
||||
@@ -54,7 +57,7 @@ require_once('nav.php');
|
||||
<div class="col-lg-12">
|
||||
<h1 class="page-header">
|
||||
<?PHP echo $lang['stix0001']; ?>
|
||||
<a href="#infoModal" data-toggle="modal" class="btn btn-primary">
|
||||
<a href="#filteroptions" data-toggle="modal" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span>
|
||||
</a>
|
||||
</h1>
|
||||
@@ -91,7 +94,7 @@ require_once('nav.php');
|
||||
<i class="fa fa-clock-o fa-5x"></i>
|
||||
</div>
|
||||
<div class="col-xs-9 text-right">
|
||||
<div class="huge"><?PHP echo round(($sql_res[0]['total_online_time'] / 86400)). ' <small>'.$lang['days'].'</small>';?></div>
|
||||
<div class="huge"><?PHP echo sprintf($lang['days'], round(($sql_res[0]['total_online_time'] / 86400))); ?></div>
|
||||
<div><?PHP echo $lang['stix0004']; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -113,7 +116,7 @@ require_once('nav.php');
|
||||
<i class="fa fa-clock-o fa-5x"></i>
|
||||
</div>
|
||||
<div class="col-xs-9 text-right">
|
||||
<div class="huge"><?PHP echo round(($sql_res[0]['total_online_month'] / 86400)). ' <small>'.$lang['days'].'</small>';?></div>
|
||||
<div class="huge"><?PHP echo sprintf($lang['days'], round(($sql_res[0]['total_online_month'] / 86400))) ?></div>
|
||||
<div><?PHP if($sql_res[0]['total_online_month'] == 0) { echo $lang['stix0048']; } else { echo $lang['stix0049']; } ?></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -135,7 +138,7 @@ require_once('nav.php');
|
||||
<i class="fa fa-clock-o fa-5x"></i>
|
||||
</div>
|
||||
<div class="col-xs-9 text-right">
|
||||
<div class="huge"><?PHP echo round(($sql_res[0]['total_online_week'] / 86400)). ' <small>'.$lang['days'].'</small>';?></div>
|
||||
<div class="huge"><?PHP echo sprintf($lang['days'], round(($sql_res[0]['total_online_week'] / 86400))) ?></div>
|
||||
<div><?PHP if ($sql_res[0]['total_online_week'] == 0) { echo $lang['stix0048']; } else { echo $lang['stix0050']; } ?></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -318,7 +321,7 @@ require_once('nav.php');
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?PHP echo $lang['stix0045']; ?></td>
|
||||
<td><?PHP if ($sql_res[0]['server_weblist'] == 1) { echo '<a href="https://www.planetteamspeak.com/serverlist/result/server/ip/'; if($ts['host']=='localhost') { echo $_SERVER['HTTP_HOST'];} else { echo $ts['host']; } echo ':'.$ts['voice'] .'" target="_blank">'.$lang['stix0046'].'</a>'; } else { echo $lang['stix0047']; } ?></td>
|
||||
<td><?PHP if ($sql_res[0]['server_weblist'] == 1) { echo '<a href="https://www.planetteamspeak.com/serverlist/result/server/ip/'; if($ts['host']=='localhost' || $ts['host']=='127.0.0.1') { echo $_SERVER['HTTP_HOST'];} else { echo $ts['host']; } echo ':'.$ts['voice'] .'" target="_blank">'.$lang['stix0046'].'</a>'; } else { echo $lang['stix0047']; } ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?PHP
|
||||
<?PHP
|
||||
session_start();
|
||||
$starttime = microtime(true);
|
||||
|
||||
@@ -6,16 +6,13 @@ 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);
|
||||
set_session_ts3($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">
|
||||
@@ -33,7 +30,7 @@ require_once('nav.php');
|
||||
<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>
|
||||
<p>The <a href="//ts-n.net/ranksystem.php" target="_blank">Ranksystem</a> was coded by <strong>Newcomer1989</strong> Copyright © 2009-2016 <a href="//ts-n.net/" target="_blank">TeamSpeak Sponsoring TS-N.NET</a>. All rights reserved.</p>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
@@ -50,18 +47,22 @@ require_once('nav.php');
|
||||
<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><a href="//php.net/" target="_blank">PHP</a> - Copyright © 2001-2016 the <a href="//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><a href="//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>
|
||||
<p><a href="//fontawesome.io" target="_blank">Font Awesome 4.6.3</a> - Copyright © davegandy</p>
|
||||
<p><a href="//flag-icon-css.lip.is/" target="_blank">flag-icon-css</a> - Copyright © 2016 lipis</p>
|
||||
<p><a href="//jquery.com/plugins/project/ajaxqueue" target="_blank">Ajax Queue Plugin</a> - Copyright © 2013 Corey Frang</p>
|
||||
<p><a href="//planetteamspeak.com/" target="_blank">TeamSpeak 3 PHP Framework 1.1.23</a> - Copyright © 2010 Planet TeamSpeak</p>
|
||||
<p><a href="//getbootstrap.com/" target="_blank">Bootstrap 3.3.7</a> - Copyright © 2011-2016 Twitter, Inc.</p>
|
||||
<p><a href="//morrisjs.github.io/morris.js/" target="_blank">morris.js</a> - Copyright © 2013 Olly Smith</p>
|
||||
<p><a href="//raphaeljs.com" target="_blank">Raphaël 2.1.4 - JavaScript Vector Library</a> - Copyright © 2008-2012 Dmitry Baranovskiy</p>
|
||||
<p><a href="//startbootstrap.com" target="_blank">SB Admin Bootstrap Admin Template</a> - Copyright © 2013-2016 Blackrock Digital LLC.</p>
|
||||
<p><a href="//www.bootstrap-switch.org" target="_blank">Bootstrap Switch</a> - Copyright © 2013-2015 Mattia Larentis</p>
|
||||
<p><a href="//www.virtuosoft.eu/code/bootstrap-touchspin" target="_blank">Bootstrap TouchSpin</a> - Copyright © 2013-2016 István Ujj-Mészáros</p>
|
||||
<p><a href="//silviomoreto.github.io/bootstrap-select" target="_blank">bootstrap-select</a> - Copyright © 2013-2015 Silvio Moreto a.o.</p>
|
||||
<p><a href="//wenzhixin.net.cn/" target="_blank">Bootstrap Show Password</a> - Copyright © 2014 zhixin wen</p>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
@@ -71,14 +72,13 @@ require_once('nav.php');
|
||||
<p><?PHP echo $lang['stri0013']; ?></p>
|
||||
<p><?PHP echo $lang['stri0014']; ?></p>
|
||||
<p><?PHP echo $lang['stri0015']; ?></p>
|
||||
<p><?PHP echo $lang['stri0016']; ?></p>
|
||||
<p><?PHP echo $lang['stri0017']; ?></p>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.container-fluid -->
|
||||
</div>
|
||||
<!-- /#page-wrapper -->
|
||||
</div>
|
||||
<!-- /#wrapper -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -5,9 +5,25 @@ $starttime = microtime(true);
|
||||
require_once('../other/config.php');
|
||||
require_once('../other/session.php');
|
||||
|
||||
function getclientip() {
|
||||
if (!empty($_SERVER['HTTP_CLIENT_IP']))
|
||||
return $_SERVER['HTTP_CLIENT_IP'];
|
||||
elseif(!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
|
||||
return $_SERVER['HTTP_X_FORWARDED_FOR'];
|
||||
elseif(!empty($_SERVER['HTTP_X_FORWARDED']))
|
||||
return $_SERVER['HTTP_X_FORWARDED'];
|
||||
elseif(!empty($_SERVER['HTTP_FORWARDED_FOR']))
|
||||
return $_SERVER['HTTP_FORWARDED_FOR'];
|
||||
elseif(!empty($_SERVER['HTTP_FORWARDED']))
|
||||
return $_SERVER['HTTP_FORWARDED'];
|
||||
elseif(!empty($_SERVER['REMOTE_ADDR']))
|
||||
return $_SERVER['REMOTE_ADDR'];
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
if(!isset($_SESSION['tsuid'])) {
|
||||
$hpclientip = ip2long($_SERVER['REMOTE_ADDR']);
|
||||
set_session_ts3($hpclientip, $ts['voice'], $mysqlcon, $dbname);
|
||||
set_session_ts3($ts['voice'], $mysqlcon, $dbname);
|
||||
}
|
||||
|
||||
if(isset($_POST['username'])) {
|
||||
@@ -31,6 +47,9 @@ if(isset($getstring) && strstr($getstring, 'filter:excepted:')) {
|
||||
$filter .= " AND except='0'";
|
||||
} else {
|
||||
$searchstring = $getstring;
|
||||
if($showexcld == 0) {
|
||||
$filter .= " AND except='0'";
|
||||
}
|
||||
}
|
||||
if(isset($getstring) && strstr($getstring, 'filter:online:')) {
|
||||
$searchstring = preg_replace('/filter\:online\:/','',$searchstring);
|
||||
@@ -44,6 +63,32 @@ if(isset($getstring) && strstr($getstring, 'filter:actualgroup:')) {
|
||||
$searchstring = preg_replace('/filter\:actualgroup\:(.*)\:/','',$searchstring);
|
||||
$filter .= " AND grpid='".$grpvalue[1]."'";
|
||||
}
|
||||
if(isset($getstring) && strstr($getstring, 'filter:country:')) {
|
||||
preg_match('/filter\:country\:(.*)\:/',$searchstring,$grpvalue);
|
||||
$searchstring = preg_replace('/filter\:country\:(.*)\:/','',$searchstring);
|
||||
$filter .= " AND nation='".$grpvalue[1]."'";
|
||||
}
|
||||
if(isset($getstring) && strstr($getstring, 'filter:lastseen:')) {
|
||||
preg_match('/filter\:lastseen\:(.*)\:(.*)\:/',$searchstring,$seenvalue);
|
||||
$searchstring = preg_replace('/filter\:lastseen\:(.*)\:(.*)\:/','',$searchstring);
|
||||
if(is_numeric($seenvalue[2])) {
|
||||
$lastseen = $seenvalue[2];
|
||||
} else {
|
||||
$r = date_parse_from_format("Y-m-d H-i",$seenvalue[2]);
|
||||
$d = mktime($r['hour'], $r['minute'], $r['second'], $r['month'], $r['day'], $r['year']);
|
||||
$lastseen = $d;
|
||||
}
|
||||
if($seenvalue[1] == '<') {
|
||||
$operator = '<';
|
||||
} elseif($seenvalue[1] == '>') {
|
||||
$operator = '>';
|
||||
} elseif($seenvalue[1] == '!=') {
|
||||
$operator = '!=';
|
||||
} else {
|
||||
$operator = '=';
|
||||
}
|
||||
$filter .= " AND lastseen".$operator."'".$lastseen."'";
|
||||
}
|
||||
|
||||
if(isset($getstring)) {
|
||||
$dbdata_full = $mysqlcon->prepare("SELECT COUNT(*) FROM $dbname.user WHERE (uuid LIKE :searchvalue OR cldbid LIKE :searchvalue OR name LIKE :searchvalue)$filter");
|
||||
@@ -73,7 +118,7 @@ if (isset($_GET['order'])) {
|
||||
}
|
||||
$keyorder = ($keyorder == 'desc' ? 'desc' : 'asc');
|
||||
if (isset($_GET['admin'])) {
|
||||
if($_GET['admin'] == "true" && isset($_SESSION['username'])) {
|
||||
if($_SESSION['username'] == $webuser && $_SESSION['password'] == $webpass && $_SESSION['clientip'] == getclientip()) {
|
||||
$adminlogin = 1;
|
||||
}
|
||||
}
|
||||
@@ -267,14 +312,6 @@ if($adminlogin == 1) {
|
||||
$countallsum++;
|
||||
foreach ($grouptime as $time => $groupid) {
|
||||
$grpcount++;
|
||||
if (array_intersect($sgroups, $exceptgroup) && $showexgrp != 1 && $adminlogin != 1) {
|
||||
$exceptgrp++;
|
||||
break;
|
||||
}
|
||||
if (in_array($uid, $exceptuuid) && $showexcld != 1 && $adminlogin != 1) {
|
||||
$exceptcld++;
|
||||
break;
|
||||
}
|
||||
if ($activetime < $time || $grpcount == $countgrp && $nextup == 0 && $showhighest == 1 || $grpcount == $countgrp && $nextup == 0 && $adminlogin == 1) {
|
||||
if($nextup == 0 && $grpcount == $countgrp) {
|
||||
$neededtime = 0;
|
||||
@@ -382,32 +419,10 @@ if($adminlogin == 1) {
|
||||
if($user_pro_seite != "all") {
|
||||
pagination($keysort,$keyorder,$user_pro_seite,$seiten_anzahl_gerundet,$seite,$getstring);
|
||||
}
|
||||
if ($showgen == 1 || $adminlogin == 1) {
|
||||
$except = $exceptgrp + $exceptcld;
|
||||
$notvisible = 0;
|
||||
if ($showexgrp != 1) { $notvisible = $exceptgrp; }
|
||||
if ($showexcld != 1) { $notvisible = $notvisible + $exceptcld; }
|
||||
if ($showhighest != 1) { $notvisible = $notvisible + $highest; }
|
||||
$displayed = $countallsum - $notvisible;
|
||||
$buildtime = microtime(true) - $starttime;
|
||||
?>
|
||||
<nav>
|
||||
<ul class="pager">
|
||||
<li class="previous"><span class="glyphicon glyphicon-chevron-up up scrollMore" aria-hidden="true"></span></li>
|
||||
<li class="next"><span class="glyphicon glyphicon-chevron-up up scrollMore" aria-hidden="true"></span></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<?PHP
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<!-- /.container-fluid -->
|
||||
|
||||
</div>
|
||||
<!-- /#page-wrapper -->
|
||||
|
||||
</div>
|
||||
<!-- /#wrapper -->
|
||||
<script src="../jquerylib/jquery.js"></script>
|
||||
<script type="text/javascript">
|
||||
;(function($) {
|
||||
|
||||
@@ -4,8 +4,7 @@ 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);
|
||||
set_session_ts3($ts['voice'], $mysqlcon, $dbname);
|
||||
}
|
||||
|
||||
$getstring = $_SESSION['tsuid'];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
@@ -9,28 +9,17 @@
|
||||
|
||||
<title>TS-N.NET Ranksystem</title>
|
||||
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom CSS -->
|
||||
<link href="../bootstrap/addons/sb-admin.css" rel="stylesheet">
|
||||
|
||||
<!-- Morris Charts CSS -->
|
||||
<link href="../bootstrap/addons/morris/morris.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Fonts -->
|
||||
<link href="../bootstrap/addons/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
||||
|
||||
<!-- Flag icon css -->
|
||||
<link href="../bootstrap/flag_icon/css/flag-icon.min.css" rel="stylesheet">
|
||||
|
||||
<!-- jQuery -->
|
||||
<script src="../jquerylib/jquery.js"></script>
|
||||
|
||||
<!-- Bootstrap Core JavaScript -->
|
||||
<script src="../bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<!-- Morris Charts JavaScript -->
|
||||
<script src="../bootstrap/addons/morris/raphael.min.js"></script>
|
||||
<script src="../bootstrap/addons/morris/morris.min.js"></script>
|
||||
<script src="../bootstrap/addons/morris/morris-data.js"></script>
|
||||
@@ -132,18 +121,56 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="filteroptions" class="modal fade">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Filter options - Search function</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p><?PHP echo $lang['stnv0031']; ?></p>
|
||||
<p><?PHP echo $lang['stnv0032']; ?></p>
|
||||
<p><?PHP echo $lang['stnv0033']; ?></p>
|
||||
<p><?PHP echo $lang['stnv0034']; ?></p>
|
||||
<p><?PHP echo $lang['stnv0035']; ?></p>
|
||||
<p><br></p>
|
||||
<p><b>filter:excepted:</b></p>
|
||||
<p><?PHP echo $lang['stnv0036']; ?></p>
|
||||
<p><b>filter:nonexcepted:</b></p>
|
||||
<p><?PHP echo $lang['stnv0037']; ?></p>
|
||||
<p><b>filter:online:</b></p>
|
||||
<p><?PHP echo $lang['stnv0038']; ?></p>
|
||||
<p><b>filter:nononline:</b></p>
|
||||
<p><?PHP echo $lang['stnv0039']; ?></p>
|
||||
<p><b>filter:actualgroup:<i>GROUPID</i>:</b></p>
|
||||
<p><?PHP echo $lang['stnv0040']; ?></p>
|
||||
<p><b>filter:country:<i>TS3-COUNTRY-CODE</i>:</b></p>
|
||||
<p><?PHP echo $lang['stnv0042']; ?></p>
|
||||
<p><b>filter:lastseen:<i>OPERATOR</i>:<i>TIME</i>:</b></p>
|
||||
<p><?PHP echo $lang['stnv0041']; ?></p>
|
||||
<br>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"><?PHP echo $lang['stnv0002']; ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="wrapper">
|
||||
|
||||
<!-- Navigation -->
|
||||
<nav class="navbar navbar-inverse navbar-fixed-top">
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand" href="index.php"><?PHP echo $lang['stnv0024']; ?></a>
|
||||
</div>
|
||||
<!-- Top Menu Items -->
|
||||
<?PHP if(basename($_SERVER['SCRIPT_NAME']) == "list_rankup.php") { ?>
|
||||
<ul class="nav navbar-left top-nav">
|
||||
<li class="navbar-form navbar-left dropdown">
|
||||
<div class="btn-group">
|
||||
<a href="#filteroptions" data-toggle="modal" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span>
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="navbar-form navbar-right dropdown">
|
||||
<button class="btn btn-primary dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||
<?PHP echo $lang['stnv0025']; ?>
|
||||
@@ -199,21 +226,26 @@
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-globe"></i> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="?lang=de" data-toggle="modal"><span class="flag-icon flag-icon-de"></span> <?PHP echo $lang['stnv0031']; ?></a>
|
||||
<a href="?lang=ar"><span class="flag-icon flag-icon-arab"></span> AR - العربية</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="?lang=en" data-toggle="modal"><span class="flag-icon flag-icon-us"></span> <?PHP echo $lang['stnv0032']; ?></a>
|
||||
<a href="?lang=de"><span class="flag-icon flag-icon-de"></span> DE - Deutsch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="?lang=it" data-toggle="modal"><span class="flag-icon flag-icon-it"></span> <?PHP echo $lang['stnv0034']; ?></a>
|
||||
<a href="?lang=en"><span class="flag-icon flag-icon-us"></span> EN - english</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="?lang=ru" data-toggle="modal"><span class="flag-icon flag-icon-ru"></span> <?PHP echo $lang['stnv0033']; ?></a>
|
||||
<a href="?lang=it"><span class="flag-icon flag-icon-it"></span> IT - italiano</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="?lang=ro"><span class="flag-icon flag-icon-ro"></span> RO - românesc</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="?lang=ru"><span class="flag-icon flag-icon-ru"></span> RU - русский</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens -->
|
||||
<div class="collapse navbar-collapse navbar-ex1-collapse">
|
||||
<ul class="nav navbar-nav side-nav">
|
||||
<?PHP echo '<li'.(basename($_SERVER['SCRIPT_NAME']) == "index.php" ? ' class="active">' : '>'); ?>
|
||||
@@ -248,7 +280,6 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- /.navbar-collapse -->
|
||||
</nav>
|
||||
<?PHP
|
||||
function error_handling($msg,$type = NULL) {
|
||||
|
||||
@@ -6,8 +6,7 @@ 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);
|
||||
set_session_ts3($ts['voice'], $mysqlcon, $dbname);
|
||||
}
|
||||
|
||||
if ($substridle == 1) {
|
||||
|
||||
@@ -6,8 +6,7 @@ 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);
|
||||
set_session_ts3($ts['voice'], $mysqlcon, $dbname);
|
||||
}
|
||||
|
||||
if ($substridle == 1) {
|
||||
|
||||
@@ -6,8 +6,7 @@ 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);
|
||||
set_session_ts3($ts['voice'], $mysqlcon, $dbname);
|
||||
}
|
||||
|
||||
if ($substridle == 1) {
|
||||
|
||||
Reference in New Issue
Block a user