translating

This commit is contained in:
kylesv
2012-04-12 16:36:30 +04:00
parent 58d5f2604e
commit 9b1f844ed1
5 changed files with 166 additions and 67 deletions
+6 -6
View File
@@ -16,10 +16,10 @@ $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'])." Level ".$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']).$lang['fields'][0].$arrayVillage['f'.$i]."\"/>\r\n";
}
?>
<area href="dorf2.php" coords="144,131,36" shape="circle" title="Village centre" alt="" />
<area href="dorf2.php" coords="144,131,36" shape="circle" title="<?php echo $lang['header'][1]; ?>" alt="" />
</map>
<div id="village_map" class="f<?php echo $village->type; ?>">
@@ -28,10 +28,10 @@ for($i=1;$i<=18;$i++) {
if($arrayVillage['f'.$i.'t'] != 0) {
$text = "";
switch($i){
case 1:$text = "Woodcutter Level";break;
case 2:$text = "Clay Pit Level";break;
case 3:$text = "Iron Mine Level";break;
case 4:$text = "Cropland Level";break;
case 1:$text = $lang['fileds'][1];break;
case 2:$text = $lang['fileds'][2];break;
case 3:$text = $lang['fileds'][3];break;
case 4:$text = $lang['fileds'][4];break;
}
echo "<img src=\"img/x.gif\" class=\"reslevel rf$i level".$arrayVillage['f'.$i]."\" alt=\"$text ".$arrayVillage['f'.$i]."\" />";
}
+4 -14
View File
@@ -38,16 +38,16 @@ div.c1 {text-align: center}
<p><a href="<?php echo HOMEPAGE; ?>"><?php echo HOME; ?></a> <a href="spieler.php?uid=<?php echo $session->uid; ?>"><?php echo PROFILE; ?></a> <a href="#" onclick="return Popup(0,0,1);"><?php echo INSTRUCT; ?></a> <?php if($session->access == MULTIHUNTER) {
echo "<a href=\"Admin/admin.php\"><font color=\"Blue\">Multihunter Panel</font></a>";
echo "<a href=\"Admin/admin.php\"><font color=\"Blue\">".MULTIHUNTER_PAN."</font></a>";
} ?> <?php if($session->access == ADMIN) {
echo "<a href=\"admin.php\"><font color=\"Red\">".ADMIN_PANEL."</font></a>";
echo "<a href=\"massmessage.php\">".MASS_MESSAGE."</a>";
echo "<a href=\"medals.php\">".UPDATE_T_10."</a>";
echo "<a href=\"sysmsg.php\">".SYSTEM_MESSAGE."</a>";
echo "<a href=\"create_account.php\">Create Natars</a>";
echo "<a href=\"create_account.php\">".CREATE_NAT."</a>";
} ?> <a href="logout.php"><?php echo LOGOUT; ?></a></p>
<a href="rules.php"><b>Game Rules</b></a>
<a href="rules.php"><b><?php echo GAME_RULES; ?></b></a>
<p><a href="plus.php?id=3">Travian <b><span class="plus_g">P</span><span class="plus_o">l</span><span class="plus_g">u</span><span class="plus_o">s</span></b></a>
<a href="spieler.php?uid=0"><b><?php echo SUPPORT; ?></b></a>
<br></p>
@@ -83,19 +83,9 @@ div.c1 {text-align: center}
<div class="clear"></div><?php
include("Templates/footer.tpl");
include("Templates/res.tpl");
include("Templates/serv_time.tpl");
?>
<div id="stime">
<div id="ltime">
<div id="ltimeWrap">
<?php echo CALCULATED_IN; ?><b><?php
echo round(($generator->pageLoadTimeEnd()-$start)*1000);
?></b> ms
<br>
<?php echo SERVER_TIME; ?><span id="tp1" class="b"><?php echo date('H:i:s'); ?></span>
</div>
</div>
</div>
<div id="ce"></div><?php
die();