Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dorfübersicht-Fehler
#1
Bei mir ist ein Fehler mit der Dorfübersicht! Ich bin hier auf meiner eigens erstellten Welt2! Das ist von BlackArrow, die Dorfübersicht! Schaut mal!
Reply
#2
Den Ordner templates_c leeren und den Cache deines Browser auch leeren.
Reply
#3
Habe schon alles gemacht, geht immer noch nicht!
Reply
#4
mach mal nen Hardreset
dann lösche teplates_c
dann stoppe DSlan, apache und mysql.

dann die 3 dateien wieder starten und dann sollte es gehen
[Image: 5%20cent.gif]°~°~°Wenn du Rechtschreibfehler findest kanst du sie behalten.°~°~°
[Image: create.php?uid=1736]
Reply
#5
(03.07.2009, 16:14)5 cent Wrote: mach mal nen Hardreset
dann lösche teplates_c
dann stoppe DSlan, apache und mysql.

dann die 3 dateien wieder starten und dann sollte es gehen
das bringt nichts bei der übersicht

hast du den dslanordner verschoben? hast du vielleicht nicht eine datei ersetzt? welche version verwendest du?

Reply
#6
ich verwende die 1.21 (AIO von Aga)! Welt 1 funtkioniert doch auch! Ich habe letztens nur einen hardreset gemacht! Jetzt wieder neu angemeldet und es funktioniert nicht mehr!
Reply
#7
hast du den ordner der aio verschoben? das sieht bei dir nämlich so aus, da dieses eine zeichen bei dir ist.

Reply
#8
NEIN, ich habe gar nichts verschoben!
Reply
#9
dann liegt es wohl an der stamm.css. hast du da was verändert?

Reply
#10
NEIN!
Reply
#11
welchen browser verwendest du?

Reply
#12
Ich hab nie eine 1.21 rausgebracht bin doch erst bei 0.4..^^

Welche genau hast du?
die derzeitige hat nähmlich kein Gruppentool..
Crap?!
Reply
#13
Dann habe ich also doch die von Yanici! Aber es steht folgendes auf der Startseite: © 2003 - 2009 InnoGames GmbH Templates by All in One by Agamendon.

Ich verwende Firefox! Wahrscheinlich liegt nicht am Browser, weil ja in Welt 1 das auch funktioniert!
Reply
#14
Hatte ich auch , nachdem ich mir die Dorfübersicht Version 5 neu gezogen hatte ging es wieder (i-ein file war defekt - wahrscheinlich die stamm.css)
aber im moment ist der server down auf dem die Datei hochgeladen war....
Reply
#15
@Heathen Man
schreib mal die stamm.css hier rein, damit er sie bei sich einfügen kann, ich habe die datei nicht auf diesesm pc.

Reply
#16
(04.07.2009, 11:59)knollenmax Wrote: Dann habe ich also doch die von Yanici! Aber es steht folgendes auf der Startseite: © 2003 - 2009 InnoGames GmbH Templates by All in One by Agamendon.

Ja, weil die stamm.css und andere .tpl von Agamendon für das Gruppentool und die Dorfübersicht v5 gefixt wurde.
Darum lasse ich ihn auch als Credits da unten stehen.
Also hast du mein AiO.
Manchmal denke ich:
Reply
#17
Gut hier die stamm.css :

PHP Code:
a:link    font-weight:boldcolor#804000; text-decoration:none; }
a:visited    {  font-weight:boldcolor#804000; text-decoration:none; }
a:active    {  font-weight:boldcolor#0082BE; text-decoration:none; }
a:hover font-weight:boldcolor#0082BE; text-decoration:none; }
td        font-size:9pt; }
.
hidden color:#DED3B9; }
table.main border-width:2pxborder-stylesolidborder-color:#804000; background-color:#F1EBDD; }
table.news background-color:#F1EBDD; }
.in_border background-color:#F1EBDD; text-align:left;}

span.timer_replace span display:none; }

form margin0px; }
p:first-childh1:first-childh2:first-childh3:first-childh4:first-child
    
h5:first-childh6:first-childh1+ph2+ph3+ph4+ph5+ph6+margin-top0px; }

table.blind border-spacing:0px; }
table.blind td padding0px; }

table.vis td background-color:#F8F4E8; }
table.vis td.selected background-color:#DED3B9; }
table.vis tr.nowrap td white-space:nowrapbackground-color:#F8F4E8; }
table.vis tr.units_own_home td background-color:#F8F4E8; }
table.vis tr.units_there td background-color:#F3EBCF; }
table.vis tr.units_away td background-color:#EDE1B7; }
table.vis tr.row_a td background-color:#F8F4E8; }
table.vis tr.row_b td background-color:#F3EBCF; }

table.menueadmin a:hover {
    
font-size:9pt;
    
text-alignleft;
    
background-color:#FFFFFF;
    
width:100%;
}

table.menueadmin td background-color:#F8F4E8; }

tr.nowrap td white-space:nowrap; }

table.intro td background-color:#F8F4E8; line-height:1.5em; padding:6px;   font-size:8pt}

/* Menüleiste */
table.menu {
    
border1px solid black;
    
background-color#F1EBDD;
}

/* Quickbar */
table.menu#quickbar {
    
border-spacing:1px;
}


/* Top-Menü-Item mit Hover */
table.menu tr td {
    
padding1pxpadding-left4pxpadding-right4px;
    
white-spacenowrap;
    
background-color#F8F4E8;
}

/* Quickbar MenüItem */
table.menu#quickbar tr td {
    
padding-top0pxpadding-bottom0px;
}

/* Das gesamte Untermenü */
table.menu tr td table {
    
z-index:100;
    
position:absolute;
    
border-top1px solid black;
    
border-top1px solid black;
    
margin-left: -5pxmargin-top:1px;
    
visibilityhidden;
}

/* Das gesamte Untermenü in sichtbar */
table.menu tr td:hover tabletable.menu tr td.hover table {
    
visibilityvisible;
}

/* Ein Untermenüpunkt */
table.menu tr td table tr td {
    
border1px solid black;
    
border-topnone;
}
/* Ein Link in einem Untermenüpunkt */
table.menu tr td table tr td a{
    
displayblock;
    
width100%;
}

/* Forum */
.forum background-color:#F1EBDD; border-width:1px; padding:1px; border-style:solid; border-color:#000000; white-space:nowrap; line-height:150%; }
.selected background-color:#FADC9B; }

table.map td font-size:8pttext-align:centervertical-align:middle;}

td.space-left border-left:1px solid #175E36; } /* zwischen normalen Feldern */
td.space-bottom border-bottom:1px solid #175E36; } 
td.border-left border-left:1px solid #103530; } /* "Sektorgrenzen" S1/S2/S6 */
td.border-bottom border-bottom:1px solid #103530; }
td.sector-left border-left:1px solid #DED3B9; } /* Sektorgrenzen */
td.sector-bottom border-bottom:1px solid #DED3B9; }

td.space-left-new {}
td.space-bottom-new {}
td.border-left-new { border-left:1px solid #214B18; } 
td.border-bottom-new { border-bottom:1px solid #214B18; }
td.sector-left-new { border-left:1px solid #DED3B9; }
td.sector-bottom-new { border-bottom:1px solid #DED3B9; }
td.con-left-new { border-left:1px solid #000000; }
td.con-bottom-new { border-bottom:1px solid #000000; }

tr.center td text-align:center; }
tr.lit td font-weight:boldbackground-color:#FADC9B; }
tr.lit2 td font-weight:boldbackground-color:#F0E6C8; }
tr.admin td background-color:#F0E6C8; }
tr.mini td font-styleitalicfont-sizex-small }
th        font-size:9pttext-alignleftfont-weight:boldbackground-color:#DED3B9; }
body    background-color#DED3B9; font-size:9pt; font-family: Verdana, Arial }
h1        font-size:16pt;}
h2        font-size:14pt;}
h3      font-size:12ptfont-weight:bold; }
h4      font-size:10ptfont-weight:boldfont-style:italicmargin-bottom:4pt}
h5      font-size:10ptfont-weight:boldmargin-bottom:2pt}
img   bordernone; }
img.middle vertical-align:middle; }

