Code:
<table style="background-color: #f8edce; border: 0px solid #f8edce;" cellspacing="0" cellpadding="0" class="map">
<?php $_from = $this->_tpl_vars['y_coords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['y']):
?>
<tr>
<td width="20"><?php echo $this->_tpl_vars['y']; ?>
</td>
<?php $_from = $this->_tpl_vars['x_coords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['x']):
?>
<?php if (! $this->_tpl_vars['cl_map']->getVillage($this->_tpl_vars['x'],$this->_tpl_vars['y'])): ?>
<?php
$rand = rand(0,30);
?>
<td id="tile_<?php echo $this->_tpl_vars['x']; ?>
_<?php echo $this->_tpl_vars['y']; ?>
" class="<?php echo $this->_tpl_vars['cl_map']->getClass($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
"><img src="graphic/map/
<?php
if($rand <=28)
{
echo "gras4.png";
}
else if($rand==29)
{
echo "forest0000.png";
}
if ($rand==30)
{
echo "see.png";
}
?>
" alt="" /></td>
<?php else: ?>
<td id="tile_<?php echo $this->_tpl_vars['x']; ?>_<?php echo $this->_tpl_vars['y']; ?>" class="<?php echo $this->_tpl_vars['cl_map']->getClass($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
" style="background-color:rgb(<?php echo $this->_tpl_vars['cl_map']->getColor($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
)"><a href="game.php?village=<?php echo $this->_tpl_vars['village']['id']; ?>
&screen=info_village&id=<?php echo $this->_tpl_vars['cl_map']->getvillageid($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
"><img src="graphic/map/<?php echo $this->_tpl_vars['cl_map']->graphic($this->_tpl_vars['x'],$this->_tpl_vars['y']); if (get_bonus($this->_tpl_vars[x], $this->_tpl_vars[y])) echo 'b.png'; ?>" onmouseover="map_popup('<?php echo $this->_tpl_vars['cl_map']->getVillage($this->_tpl_vars['x'],$this->_tpl_vars['y'],'name'); ?>
(<?php echo $this->_tpl_vars['x']; ?>
|<?php echo $this->_tpl_vars['y']; ?>
) K <?php echo $this->_tpl_vars['cl_map']->getcon($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
', <?php echo $this->_tpl_vars['cl_map']->getvillage($this->_tpl_vars['x'],$this->_tpl_vars['y'],'points'); ?>
, <?php echo $this->_tpl_vars['cl_map']->playerinfo($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
, <?php echo $this->_tpl_vars['cl_map']->getally($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
, false, <?php echo $this->_tpl_vars['x']; ?>
, <?php echo $this->_tpl_vars['y']; ?>
, <?php echo $this->_tpl_vars['village']['id']; ?>
, <?php echo $this->_tpl_vars['cl_map']->getvillage($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
)" onmouseout="map_kill()" alt="" /></a></td>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
</tr>
<?php endforeach; endif; unset($_from); ?>
<tr>
<td height="20"></td>
<?php $_from = $this->_tpl_vars['x_coords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['x']):
?>
<td><?php echo $this->_tpl_vars['x']; ?>
</td>
<?php endforeach; endif; unset($_from); ?>
</tr></table>
I think the problem is the stamme.css
recovers the original with stamme.css