mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-19 09:40:59 +00:00
continue translate dorf1 and dorf2 fields
This commit is contained in:
@@ -42,7 +42,7 @@ include_once ("GameEngine/Ranking.php");
|
||||
<a href="massmessage.php">Mass message</a>
|
||||
<a href="sysmsg.php">System message</a>
|
||||
<a href="medals.php">Update top 10</a>
|
||||
<a href="?p=natarend">Add World Wonder Villages</a>
|
||||
<a href="?p=natarend">Add WW Villages</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="?p=admin_log"><font color="Red"><b>Admin Log</b></font></a>
|
||||
|
||||
+17
-17
@@ -12,10 +12,10 @@
|
||||
<map name="map1" id="map1">
|
||||
<?php
|
||||
if($building->walling()) {
|
||||
$wtitle = $building->procResType($building->walling())." Level ".$village->resarray['f40'];
|
||||
$wtitle = $building->procResType($building->walling())." ".$village->resarray['f40'].$lang['fields'][0];
|
||||
}
|
||||
else {
|
||||
$wtitle = ($village->resarray['f40'] == 0)? "Outer building site" : $building->procResType($village->resarray['f40t'],0)." Level ".$village->resarray['f40'];
|
||||
$wtitle = ($village->resarray['f40'] == 0)? $lang['fields'][5] : $building->procResType($village->resarray['f40t'],0)." ".$village->resarray['f40'].$lang['fields'][0];
|
||||
}
|
||||
?>
|
||||
<area href="build.php?id=40" title="<?php echo $wtitle; ?>" coords="325,225,180" shape="circle" alt="" />
|
||||
@@ -27,15 +27,15 @@ else {
|
||||
$coords = array(19=>"53,91,91,71,127,91,91,112","136,66,174,46,210,66,174,87","196,56,234,36,270,56,234,77","270,69,308,49,344,69,308,90","327,117,365,97,401,117,365,138","14,129,52,109,88,129,52,150","97,137,135,117,171,137,135,158","182,119,182,65,257,65,257,119,220,140","337,156,375,136,411,156,375,177","2,199,40,179,76,199,40,220","129,164,167,144,203,164,167,185","92,189,130,169,166,189,130,210","342,216,380,196,416,216,380,237","22,238,60,218,96,238,60,259","167,232,205,212,241,232,205,253","290,251,328,231,364,251,328,272","95,273,133,253,169,273,133,294","222,284,260,264,296,284,260,305","80,306,118,286,154,306,118,327","199,316,237,296,273,316,237,337","270,158,303,135,316,155,318,178,304,211,288,227,263,238,250,215");
|
||||
for($t=19;$t<=39;$t++) {
|
||||
if(($village->resarray['f99t'] == 40 AND ($t)=='25') or ($village->resarray['f99t'] == 40 AND ($t)=='26') or ($village->resarray['f99t'] == 40 AND ($t)=='29') or ($village->resarray['f99t'] == 40 AND ($t)=='30') or ($village->resarray['f99t'] == 40 AND ($t)=='33')) {
|
||||
echo "<area href=\"build.php?id=99\" title=\"WorldWonder Level ".$village->resarray['f99']."\" coords=\"$coords[$t]\" shape=\"poly\"/>";
|
||||
echo "<area href=\"build.php?id=99\" title=\"".$lang['buildings'][40]." ".$village->resarray['f99'].$lang['fields'][0]."\" coords=\"$coords[$t]\" shape=\"poly\"/>";
|
||||
} else {
|
||||
if($village->resarray['f'.$t.'t'] != 0) {
|
||||
$title = $building->procResType($village->resarray['f'.$t.'t']). " Level ".$village->resarray['f'.$t];
|
||||
}
|
||||
else {
|
||||
$title = "Building site";
|
||||
$title = $lang['fields'][6];
|
||||
if(($t == 39) && ($village->resarray['f'.$t] == 0)) {
|
||||
$title = "Rally Point building site";
|
||||
$title = $lang['fields'][7];
|
||||
}
|
||||
}
|
||||
echo "<area href=\"build.php?id=$t\" title=\"$title\" coords=\"$coords[$t]\" shape=\"poly\"/>";
|
||||
@@ -64,16 +64,16 @@ $vmapc = ($village->resarray['f40'] == 0)? "d2_0" : "d2_1".$session->tribe;
|
||||
for ($i=1;$i<=20;$i++) {
|
||||
if(($village->resarray['f99t'] == 40 AND ($i+18)=='25') or ($village->resarray['f99t'] == 40 AND ($i+18)=='26') or ($village->resarray['f99t'] == 40 AND ($i+18)=='29') or ($village->resarray['f99t'] == 40 AND ($i+18)=='30') or ($village->resarray['f99t'] == 40 AND ($i+18)=='33')) {
|
||||
} else {
|
||||
$text = "Building site";
|
||||
$text = $lang['fields'][6];
|
||||
$img = "iso";
|
||||
if($village->resarray['f'.($i+18).'t'] != 0) {
|
||||
$text = $building->procResType($village->resarray['f'.($i+18).'t'])." Level ".$village->resarray['f'.($i+18)];
|
||||
$text = $building->procResType($village->resarray['f'.($i+18).'t'])." ".$village->resarray['f'.($i+18)].$lang['fields'][0];
|
||||
$img = "g".$village->resarray['f'.($i+18).'t'];
|
||||
}
|
||||
foreach($building->buildArray as $job) {
|
||||
if($job['field'] == ($i+18)) {
|
||||
$img = 'g'.$job['type'].'b';
|
||||
$text = $building->procResType($job['type'])." Level ".$village->resarray['f'.$job['field']];
|
||||
$text = $building->procResType($job['type'])." ".$village->resarray['f'.$job['field']].$lang['fields'][0];
|
||||
}
|
||||
}
|
||||
echo "<img src=\"img/x.gif\" class=\"building d$i $img\" alt=\"$text\" />";
|
||||
@@ -81,30 +81,30 @@ for ($i=1;$i<=20;$i++) {
|
||||
}
|
||||
if($village->resarray['f39'] == 0) {
|
||||
if($building->rallying()) {
|
||||
echo "<img src=\"img/x.gif\" class=\"dx1 g16b\" alt=\"Rally Point Level ".$village->resarray['f39']."\" />";
|
||||
echo "<img src=\"img/x.gif\" class=\"dx1 g16b\" alt=\"".$lang['buildings'][16]." ".$village->resarray['f39'].$lang['fields'][0]."\" />";
|
||||
}
|
||||
else {
|
||||
echo "<img src=\"img/x.gif\" class=\"dx1 g16e\" alt=\"Rally Point building site\" />";
|
||||
echo "<img src=\"img/x.gif\" class=\"dx1 g16e\" alt=\"".$lang['fields'][7]."\" />";
|
||||
}
|
||||
}
|
||||
else {
|
||||
echo "<img src=\"img/x.gif\" class=\"dx1 g16\" alt=\"Rally Point Level ".$village->resarray['f39']."\" />";
|
||||
echo "<img src=\"img/x.gif\" class=\"dx1 g16\" alt=\"".$lang['buildings'][16]." ".$village->resarray['f39'].$lang['fields'][0]."\" />";
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if($village->resarray['f99t'] == 40) {
|
||||
if($village->resarray['f99'] >= 0 && $village->resarray['f99'] <= 19) {
|
||||
echo '<img class="ww g40" src="img/x.gif" alt="Worldwonder">'; }
|
||||
echo '<img class="ww g40" src="img/x.gif" alt="'.$lang['buildings'][40].'">'; }
|
||||
if($village->resarray['f99'] >= 20 && $village->resarray['f99'] <= 39) {
|
||||
echo '<img class="ww g40_1" src="img/x.gif" alt="Worldwonder">'; }
|
||||
echo '<img class="ww g40_1" src="img/x.gif" alt="'.$lang['buildings'][40].'">'; }
|
||||
if($village->resarray['f99'] >= 40 && $village->resarray['f99'] <= 59) {
|
||||
echo '<img class="ww g40_2" src="img/x.gif" alt="Worldwonder">'; }
|
||||
echo '<img class="ww g40_2" src="img/x.gif" alt="'.$lang['buildings'][40].'">'; }
|
||||
if($village->resarray['f99'] >= 60 && $village->resarray['f99'] <= 79) {
|
||||
echo '<img class="ww g40_3" src="img/x.gif" alt="Worldwonder">'; }
|
||||
echo '<img class="ww g40_3" src="img/x.gif" alt="'.$lang['buildings'][40].'">'; }
|
||||
if($village->resarray['f99'] >= 80 && $village->resarray['f99'] <= 99) {
|
||||
echo '<img class="ww g40_4" src="img/x.gif" alt="Worldwonder">'; }
|
||||
echo '<img class="ww g40_4" src="img/x.gif" alt="'.$lang['buildings'][40].'">'; }
|
||||
if($village->resarray['f99'] == 100) {
|
||||
echo '<img class="ww g40_5" src="img/x.gif" alt="Worldwonder">'; }
|
||||
echo '<img class="ww g40_5" src="img/x.gif" alt="'.$lang['buildings'][40].'">'; }
|
||||
}
|
||||
?>
|
||||
<div id="levels" <?php if(isset($_COOKIE['t3l'])) { echo "class=\"on\""; } ?> >
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ $arrayVillage = $village->resarray;
|
||||
?>
|
||||
<map name="rx" id="rx">
|
||||
<?php
|
||||
for($i=1;$i<=18;$i++) {echo " <area href=\"build.php?id=$i\" coords=\"$coorarray[$i]\" shape=\"circle\" title=\"".$building->procResType($arrayVillage['f'.$i.'t']).$lang['fields'][0].$arrayVillage['f'.$i]."\"/>\r\n";
|
||||
for($i=1;$i<=18;$i++) {echo " <area href=\"build.php?id=$i\" coords=\"$coorarray[$i]\" shape=\"circle\" title=\"".$building->procResType($arrayVillage['f'.$i.'t'])." ".$arrayVillage['f'.$i].$lang['fields'][0]."\"/>\r\n";
|
||||
}
|
||||
?>
|
||||
<area href="dorf2.php" coords="144,131,36" shape="circle" title="<?php echo $lang['header'][1]; ?>" alt="" />
|
||||
|
||||
Reference in New Issue
Block a user