.
grey  colorgray; }
.
warn  colorrgb(25500); }
.
error colorrgb(18000); font-weight:bold; }
.
inactive colorrgb(160160160); }
.
nowrap white-spacenowrap; }
.
small font-sizexx-small; }

hr        color#804000; }
table.box border-width:1pxborder-stylesolidborder-color:#000000; background-color:#F1EBDD; vertical-align: middle; }
table.box tr td white-space:nowrap; }

inputselect font-size8pt/*background-color:#FDFBF3;*/ }

input.attack background-colorrgb(250210210) }
input.support background-colorrgb(210250210) }

input.check margin:0pxmargin-right:5px; }

table.quote td.quote_author font-weightboldfont-size8pt; }
table.quote td.quote_message background-color:#FFFFFF; font-size: 8pt; }

.post border2px solid #804000; background-color: #f8f4e8; padding:0px; margin-bottom:5px;}
.igmline background-color:#efe6c9; padding-left:4px; border-bottom:1px solid #804000; position:relative;}
.text padding:6px; }
.
date font-size:x-smallright:5pxposition:absolute;}
.
right right:5pxposition:absolute; }

#igm_groups {position:absolute;z-index:100; border: 2px solid #804000; background-color:#efe6c9;}
#igm_groups td { padding:2px; }

ul.help{padding-left:1pxmargin-left:0px}
li.help{list-style-type:nonebackground-color:#DED3B9; margin:2px; padding-left:8px; padding-top:4px; padding-bottom:4px;}

ul.help li.help ul.help li.helpbackground-color:#F1EBDD; }
ul.help li.help ul.help li.help ul.help li.help background-color:#F8F4E8; }
/*ul.help ul.help ul.help{background-color:#F8F4E8;}*/

ul.submenu{padding-left:1pxmargin-left:0px}
li.submenu{list-style-type:nonemargin:2pxpadding-left:8pxpadding-top:4pxpadding-bottom:4px;}

a.sel color:#0082BE; text-decoration:underline;}

.empty{ position:absolutez-index:4left:0pxtop:0pxwidth:600pxheight:418px;}

.
p_main,.cons_mainposition:absolutez-index:2left:291pxtop:107px; }
.
p_main_flagposition:absolutez-index:2left:291pxtop:67px; }
.
p_place,.cons_placeposition:absolutez-index:2left:319pxtop:208px; }
.
p_wood,.cons_woodposition:absolutez-index:2left:480pxtop:332px; }
.
p_stone,.cons_stoneposition:absolutez-index:2left:8pxtop:305px; }
.
p_iron,.cons_ironposition:absolutez-index:2left:10pxtop:9px; }
.
p_statue,.cons_statueposition:absolutez-index:2left:257pxtop:230px; }
.
p_wall,.cons_wallposition:absolutez-index:1left:13pxtop:2px; }
.
p_farm,.cons_farmposition:absolutez-index:1left:450pxtop:0px; }
.
p_farm_fieldposition:absolutez-index:2right:0top:106px; }
.
p_hide,.cons_hideposition:absolutez-index:2left:245pxtop:69px; }
.
p_storageposition:absolutez-index:2left:105pxtop:125px; }
.
p_market,.cons_marketposition:absolutez-index:2left:211pxtop:127px; }
.
p_barracks,.cons_barracksposition:absolutez-index:2left:386pxtop:216px; }
.
p_stable,.cons_stableposition:absolutez-index:2left:65pxtop:207px; }
.
p_garage,.cons_garageposition:absolutez-index:2left:287pxtop:280px; }
.
p_church,.cons_churchposition:absolutez-index:2left:391pxtop:99px; }
.
p_church_f,.cons_church_fposition:absolutez-index:2left:390pxtop:99px; }
.
p_snob,.cons_snobposition:absolutez-index:2left:159pxtop:63px; }
.
p_smith,.cons_smithposition:absolutez-index:2left:185pxtop:269px; }

/* NPCs */
.npc_conversationposition:absolutez-index:2left:222pxtop:245px; }
.
npc_guardposition:absolutez-index:2left:177pxtop:192px;}
.
npc_jugglerposition:absolutez-index:2left:210pxtop:225px;}
.
npc_farmerposition:absolutez-index:2left:558pxtop:66px;}
.
smith_animposition:absolutez-index:3left:174pxtop:322px;}

/* xmas-tree */
.christmas_treeposition:absolutez-index:2left:499pxtop:188px; }

/* Label(Stufenanzeigen) für fest positionierte Gebaeude */
.l_main{  position:absolutedisplay:nonez-index:3left:310pxtop:55px; }
.
l_placeposition:absolutedisplay:nonez-index:3left:354pxtop:188px; }
.
l_wood{  position:absolutedisplay:nonez-index:3left:550pxtop:323px; }
.
l_stoneposition:absolutedisplay:nonez-index:3left:100pxtop:395px; }
.
l_iron{  position:absolutedisplay:nonez-index:3left:29pxtop:0px; }
.
l_statue{position:absolutedisplay:nonez-index:3left:245pxtop:215px; }
.
l_wall{  position:absolutedisplay:nonez-index:3left:440pxtop:316px; }
.
l_farm{  position:absolutedisplay:nonez-index:3left:450pxtop:0px; }
.
l_hide{  position:absolutedisplay:nonez-index:3left:245pxtop:48px; }
.
l_storageposition:absolutedisplay:nonez-index:3left:100pxtop:120px; }
.
l_marketposition:absolutedisplay:nonez-index:3left:260pxtop:117px; }
.
l_barracksposition:absolutedisplay:nonez-index:3left:482pxtop:227px; }
.
l_stableposition:absolutedisplay:nonez-index:3left:65pxtop:196px; }
.
l_garageposition:absolutedisplay:nonez-index:3left:370pxtop:340px; }
.
l_churchposition:absolutedisplay:nonez-index:3left:480pxtop:150px; }
.
l_church_fposition:absolutedisplay:nonez-index:3left:480pxtop:150px; }
.
l_snobposition:absolutedisplay:nonez-index:3left:168pxtop:63px; }
.
l_smithposition:absolutedisplay:nonez-index:3left:205pxtop:258px; }


:
absolutedisplay:nonez-index:3left:205pxtop:258px; }
div.label background-color#668833; padding: 1px; border: 1px black solid; min-width:20px; color: white}
div.label_night background-color#202060; padding: 1px; border: 1px black solid; min-width:20px; color:white}
div.label a:link    color:#DDDDDD }
div.label a:visited    {  color:#DDDDDD }
div.label a:active    {  color:#DDDDDD }
div.label a:hover    color:white }

div.label_night a:link color:#CCCCCC}
div.label_night a:visited color:#CCCCCC}
div.label_night a:active color:#CCCCCC}
div.label_night a:hover color:white}
div.label img display:none; }
div.label_night img display:none; }



div.label background-color#598146; padding: 1px; border: 1px black solid; min-width:20px; color: white; z-index:10}
div.label_night background-color#202060; padding: 1px; border: 1px black solid; min-width:20px; color:white}
div.label a:link    color:#DDDDDD }
div.label a:visited    {  color:#DDDDDD }
div.label a:active    {  color:#DDDDDD }
div.label a:hover    color:white }

div.label_night a:link color:#CCCCCC}
div.label_night a:visited color:#CCCCCC}
div.label_night a:active color:#CCCCCC}
div.label_night a:hover color:white}
div.label img display:none; }
div.label_night img display:none; } 
Reply
#18
Ich weiß an was das liegt: An unserem Grafikpack für die map!

edit: So ganz sicher bin ich mir nicht!
Reply
#19
welche dateien enthält den das grafikpacket?

