mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-29 09:04:26 +00:00
install update
This commit is contained in:
+16
-2
@@ -845,7 +845,7 @@ The construction plans are conquerable immediately when they appear to the serve
|
||||
There will be a countdown in game, showing the exact time of the release, 5 days prior to the launch. ");
|
||||
|
||||
|
||||
//Building Plans
|
||||
//planos
|
||||
define("PLAN","Ancient Construction Plan");
|
||||
define("PLANVILLAGE","WW Buildingplan");
|
||||
define("PLAN_DESC","With this ancient construction plan you will able to build World Wonder to level 50. to build further, your alliance must hold at least two plans.");
|
||||
@@ -903,6 +903,20 @@ define("WWVILLAGE","WW village");
|
||||
$lang['forum'] = "Forum";
|
||||
$lang['register'] = "Register";
|
||||
$lang['login'] = "Login";
|
||||
$lang['screenshots']['title1']="Village";
|
||||
$lang['screenshots']['desc1']="Village building";
|
||||
$lang['screenshots']['title2']="Resource";
|
||||
$lang['screenshots']['desc2']="Village resource is wood, clay, iron and crop";
|
||||
$lang['screenshots']['title3']="Map";
|
||||
$lang['screenshots']['desc3']="Location your village in map";
|
||||
$lang['screenshots']['title4']="Contruct Building";
|
||||
$lang['screenshots']['desc4']="How to contruct building or resource level";
|
||||
$lang['screenshots']['title5']="Report";
|
||||
$lang['screenshots']['desc5']="Your attack report";
|
||||
$lang['screenshots']['title6']="Statistics";
|
||||
$lang['screenshots']['desc6']="View your ranking in statistics";
|
||||
$lang['screenshots']['title7']="Weapons or dough";
|
||||
$lang['screenshots']['desc7']="You can choose to play as military or economy";
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
if(!file_exists('GameEngine/config.php')) {
|
||||
header("Location: install/");
|
||||
exit;
|
||||
}
|
||||
|
||||
include ("GameEngine/config.php");
|
||||
@@ -77,7 +78,7 @@ include ("GameEngine/Lang/".LANG.".php");
|
||||
show_flags('', '', region_list);
|
||||
</script>
|
||||
</div>
|
||||
<div id="header"><h1><?php echo WELCOME; ?></h1></div>
|
||||
<div id="header"><h1><?php echo $lang['index'][0][1]; ?></h1></div>
|
||||
<div id="navigation">
|
||||
<a href="index.php" class="home"><img src="img/x.gif" alt="Travian" /></a>
|
||||
<table class="menu">
|
||||
@@ -123,9 +124,9 @@ include ("GameEngine/Lang/".LANG.".php");
|
||||
|
||||
<td><?php
|
||||
|
||||
$users = mysql_num_rows(mysql_query("SELECT * FROM " . TB_PREFIX . "users WHERE tribe!=0 AND tribe!=4 AND tribe!=5"));
|
||||
echo $users;
|
||||
|
||||
$return=mysql_query("SELECT * FROM " . TB_PREFIX . "users WHERE tribe!=0 AND tribe!=4 AND tribe!=5");
|
||||
$users=(!empty($return))? mysql_num_rows($return):0;
|
||||
echo $users;
|
||||
?></td>
|
||||
</tr>
|
||||
|
||||
@@ -138,7 +139,8 @@ include ("GameEngine/Lang/".LANG.".php");
|
||||
|
||||
<td><?php
|
||||
|
||||
$active = mysql_num_rows(mysql_query("SELECT * FROM " . TB_PREFIX . "users WHERE " . time() . "-timestamp < (3600*24) AND tribe!=0 AND tribe!=4 AND tribe!=5"));
|
||||
$return = mysql_query("SELECT * FROM " . TB_PREFIX . "users WHERE " . time() . "-timestamp < (3600*24) AND tribe!=0 AND tribe!=4 AND tribe!=5");
|
||||
$active=(!empty($return))? mysql_num_rows($return):0;
|
||||
echo $active;
|
||||
|
||||
?></td>
|
||||
@@ -153,7 +155,8 @@ include ("GameEngine/Lang/".LANG.".php");
|
||||
|
||||
<td><?php
|
||||
|
||||
$online = mysql_num_rows(mysql_query("SELECT * FROM " . TB_PREFIX . "users WHERE " . time() . "-timestamp < (60*10) AND tribe!=0 AND tribe!=4 AND tribe!=5"));
|
||||
$return = mysql_query("SELECT * FROM " . TB_PREFIX . "users WHERE " . time() . "-timestamp < (60*10) AND tribe!=0 AND tribe!=4 AND tribe!=5");
|
||||
$online=(!empty($return))? mysql_num_rows($return):0;
|
||||
echo $online;
|
||||
|
||||
?></td>
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
<?php
|
||||
|
||||
|
||||
include ("../../GameEngine/config.php");
|
||||
include ("../../GameEngine/Database.php");
|
||||
include ("../../GameEngine/Admin/database.php");
|
||||
if(!isset($_SESSION)) session_start();
|
||||
$gameinstall = 1;
|
||||
include ("../../GameEngine/config.php");
|
||||
include ("../../GameEngine/Database.php");
|
||||
include ("../../GameEngine/Admin/database.php");
|
||||
|
||||
|
||||
mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS);
|
||||
|
||||
Reference in New Issue
Block a user