Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[v1.4] Berichte Bug (bei mir)
#5
mach ich gern Smile

Code:
{php}
$nume_player=urldecode($this->_tpl_vars['user']['username']);
$nume_sat=$this->_tpl_vars['village']['name'];
if(preg_match('/s Dorf/', $nume_sat)) {
   $this->_tpl_vars['village']['name']="{$nume_player}s Dorf";
   $nume_sat=$this->_tpl_vars['village']['name'];
    $id_sat=$this->_tpl_vars['village']['id'];
   mysql_query("UPDATE `villages` set `name`='$nume_sat' where `id`='$id_sat'");
}
{/php}
{php}$this->_tpl_vars['allow_screens'][]="friends";{/php}
{php}$this->_tpl_vars['allow_screens'][]="support";{/php}
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$village.name} ({$village.x}|{$village.y}) - Master St&auml;mme</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<link rel="shortcut icon" href="/graphic/rabe_38x40.png" type="image/x-icon" />
<link rel="icon" href="/graphic/rabe_38x40.png" type="image/x-icon" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="stamm.css" />
<script src="script.js?1159978916" type="text/javascript"></script>
<script src="menu.js?1148466057" type="text/javascript"></script>
</head>
<body id="ds_body" class=" ">

<div class="top_bar">
<div class="bg_left"> </div>
<div class="bg_right"> </div>
</div>
<div class="top_shadow"> </div>
<table id="main_layout" cellspacing="0">
<tbody>
<tr style="height: 48px;">
<td class="topbar left fixed"/>
<td class="topbar center fixed">
<div id="topContainer" style="margin-left: 0px">
<table id="topTable" style="text-align: center;" cellspacing="0">
<tbody>
<tr>
<td style="text-align: center;">
<table class="menu nowrap" style="white-space: nowrap; ">
<tbody>
<tr id="menu_row">
<td class="menu-item">
<a href="game.php?village={$village.id}&amp;screen=overview_villages">&Uuml;bersichten</a><table cellspacing="0" class="menu_column"><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=overview_villages&amp;mode=combined">Kombiniert</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=overview_villages&amp;mode=prod">Produktion</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=overview_villages&amp;mode=units">Truppen</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=overview_villages&amp;mode=commands">Befehle</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=overview_villages&amp;mode=incomings">Eintreffend</a></td></tr><tr></tr><tr><td class="bottom"><div class="corner"></div><div class="decoration"></div></td></tr></table>
</td>
<td class="menu-item">
<a href="game.php?village={$village.id}&amp;screen=report&amp;mode=all"> Berichte</a><table cellspacing="0" class="menu_column"><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=report&amp;mode=all">Alle Berichte</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=report&amp;mode=attack">Angriffe</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=report&amp;mode=defense">Verteidigung</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=report&amp;mode=support">Unterst&uuml;tzung</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=report&amp;mode=trade">Handel</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=report&amp;mode=other">Sonstiges</a></td></tr><tr><td class="bottom"><div class="corner"></div><div class="decoration"></div></td></tr></table></td>
<td class="menu-item">
<a href="game.php?village={$village.id}&amp;screen=mail"> Nachrichten</a><table cellspacing="0" class="menu_column"><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=mail&amp;mode=in">Posteingang</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=mail&amp;mode=out">Postausgang</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=mail&amp;mode=arch">Archiv</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=mail&amp;mode=new">Nachricht schreiben</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=mail&amp;mode=block">Absender blockieren</a></td></tr><tr><td class="bottom"><div class="corner"></div><div class="decoration"></div></td></tr></table></td>
<td class="menu-item">
<a href="game.php?village={$village.id}&amp;screen=ally">Stamm</a><table cellspacing="0" class="menu_column"><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=ally&amp;mode=overview">&Uuml;bersicht</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=ally&amp;mode=profile">Profil</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=ally&amp;mode=members">Mitglieder</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=ally&amp;mode=contracts">Diplomatie</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=ally&amp;mode=invite">Einladungen</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=ally&amp;mode=intro_igm">Begr&uuml;&szlig;ung</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=ally&amp;mode=properties">Eigenschaften</a></td></tr></tr><tr><td class="bottom"><div class="corner"></div><div class="decoration"></div></td></tr></table></td>
<td class="menu-item lpad"> </td>
<td class="menu-item" id="topdisplay">
<div class="bg">
<a href="game.php?village={$village.id}&amp;screen=ranking">Rangliste</a>
<div class="rank">
({$user.rang}.|{$user.points|format_number} P)
</div>
</div>
<table cellspacing="0" class="menu_column"><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=ranking&amp;mode=ally">St&auml;mme</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=ranking&amp;mode=player">Spieler</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=ranking&amp;mode=kill_player&amp;type=all">Besiegte Gegner</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=ranking&amp;mode=awards">Awards</a></td></tr><tr><td class="bottom"><div class="corner"></div><div class="decoration"></div></td></tr></table></div></td>
<td class="menu-item rpad"> </td>
<td class="menu-item">
<a href="game.php?village={$village.id}&amp;screen=settings">Einstellungen</a><table cellspacing="0" class="menu_column"><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=settings&amp;mode=profile">Profil</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=settings&amp;mode=settings">Einstellungen</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=settings&amp;mode=quickbar">Schnellleiste bearbeiten</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=settings&amp;mode=vacation">Urlaubsvertretung</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=settings&amp;mode=logins">Logins</a></td></tr>
<tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=settings&amp;mode=change_passwd">Passwort &auml;ndern</a></td></tr><tr><td class="bottom"><div class="corner"></div><div class="decoration"></div></td></tr></table></td>
<td class="menu-item">
<a href="game.php?village={$village.id}&amp;screen=rinfo">Rundeninfos</a><table cellspacing="0" class="menu_column"><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=rinfoalt">Alte Runden</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=rinfo">Aktuelle Runde</a></td></tr><tr><td class="menu-column-item"><a href="game.php?village={$village.id}&amp;screen=rinfoneu">Geplante Runden</a></td></tr><tr></tr><tr><td class="bottom"><div class="corner"></div><div class="decoration"></div></td></tr></table>
</td>
<td class="menu-item">
<a href="game.php?village={$village.id}&amp;screen=memo">Notizen</a>
</td>
<td class="menu-item">
<a href="logout.php" target="_top">Ausloggen</a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</td>
<td class="topbar right fixed"> </td>
</tr>
<tr class="shadedBG">
<td class="bg_left">
<div class="bg_left"> </div>
</td>
<td class="maincell" style="width: 790px;">
<br class="newStyleOnly"/>
<hr class="oldStyleOnly"/>
<table id="header_info" align="center" width="100%" cellspacing="0">
<colgroup>
<col width="1%"/>
<col width="96%"/>
<col width="1%"/>
<col width="1%"/>
<col width="1%"/>
</colgroup>
<div align=center>
<div style="background:url(graphic/leiste.png)">
<img src="graphic/buildings/main.png" alt=""> <a href="game.php?village={$village.id}&amp;screen=main">Hauptgeb&auml;ude </a> <img src="graphic/buildings/barracks.png" alt=""> <a href="game.php?village={$village.id}&amp;screen=barracks">Kaserne </a> <img src="graphic/buildings/stable.png" alt=""> <a href="game.php?village={$village.id}&amp;screen=stable">Stall </a> <img src="graphic/buildings/garage.png" alt=""> <a href="game.php?village={$village.id}&amp;screen=garage">Werkstatt </a> <img src="graphic/buildings/snob.png" alt=""> <a href="game.php?village={$village.id}&amp;screen=snob">Adelshof </a> <img src="graphic/buildings/smith.png" alt=""> <a href="game.php?village={$village.id}&amp;screen=smith">Schmiede </a> <img src="graphic/buildings/place.png" alt=""> <a href="game.php?village={$village.id}&amp;screen=place">Platz </a> <img src="graphic/buildings/market.png" alt=""> <a href="game.php?village={$village.id}&amp;screen=market">Markt</a>
</div>
<br>
<tbody>
<tr>
<td class="topAlign">
<table class="header-border">
<tbody>
<tr>
<td>
<table class="box menu nowrap">
<tbody>
<tr id="menu_row2">
<td id="menu_row2_map" class="box-item firstcell">
<a id="menu_map_link" href="game.php?village={$village.id}&amp;screen=map">Karte</a>
</td>
<td style="white-space:nowrap;" id="menu_row2_village" class="box-item icon-box nowrap">
<a class="nowrap" href="game.php?village={$village.id}&amp;screen=overview&intro">{$village.name}</a>
</td>
<td class="box-item">
<b class="nowrap">({$village.x}|{$village.y}) K{$village.continent}</b>
</td>
<td class="box-item">
{if $aktu_group == 0}
        {if $user.villages>1}
            {if !empty($village_array.last)}
                <a href="{$village_array.last_link}" accesskey="a"><img src="graphic/links.png" alt="" /></a>
            {else}
                <img src="graphic/links2.png" alt="" />
            {/if}
            {if !empty($village_array.next)}
                <a href="{$village_array.next_link}" accesskey="d"><img src="graphic/rechts.png" alt="" /></a>
            {else}
                <img src="graphic/rechts2.png" alt="" />
            {/if}
        {/if}
    {else}
     {if $user.villages > 1}
            {if !empty($village_array.last) and $village_in_group == 'true'}
                <a href="{$village_array.last_link}" accesskey="a"><img src="graphic/group_left.png" alt="" /></a>
            {else}
                <img src="graphic/links2.png" alt="" />
            {/if}
            {if !empty($village_array.next) and $village_in_group == 'true'}
                <a href="{$village_array.next_link}" accesskey="d"><img src="graphic/group_right.png" alt="" /></a>
            {else}
                <img src="graphic/rechts2.png" alt="" />
            {/if}
            {if $village_in_group != 'true'}
              <a href="{$village_array.first_link}"><img src="graphic/group_jump.png" alt="" title="Dute la primul sat din Grup" /></a>
      {/if}
        {/if}
    {/if}
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="newStyleOnly">
<td class="shadow">
<div class="leftshadow"> </div>
<div class="rightshadow"> </div>
</td>
</tr>
</tbody>
</table>
</td>
<td align="right" class="topAlign"> </td>
<!-- flexible gap -->
<td align="right" class="topAlign">
<table align="right" class="header-border menu_block_right">
<tbody>
<tr>
<td>
<table class="box smallPadding" cellspacing="0" style="empty-cells:show;">
<tbody>
<tr style="height: 20px;">
<td class="box-item icon-box firstcell">
<a href="game.php?village={$village.id}&amp;screen=wood" title="Holz">
<span class="icon header wood"> </span>
</a>
</td>
<td class="box-item">
<span id="wood" title="{$wood_per_hour}" {if $village.r_wood==$max_storage}class="warn"{/if}>{$village.r_wood}</span>
</td>
<td class="box-item icon-box">
<a href="game.php?village={$village.id}&amp;screen=stone" title="Lehm">
<span class="icon header stone"> </span>
</a>
</td>
<td class="box-item">
<span id="stone" title="{$stone_per_hour}" {if $village.r_stone==$max_storage}class="warn"{/if}>{$village.r_stone}</span>
</td>
<td class="box-item icon-box">
<a href="game.php?village={$village.id}&amp;screen=iron" title="Eisen">
<span class="icon header iron"> </span>
</a>
</td>
<td class="box-item">
<span id="iron" title="{$iron_per_hour}" {if $village.r_iron==$max_storage}class="warn"{/if}>{$village.r_iron}</span>
</td>
<td class="box-item icon-box">
<a href="game.php?village={$village.id}&amp;screen=storage" title="Capacitate de depozitare">
<span class="icon header ressources"> </span>
</a>
</td>
<td class="box-item">
<span id="storage">{$max_storage}</span>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="newStyleOnly">
<td class="shadow">
<div class="leftshadow"> </div>
<div class="rightshadow"> </div>
</td>
</tr>
</tbody>
</table>
</td>
<td align="right" class="topAlign">
<table class="header-border menu_block_right">
<tbody>
<tr>
<td>
<table class="box smallPadding" cellspacing="0">
<tbody>
<tr>
<td class="box-item icon-box">
<a href="game.php?village={$village.id}&amp;screen=farm" title="Ferm?">
<span class="icon header population"> </span>
</a>
</td>
<td class="box-item" align="center" style="margin:0;padding:1;">
<span id="pop_current_label">{$village.r_bh}/{$max_bh} </span>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="newStyleOnly">
<td class="shadow">
<div class="leftshadow"> </div>
<div class="rightshadow"> </div>
</td>
</tr>
</tbody>
</table>
</td>
{if $user.attacks!=0}
<td align="right" class="topAlign">
<table class="header-border menu_block_right">
<tbody>
<tr>
<td>
<table class="box smallPadding" cellspacing="0">
<tbody>
<tr>
<td class="box-item icon-box">
<img src="graphic/unit/att.png" alt="" />
</a>
</td>
<td class="box-item" align="center" style="margin:0;padding:1;">
<td width="60" height="20" align="center">({$user.attacks}) </td>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="newStyleOnly">
<td class="shadow">
<div class="leftshadow"> </div>
<div class="rightshadow"> </div>
</td>
</tr>
</tbody>
</table>
{/if}
</td>
</tr>
</tbody>
</table>
<!-- *********************** CONTENT BELOW ************************** -->
<table align="center" id="contentContainer" width="100%">
<tbody>
<tr>
<td>
<table class="content-border" width="100%" cellspacing="0">
<tbody>
<tr>
<td id="inner-border">
<table class="main" align="left">
<tbody>
<tr>
<td id="content_value">
{if $screen=='rinfo'}
    {include file="game_rinfo.tpl"}
    {/if}
    {if $screen=='rinfoalt'}
    {include file="game_rinfoalt.tpl"}
    {/if}
    {if $screen=='rinfoneu'}
    {include file="game_rinfoneu.tpl"}
    {/if}
    {if in_array($screen,$allow_screens)}
    {include file="game_$screen.tpl"}
    {else}
    <p></p> <img src="" alt="">
{/if}
{if $screen == 'statue'}
    {include_php file="statue.php"}
{/if}