Reply
#20
Geh mal in {dslan}/Welt2(Oder in der Welt halt wo ein Fehler da ist)/htdocs/templates und ersetze
den Inhalt von der Datei game_overview mit diesem Code:

PHP Code:
{php
  require_once(
"graphic.php");
  if (
$w == 'winter') {
  
$graphic "winter";
  }
  else {
  
$graphic "graphic";
  }
    
$sql100 "SELECT * FROM build WHERE villageid ='".$_GET["village"]."'";
    
$res100 mysql_query($sql100);
    while(
$row100 mysql_fetch_assoc($res100))
    {
        
$time_end $row100[end_time];
        
    }
    
mysql_free_result($res100);
    if(!empty(
$time_end) && $time_end != 0)
    {
        
$diff $time_end time();
        if(
$diff >= 0)
        {
            
$aus_main date("H"$diff) - 1;
            
$aus_main .= date(":i:s"$diff);
        }
        else
        {
            
$aus_main "0:00:00";
        }
        
    }
    
$time_end 0;
        


    
$sql100 "SELECT * FROM recruit WHERE villageid ='".$_GET["village"]."' AND building = 'barracks'";
    
$res100 mysql_query($sql100);
    while(
$row100 mysql_fetch_assoc($res100))
    {
        
$time_end $row100[time_finished];
        
    }
    if(!empty(
$time_end) && $time_end != 0)
    {
        
$diff $time_end time();
        if(
$diff >= 0)
        {
            
$aus_barracks date("H"$diff) - 1;
            
$aus_barracks .= date(":i:s"$diff);
        }
        else
        {
            
$aus_barracks "0:00:00";
        }
        
    }
    
mysql_free_result($res100);
    
$time_end 0;

    
$sql100 "SELECT * FROM recruit WHERE villageid ='".$_GET["village"]."' AND building = 'stable'";
    
$res100 mysql_query($sql100);
    while(
$row100 mysql_fetch_assoc($res100))
    {
        
$time_end $row100[time_finished];
        
    }
    if(!empty(
$time_end) && $time_end != 0)
    {
        
$diff $time_end time();
        if(
$diff >= 0)
        {

            
$aus_stable date("H"$diff) - 1;
            
$aus_stable .= date(":i:s"$diff);
        }
        else
        {
            
$aus_stable "0:00:00";
        }
    }
    
mysql_free_result($res100);
    
$time_end 0;
    
$sql101 "SELECT * FROM recruit WHERE villageid ='".$_GET["village"]."' AND building = 'garage'";
    
$res101 mysql_query($sql101);
    while(
$row101 mysql_fetch_assoc($res101))
    {
        
$time_end1 $row101[time_finished];
        
    }
    if(!empty(
$time_end1) && $time_end1 != 0)
    {
        
$diff $time_end1 time();
        if(
$diff >= 0)
        {
            
$aus_garage date("H"$diff) - 1;
            
$aus_garage .= date(":i:s"$diff);
        }
        else
        {
            
$aus_garage "0:00:00";
        }
        
    }
    
mysql_free_result($res101);
    
$time_end1 0;

    
$sql100 "SELECT * FROM recruit WHERE villageid ='".$_GET["village"]."' AND building = 'snob'";
    
$res100 mysql_query($sql100);
    while(
$row100 mysql_fetch_assoc($res100))
    {
        
$time_end $row100[time_finished];
    }
    if(!empty(
$time_end) && $time_end != 0)
    {
        
$diff $time_end time();
        if(
$diff >= 0)
        {
            
$aus_snob date("H"$diff) - 1;
            
$aus_snob .= date(":i:s"$diff);
        }
        else
        {
            
$aus_snob "0:00:00";
        }
    }
    
mysql_free_result($res100);
    
$time_end 0;

    
$sql100 "SELECT * FROM research WHERE villageid ='".$_GET["village"]."'";
    
$res100 mysql_query($sql100);
    while(
$row100 mysql_fetch_assoc($res100))
    {
        
$time_end $row100[end_time];
    }
    if(!empty(
$time_end) && $time_end != 0)
    {
        
$diff $time_end time();
        if(
$diff >= 0)
        {
            
$aus_smith date("H"$diff) - 1;
            
$aus_smith .= date(":i:s"$diff);
        }
        else
        {
            
$aus_smith "0:00:00";
        }
    }
    
mysql_free_result($res100);
    
$time_end 0;

    
$stunde date("H");
    
$sql1 "SELECT * FROM events WHERE villageid ='"$_GET["village"] . "'";    
    
$res1 mysql_query($sql1);
    
$main ".png";
    
$smith ".png"
    while(
$row1 mysql_fetch_assoc($res1))
    {
        if(
$row1[event_type] == "build")
        {
            
            
$main ".gif";
        }
        if(
$row1[event_type] == "research")
        {
            
$smith ".gif";
        }
        
    }
    

    
$barracks ".png";
    
$garage ".png";
    
$stable ".png";
    
$snob ".png";
    
$sql2 "SELECT * FROM recruit WHERE villageid ='"$_GET["village"] . "'";
    
$res2 mysql_query($sql2);
    while(
$row2 mysql_fetch_assoc($res2))
    {
        if(
$row2[building] == "barracks")
        {
            
$barracks ".gif";
        }
        if(
$row2[building] == "garage")
        {
            
$garage ".gif";
        }
        if(
$row2[building] == "stable")
        {
            
$stable ".gif";
        }
        if(
$row2[building] == "snob")
        {
            
$snob ".gif";
        }
    }
    
$sql "SELECT * FROM villages WHERE id ='"$_GET["village"] . "'";
    
$res mysql_query($sql);
    echo <<<FA

FA;

    
$sql3 "SELECT * FROM villages WHERE id =\""$_GET["village"] ."\"";
    
$res3 mysql_query($sql3);
    while(
$row3 mysql_fetch_assoc($res3))
    {
        
        
$sql4 "SELECT * FROM users WHERE id =\"".$row3[userid]."\"";

    }
    
$res4 mysql_query($sql4);
    while(
$row4 mysql_fetch_assoc($res4));
    {
        if(
$row4[stufen] == "yes")
        {
            echo <<<FA

FA;
        }
        else
        {
            echo <<<FA

FA;
        }
    }
    echo <<<FA

FA;
{/
php}
{
php}
    
$sql3 "SELECT * FROM villages WHERE id =\""$_GET["village"] ."\"";
    
$res3 mysql_query($sql3);
    while(
$row3 mysql_fetch_assoc($res3))
    {
        
        
$userid $row3[userid];

    }    

    if(
$_GET[overview] == "old")
    {
        
$sql10 "UPDATE users SET overview = \"old\" WHERE id = ".$userid."  LIMIT 1;";
        
mysql_query($sql10);    
    }
    if(
$_GET[overview] == "new")
    {
        
$sql11 "UPDATE users SET overview = \"new\" WHERE id = ".$userid."  LIMIT 1;";

        
mysql_query($sql11);    
    }    
{/
php}

{
php}
    if(
$_GET[stufen] == "yes")
    {
        
$sql12 "UPDATE users SET stufen = \"yes\" WHERE id = ".$userid."  LIMIT 1;";
        
mysql_query($sql12);
    }
    if(
$_GET[stufen] == "no")
    {
        
$sql13 "UPDATE users SET stufen = \"no\" WHERE id = ".$userid."  LIMIT 1;";
        
mysql_query($sql13);
    }
{/
php}
{
php}

    

    
$sql5 "SELECT * FROM users WHERE id=\"".$userid."\"";
    
$res5 mysql_query($sql5);
    while(
$row5 mysql_fetch_assoc($res5))
    {
        
$overview $row5[overview];
        
$stufen $row5[stufen];
    }
    if(
$overview == "new"):
{/
php}
<
table>

<
tr>
<
td width="840" valign="top" valign="top">
<
table width="100%"><tbody><tr>
<
td>
{
php}
    if(
$stufen == "yes")
    {
        echo 
"<a href=\"game.php?screen=overview&stufen=no&village=".$_GET[village]."\">&nbsp;Geb&auml;udestufen
    ausblenden</a>"
;
    }
    else
    {
        echo 
"<a href=\"game.php?screen=overview&stufen=yes&village=".$_GET[village]."\">Geb&auml;udestufen anzeigen</a>";
    }
{/
php}





</
td>
<
td align="right"><a href="game.php?overview=old&screen=overview&village={php}echo $_GET[village];{/php}">zur klassischen Dorf&uuml;bersicht</a></td>
    
</
tr></tbody></table>

<
table cellspacing="0" cellpadding="0" style="border: 1px solid rgb(128, 64, 0); background-color:#F1EBDD; direction: ltr;" align="center">

<
tr><td style="padding: 0pt;"><div style="position:relative">

{
php}

    
$night "visual";
    if(
$stunde>=24 || $stunde<8)
    {
    
$night "visual_night";
    }
    echo 
"<img width=\"600\" height=\"418\" src=\"$graphic/".$night."/back_none.jpg\" alt=\"\" />";


    


    while(
$row mysql_fetch_assoc($res))
    {
        if(
$row[main] < 5)
        {
            echo
"<img class=\"p_main_flag\" src=\"$graphic/".$night."/mainflag1.gif\"/>";
            if (
$main == ".png")
            {
                echo
"<img class=\"p_main\" src=\"$graphic/".$night."/main1.png\" alt=\"Hauptgeb ute\"/>";
            }
            if (
$main == ".gif")
            {
                echo
"<img class=\"p_main\" src=\"$graphic/".$night."/main1.gif\" alt=\"Hauptgeb ute\"/>";
            }    
        }
        if(
$row[main] >= && $row[main]<15)
        {
            echo
"<img class=\"p_main_flag\" src=\"$graphic/".$night."/mainflag2.gif\"/>";
            if (
$main == ".png")
            {
                echo
"<img class=\"p_main\" src=\"$graphic/".$night."/main2.png\" alt=\"Hauptgeb ute\"/>";
            }
            if (
$main == ".gif")
            {
                echo
"<img class=\"p_main\" src=\"$graphic/".$night."/main2.gif\" alt=\"Hauptgeb ute\"/>";
            }    
        }
        if(
$row[main] >= 15)
        {
            echo
"<img class=\"p_main_flag\" src=\"$graphic/".$night."/mainflag3.gif\"/>";
            if (
$main == ".png")
            {
                echo
"<img class=\"p_main\" src=\"$graphic/".$night."/main3.png\" alt=\"Hauptgeb ute\"/>";
            }
            if (
$main == ".gif")
            {
                echo
"<img class=\"p_main\" src=\"$graphic/".$night."/main3.gif\" alt=\"Hauptgeb ute\"/>";
            }    
        }

        
        if(
$row[wall] < && $row[wall] != 0)
        {
            echo 
"<img class=\"p_wall\" src=\"$graphic/".$night."/wall1.png\" alt=\"Wall\"/>";
        }
        if(
$row[wall] >=&& $row[wall] <15)
        {
            echo 
"<img class=\"p_wall\" src=\"$graphic/".$night."/wall2.png\" alt=\"Wall\"/>";
        }
        if(
$row[wall] >= 15)
        {
            echo 
"<img class=\"p_wall\" src=\"$graphic/".$night."/wall3.png\" alt=\"Wall\"/>";
        }

        
        if(
$row[place] == 1)
        {
            echo 
"<img class=\"p_place\" src=\"$graphic/".$night."/place1".$barracks."\" alt=\"Versammlungsplatz\"/>";
        }
        

        if(
$row[hide] >=&& $row[hide] != 0)
        {
            echo 
"<img class=\"p_hide\" src=\"$graphic/".$night."/hide1.png\" alt=\"Versteck\"/>";
        }

        
        if(
$row[farm] <10)
        {
            
        }
        if(
$row[farm] >=10 && $row[farm] <20)
        {
            echo 
"<img class=\"p_farm\" src=\"$graphic/".$night."/farm2.gif\" alt=\"Bauernhof\"/>";
    
        }
        if(
$row[farm] >=20)
        {
            echo 
"<img class=\"p_farm\" src=\"$graphic/".$night."/farm3.gif\" alt=\"Bauernhof\"/>";    
        }
        

        if(
$row[market] <&& $row[market] != 0)
        {
            echo 
"<img class=\"p_market\" src=\"$graphic/".$night."/market1.png\" alt=\"Marktplatz\"/>";
        }
        if(
$row[market] >=&& $row[market] <20)
        {
            echo 
"<img class=\"p_market\" src=\"$graphic/".$night."/market2.png\" alt=\"Marktplatz\"/>";     
        }
        if(
$row[market] >= 20)
        {
            echo 
"<img class=\"p_market\" src=\"$graphic/".$night."/market3.png\" alt=\"Marktplatz\"/>";
        }

        
        if(
$row[wood] <10 && $row[wood] != 0)
        {
            echo 
"<img class=\"p_wood\" src=\"$graphic/".$night."/wood1.gif\" alt=\"Holzf ller\"/>";
        }
        if(
$row[wood] >=10 && $row[wood] <20)
        {
            echo 
"<img class=\"p_wood\" src=\"$graphic/".$night."/wood2.gif\" alt=\"Holzf ller\"/>";    
        }
        if(
$row[wood] >=20)
        {
            echo 
"<img class=\"p_wood\" src=\"$graphic/".$night."/wood3.gif\" alt=\"Holzf ller\"/>";
        }

        
        if(
$row[iron] <10 && $row[iron] != 0)
        {
            echo 
"<img class=\"p_iron\" src=\"$graphic/".$night."/iron1.gif\" alt=\"Eisenmiene\"/>";
        }
        if(
$row[iron] >=10 && $row[iron] <20)
        {
            echo 
"<img class=\"p_iron\" src=\"$graphic/".$night."/iron2.gif\" alt=\"Eisenmiene\"/>";
        }
        if(
$row[iron] >=20)
        {
            echo 
"<img class=\"p_iron\" src=\"$graphic/".$night."/iron3.gif\" alt=\"Eisenmiene\"/>";
        }


        if(
$row[stone] <10 && $row[stone] != 0)
        {
            echo 
"<img class=\"p_stone\" src=\"$graphic/".$night."/stone1.gif\" alt=\"Lehmgrube\"/>";
        }
        if(
$row[stone] >= 10 && $row[stone] <20)
        {
            echo 
"<img class=\"p_stone\" src=\"$graphic/".$night."/stone2.gif\" alt=\"Lehmgrube\"/>";
        }
        if(
$row[stone] >=20)
        {
            echo 
"<img class=\"p_stone\" src=\"$graphic/".$night."/stone3.gif\" alt=\"Lehmgrube\"/>";    
        }


        if(
$row[storage] < 10)
        {
            echo 
"<img class=\"p_storage\" src=\"$graphic/".$night."/storage1.png\" alt=\"Speicher\"/>";
        }
        if(
$row[storage] >=10 && $row[storage] <20)
        {
            echo 
"<img class=\"p_storage\" src=\"$graphic/".$night."/storage2.png\" alt=\"Speicher\"/>";
        }
        if(
$row[storage] >= 20)
        {
            echo 
"<img class=\"p_storage\" src=\"$graphic/".$night."/storage3.png\" alt=\"Speicher\"/>";
        }


        if(
$row[smith] < && $row[smith] != 0)
        {
            echo 
"<img class=\"p_smith\" src=\"$graphic/".$night."/smith1.png\" alt=\"Schmiede\"/>";
        }
        if(
$row[smith] >=&& $row[smith] < 15)
        {
            echo 
"<img class=\"p_smith\" src=\"$graphic/".$night."/smith2.png\" alt=\"Schmiede\"/>";
        }
        if(
$row[smith] >= 15)
        {
            echo 
"<img class=\"p_smith\" src=\"$graphic/".$night."/smith3.png\" alt=\"Schmiede\"/>";
        }


        if(
$row[barracks] < && $row[barracks] != 0)
        {
            echo 
"<img class=\"p_barracks\" src=\"$graphic/".$night."/barracks1.png\" alt=\"Kaserne\"/>";
        }
        if(
$row[barracks] >= && $row[barracks] < 20)
        {
            echo 
"<img class=\"p_barracks\" src=\"$graphic/".$night."/barracks2.png\" alt=\"Kaserne\"/>";
        }
        if(
$row[barracks] >=20)
        {
            echo 
"<img class=\"p_barracks\" src=\"$graphic/".$night."/barracks3.png\" alt=\"Kaserne\"/>";    
        }


        if(
$row[snob] >= 1)    
        {
            echo 
"<img class=\"p_snob\" src=\"$graphic/".$night."/snob1".$snob."\" alt=\"Adelshof\"/>";
        }
        

        if(
$row[garage] < && $row[garage] != 0)
        {
            echo 
"<img class=\"p_garage\" src=\"$graphic/".$night."/garage1".$garage."\" alt=\"Werkstatt\"/>";
        }
        if(
$row[garage] >= && $row[garage] < 10)
        {
            echo 
"<img class=\"p_garage\" src=\"$graphic/".$night."/garage2".$garage."\" alt=\"Werkstatt\"/>";
        }
        if(
$row[garage] >=10)
        {
            echo 
"<img class=\"p_garage\" src=\"$graphic/".$night."/garage3".$garage."\" alt=\"Werkstatt\"/>";
        }


        if(
$row[stable] <&& $row[stable] != 0)
        {
            echo 
"<img class=\"p_stable\" src=\"$graphic/".$night."/stable1".$stable."\" alt=\"Stall\"/>";
        }
        if(
$row[stable] >= && $row[stable] < 10)
        {
            echo 
"<img class=\"p_stable\" src=\"$graphic/".$night."/stable2".$stable."\" alt=\"Stall\"/>";
        }
        if(
$row[stable] >= 10)
        {
            echo 
"<img class=\"p_stable\" src=\"$graphic/".$night."/stable3".$stable."\" alt=\"Stall\"/>";
        }
        
            if(
$row[statue] ==1)
            {
                  echo 
"<img class=\"p_statue\" src=\"$graphic/".$night."/statue1.png".$statue."\" alt=\"Statue\"/>";
    }

$rand rand(015);
if(
$rand == 4)
 {
  echo 
"<img class=\"npc_juggler\" src=\"$graphic/".$night."/juggler.gif".$juggler."\" alt=\"Jongleur\"/>";
 }
$rand rand(015);
if(
$rand == 1)
 {
  echo 
"<img class=\"npc_guard\" src=\"$graphic/".$night."/guard.gif".$guard."\" alt=\"Wache\"/>";
 }
$rand rand(015);
if(
$rand == 2)
 {
  echo 
"<img class=\"npc_conversation\" src=\"$graphic/".$night."/conversation.gif".$conversation."\" alt=\"Unterhaltung\"/>";
 }
 
$rand rand(00);
if(
$rand == 0)
 {
  echo 
"<img class=\"npc_farmer\" src=\"$graphic/".$night."/farmer.gif".$conversation."\" alt=\"Farmer\"/>";
 }
}

    
        
    




    
 {/
php}




            <
img class="empty" src="graphic/map/empty.png" alt="" usemap="#map" />
                
                <
map name="map" id="map">

                    {
php$_from $this->_tpl_vars['built_builds']; if (!is_array($_from) && !is_object($_from)) { settype($_from'array'); }if (count($_from)):
    foreach (
$_from as $this->_tpl_vars['id'] => $this->_tpl_vars['dbname']):
{/
php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'main'): {/php}
                            <
area shape="poly" coords="373,187,417,129,407,72,329,65,306,99,311,150" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'barracks'): {/php}
                            <
area shape="poly" coords="392,289,444,313,506,283,481,235,442,216,392,252" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'stable'): {/php}
                            <
