Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Ar yra toks serverių listas?
Parašė -· 2009 Vas. 17 16:02:29
#2
Yra jei pasiredaguosi LSGL
Parašė E01· 2009 Vas. 17 16:02:36
#3
Nu o "cielo" nėr ?
Parašė Spyware· 2009 Vas. 17 16:02:40
#4
Yra.
Parašė E01· 2009 Vas. 17 16:02:38
#5
Gal gali numesti nuoroda iš kur atsisiusti jeigu turi
Parašė E01· 2009 Vas. 17 18:02:08
#6
Up ^
Parašė 7even· 2009 Vas. 17 18:02:33
#7
gali atsisiust is proseneles googles :)
Parašė edis2· 2009 Vas. 17 18:02:34
#8
Down. Paieškok truputi :[
Parašė E01· 2009 Vas. 17 19:02:43
#9
Tai tipo rasiu įprasta lgsl sąraša o tokio kaip man reikia negausiu tikrai google'i.lt
Parašė mNm.· 2009 Vas. 17 19:02:56
#10
Pasidaryk redaguodamas ta servu sarasa su $ sistema ir lgsl. ;)
Parašė E01· 2009 Vas. 17 20:02:17
#11
Su pinigų sistema *ašenė* gaunas.O man reik tokio tik be pinigų o iš manęs ne koks
php-fusio'res
Parašė E01· 2009 Vas. 17 20:02:43
#12
Iš kilo klausimas :? Vienu žodžiu taip turiu lgsl įkėliau į ftp vedu:
www.manotinklapis.lt/lgsl/admin.php Jungiuosiu ir vėl meta admin.php štai admin.php kodas kaip aš užpildau:
<?php
//------------------------------------------------------------------------------------------------------------+
require "lgsl_files/lgsl_config.php";
$auth = md5($_SERVER['REMOTE_ADDR'].md5($lgsl_config['admin']['user'].md5($lgsl_config['admin']['pass'])));
$cookie = $_COOKIE['lgsl_admin_auth'];
if (!$lgsl_config['admin']['user'] || !$lgsl_config['admin']['pass'])
{
echo "ADMIN USERNAME OR PASSWORD MISSING FROM CONFIG"; exit;
}
elseif ($lgsl_config['admin']['pass'] == "Counter-strike")
{
echo "ADMIN PASSWORD MUST BE CHANGED FROM THE DEFAULT"; exit;
}
elseif ($cookie == $auth)
{
setcookie("lgsl_admin_auth", $auth, (time() + (60 * 60 * 24)), "/");
define("LGSL_ADMIN", "1");
}
elseif ($lgsl_config['admin']['user'] == $_POST['lgsl_user'] && $lgsl_config['admin']['pass'] == $_POST['lgsl_pass'])
{
setcookie("lgsl_admin_auth", $auth, (time() + (60 * 60 * 24)), "/");
define("LGSL_ADMIN", "1");
}
//------------------------------------------------------------------------------------------------------------+
?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN' 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>Live Game Server List</title>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />
<meta http-equiv='content-style-type' content='text/css' />
<link rel='stylesheet' href='lgsl_style.css' type='text/css' />
</head>
<body>
<div style='height:30px'><br /></div>
<?php
//------------------------------------------------------------------------------------------------------------+
if (defined("LGSL_ADMIN"))
{
$output = "";
require "lgsl_files/lgsl_admin.php";
echo $output;
}
else
{
echo "
<form method='post' action='{$_SERVER['PHP_SELF']}' id='lgsl_admin_auth'>
<table style='margin:auto; text-align:center'>
<tr>
<td>
USERNAME:
</td>
<td>
<input type='text' name='Čia use įrašau ' value='' />
</td>
</tr>
<tr>
<td>
PASSWORD:
</td>
<td>
<input type='password' name='paswordas čia įrašau' value='' />
</td>
</tr>
<tr>
<td colspan='2'>
<br />
<input type='submit' name='Exp4' value='Login' />
</td>
</tr>
</div>
</form>";
}
//------------------------------------------------------------------------------------------------------------+
?>
</body>
</html>
Redagavo E01· 2009 Vas. 17 20:02:03
Parašė mNm.· 2009 Vas. 17 20:02:36
#13
lgsl_config.cfg uzpildei?
Parašė E01· 2009 Vas. 17 21:02:34
#14
Štai taip užpildau:
<?php
//------------------------------------------------------------------------------------------------------------+
//[ PREPARE CONFIG - DO NOT CHANGE OR MOVE THIS ]
global $lgsl_config; $lgsl_config = array();
//------------------------------------------------------------------------------------------------------------+
//[ BACKGROUND COLORS - CHANGE TO MATCH YOUR THEME ]
$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'] = 0;
//------------------------------------------------------------------------------------------------------------+
//[ 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 ]
$lgsl_config['zone']['width'] = "160"; // images will be fuzzy or cropped until resized to match
$lgsl_config['zone']['height'] = "100"; // height of the zone box containing the player names
//------------------------------------------------------------------------------------------------------------+
//[ SORTING OPTIONS ]
$lgsl_config['sort']['servers'] = "id"; // other options are "players"
$lgsl_config['sort']['players'] = "name"; // other options are "score"
//------------------------------------------------------------------------------------------------------------+
// [ HIDE OFFLINE SERVERS ON LIST AND ZONES - OPTIONS: 0=SHOW 1=HIDE ]
$lgsl_config['hide_offline'][0] = 0;
$lgsl_config['hide_offline'][1] = 0;
$lgsl_config['hide_offline'][2] = 0;
$lgsl_config['hide_offline'][3] = 0;
$lgsl_config['hide_offline'][4] = 0;
$lgsl_config['hide_offline'][5] = 0;
$lgsl_config['hide_offline'][6] = 0;
$lgsl_config['hide_offline'][7] = 0;
$lgsl_config['hide_offline'][8] = 0;
//------------------------------------------------------------------------------------------------------------+
//[ e107 VERSION - PAGE AND ZONE TITLES - FOR OTHER CMS USE THE ADMIN PANEL ]
$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";
//------------------------------------------------------------------------------------------------------------+
//[ TEXT OPTIONS - 'nmp' AND 'nnm' ONLY CHANGE WHEN CACHE IS EMPTY ( CLICK UPDATE IN ADMIN PANEL ) ]
$lgsl_config['text']['vsd'] = "CLICK TO VIEW SERVER DETAILS";
$lgsl_config['text']['slk'] = "GAME LINK";
$lgsl_config['text']['sts'] = "Status:";
$lgsl_config['text']['adr'] = "Address:";
$lgsl_config['text']['cpt'] = "Connection Port:";
$lgsl_config['text']['qpt'] = "Query Port:";
$lgsl_config['text']['typ'] = "Type:";
$lgsl_config['text']['gme'] = "Game:";
$lgsl_config['text']['map'] = "Map:";
$lgsl_config['text']['plr'] = "Players:";
$lgsl_config['text']['npi'] = "NO PLAYER INFO";
$lgsl_config['text']['nei'] = "NO EXTRA INFO";
$lgsl_config['text']['onl'] = "ONLINE";
$lgsl_config['text']['onp'] = "ONLINE WITH PASSWORD";
$lgsl_config['text']['nrs'] = "NO RESPONSE";
$lgsl_config['text']['pen'] = "WAITING TO BE QUERIED";
$lgsl_config['text']['zpl'] = "PLAYERS:";
$lgsl_config['text']['mid'] = "MISSING OR INVALID SERVER ID";
$lgsl_config['text']['nnm'] = "-";
$lgsl_config['text']['nmp'] = "-";
$lgsl_config['text']['tns'] = "Servers:";
$lgsl_config['text']['tnp'] = "Players:";
$lgsl_config['text']['tmp'] = "Max Players:";
//------------------------------------------------------------------------------------------------------------+
//[ STAND-ALONE VERSION - ADMIN DETAILS ]
$lgsl_config['admin']['user'] = "Nickas";
$lgsl_config['admin']['pass'] = "pasas";
//------------------------------------------------------------------------------------------------------------+
//[ DATABASE SETTINGS - USED BY THE STAND-ALONE VERSION AND SOME CMS ]
$lgsl_config['db']['server'] = " Mysql ";
$lgsl_config['db']['user'] = "Ftp nick";
$lgsl_config['db']['pass'] = "Ftp pas";
$lgsl_config['db']['db'] = "tinklalapis.net";
$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/lgsl_files/lgsl_feed.php";
//------------------------------------------------------------------------------------------------------------+
//[ ADVANCED SETTINGS - DO NOT TOUCH THESE UNLESS YOU REALLY KNOW WHAT YOUR DOING ]
$lgsl_config['live_time'] = 4; // seconds per page load allowed for live querying
$lgsl_config['cache_time'] = 70; // seconds before the cached information is considered old
$lgsl_config['management'] = 0; // 1 will show advanced management in the admin by default
$lgsl_config['retry_offline'] = 0; // 1 will quickly re-query offline servers
$lgsl_config['timeout'] = 0; // 1 will increase the query timeout
$lgsl_config['public_feed'] = 0; // 1 will allow anyone to add servers to your lgsl database
$lgsl_config['cms'] = "sa"; // sets which CMS specific code to use
$lgsl_config['url_path'] = ""; // full domain path to /lgsl_files/ for when path detection fails
//------------------------------------------------------------------------------------------------------------+
?>
Redagavo E01· 2009 Vas. 17 21:02:23
Parašė Pydisas· 2009 Kov. 4 19:03:37
#15
turiu,gera,perdirbta,savo LGSL,serveriu monitoriu,pavizdys
www.sa-mp.gan.lt
Parašė arturas88· 2009 Kov. 4 19:03:26
#16
google milijona tu listu galima surasti