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
#22
if its a problem whitht the stamm.css please load it up but pleas to this url because i cannot download the all in one from your webspace

ples load up the stamm.css and the game.tpl to http://www.file-upload.net/

sorry for bad english
Falls ich dir helfen konnte bewerte mich bitte
Reply
#23
original stamme.css with 7.0 without: [Image: originalcn.jpg]
Reply
#24
yes but please load them up i will look for fails
Falls ich dir helfen konnte bewerte mich bitte
Reply
#25
http://www.file-upload.net/download-3376...m.css.html
Reply
#26
and please the game.tpl too
Falls ich dir helfen konnte bewerte mich bitte
Reply
#27
http://www.file-upload.net/download-3376...e.tpl.html
Reply
#28
thanks i will look for fails now
i think its mot a problem whith the stamm.css
Falls ich dir helfen konnte bewerte mich bitte
Reply
#29
sure there is a bug
Reply
#30
@snake: Ich würd mal bei table- oder td-Tags nach "padding" (oder "margin") suchen, vllt. liegt der Fehler da.
Reply
#31
mach ich thx möltieleinchen
Botond95 please load up the game_map.tpl
Falls ich dir helfen konnte bewerte mich bitte
Reply
#32
http://www.file-upload.net/download-3376...p.tpl.html
Reply
#33
thank you
I think you have to take this game.tpl: http://www.file-upload.net/download-3376...p.tpl.html

please test it

sorry for bad english
Falls ich dir helfen konnte bewerte mich bitte
Reply
#34
bad...
[Image: print1b.jpg]
Reply
#35
sorry but i don't know an other idea
Falls ich dir helfen konnte bewerte mich bitte
Reply
#36
sure that there is a problem in the stamm.css
Reply
#37
if i put the stamm.css in my htdocs folder there is noc problem whith the map
Falls ich dir helfen konnte bewerte mich bitte
Reply
#38
http://www.file-upload.net/download-3376...m.css.html
Reply
#39
i have got the stamm.css

i don't need it
Falls ich dir helfen konnte bewerte mich bitte
Reply
#40
something is not good for me
Reply




Users browsing this thread: 6 Guest(s)