Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
All in One v7.0
#21
[Image: printscreenk.jpg]
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']; ?>
&amp;screen=info_village&amp;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
Reply


Messages In This Thread
All in One v7.0 - by Botond95 - 20.04.2011, 14:47
RE: All in One v7.0 - by SlimShady95 - 20.04.2011, 15:01
RE: All in One v7.0 - by Botond95 - 20.04.2011, 16:01
RE: All in One v7.0 - by SlimShady95 - 20.04.2011, 16:18
RE: All in One v7.0 - by Botond95 - 20.04.2011, 16:31
RE: All in One v7.0 - by Molt - 20.04.2011, 16:50
RE: All in One v7.0 - by Botond95 - 20.04.2011, 18:31
RE: All in One v7.0 - by Molt - 20.04.2011, 19:33
RE: All in One v7.0 - by Botond95 - 20.04.2011, 20:05
RE: All in One v7.0 - by SlimShady95 - 20.04.2011, 23:35
RE: All in One v7.0 - by Botond95 - 21.04.2011, 07:51
RE: All in One v7.0 - by Molt - 21.04.2011, 15:58
RE: All in One v7.0 - by Botond95 - 21.04.2011, 16:15
RE: All in One v7.0 - by Molt - 21.04.2011, 16:17
RE: All in One v7.0 - by Botond95 - 21.04.2011, 16:25
RE: All in One v7.0 - by lolli1 - 21.04.2011, 16:44
RE: All in One v7.0 - by Botond95 - 21.04.2011, 16:47
RE: All in One v7.0 - by snake 9 - 21.04.2011, 16:51
RE: All in One v7.0 - by Botond95 - 21.04.2011, 16:52
RE: All in One v7.0 - by snake 9 - 21.04.2011, 16:54
RE: All in One v7.0 - by Botond95 - 21.04.2011, 16:56
RE: All in One v7.0 - by snake 9 - 21.04.2011, 17:04
RE: All in One v7.0 - by Botond95 - 21.04.2011, 17:04
RE: All in One v7.0 - by snake 9 - 21.04.2011, 17:06
RE: All in One v7.0 - by Botond95 - 21.04.2011, 17:07
RE: All in One v7.0 - by snake 9 - 21.04.2011, 17:08
RE: All in One v7.0 - by Botond95 - 21.04.2011, 17:11
RE: All in One v7.0 - by snake 9 - 21.04.2011, 17:12
RE: All in One v7.0 - by Botond95 - 21.04.2011, 17:29
RE: All in One v7.0 - by Molt - 21.04.2011, 17:32
RE: All in One v7.0 - by snake 9 - 21.04.2011, 18:10
RE: All in One v7.0 - by Botond95 - 21.04.2011, 18:43
RE: All in One v7.0 - by snake 9 - 21.04.2011, 18:50
RE: All in One v7.0 - by Botond95 - 21.04.2011, 19:06
RE: All in One v7.0 - by snake 9 - 21.04.2011, 19:11
RE: All in One v7.0 - by Botond95 - 21.04.2011, 19:14
RE: All in One v7.0 - by snake 9 - 21.04.2011, 19:15
RE: All in One v7.0 - by Botond95 - 21.04.2011, 19:18
RE: All in One v7.0 - by snake 9 - 21.04.2011, 19:26
RE: All in One v7.0 - by Botond95 - 21.04.2011, 19:29
RE: All in One v7.0 - by Bettdecke1 - 21.04.2011, 19:54
RE: All in One v7.0 - by Molt - 22.04.2011, 07:35
RE: All in One v7.0 - by Botond95 - 22.04.2011, 08:27



Users browsing this thread: 1 Guest(s)