</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="bg_right" >
<div class="bg_right"> </div>
<div  style="height: 264px">

</div>
</td>
</tr>
<tr>
<td class="bg_leftborder"> </td>
<td class="server_info" style=" padding-top:7">
<p class="server_info">
generiert in: {$load_msec} ms <b>|</b>
Server Zeit: <span id="serverTime">{$servertime}</span> {php} echo date("d.m.Y") {/php}
</p>
</td>
<td class="bg_rightborder"> </td>
</tr>
<tr class="newStyleOnly">
<td class="bg_bottomleft"> </td>
<td class="bg_bottomcenter"> </td>
<td class="bg_bottomright"> </td>
</tr>
</tbody>
</table>
<script type="text/javascript" src="http://radarstats.com/js/widget.js"></script><script type="text/javascript">radarstats_call_widget("Small", "Blue")</script>
<!-- .main_layout -->
<div id="footer">
<div id="footer_logo"> </div>
<div id="linkContainer" style="max-width: 830px; min-width: 250px;">
<div id="footer_left">
<a href="blanc.php">Blanc</a>
-  
<a href="game.php?village={$village.id}&amp;screen=support">Support</a>
-
<a href="help.php"target="_blank" >Hilfe</a>
</div>
<div id="footer_right">
<a href="game.php?village={$village.id}&amp;screen=friends">Freunde</a>
</div>
</div>
</div>
</body>
</html>
Reply


Messages In This Thread
Berichte Bug (bei mir) - by Bahnhoof - 20.01.2012, 06:18
RE: Berichte Bug (bei mir) - by pL4n3 - 20.01.2012, 09:14
RE: Berichte Bug (bei mir) - by Bahnhoof - 20.01.2012, 14:33
RE: Berichte Bug (bei mir) - by pL4n3 - 20.01.2012, 16:25
RE: Berichte Bug (bei mir) - by Bahnhoof - 20.01.2012, 21:05
RE: Berichte Bug (bei mir) - by agrafix - 22.01.2012, 14:02
RE: Berichte Bug (bei mir) - by Bahnhoof - 22.01.2012, 18:44
RE: Berichte Bug (bei mir) - by Bahnhoof - 28.01.2012, 12:10
RE: Berichte Bug (bei mir) - by SlimShady95 - 28.01.2012, 14:53
RE: Berichte Bug (bei mir) - by agrafix - 29.01.2012, 02:07
RE: Berichte Bug (bei mir) - by SlimShady95 - 29.01.2012, 05:23



Users browsing this thread: 1 Guest(s)