mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
Update build.php
This commit is contained in:
@@ -340,12 +340,12 @@ if(isset($_GET['id']) or isset($_GET['gid']) or $route == 1 or isset($_GET['rout
|
||||
else {
|
||||
include("Templates/Build/".$village->resarray['f'.$_GET['id'].'t'].".tpl");
|
||||
}
|
||||
if($_GET['buildingFinish'] == 1) {
|
||||
if($session->gold >= 2) {
|
||||
$building->finishAll();
|
||||
header("Location: build.php?gid=15");
|
||||
}
|
||||
}
|
||||
if($_GET['buildingFinish'] == 1) {
|
||||
if($session->gold >= 2) {
|
||||
$building->finishAll();
|
||||
header("Location: build.php?gid=".$_GET['id']."&ty=".$_GET['ty']);
|
||||
}
|
||||
}
|
||||
}
|
||||
}else{
|
||||
header("Location: dorf1.php");
|
||||
@@ -385,4 +385,4 @@ echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
||||
|
||||
<div id="ce"> </div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user