fix hero train problem
update
update embassy: now show invitations only when embassy is level 1 or more
Update sql.sql

Fixed movement time bug.'starttime' and 'endtime' type are changed from float to int(11).
Merge pull request #230 from hexcoded/patch-1

Update sql.sql
mpre updates
update medals.php, almost all training files and hero_full.php(not 100% but i will do it soon)
update hero_full.php: finish imperian
Occupied/Unoccupied Oasis name fix

Fix the name of Oasis.The own Oasis is show like Unoccupied after when we try to send troops etc.

from:
$villageName = “Unoccupied oasis”;
to:
$villageName = $database->getOasisField($oid,"name");
Occupied/Unoccupied Oasis name fix

Fix the name of Oasis.The own Oasis is show like Unoccupied after when we try to send troops etc.

from:
$otext = ($basearray['occupied'] == 1)? "occupied" : "unoccupied";
to
$otext = ($oasis['name']);


from:
"<a href=\"a2b.php?z=".$_GET['d']."&o\">&raquo; Raid $otext oasis.</a>" :
to:
"<a href=\"a2b.php?z=".$_GET['d']."&o\">&raquo; Raid $otext .</a>" :
Merge pull request #231 from hexcoded/patch-2

Occupied/Unoccupied Oasis name fix
Merge pull request #232 from hexcoded/patch-3

Occupied/Unoccupied Oasis name fix
Update 17_4.tpl

(Gold Club Active)MarketPlace -Trade Routes .The user get error when try to delete/expand non selected  route or non route in  list.(You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1).

TravianZ\trunk\Templates\Build\17_4_test.tpl
before  line 60 :
<a href="build.php?action=extendRoute&routeid=<?php echo $routeid; ?>">extend</a>*
add line:
<?php $routeid=$routeid == 0? $routeid=0:$routeid; ?>
Update Automation.php

Fixed syntax error in line 976.
from:micrtime(true)
to:  microtime(true)
Merge pull request #234 from hexcoded/patch-4

Update 17_4.tpl
Merge pull request #235 from hexcoded/patch-5

Update Automation.php
update hero_full.php: finish roman units
update hero_full.php: finish roman units
update hero_full.php: finish roman units
update hero full.php (finish 3 teuton units) + update Autmation.php (fix bug of the same attack power for attacks in the same time)