area shape="poly" coords="64,241,70,265,150,307,189,289,184,232,99,202" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'garage'): {/php}
                            <
area shape="poly" coords="284,358,362,361,402,321,369,283,346,278,291,320" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'snob'): {/php}
                            <
area shape="poly" coords="206,149,257,125,229,60,185,80,156,111" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'smith'): {/php}
                            <
area shape="poly" coords="174,335,222,361,271,342,283,301,216,262" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'place'): {/php}
                            <
area shape="poly" coords="315,271,379,275,401,229,375,206,343,207" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'market'): {/php}
                            <
area shape="poly" coords="214,149,234,228,313,230,330,169,273,122" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'wood'): {/php}
                            <
area shape="poly" coords="472,379,523,417,583,373,528,330" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'stone'): {/php}
                            <
area shape="poly" coords="34,300,0,349,15,399,67,417,91,402,92,341" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'iron'): {/php}
                            <
area shape="poly" coords="0,55,45,90,93,58,89,6,39,9" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'farm'): {/php}
                            <
area shape="poly" coords="456,0,477,41,526,75,583,88,597,18,597,0" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'storage'): {/php}
                            <
area shape="poly" coords="96,192,153,218,195,215,193,148,133,121" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'hide'): {/php}
                            <
area shape="poly" coords="241,80,261,113,294,93,268,63" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'wall'): {/php}
                            <
