mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-09 06:06:09 +00:00
more updates
This commit is contained in:
@@ -76,7 +76,7 @@ class Automation {
|
||||
case 42: $build = "Great Workshop"; break;
|
||||
default: $build = "Nothing had"; break;
|
||||
}
|
||||
return $build;
|
||||
return addslashes($build);
|
||||
}
|
||||
|
||||
function recountPop($vid){
|
||||
|
||||
@@ -39,7 +39,7 @@ if ($units[$y]['sort_type']==3){
|
||||
for($i=$start;$i<=($end);$i++) {
|
||||
echo "<td><img src=\"img/x.gif\" class=\"unit u$i\" title=\"".$technology->getUnitName($i)."\" alt=\"".$technology->getUnitName($i)."\" /></td>";
|
||||
}
|
||||
if($units[$y]['t11'] != 0) {
|
||||
if($units[$y]['t11'] != 0 && $reinfowner == $session->uid) {
|
||||
echo "<td><img src=\"img/x.gif\" class=\"unit uhero\" title=\"Hero\" alt=\"Hero\" /></td>";
|
||||
}
|
||||
echo "</tr><tr><th>Troops</th>";
|
||||
|
||||
Reference in New Issue
Block a user