This commit is contained in:
Shadow
2014-05-12 08:43:32 +03:00
parent 7cfa82a18d
commit e337ac2b4d
93 changed files with 2105 additions and 1957 deletions
+9 -9
View File
@@ -2,16 +2,16 @@
include("next.tpl");
?>
<div id="build" class="gid9"><a href="#" onClick="return Popup(9,4);" class="build_logo">
<img class="building g9" src="img/x.gif" alt="Bakery" title="Bakery" />
<img class="building g9" src="img/x.gif" alt="Bakery" title="<?php echo BAKERY; ?>" />
</a>
<h1>Bakery <span class="level">Level <?php echo $village->resarray['f'.$id]; ?></span></h1>
<p class="build_desc">Here the flour produced in your mill is used to bake bread. In addition with the Grain Mill the increase in crop production can go up to 50 percent.</p>
<h1><?php echo BAKERY; ?> <span class="level"><?php echo LEVEL; ?> <?php echo $village->resarray['f'.$id]; ?></span></h1>
<p class="build_desc"><?php echo BAKERY_DESC; ?></p>
<table cellpadding="1" cellspacing="1" id="build_value">
<tr>
<th>Current crop bonus:</th>
<td><b><?php echo $bid9[$village->resarray['f'.$id]]['attri']; ?></b> Percent</td>
<th><?php echo CURRENT_CROP_BONUS; ?></th>
<td><b><?php echo $bid9[$village->resarray['f'.$id]]['attri']; ?></b> <?php echo PERCENT; ?></td>
</tr>
<tr>
<?php
@@ -19,13 +19,13 @@ include("next.tpl");
$next = $village->resarray['f'.$id]+1+$loopsame+$doublebuild+$master;
if($next<=5){
?>
<th>Crop bonus at level <?php echo $next; ?>:</th>
<td><b><?php echo $bid9[$next]['attri']; ?></b> Percent</td>
<th><?php echo CROP_BONUS_LEVEL; ?> <?php echo $next; ?>:</th>
<td><b><?php echo $bid9[$next]['attri']; ?></b> <?php echo PERCENT; ?></td>
<?php
}else{
?>
<th>Crop bonus at level 5:</th>
<td><b><?php echo $bid9[5]['attri']; ?></b> Percent</td>
<th><?php echo CROP_BONUS_LEVEL; ?> 5:</th>
<td><b><?php echo $bid9[5]['attri']; ?></b> <?php echo PERCENT; ?></td>
<?php
}}
?>