mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-09 22:26:10 +00:00
fix game end screen 100% and ww.tpl
This commit is contained in:
@@ -27,9 +27,8 @@ $wwname = $database->getWWName($vref);
|
||||
if($village->resarray['f99'] < 0){
|
||||
echo 'You need to have World Wonder level 1 to be able to change its name.
|
||||
<center><br />World Wonder name: <input class="text" name="wwname" id="wwname" disabled="disabled" value="'.$wwname.'" maxlength="20"></center><p class="btn"><input type="image" value="" tabindex="9" name="s1" disabled="disabled" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" /></p>';
|
||||
} else if($village->resarray['f99'] > 0 and < 11) {
|
||||
} else if($village->resarray['f99'] > 0 and $village->resarray['f99'] < 11) {
|
||||
echo '<center><br />World Wonder name: <input class="text" name="wwname" id="wwname" value="'.$wwname.'" maxlength="20"></center><p class="btn"><input type="image" value="" tabindex="9" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" /></p>';
|
||||
}
|
||||
} else if ($village->resarray['f99'] < 0){
|
||||
echo 'You can not change the name of the World Wonder after level 10.
|
||||
<center><br />World Wonder name: <input class="text" name="wwname" id="wwname" disabled="disabled" value="'.$wwname.'" maxlength="20"></center><p class="btn"><input type="image" value="" tabindex="9" name="s1" disabled="disabled" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" /></p>';
|
||||
|
||||
@@ -42,6 +42,10 @@ if(isset($_GET['o'])) {
|
||||
}
|
||||
$process = $units->procUnits($_POST);
|
||||
|
||||
if(isset($_GET['z']))
|
||||
{
|
||||
$automation->isWinner();
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
include ("GameEngine/Chat.php");
|
||||
$start = $generator->pageLoadTimeStart();
|
||||
$alliance->procAlliance($_GET);
|
||||
if(isset($_GET['s'])){
|
||||
$automation->isWinner();
|
||||
}
|
||||
if($_GET['aid']!=0 or $session->alliance!=0){
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
@@ -47,6 +47,9 @@ if(isset($_GET['id'])) {
|
||||
if (isset($_POST['a']) == 533374 && isset($_POST['id']) == 39){
|
||||
$units->Settlers($_POST);
|
||||
}
|
||||
if(isset($_GET['id'])){
|
||||
$automation->isWinner();
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
|
||||
@@ -20,10 +20,6 @@ if(isset($_GET['newdid'])) {
|
||||
else {
|
||||
$building->procBuild($_GET);
|
||||
}
|
||||
if(isset($_GET['a']))
|
||||
{
|
||||
$automation->isWinner();
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
|
||||
@@ -18,10 +18,6 @@ if(isset($_GET['newdid'])) {
|
||||
else {
|
||||
$building->procBuild($_GET);
|
||||
}
|
||||
if(isset($_GET['a']))
|
||||
{
|
||||
$automation->isWinner();
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
|
||||
@@ -14,6 +14,9 @@
|
||||
include("GameEngine/Village.php");
|
||||
$start = $generator->pageLoadTimeStart();
|
||||
$message->procMessage($_POST);
|
||||
if(isset($_GET['t'])){
|
||||
$automation->isWinner();
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
|
||||
@@ -20,7 +20,7 @@ if(isset($_GET['newdid'])) {
|
||||
else {
|
||||
$building->procBuild($_GET);
|
||||
}
|
||||
|
||||
$automation->isWinner();
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
|
||||
@@ -19,6 +19,9 @@ if(isset($_GET['newdid'])) {
|
||||
$_SESSION['wid'] = $_GET['newdid'];
|
||||
header("Location: ".$_SERVER['PHP_SELF']);
|
||||
}
|
||||
if(isset($_GET['s'])){
|
||||
$automation->isWinner();
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
|
||||
Reference in New Issue
Block a user