mirror of
https://github.com/glest/glest-source.git
synced 2025-02-26 12:43:06 +01:00
for now svn users can edit glestuser.ini and add the following entry (pointing to your folder of course) to see the country flags in game: CountryTexturePath=/home/softcoder/Code/megaglest/trunk/source/masterserver/flags
17 lines
551 B
PHP
17 lines
551 B
PHP
<?php
|
|
define( 'INCLUSION_PERMITTED', true );
|
|
require_once( 'config.php' );
|
|
require_once( 'functions.php' );
|
|
|
|
$link = db_connect();
|
|
mysql_select_db(MYSQL_DATABASE);
|
|
$recents_query = mysql_query('SELECT name, players FROM recent_servers' );
|
|
echo "<table>";
|
|
while($recent_server = mysql_fetch_assoc($recents_query)) {
|
|
echo "<tr><td>{$recent_server['name']}</td><td>{$recent_server['players']}</td></tr>";
|
|
}
|
|
echo "</table>";
|
|
|
|
db_disconnect($link);
|
|
?>
|