more updates

This commit is contained in:
unknown
2012-08-10 19:21:15 +03:00
parent 0c818070a7
commit 13567e4954
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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){
+1 -1
View File
@@ -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>";