area shape="poly" coords="428,333,430,382,472,363,470,318" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'statue'): {/php}
                            <
area shape="poly" coords="277,231,256,265,266,285,292,287,306,266" href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
title="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
"
/>
                        {
php} endif; {/php}
                        

                        
                    {
php} endforeach; endif; unset($_from); {/php}
                </
map>

{
php}
    if(
$stufen == "yes"):
{/
php}

                
                    {
php$_from $this->_tpl_vars['built_builds']; if (!is_array($_from) && !is_object($_from)) { settype($_from'array'); }if (count($_from)):
    foreach (
$_from as $this->_tpl_vars['id'] => $this->_tpl_vars['dbname']):
{/
php}
                        {
php} if ($this->_tpl_vars['dbname'] == 'main'): {/php}
                            <
div id="l_{php} echo $this->_tpl_vars['dbname']; {/php}
class="l_{php} echo $this->_tpl_vars['dbname']; {/php}
"
>
                                <
div class="label">
                                    <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
>
                                        <
img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png" 
class="middle" alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
/> {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}

                                    </
a><br><span style="font-size: 7px; font-weight: bold;"><span class="timer">{php}echo $aus_main;{/php}</span></span>
                                </
div>
                            </
div>
                        {
php} endif; {/php}
                        
                        {
php} if ($this->_tpl_vars['dbname'] == 'barracks'): {/php}
                            <
div id="l_{php} echo $this->_tpl_vars['dbname']; {/php}
class="l_{php} echo $this->_tpl_vars['dbname']; {/php}
"
>
                                <
div class="label">
                                    <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
>
                                        <
img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png" 
class="middle" alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
/> {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}

                                    </
a><br><span style="font-size: 7px; font-weight: bold;"><span class="timer">{php}echo $aus_barracks;{/php}</span></span>
                                </
div>
                            </
div>
                        {
php} endif; {/php}
                        
                        {
php} if ($this->_tpl_vars['dbname'] == 'stable'): {/php}
                            <
div id="l_{php} echo $this->_tpl_vars['dbname']; {/php}
class="l_{php} echo $this->_tpl_vars['dbname']; {/php}
"
>
                                <
div class="label">
                                    <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
>
                                        <
img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png" 
class="middle" alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
/> {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}

                                    </
a><br><span style="font-size: 7px; font-weight: bold;"><span class="timer">{php}echo $aus_stable;{/php}</span></span>
                                </
div>
                            </
div>
                        {
php} endif; {/php}
                        
                        {
php} if ($this->_tpl_vars['dbname'] == 'garage'): {/php}
                            <
div id="l_{php} echo $this->_tpl_vars['dbname']; {/php}
class="l_{php} echo $this->_tpl_vars['dbname']; {/php}
"
>
                                <
div class="label">
                                    <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
>
                                        <
img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png" 
class="middle" alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
/> {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}

                                    </
a><br><span style="font-size: 7px; font-weight: bold;"><span class="timer">{php}echo $aus_garage;{/php}</span></span>
                                </
div>
                            </
div>
                        {
php} endif; {/php}
                        
                        {
php} if ($this->_tpl_vars['dbname'] == 'snob'): {/php}
                            <
div id="l_{php} echo $this->_tpl_vars['dbname']; {/php}
class="l_{php} echo $this->_tpl_vars['dbname']; {/php}
"
>
                                <
div class="label">
                                    <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
>
                                        <
img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png" 
class="middle" alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
/> {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}

                                    </
a><br><span style="font-size: 7px; font-weight: bold;"><span class="timer">{php}echo $aus_snob;{/php}</span></span>
                                </
div>
                            </
div>
                        {
php} endif; {/php}
                        
                        {
php} if ($this->_tpl_vars['dbname'] == 'smith'): {/php}
                            <
div id="l_{php} echo $this->_tpl_vars['dbname']; {/php}
class="l_{php} echo $this->_tpl_vars['dbname']; {/php}
"
>
                                <
div class="label">
                                    <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
>
                                        <
img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png" 
class="middle" alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
/> {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}

                                    </
a><br><span style="font-size: 7px; font-weight: bold;"><span class="timer">{php}echo $aus_smith;{/php}</span></span>
                                </
div>
                            </
div>
                        {
php} endif; {/php}
                        
                        {
php} if ($this->_tpl_vars['dbname'] == 'place'): {/php}
                            <
div id="l_{php} echo $this->_tpl_vars['dbname']; {/php}
class="l_{php} echo $this->_tpl_vars['dbname']; {/php}
"
>
                                <
div class="label">
                                    <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
>
                                        <
img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png" 
class="middle" alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
/> {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}

                                    </
a>
                                </
div>
                            </
div>
                        {
php} endif; {/php}
                        
                        {
php} if ($this->_tpl_vars['dbname'] == 'market'): {/php}
                            <
div id="l_{php} echo $this->_tpl_vars['dbname']; {/php}
class="l_{php} echo $this->_tpl_vars['dbname']; {/php}
"
>
                                <
div class="label">
                                    <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
>
                                        <
img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png" 
class="middle" alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
/> {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}

                                    </
a>
{
php}
    
$sql "SELECT * FROM villages WHERE id =".$_GET[village];
    
$res mysql_query($sql);
    while(
$row mysql_fetch_assoc($res))
    {
        
$dealers $row[dealers_outside];
        
$market $row[market];
    }
    include(
"././include/configs/dealers.php");
    
$dealers_in $arr_dealers[$market] - $dealers;
    
{/
php}
<
br><span style="font-size: 7px; font-weight: bold;">{php}echo $dealers_in; {/php}/{php}echo $arr_dealers[$market];{/php}</span>
                                </
div>
                            </
div>
                        {
php} endif; {/php}
                        
                        {
php} if ($this->_tpl_vars['dbname'] == 'wood'): {/php}
                            <
div id="l_{php} echo $this->_tpl_vars['dbname']; {/php}
class="l_{php} echo $this->_tpl_vars['dbname']; {/php}
"
>
                                <
div class="label">
                                    <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
>
                                        <
img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png" 
class="middle" alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
/> {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}

                                    </
a>
                                </
div>
                            </
div>
                        {
php} endif; {/php}
                        
                        {
php} if ($this->_tpl_vars['dbname'] == 'stone'): {/php}
                            <
div id="l_{php} echo $this->_tpl_vars['dbname']; {/php}
class="l_{php} echo $this->_tpl_vars['dbname']; {/php}
"
>
                                <
div class="label">
                                    <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
>
                                        <
img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png" 
class="middle" alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
/> {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}

                                    </
a>
                                </
div>
                            </
div>
                        {
php} endif; {/php}
                        
                        {
php} if ($this->_tpl_vars['dbname'] == 'iron'): {/php}
                            <
div id="l_{php} echo $this->_tpl_vars['dbname']; {/php}
class="l_{php} echo $this->_tpl_vars['dbname']; {/php}
"
>
                                <
div class="label">
                                    <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
>
                                        <
img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png" 
class="middle" alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
/> {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}

                                    </
a>
                                </
div>
                            </
div>
                        {
php} endif; {/php}
                        
                        {
php} if ($this->_tpl_vars['dbname'] == 'farm'): {/php}
                            <
div id="l_{php} echo $this->_tpl_vars['dbname']; {/php}
class="l_{php} echo $this->_tpl_vars['dbname']; {/php}
"
>
                                <
div class="label">
                                    <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
>
                                        <
img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png" 
class="middle" alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
/> {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}

                                    </
a>
                                </
div>
                            </
div>
                        {
php} endif; {/php}
                        
                        {
php} if ($this->_tpl_vars['dbname'] == 'storage'): {/php}
                            <
div id="l_{php} echo $this->_tpl_vars['dbname']; {/php}
class="l_{php} echo $this->_tpl_vars['dbname']; {/php}
"
>
                                <
div class="label">
                                    <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
>
                                        <
img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png" 
class="middle" alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
/> {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}

                                    </
a><br>

                                </
div>
                            </
div>
                        {
php} endif; {/php}
                        
                        {
php} if ($this->_tpl_vars['dbname'] == 'hide'): {/php}
                            <
div id="l_{php} echo $this->_tpl_vars['dbname']; {/php}
class="l_{php} echo $this->_tpl_vars['dbname']; {/php}
"
>
                                <
div class="label">
                                    <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
>
                                        <
img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png" 
class="middle" alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
/> {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}

                                    </
a>
                                </
div>
                            </
div>
                        {
php} endif; {/php}
                        
                        {
php} if ($this->_tpl_vars['dbname'] == 'wall'): {/php}
                            <
div id="l_{php} echo $this->_tpl_vars['dbname']; {/php}
class="l_{php} echo $this->_tpl_vars['dbname']; {/php}
"
>
                                <
div class="label">
                                    <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
>
                                        <
img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png" 
class="middle" alt="{php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
/> {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}

                                    </
a>
                                </
div>
                            </
div>
                        {
php} endif; {/php}
                    
                    {
php} endforeach; endif; unset($_from); {/php}{php} endif{/php}
                  

</
div>
                <
script type="text/javascript">overviewShowLevel();</script>
                </
td></tr></table>
                                

            
        </
td>
        <
td valign="top">
            <
table class="vis" width="100%">
                <
tr><th colspan="2">Produktion</th></tr>
                <
tr class="nowrap"><td width="70"><img src="graphic/holz.png" title="Holz" alt="" /> Holz</td><td><strong>{php} echo $this->_tpl_vars['wood_prod_overview']; {/php}
</
strongpro {php} if ($this->_tpl_vars['speed'] > 10): {/php}Minute{php} else: {/php}Stunde{php} endif; {/php}</td></tr>
                <
tr class="nowrap"><td><img src="graphic/lehm.png" title="Lehm" alt="" /> Lehm</td><td><strong>{php} echo $this->_tpl_vars['stone_prod_overview']; {/php}
</
strongpro {php} if ($this->_tpl_vars['speed'] > 10): {/php}Minute{php} else: {/php}Stunde{php} endif; {/php}</td></tr>
                <
tr class="nowrap"><td><img src="graphic/eisen.png" title="Eisen" alt="" /> Eisen</td><td><strong>{php} echo $this->_tpl_vars['iron_prod_overview']; {/php}
</
strongpro {php} if ($this->_tpl_vars['speed'] > 10): {/php}Minute{php} else: {/php}Stunde{php} endif; {/php}</td></tr>
            </
table>
            <
br />
            <
table class="vis" width="100%">
                <
tr><th>Einheiten</th></tr>
                {
php$_from $this->_tpl_vars['in_village_units']; if (!is_array($_from) && !is_object($_from)) { settype($_from'array'); }if (count($_from)):
    foreach (
$_from as $this->_tpl_vars['dbname'] => $this->_tpl_vars['num']):
{/
php}
                    <
tr><td><img src="graphic/unit/{php} echo $this->_tpl_vars['dbname']; {/php}
.png"
> <b>{php} echo $this->_tpl_vars['num']; {/php}
</
b> {php} echo $this->_tpl_vars['cl_units']->get_name($this->_tpl_vars['dbname']); {/php}
</
td></tr>
                {
php} endforeach; endif; unset($_from); {/php}
            </
table>
            <
br />
            {
php} if ($this->_tpl_vars['village']['agreement'] != '100'): {/php}
                <
table class="vis" width="100%">
                <
tr><th>Zustimmung:</th><th>{php} echo $this->_tpl_vars['village']['agreement']; {/php}
</
th></tr>
                </
table>
                <
br />
            {
php} endif; {/php}
      {
literal}
              <
script>
              function 
popup_scroll(urlwidthheight) {
            
wnd window.open(url"popup""width="+width ",height="+height ",left=150,top=100,resizable=yes,scrollbars=yes");
            
wnd.focus();
        }
              </
script>
              {/
literal}
                <
table class="vis" width="100%">
                  <
tr>
                    <
th>Gruppenzugeh&ouml;rigkeit</th>
                  </
tr>
                  {foreach 
from=$gruppen item=value key=key}
                    {if 
$value != ''}
                      <
tr>
                        <
td>{$value.name}</td>
                      </
tr>
                    {/if}
                  {/foreach}
                  <
tr>
                    <
td><a href="javascript:popup_scroll('groups.php?mode=village&amp;village_id={$village.id}&amp;hkey={$hkey}', 300, 400);">&raquobearbeiten</a></td>
                  </
tr>
                </
table>
            
                        {
php} if (count $this->_tpl_vars['other_movements'] ) > 0): {/php}
            <
table class="vis">
                <
tr>
                    <
th width="250">Ankommende Truppen</th>
                    <
th width="160">Ankunft</th>
                    <
th width="80">Ankunft in</th>
                </
tr>
                {
php$_from $this->_tpl_vars['other_movements']; if (!is_array($_from) && !is_object($_from)) { settype($_from'array'); }if (count($_from)):
    foreach (
$_from as $this->_tpl_vars['array']):
{/
php}
                    <
tr>
                        <
td>
                            <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&amp;screen=info_command&amp;id={php} echo 
$this->_tpl_vars['array']['id']; {/php}
&amp;type=other"
>
                            <
img src="graphic/command/{php} echo $this->_tpl_vars['array']['type']; {/php}
.png"
> {php} echo $this->_tpl_vars['array']['message']; {/php}

                            </
a>
                        </
td>
                        <
td>{php} echo ((is_array($_tmp=$this->_tpl_vars['array']['end_time'])) ? $this->_run_mod_handler('format_date'true$_tmp) : format_date($_tmp)); {/php}
</
td>
                        {
php} if ($this->_tpl_vars['array']['arrival_in'] < 0): {/php}
                            <
td>{php} echo ((is_array($_tmp=$this->_tpl_vars['array']['arrival_in'])) ? $this->_run_mod_handler('format_time'true$_tmp) : format_time($_tmp)); {/php}
</
td>
                        {
php} else: {/php}
                            <
td><span class="timer">{php} echo ((is_array($_tmp=$this->_tpl_vars['array']['arrival_in'])) ? $this->_run_mod_handler('format_time'true$_tmp) : format_time($_tmp)); {/php}
</
span></td>
                        {
php} endif; {/php}
                    </
tr>
                {
php} endforeach; endif; unset($_from); {/php}
            </
table>
            {
php} endif; {/php}
            
                        {
php} if (count $this->_tpl_vars['my_movements'] ) > 0): {/php}
            <
table class="vis">
                <
tr>
                    <
th width="250">Deine Truppen</th>
                    <
th width="160">Ankunft</th>
                    <
th width="80">Ankunft in</th>
                </
tr>
                {
php$_from $this->_tpl_vars['my_movements']; if (!is_array($_from) && !is_object($_from)) { settype($_from'array'); }if (count($_from)):
    foreach (
$_from as $this->_tpl_vars['array']):
{/
php}
                    <
tr>
                        <
td>
                            <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&amp;screen=info_command&amp;id={php} echo 
$this->_tpl_vars['array']['id']; {/php}
&amp;type=own"
>
                            <
img src="graphic/command/{php} echo $this->_tpl_vars['array']['type']; {/php}
.png"
> {php} echo $this->_tpl_vars['array']['message']; {/php}

                            </
a>
                        </
td>
                        <
td>{php} echo ((is_array($_tmp=$this->_tpl_vars['array']['end_time'])) ? $this->_run_mod_handler('format_date'true$_tmp) : format_date($_tmp)); {/php}
</
td>
                        {
php} if ($this->_tpl_vars['array']['arrival_in'] < 0): {/php}
                            <
td>{php} echo ((is_array($_tmp=$this->_tpl_vars['array']['arrival_in'])) ? $this->_run_mod_handler('format_time'true$_tmp) : format_time($_tmp)); {/php}
</
td>
                        {
php} else: {/php}
                            <
td><span class="timer">{php} echo ((is_array($_tmp=$this->_tpl_vars['array']['arrival_in'])) ? $this->_run_mod_handler('format_time'true$_tmp) : format_time($_tmp)); {/php}
</
span></td>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['array']['can_cancel']): {/php}
                            <
td><a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&amp;screen=place&amp;action=cancel&amp;id={php} echo 
$this->_tpl_vars['array']['id']; {/php}
&amp;h={php} echo 
$this->_tpl_vars['hkey']; {/php}
"
>abbrechen</a></td>
                        {
php} endif; {/php}
                    </
tr>
                {
php} endforeach; endif; unset($_from); {/php}
            </
table>
            {
php} endif; {/php}
        </
td>
    </
tr>
</
table>
{
php} endif; {/php}
{
php}
    if(
$overview == "old"):
{/
php}
{
php} require_once(SMARTY_CORE_DIR 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier''format_date''game_overview.tpl'53false),array('modifier''format_time''game_overview.tpl'55false),)), $this); {/php}
<
h2>Dorf&uuml;bersicht {php} echo $this->_tpl_vars['village']['name']; {/php}
</
h2>
<
table>
    <
tr>
        <
td width="450" valign="top" valign="top">
            <
table class="vis" width="100%">
                <
tr>
                    <
th>Geb&auml;ude</th>
                </
tr>
                {
php$_from $this->_tpl_vars['built_builds']; if (!is_array($_from) && !is_object($_from)) { settype($_from'array'); }if (count($_from)):
    foreach (
$_from as $this->_tpl_vars['id'] => $this->_tpl_vars['dbname']):
{/
php}
                    <
tr>
                        <
td><a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&screen={php} echo 
$this->_tpl_vars['dbname']; {/php}
"
><img src="graphic/buildings/{php} echo $this->_tpl_vars['dbname']; {/php}
.png"
> {php} echo $this->_tpl_vars['cl_builds']->get_name($this->_tpl_vars['dbname']); {/php}
</
a> (Stufe {php} echo $this->_tpl_vars['village'][$this->_tpl_vars['dbname']]; {/php}
)</
td>{php} if ($this->_tpl_vars['dbname'] == "market") { /*echo "<td><strong>H&auml;ndler: 8/10</strong></td>";*/ } {/php}
                    </
tr>
                {
php} endforeach; endif; unset($_from); {/php}
            </
table>
<
br><a href="game.php?overview=new&screen=overview&village={php}echo $_GET[village];{/php}">zur graphischen Dorf&uuml;bersicht</a>
        </
td>
        <
td valign="top">
            <
table class="vis" width="100%">
                <
tr><th colspan="2">Produktion</th></tr>
                <
tr><td width="70"><img src="graphic/holz.png" title="Holz" alt="" /> Holz</td><td><strong>{php} echo $this->_tpl_vars['wood_prod_overview']; {/php}
</
strongpro {php} if ($this->_tpl_vars['speed'] > 10): {/php}Minute{php} else: {/php}Stunde{php} endif; {/php}</td></tr>
                <
tr><td><img src="graphic/lehm.png" title="Lehm" alt="" /> Lehm</td><td><strong>{php} echo $this->_tpl_vars['stone_prod_overview']; {/php}
</
strongpro {php} if ($this->_tpl_vars['speed'] > 10): {/php}Minute{php} else: {/php}Stunde{php} endif; {/php}</td></tr>
                <
tr><td><img src="graphic/eisen.png" title="Eisen" alt="" /> Eisen</td><td><strong>{php} echo $this->_tpl_vars['iron_prod_overview']; {/php}
</
strongpro {php} if ($this->_tpl_vars['speed'] > 10): {/php}Minute{php} else: {/php}Stunde{php} endif; {/php}</td></tr>
            </
table>
            <
br />
            <
table class="vis" width="100%">
                <
tr><th>Einheiten</th></tr>
                {
php$_from $this->_tpl_vars['in_village_units']; if (!is_array($_from) && !is_object($_from)) { settype($_from'array'); }if (count($_from)):
    foreach (
$_from as $this->_tpl_vars['dbname'] => $this->_tpl_vars['num']):
{/
php}
                    <
tr><td><img src="graphic/unit/{php} echo $this->_tpl_vars['dbname']; {/php}
.png"
> <b>{php} echo $this->_tpl_vars['num']; {/php}
</
b> {php} echo $this->_tpl_vars['cl_units']->get_name($this->_tpl_vars['dbname']); {/php}
</
td></tr>
                {
php} endforeach; endif; unset($_from); {/php}
            </
table>
            <
br />
            {
php} if ($this->_tpl_vars['village']['agreement'] != '100'): {/php}
                <
table class="vis" width="100%">
                <
tr><th>Zustimmung:</th><th>{php} echo $this->_tpl_vars['village']['agreement']; {/php}
</
th></tr>
                </
table>
                <
br />
            {
php} endif; {/php}
                <
table class="vis" width="100%">
                  <
tr>
                    <
th>Gruppenzugeh&ouml;rigkeit</th>
                  </
tr>
                  {foreach 
from=$gruppen item=value key=key}
                    {if 
$value != ''}
                      <
tr>
                        <
td>{$value.name}</td>
                      </
tr>
                    {/if}
                  {/foreach}
                  <
tr>
                    <
td><a href="javascript:popup_scroll('groups.php?mode=village&amp;village_id={$village.id}&amp;hkey={$hkey}', 300, 400);">&raquobearbeiten</a></td>
                  </
tr>
                </
table>
                        
{
php} if (count $this->_tpl_vars['other_movements'] ) > 0): {/php}
            <
table class="vis">
                <
tr>
                    <
th width="250">Ankommende Truppen</th>
                    <
th width="160">Ankunft</th>
                    <
th width="80">Ankunft in</th>
                </
tr>
                {
php$_from $this->_tpl_vars['other_movements']; if (!is_array($_from) && !is_object($_from)) { settype($_from'array'); }if (count($_from)):
    foreach (
$_from as $this->_tpl_vars['array']):
{/
php}
                    <
tr>
                        <
td>
                            <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&amp;screen=info_command&amp;id={php} echo 
$this->_tpl_vars['array']['id']; {/php}
&amp;type=other"
>
                            <
img src="graphic/command/{php} echo $this->_tpl_vars['array']['type']; {/php}
.png"
> {php} echo $this->_tpl_vars['array']['message']; {/php}

                            </
a>
                        </
td>
                        <
td>{php} echo ((is_array($_tmp=$this->_tpl_vars['array']['end_time'])) ? $this->_run_mod_handler('format_date'true$_tmp) : format_date($_tmp)); {/php}
</
td>
                        {
php} if ($this->_tpl_vars['array']['arrival_in'] < 0): {/php}
                            <
td>{php} echo ((is_array($_tmp=$this->_tpl_vars['array']['arrival_in'])) ? $this->_run_mod_handler('format_time'true$_tmp) : format_time($_tmp)); {/php}
</
td>
                        {
php} else: {/php}
                            <
td><span class="timer">{php} echo ((is_array($_tmp=$this->_tpl_vars['array']['arrival_in'])) ? $this->_run_mod_handler('format_time'true$_tmp) : format_time($_tmp)); {/php}
</
span></td>
                        {
php} endif; {/php}
                    </
tr>
                {
php} endforeach; endif; unset($_from); {/php}
            </
table>
            {
php} endif; {/php}
            
                        {
php} if (count $this->_tpl_vars['my_movements'] ) > 0): {/php}
            <
table class="vis">
                <
tr>
                    <
th width="250">Deine Truppen</th>
                    <
th width="160">Ankunft</th>
                    <
th width="80">Ankunft in</th>
                </
tr>
                {
php$_from $this->_tpl_vars['my_movements']; if (!is_array($_from) && !is_object($_from)) { settype($_from'array'); }if (count($_from)):
    foreach (
$_from as $this->_tpl_vars['array']):
{/
php}
                    <
tr>
                        <
td>
                            <
a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&amp;screen=info_command&amp;id={php} echo 
$this->_tpl_vars['array']['id']; {/php}
&amp;type=own"
>
                            <
img src="graphic/command/{php} echo $this->_tpl_vars['array']['type']; {/php}
.png"
> {php} echo $this->_tpl_vars['array']['message']; {/php}

                            </
a>
                        </
td>
                        <
td>{php} echo ((is_array($_tmp=$this->_tpl_vars['array']['end_time'])) ? $this->_run_mod_handler('format_date'true$_tmp) : format_date($_tmp)); {/php}
</
td>
                        {
php} if ($this->_tpl_vars['array']['arrival_in'] < 0): {/php}
                            <
td>{php} echo ((is_array($_tmp=$this->_tpl_vars['array']['arrival_in'])) ? $this->_run_mod_handler('format_time'true$_tmp) : format_time($_tmp)); {/php}
</
td>
                        {
php} else: {/php}
                            <
td><span class="timer">{php} echo ((is_array($_tmp=$this->_tpl_vars['array']['arrival_in'])) ? $this->_run_mod_handler('format_time'true$_tmp) : format_time($_tmp)); {/php}
</
span></td>
                        {
php} endif; {/php}
                        {
php} if ($this->_tpl_vars['array']['can_cancel']): {/php}
                            <
td><a href="game.php?village={php} echo $this->_tpl_vars['village']['id']; {/php}
&amp;screen=place&amp;action=cancel&amp;id={php} echo 
$this->_tpl_vars['array']['id']; {/php}
&amp;h={php} echo 
$this->_tpl_vars['hkey']; {/php}
"
>abbrechen</a></td>
                        {
php} endif; {/php}
                    </
tr>
                {
php} endforeach; endif; unset($_from); {/php}
            </
table>
            {
php} endif; {/php}
        </
td>
    </
tr>
</
table>
{
php} endif; {/php

Habe öfters ein ähnliches Problem, z.B. wenn ich die Gruppen auf einer andere Version uploade.
Hat mir bisher schon öfters geholfen die Fehler in der Dorfübersicht zu beseitigen. Smile

mfg Jonsen
 Du suchst ein Tool? Dann sieh doch mal in meine Toolsammlung!
Reply




Users browsing this thread: 6 Guest(s)