<?php
//------------------------------------------------------------------------------------------------------------+
//[ PREPARE CONFIG - DO NOT CHANGE OR MOVE THIS ]
global $lgsl_config; $lgsl_config = array();
//------------------------------------------------------------------------------------------------------------+
//[ TEXT OPTIONS - 'nmp' AND 'nnm' WILL ONLY UPDATE AFTER THE CACHE IS EMPTIED ]
$lgsl_config['text']['vsd'] = "CLICK TO VIEW SERVER DETAILS";
$lgsl_config['text']['slk'] = "GAME LINK";
$lgsl_config['text']['sts'] = "Статус:";
$lgsl_config['text']['adr'] = "Адрес:";
$lgsl_config['text']['cpt'] = "Порт:";
$lgsl_config['text']['qpt'] = "Порт 2:";
$lgsl_config['text']['typ'] = "Тип:";
$lgsl_config['text']['gme'] = "Игра:";
$lgsl_config['text']['map'] = "Карта:";
$lgsl_config['text']['plr'] = "Игроки:";
$lgsl_config['text']['npi'] = "Нет информации о игроках";
$lgsl_config['text']['nei'] = "Нет информации о сервере";
$lgsl_config['text']['ehs'] = "Настройки";
$lgsl_config['text']['ehv'] = "Value";
$lgsl_config['text']['onl'] = "Включен";
$lgsl_config['text']['onp'] = "Включен (под паролем)";
$lgsl_config['text']['nrs'] = "Выключен";
$lgsl_config['text']['pen'] = "WAITING TO BE QUERIED";
$lgsl_config['text']['zpl'] = "PLAYERS:";
$lgsl_config['text']['mid'] = "Сервера с таким номером не существует";
$lgsl_config['text']['nnm'] = "--";
$lgsl_config['text']['nmp'] = "--";
$lgsl_config['text']['tns'] = "Серверов в мониторинге:";
$lgsl_config['text']['tnp'] = "Сейчас играют:";
$lgsl_config['text']['tmp'] = "Максимальное количество слотов:";
$lgsl_config['text']['asd'] = "PUBLIC ADDING OF SERVERS IS DISABLED";
$lgsl_config['text']['awm'] = "Вы находитесь на странице добавления сервера!";
$lgsl_config['text']['ats'] = "Тестировать сервер";
$lgsl_config['text']['aaa'] = "SERVER ALREADY ADDED AND NEEDS ADMIN APPROVAL";
$lgsl_config['text']['aan'] = "Сервер уже есть в базе данных";
$lgsl_config['text']['anr'] = "Сервер выключен или не отвечает!";
$lgsl_config['text']['ada'] = "SERVER HAS BEEN ADDED FOR ADMIN APPROVAL";
$lgsl_config['text']['adn'] = "Сервер успешно добавлен!";
$lgsl_config['text']['asc'] = "Сервер прошел проверку, теперь вы можете его добавить!";
$lgsl_config['text']['aas'] = "Добавить сервер";
//------------------------------------------------------------------------------------------------------------+
//[ TEXT OPTIONS - e107 VERSION ONLY - FOR OTHERS SET PAGE AND ZONE TITLES USING THE CMS ]
$lgsl_config['title'][0] = "Live Game Server List";
$lgsl_config['title'][1] = "Game Server";
$lgsl_config['title'][2] = "Game Server";
$lgsl_config['title'][3] = "Game Server";
$lgsl_config['title'][4] = "Game Server";
$lgsl_config['title'][5] = "Game Server";
$lgsl_config['title'][6] = "Game Server";
$lgsl_config['title'][7] = "Game Server";
$lgsl_config['title'][8] = "Game Server";
//------------------------------------------------------------------------------------------------------------+
//[ BACKGROUND COLORS - CHANGE TO MATCH YOUR THEME AND COMPLEMENT YOUR THEME FONT COLOR ]
$lgsl_config['background'][1] = "background-color:#e4eaf2";
$lgsl_config['background'][2] = "background-color:#f4f7fa";
//------------------------------------------------------------------------------------------------------------+
//[ SHOW TOTAL SERVERS / PLAYERS / MAX PLAYERS AT BOTTOM OF THE LIST ]
$lgsl_config['list']['totals'] = 1;
//------------------------------------------------------------------------------------------------------------+
//[ ZONE SHOWS PLAYER NAMES - OPTIONS: 0=NO 1=YES ]
$lgsl_config['players'][1] = 1;
$lgsl_config['players'][2] = 1;
$lgsl_config['players'][3] = 1;
$lgsl_config['players'][4] = 1;
$lgsl_config['players'][5] = 1;
$lgsl_config['players'][6] = 1;
$lgsl_config['players'][7] = 1;
$lgsl_config['players'][8] = 1;
//------------------------------------------------------------------------------------------------------------+
//[ ZONE RANDOMISATION - SEE README ON HOW TO USE ]
$lgsl_config['random'][1] = 0;
$lgsl_config['random'][2] = 0;
$lgsl_config['random'][3] = 0;
$lgsl_config['random'][4] = 0;
$lgsl_config['random'][5] = 0;
$lgsl_config['random'][6] = 0;
$lgsl_config['random'][7] = 0;
$lgsl_config['random'][8] = 0;
//------------------------------------------------------------------------------------------------------------+
//[ ZONE GRID WIDTH - INCREASE TO MAKE ZONES GO SIDE BY SIDE ]
$lgsl_config['grid'][1] = 1;
$lgsl_config['grid'][2] = 1;
$lgsl_config['grid'][3] = 1;
$lgsl_config['grid'][4] = 1;
$lgsl_config['grid'][5] = 1;
$lgsl_config['grid'][6] = 1;
$lgsl_config['grid'][7] = 1;
$lgsl_config['grid'][8] = 1;
//------------------------------------------------------------------------------------------------------------+
//[ ZONE SIZING - THE BOX CONTAINING PLAYER NAMES WILL INCREASE UNTIL THE HEIGHT LIMIT IS REACHED ]
$lgsl_config['zone']['width'] = "160"; // images will be cropped unless also resized to match
$lgsl_config['zone']['height'] = "100"; // maximum height of the zone box containing player names
$lgsl_config['zone']['line_size'] = "19"; // multiplied by number of players to set the zone box height
//------------------------------------------------------------------------------------------------------------+
//[ SORTING OPTIONS ]
$lgsl_config['sort']['servers'] = "players"; // option are: id, type, zone, players, status
$lgsl_config['sort']['players'] = "name"; // option are: name, score
//------------------------------------------------------------------------------------------------------------+
// [ HIDE OFFLINE SERVERS ON LIST AND ZONES - OPTIONS: 0=SHOW 1=HIDE ]
$lgsl_config['hide_offline'][0] = 1;
$lgsl_config['hide_offline'][1] = 1;
$lgsl_config['hide_offline'][2] = 1;
$lgsl_config['hide_offline'][3] = 1;
$lgsl_config['hide_offline'][4] = 1;
$lgsl_config['hide_offline'][5] = 1;
$lgsl_config['hide_offline'][6] = 1;
$lgsl_config['hide_offline'][7] = 1;
$lgsl_config['hide_offline'][8] = 1;
//------------------------------------------------------------------------------------------------------------+
//[ STAND-ALONE VERSION - ADMIN DETAILS ]
$lgsl_config['admin']['user'] = "";
$lgsl_config['admin']['pass'] = "";
//------------------------------------------------------------------------------------------------------------+
//[ STAND-ALONE VERSION DATABASE SETTINGS - MAINLY USED FOR THE STAND-ALONE VERSION ]
$lgsl_config['db']['server'] = "";
$lgsl_config['db']['user'] = "";
$lgsl_config['db']['pass'] = "";
$lgsl_config['db']['db'] = "lgsl";
$lgsl_config['db']['table'] = "lgsl";
//------------------------------------------------------------------------------------------------------------+
//[ FEED METHOD - OPTIONS: 0=DISABLED 1=CURL OR FSOCKOPEN 2=FSOCKOPEN ONLY ]
$lgsl_config['feed']['method'] = 0;
$lgsl_config['feed']['url'] = "
http://www.greycube.co.uk/lgsl/feed/lgs ... l_feed.php";
//------------------------------------------------------------------------------------------------------------+
//[ ADVANCED SETTINGS - DO NOT TOUCH THESE UNLESS YOU KNOW WHAT YOUR DOING ]
$lgsl_config['management'] = 0; // 1=show advanced management in the admin by default
$lgsl_config['public_add'] = 2; // 1=servers require approval OR 2=servers shown instantly
$lgsl_config['public_feed'] = 0; // 1=feed requests can add servers to your list
$lgsl_config['host_to_ip'] = 0; // 1=show the servers ip instead of its hostname
$lgsl_config['direct_index'] = 0; // 1=link to index.php instead of the folder
$lgsl_config['no_realpath'] = 0; // 1=do not use the realpath function
$lgsl_config['retry_offline'] = 0; // 1=repeat query if a server does not respond the first time
$lgsl_config['timeout'] = 0; // 1=increase the time a server is given to respond
$lgsl_config['live_time'] = 4; // maximum loading delay from getting server updates
$lgsl_config['cache_time'] = 60; // seconds before the cached information is considered old
$lgsl_config['url_path'] = ""; // full url to /lgsl_files/ for when auto detection fails
$lgsl_config['cms'] = "sa"; // sets which CMS specific code to use
//------------------------------------------------------------------------------------------------------------+
?>