Jump to content

Tofiks

Biedrs
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Bet vaina nebij css, es kodu apskatiju no webarhiva itka ideja man bij bet nesapratu kur problema versos pie specuka!
  2. <?php require("include/config.php"); head("Serveri"); //------------------------------------------------------------------------------------------------------------+ //[ PREPARE CONFIG - DO NOT CHANGE OR MOVE THIS ] global $server_config; $server_config = array(); //------------------------------------------------------------------------------------------------------------+ //[ BACKGROUND COLORS - CHANGE TO MATCH YOUR THEME ] $server_config['background'][1] = "background-color:#e4eaf2;border-bottom: 1px solid #fff"; $server_config['background'][2] = "background-color:#f4f7fa;border-bottom: 1px solid #ccd5e2"; //------------------------------------------------------------------------------------------------------------+ //[ SHOW TOTAL SERVERS / PLAYERS / MAX PLAYERS AT BOTTOM OF THE LIST ] $server_config['list']['totals'] = 0; $server_config['D_ROOT'] = $_SERVER['DOCUMENT_ROOT']."/"; $server_config['http'] = url; //------------------------------------------------------------------------------------------------------------+ //[ ZONE SHOWS PLAYER NAMES - OPTIONS: 0=NO 1=YES ] $server_config['players'][1] = 1; $server_config['players'][2] = 1; $server_config['players'][3] = 1; $server_config['players'][4] = 1; $server_config['players'][5] = 1; $server_config['players'][6] = 1; $server_config['players'][7] = 1; $server_config['players'][8] = 1; //------------------------------------------------------------------------------------------------------------+ //[ ZONE RANDOMISATION - SEE README ON HOW TO USE ] $server_config['random'][1] = 0; $server_config['random'][2] = 0; $server_config['random'][3] = 0; $server_config['random'][4] = 0; $server_config['random'][5] = 0; $server_config['random'][6] = 0; $server_config['random'][7] = 0; $server_config['random'][8] = 0; //------------------------------------------------------------------------------------------------------------+ //[ ZONE GRID WIDTH - INCREASE TO MAKE ZONES GO SIDE BY SIDE ] $server_config['grid'][1] = 1; $server_config['grid'][2] = 1; $server_config['grid'][3] = 1; $server_config['grid'][4] = 1; $server_config['grid'][5] = 1; $server_config['grid'][6] = 1; $server_config['grid'][7] = 1; $server_config['grid'][8] = 1; //------------------------------------------------------------------------------------------------------------+ //[ ZONE SIZING ] $server_config['zone']['width'] = "160"; // images will be fuzzy or cropped until resized to match $server_config['zone']['height'] = "100"; // height of the zone box containing the player names //------------------------------------------------------------------------------------------------------------+ //[ SORTING OPTIONS ] $server_config['sort']['servers'] = "players"; // other options are "players" $server_config['sort']['players'] = "score"; // other options are "score" //------------------------------------------------------------------------------------------------------------+ // [ HIDE OFFLINE SERVERS ON LIST AND ZONES - OPTIONS: 0=SHOW 1=HIDE ] $server_config['hide_offline'][0] = 0; $server_config['hide_offline'][1] = 0; $server_config['hide_offline'][2] = 0; $server_config['hide_offline'][3] = 0; $server_config['hide_offline'][4] = 0; $server_config['hide_offline'][5] = 0; $server_config['hide_offline'][6] = 0; $server_config['hide_offline'][7] = 0; $server_config['hide_offline'][8] = 0; //------------------------------------------------------------------------------------------------------------+ //[ e107 VERSION - PAGE AND ZONE TITLES - FOR OTHER CMS USE THE ADMIN PANEL ] //------------------------------------------------------------------------------------------------------------+ //[ TEXT OPTIONS - 'nmp' AND 'nnm' ONLY CHANGE WHEN CACHE IS EMPTY ( CLICK UPDATE IN ADMIN PANEL ) ] $server_config['text']['vsd'] = "CLICK TO VIEW SERVER DETAILS"; $server_config['text']['slk'] = "GAME LINK"; $server_config['text']['sts'] = "Statuss:"; $server_config['text']['adr'] = "Adrese:"; $server_config['text']['cpt'] = "Connection Port:"; $server_config['text']['qpt'] = "Ports:"; $server_config['text']['typ'] = "Tips:"; $server_config['text']['gme'] = "Spēle:"; $server_config['text']['map'] = "Karte:"; $server_config['text']['plr'] = "Spēlētāji:"; $server_config['text']['npi'] = "Nav spēlētāju"; $server_config['text']['nei'] = "Nav papildus informācija"; $server_config['text']['onl'] = "Ieslēgts"; $server_config['text']['onp'] = "Ieslēgts ar paroli"; $server_config['text']['nrs'] = "Nav atbildes"; $server_config['text']['pen'] = "WAITING TO BE QUERIED"; $server_config['text']['zpl'] = "Spēlētāji:"; $server_config['text']['mid'] = "MISSING OR INVALID SERVER ID"; $server_config['text']['nnm'] = "Serveris pašlaik nedarbojas"; $server_config['text']['nmp'] = "-"; $server_config['text']['tns'] = "Serveri:"; $server_config['text']['tnp'] = "Spēlētāji:"; $server_config['text']['tmp'] = "Max Spēlētāji:"; //------------------------------------------------------------------------------------------------------------+ //[ STAND-ALONE VERSION - ADMIN DETAILS ] $server_config['admin']['user'] = "admin"; $server_config['admin']['pass'] = "dators"; //------------------------------------------------------------------------------------------------------------+ //[ FEED METHOD - OPTIONS: 0=DISABLED 1=CURL OR FSOCKOPEN 2=FSOCKOPEN ONLY ] $server_config['feed']['method'] = 0; $server_config['feed']['url'] = "http://www.greycube.co.uk/server/feed/server_files/server_feed.php"; //------------------------------------------------------------------------------------------------------------+ //[ ADVANCED SETTINGS - DO NOT TOUCH THESE UNLESS YOU REALLY KNOW WHAT YOUR DOING ] $server_config['live_time'] = 4; // seconds per page load allowed for live querying $server_config['cache_time'] = 70; // seconds before the cached information is considered old $server_config['management'] = 0; // 1 will show advanced management in the admin by default $server_config['retry_offline'] = 0; // 1 will quickly re-query offline servers $server_config['timeout'] = 0; // 1 will increase the query timeout $server_config['public_feed'] = 0; // 1 will allow anyone to add servers to your server database $server_config['cms'] = "sa"; // sets which CMS specific code to use $server_config['url_path'] = ""; // full domain path to /server_files/ for when path detection fails //------------------------------------------------------------------------------------------------------------+ //------------------------------------------------------------------------------------------------------------+ $output = ""; if (is_numeric(@$_GET['s'])) { require "include/details.php"; } elseif(@$_GET['do'] == "add") { require("include/server_add.php"); } else { require "include/list.php"; } echo $output; //------------------------------------------------------------------------------------------------------------+ foot(); ?> sql CREATE TABLE `servers` ( `id` int(11) NOT NULL auto_increment, `type` varchar(50) default NULL, `ip` varchar(255) default NULL, `c_port` varchar(5) default NULL, `q_port` varchar(5) default NULL, `s_port` varchar(5) default NULL, `status` tinyint(1) NOT NULL default '0', `cache_time` text, `website` varchar(300) default NULL, `map` varchar(200) default NULL, `pl_online` int(5) NOT NULL, `pl_max` int(5) NOT NULL, `players` text, `serveris` varchar(150) default NULL, `show` varchar(1) NOT NULL default '1', `balsis` varchar(10) NOT NULL, `cache` varchar(10000) NOT NULL, `zone` int(11) NOT NULL, `disabled` int(11) NOT NULL, `web` varchar(255) NOT NULL, `user_id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
  3. Liels tev paldies :) vot sis ir forums, ipasnieks sniedz momentalu palidzibu, vismaz zinu kur versties ja ir vajadziga palidziba! maz problema! https://prnt.sc/vjjhmo Var pielikt lai uzvelk ar peli uz noteikumi un apaksa rinda atveras stati,bani un tt ka apakasraksts css kkas ari ir jalabo teici itka! bet kas!
  4. css peivienots https://p.wam.lv/00dfc399-1c34-4359-b5e2-7085865fe248
  5. TAGAD MAN IR TA <div id="lil_log"></div> <div id="navigation"> <a href="<?=url;?>">Sākums</a> <a href="<?=forums_url;?>">Forums</a> <a href="<?=url;?>/bans">Bani</a> <a href="<?=url;?>/blog"> Lietotāju BLOGI</a> <a href="<?=url;?>/it">IT jaunumi</a> <a href="<?=url;?>/games">Fleškas</a> <a href="<?=url;?>/users">Lietotāji</a> </div> <div class="menu"> <ul> <li><a href="#">Galerijas</a> <ul> <li><a href="<?=url;?>/videos">Video</a></li> <li><a href="<?=url;?>/images">Attēli</a></li> </ul> </li> <li><a href="#">Noteikumi</a> <ul> <li><a href="<?=url;?>/rules/server">Serveros</a></li> <li><a href="<?=url;?>/rules/website">Mājaslapā</a></li> <li><a href="<?=url;?>/rules/forum">Forumā</a></li> </ul> </li> </ul> </div> https://prnt.sc/vjixx0 BET VAJAGA LAI TA IR https://prnt.sc/vjiy6v AR LI SISTEMU <LI> </LI> MEGINU NESANAK!
×
×
  • Create New...