install update

This commit is contained in:
Shadow
2014-03-17 07:36:46 +02:00
parent 23f8978661
commit 6e62f2232f
3 changed files with 30 additions and 11 deletions
+15 -1
View File
@@ -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. "); 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("PLAN","Ancient Construction Plan");
define("PLANVILLAGE","WW Buildingplan"); 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."); 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['forum'] = "Forum";
$lang['register'] = "Register"; $lang['register'] = "Register";
$lang['login'] = "Login"; $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";
?> ?>
+9 -6
View File
@@ -19,6 +19,7 @@
if(!file_exists('GameEngine/config.php')) { if(!file_exists('GameEngine/config.php')) {
header("Location: install/"); header("Location: install/");
exit;
} }
include ("GameEngine/config.php"); include ("GameEngine/config.php");
@@ -77,7 +78,7 @@ include ("GameEngine/Lang/".LANG.".php");
show_flags('', '', region_list); show_flags('', '', region_list);
</script> </script>
</div> </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"> <div id="navigation">
<a href="index.php" class="home"><img src="img/x.gif" alt="Travian" /></a> <a href="index.php" class="home"><img src="img/x.gif" alt="Travian" /></a>
<table class="menu"> <table class="menu">
@@ -123,9 +124,9 @@ include ("GameEngine/Lang/".LANG.".php");
<td><?php <td><?php
$users = mysql_num_rows(mysql_query("SELECT * FROM " . TB_PREFIX . "users WHERE tribe!=0 AND tribe!=4 AND tribe!=5")); $return=mysql_query("SELECT * FROM " . TB_PREFIX . "users WHERE tribe!=0 AND tribe!=4 AND tribe!=5");
echo $users; $users=(!empty($return))? mysql_num_rows($return):0;
echo $users;
?></td> ?></td>
</tr> </tr>
@@ -138,7 +139,8 @@ include ("GameEngine/Lang/".LANG.".php");
<td><?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; echo $active;
?></td> ?></td>
@@ -153,7 +155,8 @@ include ("GameEngine/Lang/".LANG.".php");
<td><?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; echo $online;
?></td> ?></td>
+5 -3
View File
@@ -1,9 +1,11 @@
<?php <?php
include ("../../GameEngine/config.php"); if(!isset($_SESSION)) session_start();
include ("../../GameEngine/Database.php"); $gameinstall = 1;
include ("../../GameEngine/Admin/database.php"); include ("../../GameEngine/config.php");
include ("../../GameEngine/Database.php");
include ("../../GameEngine/Admin/database.php");
mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS); mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS);