This commit is contained in:
unknown
2012-10-09 16:18:11 +02:00
parent a85f401ef6
commit 215a2129d2
2 changed files with 84 additions and 12 deletions
+2 -2
View File
@@ -72,9 +72,9 @@ if(isset($_POST['result'])) {
echo "</b></p>";
if (isset($_POST['result'][3])&&isset($_POST['result'][4])){
if ($_POST['result'][4]>$_POST['result'][3]){
echo "Building destroid";
echo "<p>Building destroyed</p>";
}elseif ($_POST['result'][4]==0){
echo "The building isn't destroid";
echo "<p>The building isn't destroyed</p>";
}else{
$demolish=$_POST['result'][4]/$_POST['result'][3];
//$Katalife=round($_POST['result'][4]-($_POST['result'][4]*$_POST['result'][1]));