Ir para conteúdo
  • Cadastre-se

(Resolvido)Gesior fora de esquadro


Ir para solução Resolvido por ExtremyDsgnr,

Posts Recomendados

meu gesior está assim (igual na imagem)

 

queria subir 1 pouco o widget rank e castle, e conserta o logo artwork, se alguem puder ajudar

 

layout.php

Spoiler

<html>
<head>
<?php 
function anti_injection($sql)
{
// remove palavras que contenham sintaxe sql
$sql = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"),"",$sql);
$sql = trim($sql);//limpa espaços vazio
$sql = strip_tags($sql);//tira tags html e php
$sql = addslashes($sql);//Adiciona barras invertidas a uma string
return $sql;
}

//modo de usar pegando dados vindos do formulario
$nome = anti_injection($_POST["nome"]);
$senha = anti_injection($_POST["senha"]);

//changing html characters using htmlspecialchars() Learn more here: http://www.php.net/manual/en/function.htmlspecialchars.php
//$_POST['link'] = <a href="test">test</a>

$link = htmlspecialchars($_POST['link'], ENT_QUOTES);
echo $link; //outputs:  &lt;a href='test'&gt;Test&lt;/a&gt; 

header("Content-Type: text/html;  charset=ISO-8859-1",true) ?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title><?PHP echo $title ?></title>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title><?PHP echo $title ?></title>
  <meta name="description" content="Tibia is a free massive multiplayer online role playing game (MMORPG)." />
  <meta name="author" content="ChaitoSoft.com | Account Maker by Gesior" />
  <meta http-equiv="content-language" content="en" />
  <meta http-equiv="content-type" content="text/html; charset=ISO-8"/>
        <meta name="keywords" content="OTServ, free online game, free multiplayer game, ots, open tibia server" />
  <link rel="shortcut icon" href="<?PHP echo $layout_name; ?>/images/server.ico" type="image/x-icon">
  <link rel="icon" href="<?PHP echo $layout_name; ?>/images/server.ico" type="image/x-icon">
  <?PHP echo $layout_header; ?>
  <link href="<?PHP echo $layout_name; ?>/basic.css" rel="stylesheet" type="text/css">
  <script type='text/javascript'> var IMAGES=0; IMAGES='<?PHP echo $layout_name; ?>/images'; var g_FormField='';  var LINK_ACCOUNT=0; LINK_ACCOUNT='';</script>
  <script type="text/javascript" src="<?PHP echo $layout_name; ?>/initialize.js"></script>
<script src="../code.jquery.com/jquery-latest.js"></script>
  <script type='text/javascript'>
function GetXmlHttpObject()
{
var xmlHttp=null;
try
  {
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  try
        {
        xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
        }
  catch (e)
        {
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
  }
return xmlHttp;
}
function MouseOverBigButton(source)
{
  source.firstChild.style.visibility = "visible";
}
function MouseOutBigButton(source)
{
  source.firstChild.style.visibility = "hidden";
}
function BigButtonAction(path)
{
  window.location = path;
}
varloginStatus=0; loginStatus='false'; var activeSubmenuItem='latestnews';</script>  <link href="layouts/tibiacom/basic.css" rel="stylesheet" type="text/css">
  <script type='text/javascript'> var IMAGES=0; IMAGES='layouts/tibiacom/images'; var g_FormField='';  var LINK_ACCOUNT=0; LINK_ACCOUNT='';</script>
  <script type="text/javascript" src="layouts/tibiacom/initialize.js"></script>
   <style type="text/css">
  .widget_social{
   float:right;
   width:332px;
   height:420px;
   background: url("../2.imgland.net/i4kzE.png") no-repeat;
   display:block;
   right:-305px;
   padding:0;
   position:fixed;
   top: 170px;
   z-index:1002;
  }
</style>
<script type="text/javascript">
   $(function (){
        $(".widget_social").hover(function(){
         $(".widget_social").stop(true, false).animate({right:"0"},"medium");
        },function(){
         $(".widget_social").stop(true, false).animate({right:"-305"},"medium");
        },500);
   });
  </script>
  <SCRIPT TYPE="text/javascript">
  <!-- // Framekiller
  setTimeout ("changePage()", 6000);
  function changePage()
  {
    if (parent.frames.length > 2) {
      if (browserTyp == "ie") {
        parent.location=document.location;
      } else {
        self.top.location=document.location;
      }
    }
  }
  // -->
  </SCRIPT>

</head>
<body onBeforeUnLoad="SaveMenu();" onUnload="SaveMenu();">
<a name="top" ></a>
        <div id="ArtworkHelper" style="background-image:url('layouts/tibiacom/images/header/background-artwork999.jpg');" >
            <div id="Bodycontainer">
                <div id="ContentRow">
                    <div id="MenuColumn">
                        <div id="LeftArtwork">
                            <img id="TibiaLogoArtworkTop" src="layouts/tibiacom/images/header/tibia-logo-artwork-top.png" onClick="window.location = '?subtopic=latestnews';" alt="logoartwork" />
          </div>

          
  <div id="Loginbox" >
    <div id="LoginTop" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-top.gif)" ></div>
    <div id="BorderLeft" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
    <div id="LoginButtonContainer" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
        <div id="PlayNowContainer" ><form class="MediumButtonForm" action="index.php?subtopic=accountmanagement" method="post" ><input type="hidden" name="page" value="overview" ><div class="MediumButtonBackground" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/mediumbutton.gif)" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="MediumButtonOver" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/mediumbutton-over.gif)" onMouseOver="MouseOverMediumButton(this);" onMouseOut="MouseOutMediumButton(this);" ></div><input class="MediumButtonText" type="image" name="Login" alt="Login" src="<?PHP echo $layout_name; ?>/images/buttons/mediumbutton_login.png" /></div></form></div>
    </div>
    <div class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
      <div id="LoginstatusText" onClick="LoginstatusTextAction(this);" onMouseOver="MouseOverLoginBoxText(this);" onMouseOut="MouseOutLoginBoxText(this);" ><div id="LoginstatusText_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account.gif)" ></div><div id="LoginstatusText_2" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account-over.gif)" ></div></div>
    </div>
    <div id="BorderRight" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
    <div id="LoginBottom" class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif)" ></div>
  </div>

<div id='Menu'>
<div id='MenuTop' style='background-image:url(layouts/tibiacom/images/general/box-top.gif);'></div>

<div id='news' class='menuitem'>
<span onClick="MenuItemAction('news')">
  <div class='MenuButton' style='background-image:url(layouts/tibiacom/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(layouts/tibiacom/images/menu/button-background-over1.gif);'></div>
      <span id='news_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>

        <div class='light_ld' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>

        <div class='light_ru' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
      </span>
      <div id='news_Icon' class='Icon' style='background-image:url(layouts/tibiacom/images/menu/icon-news3.gif);'></div>
      <div id='news_Label' class='Label' style='background-image:url(layouts/tibiacom/images/menu/label-news.gif);'></div>
      <div id='news_Extend' class='Extend' style='background-image:url(layouts/tibiacom/images/general/plus.gif);'></div>
    </div>
  </div>

</span>
<div id='news_Submenu' class='Submenu'>
<a href='?subtopic=latestnews'>
  <div id='submenu_latestnews' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_latestnews' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Latest News</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=archive'>
  <div id='submenu_archive' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_archive' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">News Archive</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=polls'>
  <div id='submenu_polls' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_polls' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Enquetes</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=changelog'>
  <div id='submenu_changelog' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_changelog' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Updates</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>


</div>
</div>

<div id='account' class='menuitem'>
<span onClick="MenuItemAction('account')">
  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
      <span id='account_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
      </span>
      <div id='account_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-account3.gif);'></div>
      <div id='account_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-account.gif);'></div>
      <div id='account_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    </div>
  </div>
</span>
<div id='account_Submenu' class='Submenu'>
<a href='?subtopic=accountmanagement'>
  <div id='submenu_accountmanagement' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_accountmanagement' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Account Management</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=createaccount'>
  <div id='submenu_createaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_createaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Create Account</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=lostaccount'>
  <div id='submenu_lostaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_lost' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Lost Account?</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=tibiarules'>
  <div id='submenu_tibiarules' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_tibiarules' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Server Rules</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<?PHP
if($config['site']['download_page'] == 1)
echo "<a href='?subtopic=downloadsclient'>
  <div id='submenu_downloadsclient' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_downloadsclient' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Downloads Client</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
echo "<a href='?subtopic=adminpanel'>
  <div id='submenu_adminpanel' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_adminpanel' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"red\">! Admin Panel !</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
if($group_id_of_acc_logged > 0)
echo "<a href='?subtopic=namelock'>
  <div id='submenu_namelock' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_namelock' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"red\">! Namelocks !</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
echo "<a href='?subtopic=polls'>
  <div id='submenu_polls' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_polls' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"red\">! Manage Polls !</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
?>
</div>
</div>

<div id='community' class='menuitem'>
<span onClick="MenuItemAction('community')">
  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
      <span id='community_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
      </span>
      <div id='community_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-community3.gif);'></div>
      <div id='community_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-community.gif);'></div>
      <div id='community_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>

    </div>
  </div>
</span>
<div id='community_Submenu' class='Submenu'>
<a href='?subtopic=characters'>
  <div id='submenu_characters' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_characters' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Characters</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>

  </div>
</a>
<a href='?subtopic=whoisonline'>
  <div id='submenu_whoisonline' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_whoisonline' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Who Is Online?</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=highscores'>
  <div id='submenu_highscores' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Highscores</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=killstatistics'>
  <div id='submenu_killstatistics' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_killstatistics' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Last Kills</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=powergamers'>
  <div id='submenu_powergamers' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_powergamers' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Power Gamers</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=bans'>
  <div id='submenu_bans' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_bans' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Banishments</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=guilds'>
  <div id='submenu_guilds' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>

    <div id='ActiveSubmenuItemIcon_guilds' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Guilds</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
</div>
</div>
<div id='wars' class='menuitem'>
<span onClick="MenuItemAction('wars')">
  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
      <span id='wars_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
      </span>
      <div id='wars_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-wars.gif);'></div>
      <div id='wars_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-wars.gif);'></div>
      <div id='wars_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>

    </div>
  </div>
</span>

    <div id='wars_Submenu' class='Submenu'>

        <a href='?subtopic=wars'>
            <div id='submenu_wars' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_wars' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">War System</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>
        <a href='?subtopic=top_frags'>
            <div id='submenu_top_frags' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_top_frags' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">Top Fraggers</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=topguilds'>
  <div id='submenu_topguilds' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_topguilds' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
<div class='SubmenuitemLabel'><font color=\"green\">Top Guilds</font></div>

    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
</div>
  </div>


<div id='events' class='menuitem'>
<span onClick="MenuItemAction('events')">
  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
      <span id='events_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
      </span>
      <div id='events_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-events.gif);'></div>
      <div id='events_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-eventos.gif);'></div>
      <div id='events_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>

    </div>
  </div>
</span>


    <div id='events_Submenu' class='Submenu'>

        <a href='?subtopic=calendario'>
            <div id='submenu_calendario' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_calendario' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">Calendario</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>

        <a href='?subtopic=castle'>
            <div id='submenu_castle' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_warofemperium' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">Castle</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>

<a href='?subtopic=zombievent'>
            <div id='submenu_zombievent' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_zombievent' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">Zombie Event</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>

<a href='?subtopic=coliseum'>
            <div id='submenu_coliseum' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_coliseum' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">Coliseum</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=forj'>
  <div id='submenu_forj' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_forj' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color="green">Forjamento</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=present'>
  <div id='submenu_present' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
        <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
        <div id='ActiveSubmenuItemIcon_present' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
        <div class='SubmenuitemLabel'>Presence diary</div>
        <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=dota'>
            <div id='submenu_dota' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_dota' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">Dota</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=lottery'>
            <div id='submenu_lottery' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_lottery' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">Lottery</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>

  </div>
  </div>


<?PHP
echo "<div id='forum' class='menuitem'>
         <span onClick=\"MenuItemAction('forum')\">
     <div class='MenuButton' style='background-image:url(".$layout_name."/images/menu/button-background1.gif);'>
         <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over1.gif);'></div>
               <span id='forum_Lights' class='Lights'>
                <div class='light_lu' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
                <div class='light_ld' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
                <div class='light_ru' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
               </span>
               <div id='forum_Icon' class='Icon' style='background-image:url(".$layout_name."/images/menu/icon-forum1.gif);'></div>
               <div id='forum_Label' class='Label' style='background-image:url(".$layout_name."/images/menu/label-forum.gif);'></div>
               <div id='forum_Extend' class='Extend' style='background-image:url(".$layout_name."/images/general/plus.gif);'></div>
             </div>
           </div>
          </span>
       <div id='forum_Submenu' class='Submenu'>
          <a href='?subtopic=forum'>
           <div id='submenu_forum' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
             <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
             <div id='ActiveSubmenuItemIcon_forum' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
             <div class='SubmenuitemLabel'><font color=\"green\">Server Forum</font></div>
             <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
           </div>
          </a>
        </div>  
       </div>";
?>
<div id='support' class='menuitem'>

<span onClick="MenuItemAction('support')">
  <div class='MenuButton' style='background-image:url(layouts/tibiacom/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(layouts/tibiacom/images/menu/button-background-over1.gif);'></div>
      <span id='support_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
        <div class='light_ld' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
        <div class='light_ru' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
      </span>
      <div id='support_Icon' class='Icon' style='background-image:url(layouts/tibiacom/images/menu/icon-support.gif);'></div>

      <div id='support_Label' class='Label' style='background-image:url(layouts/tibiacom/images/menu/label-support.gif);'></div>
      <div id='support_Extend' class='Extend' style='background-image:url(layouts/tibiacom/images/general/plus.gif);'></div>
    </div>
  </div>
</span>
<div id='support_Submenu' class='Submenu'>
<a href='?subtopic=bugtracker'>
  <div id='submenu_bugtracker' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_bugtracker' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>

    <div class='SubmenuitemLabel'><font color=\"green\">Support e Reports</font></div>
    <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=team'>
  <div id='submenu_team' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_team' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Equipe Role Play</font></div>

    <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>
</div>
</div>

<div id='library' class='menuitem'>
<span onClick="MenuItemAction('library')">
  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
      <span id='library_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
      </span>
      <div id='library_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-library2.gif);'></div>
      <div id='library_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-library.gif);'></div>
      <div id='library_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    </div>
  </div>
</span>
<div id='library_Submenu' class='Submenu'>
<a href='?subtopic=creatures'>
  <div id='submenu_creatures' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_creatures' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Creatures</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=hacker'>
  <div id='submenu_hacker' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_createaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Ant Hacker</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=spells'>
  <div id='submenu_spells' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_spells' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Spells</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=addons'>
  <div id='submenu_addons' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_addons' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Addons List</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=forj'>
  <div id='submenu_forj' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_forj' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color="yellow">Forjamento</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>

<?PHP
if($config['site']['gallery_page'] == 0) 
echo "<a href='?subtopic=gallery'>
  <div id='submenu_gallery' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_gallery' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'>Gallery</div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
if($config['site']['serverinfo_page'] == 1)
echo "<a href='?subtopic=serverinfo'>
  <div id='submenu_serverinfo' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_serverinfo' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Server Info</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";

?>
<a href='?subtopic=experiencetable'>
  <div id='submenu_experiencetable' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_experiencetable' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Experience Table</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
</div>
</div>

<?PHP
if($config['site']['shop_system'] == 1) {
echo "<div id='shops' class='menuitem'>
<span onClick=\"MenuItemAction('shops')\">
  <div class='MenuButton' style='background-image:url(".$layout_name."/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over1.gif);'></div>
      <span id='shops_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
        <div class='light_ld' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
        <div class='light_ru' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
      </span>
      <div id='shops_Icon' class='Icon' style='background-image:url(".$layout_name."/images/menu/icon-shops5.gif);'></div>
      <div id='shops_Label' class='Label' style='background-image:url(".$layout_name."/images/menu/label-shops.gif);'></div>
      <div id='shops_Extend' class='Extend' style='background-image:url(".$layout_name."/images/general/plus.gif);'></div>
    </div>
  </div>
</span>
</div>
<div id='shops_Submenu' class='Submenu'> 
<a href='?subtopic=confirmacao'>
  <div id='submenu_confirmacao' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_confirmacao' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Confirmar Pagamento</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=beneficiospremium'>
  <div id='submenu_beneficiospremium' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_beneficiospremium' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><blink style=\"color: yellow;\">Vantagens VIP</blink></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=donate'>
  <div id='submenu_donate' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_donate' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Comprar Pontos</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=shopsystem'>
  <div id='submenu_shopsystem' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_shopsystem' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"yellow\">Shopping Server</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
if($logged)
echo "<a href='?subtopic=shopsystem&action=show_history'>
  <div id='submenu_show_history' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_show_history' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'>Trans. History</div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) 
echo "<a href='?subtopic=shopadmin'>
  <div id='submenu_shopadmin' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_shopadmin' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=red>! Shop Admin !</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
echo "</div>";
}
?>
<div id='MenuBottom' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);'></div>
</div>
  <script type='text/javascript'>InitializePage();</script></div>
        <div id="ContentColumn">
          <div class="Content">
            <div id="ContentHelper"><script type="text/javascript" src="<?PHP echo $layout_name; ?>/newsticker.js"></script>
        <?PHP echo $news_content; ?>
    <div id="<?PHP echo $subtopic; ?>" class="Box">
    <div class="Corner-tl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tl.gif);"></div>
    <div class="Corner-tr" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tr.gif);"></div>
    <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>
    <div class="BorderTitleText" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/title-background-green12.gif);"></div>
    <img class="Title" src="<?PHP echo $layout_name; ?>/images/header/headline-<?PHP echo $subtopic; ?>.gif" alt="Contentbox headline" />
    <div class="Border_2">
      <div class="Border_3">
        <div class="BoxContent" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/scroll.gif);">
    <?PHP echo $main_content; ?> 
      </div>
      </div>
    </div>
    <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>

    <div class="CornerWrapper-b"><div class="Corner-bl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-bl.gif);"></div></div>
    <div class="CornerWrapper-b"><div class="Corner-br" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-br.gif);"></div></div>
  </div>
           </div>
          </div>
          <div id="Footer">
<?PHP
$time_end = microtime_float();
$time = $time_end - $time_start;
?>
            Hollister World Alternative Tibia Server. Sua Aventura comeca aqui.<br/>Page has been viewed <?PHP echo $page_views; ?> times. Load time: <?PHP echo round($time, 4); ?> seconds
               </div>
        </div>
        <div id="ThemeboxesColumn">
          <div id="RightArtwork">
            <img src="monsters/undead dragon.gif" alt="Monster of the Week" name="Monster" id="Monster" onClick="window.location = '?subtopic=creatures&amp;creature=<?PHP echo logo_monster() ?>';" />
            <img id="PedestalAndOnline" src="<?PHP echo $layout_name; ?>/images/header/pedestal-and-online.gif" alt="Monster Pedestal and Players Online Box"/>
          <?PHP
    if(count($config['site']['worlds']) > 1)
         $whoisonlineworld = '?subtopic=whoisonline';
    else
         $whoisonlineworld = '?subtopic=whoisonline&world=0';
    ?>
                         <div id="PlayersOnline" onClick="window.location='<?PHP echo $whoisonlineworld; ?>'">
    <?PHP
   if($config['status']['serverStatus_online'] == 1)
    echo $config['status']['serverStatus_players'].'/'.$config['status']['serverStatus_playersMax'].'<br />Uptime: '.$config['status']['serverStatus_uptime'].'<br />';
   else
    echo '<font color="red"><b>MANUTENÇÃO<br />AGUARDEM</b></font>';
    ?></div>
            </div>

 <div id="Themeboxes">
 <?php
$skills = $SQL->query('SELECT * FROM players WHERE deleted = 0 AND group_id = 1 AND account_id != 1 ORDER BY level DESC LIMIT 10');
?>
<?php
$castle = $SQL->query('SELECT c.id AS id, g.logo_gfx_name AS `logo`, g.name AS guildname, c.guild_id AS guild_id
      FROM castle_dono AS c
   INNER JOIN guilds AS g
      ON g.id = c.guild_id
   ORDER BY id DESC LIMIT 10;');
?>
<style type="text/css" media="all">
  

  #the-final-countdown, #the-final-countdown1, #the-final-countdown2{
      background: transparent url(layouts/tibiacom/images/menu/bg_menu.gif);
  }
  
   #warcastle {
    text-decoration: none;
      text-align: center;
    cursor: auto;
    top: 50px;
    left:20px;
  }
.Toplevelbox
{
    top:-4px;
    position:absolute;
    margin-bottom:10px;
    width:180px;
    height:200px
}

.top_level_x
{
    position:absolute;
    top:88px;
    left:106px;
    height:210px;
    width:270px;
    z-index:20;
    text-align:center;
    padding-top:8px;
    font-family:Tahoma,Geneva,sans-serif;
    font-size:10.2pt;
    color:#fc3;
    font-weight:700;
    text-align:right;
    text-decoration:inherit;
    text-shadow:.1em .1em #333
}

.top_level
{
    position:absolute;
    top:29px;
    left:6px;
    height:160px;
    width:168px;
    z-index:20;
    text-align:center;
    padding-top:6px;
    font-family:Tahoma,Geneva,sans-serif;
    font-size:9.2pt;
    color:#000;
    font-weight:700;
    text-align:right;
    text-decoration:inherit;
    text-shadow:.1em .1em #333
}
#Toplvels
{
    width:290px;
    height:438px;
    left:-75px;
    top:64px;
    z-index:100
}


  #Topbar a {
  text-decoration: none;
  cursor: auto;
  }
 a.topfont {
    font-family: Verdana, Arial, Helvetica; 
    font-size: 12,1px; 
    color: #fc3;
    text-decoration: none
  }
  a:hover.topfont {
    font-family: Verdana, Arial, Helvetica; 
    font-size: 12,1px; 
    color: #CCC; 
    text-decoration:none
  }
   .Eventbox {
    top: -4px;
    position: relative;
    margin-bottom: 10px;
    width: 180px;
    height: 200px;
  }
  /*#eventsContainer {
  //    background: transparent url(layouts/tibiacom/images/menu/test.gif);
  //*/
  .Event {
    position: absolute;
    top: 29px;
    left: 6px;
    height: 160px;
    width: 168px;
    z-index: 20;
    text-align: center;
    padding-top: 6px;
    font-family: "semplicita", Arial, "helvetica", sans-serif;
    font-size: 9.2pt;
    color: #FFF;
    font-weight: bold;
    text-align: right;
    text-decoration: inherit;
    text-shadow: 0.1em 0.1em #333
  }

  #Eventbar a {
  text-decoration: none;
  cursor: auto;
  }
  a.eventfont {
    font-family: "semplicita", Arial, "helvetica", sans-serif;
    font-size: 11px; 
        color: #FF0000;
    text-decoration: none
  }
  a:hover.eventfont {
    font-family: "semplicita", Arial, "helvetica", sans-serif; 
    font-size: 11px; 
    color: #CCC; 
    text-decoration:none
  }

</style>

<div id="Toplvels" class="Themebox" style="background-image:url(./layouts/tibiacom/images/themeboxes/top_level.png);">
                <div class="top_level_x">

    <?php 
    $a = 1;
foreach($skills as $skill) {
      
    echo '<div align="left">
    <a href="?subtopic=characters&name='.$skill['name'].'" class="topfont">
        <font color="#CCC">&nbsp;&nbsp;&nbsp;&nbsp;'.$a.' - </font>'.$skill['name'].'
        <br>
        <small><font color="white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Level: ('.$skill['level'].')</font></small>
        <br>
      </a>
    
     <img src="http://outfit-images.ots.me/animatedOutfits1090/animoutfit.php?id='.$skill['looktype'].'&addons='.$skill['lookaddons'].'&head='.$skill['lookhead'].'&body='.$skill['lookbody'].'&legs='.$skill['looklegs'].'&feet='.$skill['lookfeet'].'" width="64" height="64" style="width: 64px; height: 64px; position: absolute; background-position: 0 0; background-repeat: no-repeat; left: -50px; margin-top: -70px;">

      </div>';
    
      $a++;
    }
    ?>
    </div>    
</div>    


</div>

<br>
  <div id="warcastle" style="margin-top:35px; height:215px; width:165px; margin-left: 23px;  background-image:url(./layouts/tibiacom/images/themeboxes/warcastle.png);">
  <br>
  <?php 
     $b = 1;
    foreach($castle as $guild) {
      echo '<div style="float:center;margin:auto"><br><br><br><br>
      <a href="?subtopic=guilds&action=show&guild='.$guild['guild_id'].'" style="background: transparent url(layouts/tibiacom/images/menu/fire.gif);font-size:14px;text-shadow: 0.1em 0.1em #333" class="topfont">
       <img class="img" src="guild_image.php?id='.$guild['guild_id'].'" width=64 height=64><br>
      '.$guild['guildname'].'
      </a>
      </div>';
      $b++;
    }
    ?>
</div>    <br><!--
<style>
  .ctf1,.ctf2,.ctf3,.zmb1,.zmb2,.zmb3,.btf1,.btf2,.btf3{
    margin: 1;
  }
</style>
<br><br>
            
<?PHP
if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) 
echo '<div id="CurrentPollBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/admin/admin.gif);">
      <div id="CurrentPollText">
    <b><a href="?subtopic=adminpanel"><b>Admin Panel</b></a><b><br>
    <b><a href="?subtopic=namelock"><b>Namelocks</b></a><b><br>
    <b><a href="?subtopic=polls"><b>Manage Polls</b></a><b><br>
    <b><a href="?subtopic=shopadmin"><b>Shop Admin</b></a><b></div>
    <div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>
    </div>';
?>
        </div>
      </div>
     </div>
    </div>
  </div>
<!-- float facebook like box start -->
    <script id="float_fb" src="<?=$layout_name?>layouts/tibiacom/fb_float_plugin.js" data-href="https://www.facebook.com/hollisterOTserver" async></script>
    <!-- float facebook like box end -->
</body>
</html>

 

e se alguem souber resolver o erro da pagina do castle, tenho outro topico que ninguem respondeu postei faz 2 dias... tambem preciso de apoio

 

outro bug gesior.png

Editado por ExtremyDsgnr
achei (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

@ExtremyDsgnr

Favor testar e me mandar print caso não tenha dado, estou sem ter como testar.

Não entendi o erro da pagina de castle que você falou.

 

Spoiler

 


		

<html>
		<head>
		<?php 
		function anti_injection($sql)
		{
		// remove palavras que contenham sintaxe sql
		$sql = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"),"",$sql);
		$sql = trim($sql);//limpa espaços vazio
		$sql = strip_tags($sql);//tira tags html e php
		$sql = addslashes($sql);//Adiciona barras invertidas a uma string
		return $sql;
		}		

//modo de usar pegando dados vindos do formulario
		$nome = anti_injection($_POST["nome"]);
		$senha = anti_injection($_POST["senha"]);		

//changing html characters using htmlspecialchars() Learn more here: http://www.php.net/manual/en/function.htmlspecialchars.php
		//$_POST['link'] = <a href="test">test</a>		

$link = htmlspecialchars($_POST['link'], ENT_QUOTES);
		echo $link; //outputs:  &lt;a href='test'&gt;Test&lt;/a&gt; 		

header("Content-Type: text/html;  charset=ISO-8859-1",true) ?>
		<html xmlns="http://www.w3.org/1999/xhtml">
		    <head>
		        <title><?PHP echo $title ?></title>		

<html xmlns="http://www.w3.org/1999/xhtml">
		<head>
		  <title><?PHP echo $title ?></title>
		  <meta name="description" content="Tibia is a free massive multiplayer online role playing game (MMORPG)." />
		  <meta name="author" content="ChaitoSoft.com | Account Maker by Gesior" />
		  <meta http-equiv="content-language" content="en" />
		  <meta http-equiv="content-type" content="text/html; charset=ISO-8"/>
		        <meta name="keywords" content="OTServ, free online game, free multiplayer game, ots, open tibia server" />
		  <link rel="shortcut icon" href="<?PHP echo $layout_name; ?>/images/server.ico" type="image/x-icon">
		  <link rel="icon" href="<?PHP echo $layout_name; ?>/images/server.ico" type="image/x-icon">
		  <?PHP echo $layout_header; ?>
		  <link href="<?PHP echo $layout_name; ?>/basic.css" rel="stylesheet" type="text/css">
		  <script type='text/javascript'> var IMAGES=0; IMAGES='<?PHP echo $layout_name; ?>/images'; var g_FormField='';  var LINK_ACCOUNT=0; LINK_ACCOUNT='';</script>
		  <script type="text/javascript" src="<?PHP echo $layout_name; ?>/initialize.js"></script>
		<script src="../code.jquery.com/jquery-latest.js"></script>
		  <script type='text/javascript'>
		function GetXmlHttpObject()
		{
		var xmlHttp=null;
		try
		  {
		  xmlHttp=new XMLHttpRequest();
		  }
		catch (e)
		  {
		  try
		        {
		        xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		        }
		  catch (e)
		        {
		        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		        }
		  }
		return xmlHttp;
		}
		function MouseOverBigButton(source)
		{
		  source.firstChild.style.visibility = "visible";
		}
		function MouseOutBigButton(source)
		{
		  source.firstChild.style.visibility = "hidden";
		}
		function BigButtonAction(path)
		{
		  window.location = path;
		}
		varloginStatus=0; loginStatus='false'; var activeSubmenuItem='latestnews';</script>  <link href="layouts/tibiacom/basic.css" rel="stylesheet" type="text/css">
		  <script type='text/javascript'> var IMAGES=0; IMAGES='layouts/tibiacom/images'; var g_FormField='';  var LINK_ACCOUNT=0; LINK_ACCOUNT='';</script>
		  <script type="text/javascript" src="layouts/tibiacom/initialize.js"></script>
		   <style type="text/css">
		  .widget_social{
		   float:right;
		   width:332px;
		   height:420px;
		   background: url("../2.imgland.net/i4kzE.png") no-repeat;
		   display:block;
		   right:-305px;
		   padding:0;
		   position:fixed;
		   top: 170px;
		   z-index:1002;
		  }
		</style>
		<script type="text/javascript">
		   $(function (){
		        $(".widget_social").hover(function(){
		         $(".widget_social").stop(true, false).animate({right:"0"},"medium");
		        },function(){
		         $(".widget_social").stop(true, false).animate({right:"-305"},"medium");
		        },500);
		   });
		  </script>
		  <SCRIPT TYPE="text/javascript">
		  <!-- // Framekiller
		  setTimeout ("changePage()", 6000);
		  function changePage()
		  {
		    if (parent.frames.length > 2) {
		      if (browserTyp == "ie") {
		        parent.location=document.location;
		      } else {
		        self.top.location=document.location;
		      }
		    }
		  }
		  // -->
		  </SCRIPT>		

</head>
		<body onBeforeUnLoad="SaveMenu();" onUnload="SaveMenu();">
		<a name="top" ></a>
		        <div id="ArtworkHelper" style="background-image:url('layouts/tibiacom/images/header/background-artwork999.jpg');" >
		            <div id="Bodycontainer">
		                <div id="ContentRow">
		                    <div id="MenuColumn">
		                        <div id="LeftArtwork">
		                            <img id="TibiaLogoArtworkTop" src="layouts/tibiacom/images/header/tibia-logo-artwork-top.png" onClick="window.location = '?subtopic=latestnews';" alt="logoartwork" />
		          </div>		

          
		  <div id="Loginbox" >
		    <div id="LoginTop" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-top.gif)" ></div>
		    <div id="BorderLeft" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
		    <div id="LoginButtonContainer" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
		        <div id="PlayNowContainer" ><form class="MediumButtonForm" action="index.php?subtopic=accountmanagement" method="post" ><input type="hidden" name="page" value="overview" ><div class="MediumButtonBackground" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/mediumbutton.gif)" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="MediumButtonOver" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/mediumbutton-over.gif)" onMouseOver="MouseOverMediumButton(this);" onMouseOut="MouseOutMediumButton(this);" ></div><input class="MediumButtonText" type="image" name="Login" alt="Login" src="<?PHP echo $layout_name; ?>/images/buttons/mediumbutton_login.png" /></div></form></div>
		    </div>
		    <div class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
		      <div id="LoginstatusText" onClick="LoginstatusTextAction(this);" onMouseOver="MouseOverLoginBoxText(this);" onMouseOut="MouseOutLoginBoxText(this);" ><div id="LoginstatusText_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account.gif)" ></div><div id="LoginstatusText_2" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account-over.gif)" ></div></div>
		    </div>
		    <div id="BorderRight" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
		    <div id="LoginBottom" class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif)" ></div>
		  </div>		

<div id='Menu'>
		<div id='MenuTop' style='background-image:url(layouts/tibiacom/images/general/box-top.gif);'></div>		

<div id='news' class='menuitem'>
		<span onClick="MenuItemAction('news')">
		  <div class='MenuButton' style='background-image:url(layouts/tibiacom/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(layouts/tibiacom/images/menu/button-background-over1.gif);'></div>
		      <span id='news_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>		

        <div class='light_ld' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>		

        <div class='light_ru' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='news_Icon' class='Icon' style='background-image:url(layouts/tibiacom/images/menu/icon-news3.gif);'></div>
		      <div id='news_Label' class='Label' style='background-image:url(layouts/tibiacom/images/menu/label-news.gif);'></div>
		      <div id='news_Extend' class='Extend' style='background-image:url(layouts/tibiacom/images/general/plus.gif);'></div>
		    </div>
		  </div>		

</span>
		<div id='news_Submenu' class='Submenu'>
		<a href='?subtopic=latestnews'>
		  <div id='submenu_latestnews' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_latestnews' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Latest News</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=archive'>
		  <div id='submenu_archive' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_archive' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">News Archive</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=polls'>
		  <div id='submenu_polls' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_polls' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Enquetes</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=changelog'>
		  <div id='submenu_changelog' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_changelog' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Updates</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>		


</div>
		</div>		

<div id='account' class='menuitem'>
		<span onClick="MenuItemAction('account')">
		  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
		      <span id='account_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='account_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-account3.gif);'></div>
		      <div id='account_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-account.gif);'></div>
		      <div id='account_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
		    </div>
		  </div>
		</span>
		<div id='account_Submenu' class='Submenu'>
		<a href='?subtopic=accountmanagement'>
		  <div id='submenu_accountmanagement' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_accountmanagement' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Account Management</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=createaccount'>
		  <div id='submenu_createaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_createaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Create Account</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=lostaccount'>
		  <div id='submenu_lostaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_lost' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Lost Account?</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=tibiarules'>
		  <div id='submenu_tibiarules' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_tibiarules' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Server Rules</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<?PHP
		if($config['site']['download_page'] == 1)
		echo "<a href='?subtopic=downloadsclient'>
		  <div id='submenu_downloadsclient' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_downloadsclient' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Downloads Client</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
		echo "<a href='?subtopic=adminpanel'>
		  <div id='submenu_adminpanel' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_adminpanel' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"red\">! Admin Panel !</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		if($group_id_of_acc_logged > 0)
		echo "<a href='?subtopic=namelock'>
		  <div id='submenu_namelock' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_namelock' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"red\">! Namelocks !</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
		echo "<a href='?subtopic=polls'>
		  <div id='submenu_polls' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_polls' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"red\">! Manage Polls !</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		?>
		</div>
		</div>		

<div id='community' class='menuitem'>
		<span onClick="MenuItemAction('community')">
		  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
		      <span id='community_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='community_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-community3.gif);'></div>
		      <div id='community_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-community.gif);'></div>
		      <div id='community_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>		

    </div>
		  </div>
		</span>
		<div id='community_Submenu' class='Submenu'>
		<a href='?subtopic=characters'>
		  <div id='submenu_characters' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_characters' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Characters</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>		

  </div>
		</a>
		<a href='?subtopic=whoisonline'>
		  <div id='submenu_whoisonline' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_whoisonline' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Who Is Online?</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=highscores'>
		  <div id='submenu_highscores' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Highscores</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=killstatistics'>
		  <div id='submenu_killstatistics' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_killstatistics' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Last Kills</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=powergamers'>
		  <div id='submenu_powergamers' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_powergamers' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Power Gamers</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=bans'>
		  <div id='submenu_bans' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_bans' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Banishments</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=guilds'>
		  <div id='submenu_guilds' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>		

    <div id='ActiveSubmenuItemIcon_guilds' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Guilds</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		</div>
		</div>
		<div id='wars' class='menuitem'>
		<span onClick="MenuItemAction('wars')">
		  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
		      <span id='wars_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='wars_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-wars.gif);'></div>
		      <div id='wars_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-wars.gif);'></div>
		      <div id='wars_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>		

    </div>
		  </div>
		</span>		

    <div id='wars_Submenu' class='Submenu'>		

        <a href='?subtopic=wars'>
		            <div id='submenu_wars' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_wars' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">War System</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>
		        <a href='?subtopic=top_frags'>
		            <div id='submenu_top_frags' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_top_frags' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">Top Fraggers</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=topguilds'>
		  <div id='submenu_topguilds' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_topguilds' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		<div class='SubmenuitemLabel'><font color=\"green\">Top Guilds</font></div>		

    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		</div>
		  </div>		


<div id='events' class='menuitem'>
		<span onClick="MenuItemAction('events')">
		  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
		      <span id='events_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='events_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-events.gif);'></div>
		      <div id='events_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-eventos.gif);'></div>
		      <div id='events_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>		

    </div>
		  </div>
		</span>		


    <div id='events_Submenu' class='Submenu'>		

        <a href='?subtopic=calendario'>
		            <div id='submenu_calendario' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_calendario' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">Calendario</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>		

        <a href='?subtopic=castle'>
		            <div id='submenu_castle' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_warofemperium' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">Castle</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>		

<a href='?subtopic=zombievent'>
		            <div id='submenu_zombievent' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_zombievent' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">Zombie Event</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>		

<a href='?subtopic=coliseum'>
		            <div id='submenu_coliseum' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_coliseum' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">Coliseum</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=forj'>
		  <div id='submenu_forj' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_forj' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color="green">Forjamento</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=present'>
		  <div id='submenu_present' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		        <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		        <div id='ActiveSubmenuItemIcon_present' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		        <div class='SubmenuitemLabel'>Presence diary</div>
		        <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=dota'>
		            <div id='submenu_dota' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_dota' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">Dota</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=lottery'>
		            <div id='submenu_lottery' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_lottery' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">Lottery</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>		

  </div>
		  </div>		


<?PHP
		echo "<div id='forum' class='menuitem'>
		         <span onClick=\"MenuItemAction('forum')\">
		     <div class='MenuButton' style='background-image:url(".$layout_name."/images/menu/button-background1.gif);'>
		         <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over1.gif);'></div>
		               <span id='forum_Lights' class='Lights'>
		                <div class='light_lu' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
		                <div class='light_ld' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
		                <div class='light_ru' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
		               </span>
		               <div id='forum_Icon' class='Icon' style='background-image:url(".$layout_name."/images/menu/icon-forum1.gif);'></div>
		               <div id='forum_Label' class='Label' style='background-image:url(".$layout_name."/images/menu/label-forum.gif);'></div>
		               <div id='forum_Extend' class='Extend' style='background-image:url(".$layout_name."/images/general/plus.gif);'></div>
		             </div>
		           </div>
		          </span>
		       <div id='forum_Submenu' class='Submenu'>
		          <a href='?subtopic=forum'>
		           <div id='submenu_forum' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		             <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		             <div id='ActiveSubmenuItemIcon_forum' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		             <div class='SubmenuitemLabel'><font color=\"green\">Server Forum</font></div>
		             <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		           </div>
		          </a>
		        </div>  
		       </div>";
		?>
		<div id='support' class='menuitem'>		

<span onClick="MenuItemAction('support')">
		  <div class='MenuButton' style='background-image:url(layouts/tibiacom/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(layouts/tibiacom/images/menu/button-background-over1.gif);'></div>
		      <span id='support_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
		        <div class='light_ld' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
		        <div class='light_ru' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='support_Icon' class='Icon' style='background-image:url(layouts/tibiacom/images/menu/icon-support.gif);'></div>		

      <div id='support_Label' class='Label' style='background-image:url(layouts/tibiacom/images/menu/label-support.gif);'></div>
		      <div id='support_Extend' class='Extend' style='background-image:url(layouts/tibiacom/images/general/plus.gif);'></div>
		    </div>
		  </div>
		</span>
		<div id='support_Submenu' class='Submenu'>
		<a href='?subtopic=bugtracker'>
		  <div id='submenu_bugtracker' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_bugtracker' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>		

    <div class='SubmenuitemLabel'><font color=\"green\">Support e Reports</font></div>
		    <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=team'>
		  <div id='submenu_team' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_team' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Equipe Role Play</font></div>		

    <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>
		</div>
		</div>		

<div id='library' class='menuitem'>
		<span onClick="MenuItemAction('library')">
		  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
		      <span id='library_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='library_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-library2.gif);'></div>
		      <div id='library_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-library.gif);'></div>
		      <div id='library_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
		    </div>
		  </div>
		</span>
		<div id='library_Submenu' class='Submenu'>
		<a href='?subtopic=creatures'>
		  <div id='submenu_creatures' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_creatures' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Creatures</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=hacker'>
		  <div id='submenu_hacker' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_createaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Ant Hacker</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=spells'>
		  <div id='submenu_spells' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_spells' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Spells</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=addons'>
		  <div id='submenu_addons' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_addons' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Addons List</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=forj'>
		  <div id='submenu_forj' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_forj' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color="yellow">Forjamento</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>		

<?PHP
		if($config['site']['gallery_page'] == 0) 
		echo "<a href='?subtopic=gallery'>
		  <div id='submenu_gallery' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_gallery' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'>Gallery</div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		if($config['site']['serverinfo_page'] == 1)
		echo "<a href='?subtopic=serverinfo'>
		  <div id='submenu_serverinfo' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_serverinfo' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Server Info</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";		

?>
		<a href='?subtopic=experiencetable'>
		  <div id='submenu_experiencetable' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_experiencetable' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Experience Table</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		</div>
		</div>		

<?PHP
		if($config['site']['shop_system'] == 1) {
		echo "<div id='shops' class='menuitem'>
		<span onClick=\"MenuItemAction('shops')\">
		  <div class='MenuButton' style='background-image:url(".$layout_name."/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over1.gif);'></div>
		      <span id='shops_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
		        <div class='light_ld' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
		        <div class='light_ru' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='shops_Icon' class='Icon' style='background-image:url(".$layout_name."/images/menu/icon-shops5.gif);'></div>
		      <div id='shops_Label' class='Label' style='background-image:url(".$layout_name."/images/menu/label-shops.gif);'></div>
		      <div id='shops_Extend' class='Extend' style='background-image:url(".$layout_name."/images/general/plus.gif);'></div>
		    </div>
		  </div>
		</span>
		</div>
		<div id='shops_Submenu' class='Submenu'> 
		<a href='?subtopic=confirmacao'>
		  <div id='submenu_confirmacao' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_confirmacao' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Confirmar Pagamento</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=beneficiospremium'>
		  <div id='submenu_beneficiospremium' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_beneficiospremium' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><blink style=\"color: yellow;\">Vantagens VIP</blink></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=donate'>
		  <div id='submenu_donate' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_donate' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Comprar Pontos</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=shopsystem'>
		  <div id='submenu_shopsystem' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_shopsystem' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"yellow\">Shopping Server</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		if($logged)
		echo "<a href='?subtopic=shopsystem&action=show_history'>
		  <div id='submenu_show_history' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_show_history' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'>Trans. History</div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) 
		echo "<a href='?subtopic=shopadmin'>
		  <div id='submenu_shopadmin' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_shopadmin' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=red>! Shop Admin !</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		echo "</div>";
		}
		?>
		<div id='MenuBottom' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);'></div>
		</div>
		  <script type='text/javascript'>InitializePage();</script></div>
		        <div id="ContentColumn">
		          <div class="Content">
		            <div id="ContentHelper"><script type="text/javascript" src="<?PHP echo $layout_name; ?>/newsticker.js"></script>
		        <?PHP echo $news_content; ?>
		    <div id="<?PHP echo $subtopic; ?>" class="Box">
		    <div class="Corner-tl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tl.gif);"></div>
		    <div class="Corner-tr" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tr.gif);"></div>
		    <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>
		    <div class="BorderTitleText" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/title-background-green12.gif);"></div>
		    <img class="Title" src="<?PHP echo $layout_name; ?>/images/header/headline-<?PHP echo $subtopic; ?>.gif" alt="Contentbox headline" />
		    <div class="Border_2">
		      <div class="Border_3">
		        <div class="BoxContent" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/scroll.gif);">
		    <?PHP echo $main_content; ?> 
		      </div>
		      </div>
		    </div>
		    <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>		

    <div class="CornerWrapper-b"><div class="Corner-bl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-bl.gif);"></div></div>
		    <div class="CornerWrapper-b"><div class="Corner-br" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-br.gif);"></div></div>
		  </div>
		           </div>
		          </div>
		          <div id="Footer">
		<?PHP
		$time_end = microtime_float();
		$time = $time_end - $time_start;
		?>
		            Hollister World Alternative Tibia Server. Sua Aventura comeca aqui.<br/>Page has been viewed <?PHP echo $page_views; ?> times. Load time: <?PHP echo round($time, 4); ?> seconds
		               </div>
		        </div>
		        <div id="ThemeboxesColumn">
		          <div id="RightArtwork">
		            <img src="monsters/undead dragon.gif" alt="Monster of the Week" name="Monster" id="Monster" onClick="window.location = '?subtopic=creatures&amp;creature=<?PHP echo logo_monster() ?>';" />
		            <img id="PedestalAndOnline" src="<?PHP echo $layout_name; ?>/images/header/pedestal-and-online.gif" alt="Monster Pedestal and Players Online Box"/>
		          <?PHP
		    if(count($config['site']['worlds']) > 1)
		         $whoisonlineworld = '?subtopic=whoisonline';
		    else
		         $whoisonlineworld = '?subtopic=whoisonline&world=0';
		    ?>
		                         <div id="PlayersOnline" onClick="window.location='<?PHP echo $whoisonlineworld; ?>'">
		    <?PHP
		   if($config['status']['serverStatus_online'] == 1)
		    echo $config['status']['serverStatus_players'].'/'.$config['status']['serverStatus_playersMax'].'<br />Uptime: '.$config['status']['serverStatus_uptime'].'<br />';
		   else
		    echo '<font color="red"><b>MANUTENÇÃO<br />AGUARDEM</b></font>';
		    ?></div>
		            </div>		

 <div id="Themeboxes">
		 <?php
		$skills = $SQL->query('SELECT * FROM players WHERE deleted = 0 AND group_id = 1 AND account_id != 1 ORDER BY level DESC LIMIT 10');
		?>
		<?php
		$castle = $SQL->query('SELECT c.id AS id, g.logo_gfx_name AS `logo`, g.name AS guildname, c.guild_id AS guild_id
		      FROM castle_dono AS c
		   INNER JOIN guilds AS g
		      ON g.id = c.guild_id
		   ORDER BY id DESC LIMIT 10;');
		?>
		<style type="text/css" media="all">
		  		

  #the-final-countdown, #the-final-countdown1, #the-final-countdown2{
		      background: transparent url(layouts/tibiacom/images/menu/bg_menu.gif);
		  }
		  
		   #warcastle {
		    text-decoration: none;
		      text-align: center;
		    cursor: auto;
		    top: 50px;
		    left:20px;
		  }
		.Toplevelbox
		{
		    top:-4px;
		    position:absolute;
		    margin-bottom:10px;
		    width:180px;
		    height:200px
		}		

.top_level_x
		{
		    position:absolute;
		    top:88px;
		    left:106px;
		    height:210px;
		    width:270px;
		    z-index:20;
		    text-align:center;
		    padding-top:8px;
		    font-family:Tahoma,Geneva,sans-serif;
		    font-size:10.2pt;
		    color:#fc3;
		    font-weight:700;
		    text-align:right;
		    text-decoration:inherit;
		    text-shadow:.1em .1em #333
		}		

.top_level
		{
		    position:absolute;
		    top:29px;
		    left:6px;
		    height:160px;
		    width:168px;
		    z-index:20;
		    text-align:center;
		    padding-top:6px;
		    font-family:Tahoma,Geneva,sans-serif;
		    font-size:9.2pt;
		    color:#000;
		    font-weight:700;
		    text-align:right;
		    text-decoration:inherit;
		    text-shadow:.1em .1em #333
		}
		#Toplvels
		{
		    width:290px;
		    height:438px;
		    left:-75px;
		    top:64px;
		    z-index:100
		}		


  #Topbar a {
		  text-decoration: none;
		  cursor: auto;
		  }
		 a.topfont {
		    font-family: Verdana, Arial, Helvetica; 
		    font-size: 12,1px; 
		    color: #fc3;
		    text-decoration: none
		  }
		  a:hover.topfont {
		    font-family: Verdana, Arial, Helvetica; 
		    font-size: 12,1px; 
		    color: #CCC; 
		    text-decoration:none
		  }
		   .Eventbox {
		    top: -4px;
		    position: relative;
		    margin-bottom: 10px;
		    width: 180px;
		    height: 200px;
		  }
		  /*#eventsContainer {
		  //    background: transparent url(layouts/tibiacom/images/menu/test.gif);
		  //*/
		  .Event {
		    position: absolute;
		    top: 29px;
		    left: 6px;
		    height: 160px;
		    width: 168px;
		    z-index: 20;
		    text-align: center;
		    padding-top: 6px;
		    font-family: "semplicita", Arial, "helvetica", sans-serif;
		    font-size: 9.2pt;
		    color: #FFF;
		    font-weight: bold;
		    text-align: right;
		    text-decoration: inherit;
		    text-shadow: 0.1em 0.1em #333
		  }		

  #Eventbar a {
		  text-decoration: none;
		  cursor: auto;
		  }
		  a.eventfont {
		    font-family: "semplicita", Arial, "helvetica", sans-serif;
		    font-size: 11px; 
		        color: #FF0000;
		    text-decoration: none
		  }
		  a:hover.eventfont {
		    font-family: "semplicita", Arial, "helvetica", sans-serif; 
		    font-size: 11px; 
		    color: #CCC; 
		    text-decoration:none
		  }		

</style>		

<div id="Toplvels" class="Themebox" style="background-image:url(./layouts/tibiacom/images/themeboxes/top_level.png);">
		                <div class="top_level_x">		

    <?php 
		    $a = 1;
		foreach($skills as $skill) {
		      
		    echo '<div align="left">
		    <a href="?subtopic=characters&name='.$skill['name'].'" class="topfont">
		        <font color="#CCC">&nbsp;&nbsp;&nbsp;&nbsp;'.$a.' - </font>'.$skill['name'].'
		        <br>
		        <small><font color="white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Level: ('.$skill['level'].')</font></small>
		        <br>
		      </a>
		    
		     <img src="http://outfit-images.ots.me/animatedOutfits1090/animoutfit.php?id='.$skill['looktype'].'&addons='.$skill['lookaddons'].'&head='.$skill['lookhead'].'&body='.$skill['lookbody'].'&legs='.$skill['looklegs'].'&feet='.$skill['lookfeet'].'" width="64" height="64" style="width: 64px; height: 64px; position: absolute; background-position: 0 0; background-repeat: no-repeat; left: -50px; margin-top: -70px;">		

      </div>';
		    
		      $a++;
		    }
		    ?>
		    </div>    
		</div>    
		<br>
		  <div id="warcastle" style="margin-top:35px; height:215px; width:165px; margin-left: 23px;  background-image:url(./layouts/tibiacom/images/themeboxes/warcastle.png);">
		  <br>
		  <?php 
		     $b = 1;
		    foreach($castle as $guild) {
		      echo '<div style="float:center;margin:auto"><br><br><br><br>
		      <a href="?subtopic=guilds&action=show&guild='.$guild['guild_id'].'" style="background: transparent url(layouts/tibiacom/images/menu/fire.gif);font-size:14px;text-shadow: 0.1em 0.1em #333" class="topfont">
		       <img class="img" src="guild_image.php?id='.$guild['guild_id'].'" width=64 height=64><br>
		      '.$guild['guildname'].'
		      </a>
		      </div>';
		      $b++;
		    }
		    ?>
		    </div>
		<br>
		            
		<?PHP
		if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) 
		echo '<div id="CurrentPollBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/admin/admin.gif);">
		      <div id="CurrentPollText">
		    <b><a href="?subtopic=adminpanel"><b>Admin Panel</b></a><b><br>
		    <b><a href="?subtopic=namelock"><b>Namelocks</b></a><b><br>
		    <b><a href="?subtopic=polls"><b>Manage Polls</b></a><b><br>
		    <b><a href="?subtopic=shopadmin"><b>Shop Admin</b></a><b></div>
		    <div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>
		    </div>';
		?>
		        </div>
		      </div>
		     </div>
		    </div>
		  </div>
		<!-- float facebook like box start -->
		    <script id="float_fb" src="<?=$layout_name?>layouts/tibiacom/fb_float_plugin.js" data-href="https://www.facebook.com/hollisterOTserver" async></script>
		    <!-- float facebook like box end -->
		</body>
		</html>		

 

 

Editado por DukeeH (veja o histórico de edições)

asdukeeh.jpg

Link para o post
Compartilhar em outros sites

@DukeeH 

3 horas atrás, DukeeH disse:

@ExtremyDsgnr

Favor testar e me mandar print caso não tenha dado, estou sem ter como testar.

Não entendi o erro da pagina de castle que você falou.

 

  Mostrar conteúdo oculto

 



		

<html>
		<head>
		<?php 
		function anti_injection($sql)
		{
		// remove palavras que contenham sintaxe sql
		$sql = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"),"",$sql);
		$sql = trim($sql);//limpa espaços vazio
		$sql = strip_tags($sql);//tira tags html e php
		$sql = addslashes($sql);//Adiciona barras invertidas a uma string
		return $sql;
		}		

//modo de usar pegando dados vindos do formulario
		$nome = anti_injection($_POST["nome"]);
		$senha = anti_injection($_POST["senha"]);		

//changing html characters using htmlspecialchars() Learn more here: http://www.php.net/manual/en/function.htmlspecialchars.php
		//$_POST['link'] = <a href="test">test</a>		

$link = htmlspecialchars($_POST['link'], ENT_QUOTES);
		echo $link; //outputs:  &lt;a href='test'&gt;Test&lt;/a&gt; 		

header("Content-Type: text/html;  charset=ISO-8859-1",true) ?>
		<html xmlns="http://www.w3.org/1999/xhtml">
		    <head>
		        <title><?PHP echo $title ?></title>		

<html xmlns="http://www.w3.org/1999/xhtml">
		<head>
		  <title><?PHP echo $title ?></title>
		  <meta name="description" content="Tibia is a free massive multiplayer online role playing game (MMORPG)." />
		  <meta name="author" content="ChaitoSoft.com | Account Maker by Gesior" />
		  <meta http-equiv="content-language" content="en" />
		  <meta http-equiv="content-type" content="text/html; charset=ISO-8"/>
		        <meta name="keywords" content="OTServ, free online game, free multiplayer game, ots, open tibia server" />
		  <link rel="shortcut icon" href="<?PHP echo $layout_name; ?>/images/server.ico" type="image/x-icon">
		  <link rel="icon" href="<?PHP echo $layout_name; ?>/images/server.ico" type="image/x-icon">
		  <?PHP echo $layout_header; ?>
		  <link href="<?PHP echo $layout_name; ?>/basic.css" rel="stylesheet" type="text/css">
		  <script type='text/javascript'> var IMAGES=0; IMAGES='<?PHP echo $layout_name; ?>/images'; var g_FormField='';  var LINK_ACCOUNT=0; LINK_ACCOUNT='';</script>
		  <script type="text/javascript" src="<?PHP echo $layout_name; ?>/initialize.js"></script>
		<script src="../code.jquery.com/jquery-latest.js"></script>
		  <script type='text/javascript'>
		function GetXmlHttpObject()
		{
		var xmlHttp=null;
		try
		  {
		  xmlHttp=new XMLHttpRequest();
		  }
		catch (e)
		  {
		  try
		        {
		        xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		        }
		  catch (e)
		        {
		        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		        }
		  }
		return xmlHttp;
		}
		function MouseOverBigButton(source)
		{
		  source.firstChild.style.visibility = "visible";
		}
		function MouseOutBigButton(source)
		{
		  source.firstChild.style.visibility = "hidden";
		}
		function BigButtonAction(path)
		{
		  window.location = path;
		}
		varloginStatus=0; loginStatus='false'; var activeSubmenuItem='latestnews';</script>  <link href="layouts/tibiacom/basic.css" rel="stylesheet" type="text/css">
		  <script type='text/javascript'> var IMAGES=0; IMAGES='layouts/tibiacom/images'; var g_FormField='';  var LINK_ACCOUNT=0; LINK_ACCOUNT='';</script>
		  <script type="text/javascript" src="layouts/tibiacom/initialize.js"></script>
		   <style type="text/css">
		  .widget_social{
		   float:right;
		   width:332px;
		   height:420px;
		   background: url("../2.imgland.net/i4kzE.png") no-repeat;
		   display:block;
		   right:-305px;
		   padding:0;
		   position:fixed;
		   top: 170px;
		   z-index:1002;
		  }
		</style>
		<script type="text/javascript">
		   $(function (){
		        $(".widget_social").hover(function(){
		         $(".widget_social").stop(true, false).animate({right:"0"},"medium");
		        },function(){
		         $(".widget_social").stop(true, false).animate({right:"-305"},"medium");
		        },500);
		   });
		  </script>
		  <SCRIPT TYPE="text/javascript">
		  <!-- // Framekiller
		  setTimeout ("changePage()", 6000);
		  function changePage()
		  {
		    if (parent.frames.length > 2) {
		      if (browserTyp == "ie") {
		        parent.location=document.location;
		      } else {
		        self.top.location=document.location;
		      }
		    }
		  }
		  // -->
		  </SCRIPT>		

</head>
		<body onBeforeUnLoad="SaveMenu();" onUnload="SaveMenu();">
		<a name="top" ></a>
		        <div id="ArtworkHelper" style="background-image:url('layouts/tibiacom/images/header/background-artwork999.jpg');" >
		            <div id="Bodycontainer">
		                <div id="ContentRow">
		                    <div id="MenuColumn">
		                        <div id="LeftArtwork">
		                            <img id="TibiaLogoArtworkTop" src="layouts/tibiacom/images/header/tibia-logo-artwork-top.png" onClick="window.location = '?subtopic=latestnews';" alt="logoartwork" />
		          </div>		

          
		  <div id="Loginbox" >
		    <div id="LoginTop" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-top.gif)" ></div>
		    <div id="BorderLeft" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
		    <div id="LoginButtonContainer" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
		        <div id="PlayNowContainer" ><form class="MediumButtonForm" action="index.php?subtopic=accountmanagement" method="post" ><input type="hidden" name="page" value="overview" ><div class="MediumButtonBackground" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/mediumbutton.gif)" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="MediumButtonOver" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/mediumbutton-over.gif)" onMouseOver="MouseOverMediumButton(this);" onMouseOut="MouseOutMediumButton(this);" ></div><input class="MediumButtonText" type="image" name="Login" alt="Login" src="<?PHP echo $layout_name; ?>/images/buttons/mediumbutton_login.png" /></div></form></div>
		    </div>
		    <div class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
		      <div id="LoginstatusText" onClick="LoginstatusTextAction(this);" onMouseOver="MouseOverLoginBoxText(this);" onMouseOut="MouseOutLoginBoxText(this);" ><div id="LoginstatusText_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account.gif)" ></div><div id="LoginstatusText_2" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account-over.gif)" ></div></div>
		    </div>
		    <div id="BorderRight" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
		    <div id="LoginBottom" class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif)" ></div>
		  </div>		

<div id='Menu'>
		<div id='MenuTop' style='background-image:url(layouts/tibiacom/images/general/box-top.gif);'></div>		

<div id='news' class='menuitem'>
		<span onClick="MenuItemAction('news')">
		  <div class='MenuButton' style='background-image:url(layouts/tibiacom/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(layouts/tibiacom/images/menu/button-background-over1.gif);'></div>
		      <span id='news_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>		

        <div class='light_ld' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>		

        <div class='light_ru' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='news_Icon' class='Icon' style='background-image:url(layouts/tibiacom/images/menu/icon-news3.gif);'></div>
		      <div id='news_Label' class='Label' style='background-image:url(layouts/tibiacom/images/menu/label-news.gif);'></div>
		      <div id='news_Extend' class='Extend' style='background-image:url(layouts/tibiacom/images/general/plus.gif);'></div>
		    </div>
		  </div>		

</span>
		<div id='news_Submenu' class='Submenu'>
		<a href='?subtopic=latestnews'>
		  <div id='submenu_latestnews' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_latestnews' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Latest News</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=archive'>
		  <div id='submenu_archive' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_archive' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">News Archive</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=polls'>
		  <div id='submenu_polls' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_polls' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Enquetes</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=changelog'>
		  <div id='submenu_changelog' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_changelog' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Updates</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>		


</div>
		</div>		

<div id='account' class='menuitem'>
		<span onClick="MenuItemAction('account')">
		  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
		      <span id='account_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='account_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-account3.gif);'></div>
		      <div id='account_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-account.gif);'></div>
		      <div id='account_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
		    </div>
		  </div>
		</span>
		<div id='account_Submenu' class='Submenu'>
		<a href='?subtopic=accountmanagement'>
		  <div id='submenu_accountmanagement' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_accountmanagement' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Account Management</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=createaccount'>
		  <div id='submenu_createaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_createaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Create Account</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=lostaccount'>
		  <div id='submenu_lostaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_lost' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Lost Account?</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=tibiarules'>
		  <div id='submenu_tibiarules' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_tibiarules' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Server Rules</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<?PHP
		if($config['site']['download_page'] == 1)
		echo "<a href='?subtopic=downloadsclient'>
		  <div id='submenu_downloadsclient' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_downloadsclient' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Downloads Client</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
		echo "<a href='?subtopic=adminpanel'>
		  <div id='submenu_adminpanel' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_adminpanel' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"red\">! Admin Panel !</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		if($group_id_of_acc_logged > 0)
		echo "<a href='?subtopic=namelock'>
		  <div id='submenu_namelock' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_namelock' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"red\">! Namelocks !</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
		echo "<a href='?subtopic=polls'>
		  <div id='submenu_polls' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_polls' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"red\">! Manage Polls !</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		?>
		</div>
		</div>		

<div id='community' class='menuitem'>
		<span onClick="MenuItemAction('community')">
		  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
		      <span id='community_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='community_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-community3.gif);'></div>
		      <div id='community_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-community.gif);'></div>
		      <div id='community_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>		

    </div>
		  </div>
		</span>
		<div id='community_Submenu' class='Submenu'>
		<a href='?subtopic=characters'>
		  <div id='submenu_characters' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_characters' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Characters</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>		

  </div>
		</a>
		<a href='?subtopic=whoisonline'>
		  <div id='submenu_whoisonline' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_whoisonline' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Who Is Online?</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=highscores'>
		  <div id='submenu_highscores' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Highscores</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=killstatistics'>
		  <div id='submenu_killstatistics' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_killstatistics' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Last Kills</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=powergamers'>
		  <div id='submenu_powergamers' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_powergamers' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Power Gamers</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=bans'>
		  <div id='submenu_bans' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_bans' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Banishments</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=guilds'>
		  <div id='submenu_guilds' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>		

    <div id='ActiveSubmenuItemIcon_guilds' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Guilds</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		</div>
		</div>
		<div id='wars' class='menuitem'>
		<span onClick="MenuItemAction('wars')">
		  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
		      <span id='wars_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='wars_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-wars.gif);'></div>
		      <div id='wars_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-wars.gif);'></div>
		      <div id='wars_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>		

    </div>
		  </div>
		</span>		

    <div id='wars_Submenu' class='Submenu'>		

        <a href='?subtopic=wars'>
		            <div id='submenu_wars' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_wars' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">War System</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>
		        <a href='?subtopic=top_frags'>
		            <div id='submenu_top_frags' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_top_frags' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">Top Fraggers</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=topguilds'>
		  <div id='submenu_topguilds' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_topguilds' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		<div class='SubmenuitemLabel'><font color=\"green\">Top Guilds</font></div>		

    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		</div>
		  </div>		


<div id='events' class='menuitem'>
		<span onClick="MenuItemAction('events')">
		  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
		      <span id='events_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='events_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-events.gif);'></div>
		      <div id='events_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-eventos.gif);'></div>
		      <div id='events_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>		

    </div>
		  </div>
		</span>		


    <div id='events_Submenu' class='Submenu'>		

        <a href='?subtopic=calendario'>
		            <div id='submenu_calendario' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_calendario' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">Calendario</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>		

        <a href='?subtopic=castle'>
		            <div id='submenu_castle' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_warofemperium' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">Castle</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>		

<a href='?subtopic=zombievent'>
		            <div id='submenu_zombievent' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_zombievent' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">Zombie Event</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>		

<a href='?subtopic=coliseum'>
		            <div id='submenu_coliseum' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_coliseum' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">Coliseum</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=forj'>
		  <div id='submenu_forj' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_forj' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color="green">Forjamento</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=present'>
		  <div id='submenu_present' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		        <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		        <div id='ActiveSubmenuItemIcon_present' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		        <div class='SubmenuitemLabel'>Presence diary</div>
		        <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=dota'>
		            <div id='submenu_dota' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_dota' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">Dota</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=lottery'>
		            <div id='submenu_lottery' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		                <div id='ActiveSubmenuItemIcon_lottery' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		                <div class='SubmenuitemLabel'><font color=\"green\">Lottery</font></div>
		                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>		

  </div>
		  </div>		


<?PHP
		echo "<div id='forum' class='menuitem'>
		         <span onClick=\"MenuItemAction('forum')\">
		     <div class='MenuButton' style='background-image:url(".$layout_name."/images/menu/button-background1.gif);'>
		         <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over1.gif);'></div>
		               <span id='forum_Lights' class='Lights'>
		                <div class='light_lu' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
		                <div class='light_ld' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
		                <div class='light_ru' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
		               </span>
		               <div id='forum_Icon' class='Icon' style='background-image:url(".$layout_name."/images/menu/icon-forum1.gif);'></div>
		               <div id='forum_Label' class='Label' style='background-image:url(".$layout_name."/images/menu/label-forum.gif);'></div>
		               <div id='forum_Extend' class='Extend' style='background-image:url(".$layout_name."/images/general/plus.gif);'></div>
		             </div>
		           </div>
		          </span>
		       <div id='forum_Submenu' class='Submenu'>
		          <a href='?subtopic=forum'>
		           <div id='submenu_forum' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		             <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		             <div id='ActiveSubmenuItemIcon_forum' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		             <div class='SubmenuitemLabel'><font color=\"green\">Server Forum</font></div>
		             <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		           </div>
		          </a>
		        </div>  
		       </div>";
		?>
		<div id='support' class='menuitem'>		

<span onClick="MenuItemAction('support')">
		  <div class='MenuButton' style='background-image:url(layouts/tibiacom/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(layouts/tibiacom/images/menu/button-background-over1.gif);'></div>
		      <span id='support_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
		        <div class='light_ld' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
		        <div class='light_ru' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='support_Icon' class='Icon' style='background-image:url(layouts/tibiacom/images/menu/icon-support.gif);'></div>		

      <div id='support_Label' class='Label' style='background-image:url(layouts/tibiacom/images/menu/label-support.gif);'></div>
		      <div id='support_Extend' class='Extend' style='background-image:url(layouts/tibiacom/images/general/plus.gif);'></div>
		    </div>
		  </div>
		</span>
		<div id='support_Submenu' class='Submenu'>
		<a href='?subtopic=bugtracker'>
		  <div id='submenu_bugtracker' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_bugtracker' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>		

    <div class='SubmenuitemLabel'><font color=\"green\">Support e Reports</font></div>
		    <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=team'>
		  <div id='submenu_team' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_team' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Equipe Role Play</font></div>		

    <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
		  </div>
		</a>
		</div>
		</div>		

<div id='library' class='menuitem'>
		<span onClick="MenuItemAction('library')">
		  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
		      <span id='library_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='library_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-library2.gif);'></div>
		      <div id='library_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-library.gif);'></div>
		      <div id='library_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
		    </div>
		  </div>
		</span>
		<div id='library_Submenu' class='Submenu'>
		<a href='?subtopic=creatures'>
		  <div id='submenu_creatures' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_creatures' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Creatures</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=hacker'>
		  <div id='submenu_hacker' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_createaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Ant Hacker</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=spells'>
		  <div id='submenu_spells' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_spells' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Spells</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=addons'>
		  <div id='submenu_addons' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_addons' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Addons List</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=forj'>
		  <div id='submenu_forj' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_forj' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color="yellow">Forjamento</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>		

<?PHP
		if($config['site']['gallery_page'] == 0) 
		echo "<a href='?subtopic=gallery'>
		  <div id='submenu_gallery' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_gallery' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'>Gallery</div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		if($config['site']['serverinfo_page'] == 1)
		echo "<a href='?subtopic=serverinfo'>
		  <div id='submenu_serverinfo' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_serverinfo' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Server Info</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";		

?>
		<a href='?subtopic=experiencetable'>
		  <div id='submenu_experiencetable' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_experiencetable' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Experience Table</font></div>
		    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
		  </div>
		</a>
		</div>
		</div>		

<?PHP
		if($config['site']['shop_system'] == 1) {
		echo "<div id='shops' class='menuitem'>
		<span onClick=\"MenuItemAction('shops')\">
		  <div class='MenuButton' style='background-image:url(".$layout_name."/images/menu/button-background1.gif);'>
		    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over1.gif);'></div>
		      <span id='shops_Lights' class='Lights'>
		        <div class='light_lu' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
		        <div class='light_ld' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
		        <div class='light_ru' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
		      </span>
		      <div id='shops_Icon' class='Icon' style='background-image:url(".$layout_name."/images/menu/icon-shops5.gif);'></div>
		      <div id='shops_Label' class='Label' style='background-image:url(".$layout_name."/images/menu/label-shops.gif);'></div>
		      <div id='shops_Extend' class='Extend' style='background-image:url(".$layout_name."/images/general/plus.gif);'></div>
		    </div>
		  </div>
		</span>
		</div>
		<div id='shops_Submenu' class='Submenu'> 
		<a href='?subtopic=confirmacao'>
		  <div id='submenu_confirmacao' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_confirmacao' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Confirmar Pagamento</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=beneficiospremium'>
		  <div id='submenu_beneficiospremium' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_beneficiospremium' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><blink style=\"color: yellow;\">Vantagens VIP</blink></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=donate'>
		  <div id='submenu_donate' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_donate' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"green\">Comprar Pontos</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>
		<a href='?subtopic=shopsystem'>
		  <div id='submenu_shopsystem' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_shopsystem' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=\"yellow\">Shopping Server</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		if($logged)
		echo "<a href='?subtopic=shopsystem&action=show_history'>
		  <div id='submenu_show_history' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_show_history' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'>Trans. History</div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) 
		echo "<a href='?subtopic=shopadmin'>
		  <div id='submenu_shopadmin' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
		    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		    <div id='ActiveSubmenuItemIcon_shopadmin' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
		    <div class='SubmenuitemLabel'><font color=red>! Shop Admin !</font></div>
		    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
		  </div>
		</a>";
		echo "</div>";
		}
		?>
		<div id='MenuBottom' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);'></div>
		</div>
		  <script type='text/javascript'>InitializePage();</script></div>
		        <div id="ContentColumn">
		          <div class="Content">
		            <div id="ContentHelper"><script type="text/javascript" src="<?PHP echo $layout_name; ?>/newsticker.js"></script>
		        <?PHP echo $news_content; ?>
		    <div id="<?PHP echo $subtopic; ?>" class="Box">
		    <div class="Corner-tl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tl.gif);"></div>
		    <div class="Corner-tr" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tr.gif);"></div>
		    <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>
		    <div class="BorderTitleText" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/title-background-green12.gif);"></div>
		    <img class="Title" src="<?PHP echo $layout_name; ?>/images/header/headline-<?PHP echo $subtopic; ?>.gif" alt="Contentbox headline" />
		    <div class="Border_2">
		      <div class="Border_3">
		        <div class="BoxContent" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/scroll.gif);">
		    <?PHP echo $main_content; ?> 
		      </div>
		      </div>
		    </div>
		    <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>		

    <div class="CornerWrapper-b"><div class="Corner-bl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-bl.gif);"></div></div>
		    <div class="CornerWrapper-b"><div class="Corner-br" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-br.gif);"></div></div>
		  </div>
		           </div>
		          </div>
		          <div id="Footer">
		<?PHP
		$time_end = microtime_float();
		$time = $time_end - $time_start;
		?>
		            Hollister World Alternative Tibia Server. Sua Aventura comeca aqui.<br/>Page has been viewed <?PHP echo $page_views; ?> times. Load time: <?PHP echo round($time, 4); ?> seconds
		               </div>
		        </div>
		        <div id="ThemeboxesColumn">
		          <div id="RightArtwork">
		            <img src="monsters/undead dragon.gif" alt="Monster of the Week" name="Monster" id="Monster" onClick="window.location = '?subtopic=creatures&amp;creature=<?PHP echo logo_monster() ?>';" />
		            <img id="PedestalAndOnline" src="<?PHP echo $layout_name; ?>/images/header/pedestal-and-online.gif" alt="Monster Pedestal and Players Online Box"/>
		          <?PHP
		    if(count($config['site']['worlds']) > 1)
		         $whoisonlineworld = '?subtopic=whoisonline';
		    else
		         $whoisonlineworld = '?subtopic=whoisonline&world=0';
		    ?>
		                         <div id="PlayersOnline" onClick="window.location='<?PHP echo $whoisonlineworld; ?>'">
		    <?PHP
		   if($config['status']['serverStatus_online'] == 1)
		    echo $config['status']['serverStatus_players'].'/'.$config['status']['serverStatus_playersMax'].'<br />Uptime: '.$config['status']['serverStatus_uptime'].'<br />';
		   else
		    echo '<font color="red"><b>MANUTENÇÃO<br />AGUARDEM</b></font>';
		    ?></div>
		            </div>		

 <div id="Themeboxes">
		 <?php
		$skills = $SQL->query('SELECT * FROM players WHERE deleted = 0 AND group_id = 1 AND account_id != 1 ORDER BY level DESC LIMIT 10');
		?>
		<?php
		$castle = $SQL->query('SELECT c.id AS id, g.logo_gfx_name AS `logo`, g.name AS guildname, c.guild_id AS guild_id
		      FROM castle_dono AS c
		   INNER JOIN guilds AS g
		      ON g.id = c.guild_id
		   ORDER BY id DESC LIMIT 10;');
		?>
		<style type="text/css" media="all">
		  		

  #the-final-countdown, #the-final-countdown1, #the-final-countdown2{
		      background: transparent url(layouts/tibiacom/images/menu/bg_menu.gif);
		  }
		  
		   #warcastle {
		    text-decoration: none;
		      text-align: center;
		    cursor: auto;
		    top: 50px;
		    left:20px;
		  }
		.Toplevelbox
		{
		    top:-4px;
		    position:absolute;
		    margin-bottom:10px;
		    width:180px;
		    height:200px
		}		

.top_level_x
		{
		    position:absolute;
		    top:88px;
		    left:106px;
		    height:210px;
		    width:270px;
		    z-index:20;
		    text-align:center;
		    padding-top:8px;
		    font-family:Tahoma,Geneva,sans-serif;
		    font-size:10.2pt;
		    color:#fc3;
		    font-weight:700;
		    text-align:right;
		    text-decoration:inherit;
		    text-shadow:.1em .1em #333
		}		

.top_level
		{
		    position:absolute;
		    top:29px;
		    left:6px;
		    height:160px;
		    width:168px;
		    z-index:20;
		    text-align:center;
		    padding-top:6px;
		    font-family:Tahoma,Geneva,sans-serif;
		    font-size:9.2pt;
		    color:#000;
		    font-weight:700;
		    text-align:right;
		    text-decoration:inherit;
		    text-shadow:.1em .1em #333
		}
		#Toplvels
		{
		    width:290px;
		    height:438px;
		    left:-75px;
		    top:64px;
		    z-index:100
		}		


  #Topbar a {
		  text-decoration: none;
		  cursor: auto;
		  }
		 a.topfont {
		    font-family: Verdana, Arial, Helvetica; 
		    font-size: 12,1px; 
		    color: #fc3;
		    text-decoration: none
		  }
		  a:hover.topfont {
		    font-family: Verdana, Arial, Helvetica; 
		    font-size: 12,1px; 
		    color: #CCC; 
		    text-decoration:none
		  }
		   .Eventbox {
		    top: -4px;
		    position: relative;
		    margin-bottom: 10px;
		    width: 180px;
		    height: 200px;
		  }
		  /*#eventsContainer {
		  //    background: transparent url(layouts/tibiacom/images/menu/test.gif);
		  //*/
		  .Event {
		    position: absolute;
		    top: 29px;
		    left: 6px;
		    height: 160px;
		    width: 168px;
		    z-index: 20;
		    text-align: center;
		    padding-top: 6px;
		    font-family: "semplicita", Arial, "helvetica", sans-serif;
		    font-size: 9.2pt;
		    color: #FFF;
		    font-weight: bold;
		    text-align: right;
		    text-decoration: inherit;
		    text-shadow: 0.1em 0.1em #333
		  }		

  #Eventbar a {
		  text-decoration: none;
		  cursor: auto;
		  }
		  a.eventfont {
		    font-family: "semplicita", Arial, "helvetica", sans-serif;
		    font-size: 11px; 
		        color: #FF0000;
		    text-decoration: none
		  }
		  a:hover.eventfont {
		    font-family: "semplicita", Arial, "helvetica", sans-serif; 
		    font-size: 11px; 
		    color: #CCC; 
		    text-decoration:none
		  }		

</style>		

<div id="Toplvels" class="Themebox" style="background-image:url(./layouts/tibiacom/images/themeboxes/top_level.png);">
		                <div class="top_level_x">		

    <?php 
		    $a = 1;
		foreach($skills as $skill) {
		      
		    echo '<div align="left">
		    <a href="?subtopic=characters&name='.$skill['name'].'" class="topfont">
		        <font color="#CCC">&nbsp;&nbsp;&nbsp;&nbsp;'.$a.' - </font>'.$skill['name'].'
		        <br>
		        <small><font color="white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Level: ('.$skill['level'].')</font></small>
		        <br>
		      </a>
		    
		     <img src="http://outfit-images.ots.me/animatedOutfits1090/animoutfit.php?id='.$skill['looktype'].'&addons='.$skill['lookaddons'].'&head='.$skill['lookhead'].'&body='.$skill['lookbody'].'&legs='.$skill['looklegs'].'&feet='.$skill['lookfeet'].'" width="64" height="64" style="width: 64px; height: 64px; position: absolute; background-position: 0 0; background-repeat: no-repeat; left: -50px; margin-top: -70px;">		

      </div>';
		    
		      $a++;
		    }
		    ?>
		    </div>    
		</div>    
		<br>
		  <div id="warcastle" style="margin-top:35px; height:215px; width:165px; margin-left: 23px;  background-image:url(./layouts/tibiacom/images/themeboxes/warcastle.png);">
		  <br>
		  <?php 
		     $b = 1;
		    foreach($castle as $guild) {
		      echo '<div style="float:center;margin:auto"><br><br><br><br>
		      <a href="?subtopic=guilds&action=show&guild='.$guild['guild_id'].'" style="background: transparent url(layouts/tibiacom/images/menu/fire.gif);font-size:14px;text-shadow: 0.1em 0.1em #333" class="topfont">
		       <img class="img" src="guild_image.php?id='.$guild['guild_id'].'" width=64 height=64><br>
		      '.$guild['guildname'].'
		      </a>
		      </div>';
		      $b++;
		    }
		    ?>
		    </div>
		<br>
		            
		<?PHP
		if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) 
		echo '<div id="CurrentPollBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/admin/admin.gif);">
		      <div id="CurrentPollText">
		    <b><a href="?subtopic=adminpanel"><b>Admin Panel</b></a><b><br>
		    <b><a href="?subtopic=namelock"><b>Namelocks</b></a><b><br>
		    <b><a href="?subtopic=polls"><b>Manage Polls</b></a><b><br>
		    <b><a href="?subtopic=shopadmin"><b>Shop Admin</b></a><b></div>
		    <div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>
		    </div>';
		?>
		        </div>
		      </div>
		     </div>
		    </div>
		  </div>
		<!-- float facebook like box start -->
		    <script id="float_fb" src="<?=$layout_name?>layouts/tibiacom/fb_float_plugin.js" data-href="https://www.facebook.com/hollisterOTserver" async></script>
		    <!-- float facebook like box end -->
		</body>
		</html>		


 

 

 

Ola obrigado pelo apoio, mas o rank ficou no mesmo lugar, e eu descobri que so fica zuado o gesior em alguns pc, tipo no meu e de um amigo ficou bugado porem no do meu pai e do meu primo ficou normal, e no localhost do vps fica normal tbm nos outros fica certo kkk deve ser erro de ip

sobre o rank, ficou pra baixo da mesma forma...

Editado por ExtremyDsgnr
complementar (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

@ExtremyDsgnr 

deixa eu entender , em algumas pagina ele não está centralizado ?  

se for isso veja qual é a pagina e abra como notepad++ verifica as linha geralmente ou tem mais </div>  ou está faltando </div> isso é simples acontece sempre comigo kk

Editado por Celulose (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

@Celulose 

Agora, Celulose disse:

@ExtremyDsgnr 

deixa eu entender , em algumas pagina ele não está centralizado ?  

se for isso veja qual é a pagina e abra como notepad++ verifica as linha geralmente ou tem mais </div>  ou está faltando </div> isso é simples acontece sempre comigo kk

 

tipo, ele so esta mais pra baixo e nao consigo subir, deixar ele mais proximo ao Players Online (o widget rank) e sobre a pagina castle, deve ser isso mesmo, vou verificar, pois nela fica daquele jeito ali

Link para o post
Compartilhar em outros sites

fecha suas divs da maneira correta e seje feliz.

<?php

$assinatura = function($texto) {
	return $texto;
};

$assinatura('Eu ainda não tenho uma assinatura decente ):, php ♥');
?>

Meus sites.:

https://ferobraglobal.com/
https://codenome.com/
https://uam.codenome.com/

https://myci.myara.net/

 

Me ajuda no café:
http://picpay.me/ricardo.codenome

 

Link para o post
Compartilhar em outros sites
  • Solução
Agora, ricardo codenome disse:

fecha suas divs da maneira correta e seje feliz.

 

@ricardo codenome nao entendo muito de scripts e php, poderia fechar pra mim? eu mando em spoiler aqui

layout.php

Spoiler

<html>
<head>
<?php 
function anti_injection($sql)
{
// remove palavras que contenham sintaxe sql
$sql = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"),"",$sql);
$sql = trim($sql);//limpa espaços vazio
$sql = strip_tags($sql);//tira tags html e php
$sql = addslashes($sql);//Adiciona barras invertidas a uma string
return $sql;
}

//modo de usar pegando dados vindos do formulario
$nome = anti_injection($_POST["nome"]);
$senha = anti_injection($_POST["senha"]);

//changing html characters using htmlspecialchars() Learn more here: http://www.php.net/manual/en/function.htmlspecialchars.php
//$_POST['link'] = <a href="test">test</a>

$link = htmlspecialchars($_POST['link'], ENT_QUOTES);
echo $link; //outputs:  &lt;a href='test'&gt;Test&lt;/a&gt; 

header("Content-Type: text/html;  charset=ISO-8859-1",true) ?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title><?PHP echo $title ?></title>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title><?PHP echo $title ?></title>
  <meta name="description" content="Tibia is a free massive multiplayer online role playing game (MMORPG)." />
  <meta name="author" content="ChaitoSoft.com | Account Maker by Gesior" />
  <meta http-equiv="content-language" content="en" />
  <meta http-equiv="content-type" content="text/html; charset=ISO-8"/>
        <meta name="keywords" content="OTServ, free online game, free multiplayer game, ots, open tibia server" />
  <link rel="shortcut icon" href="<?PHP echo $layout_name; ?>/images/server.ico" type="image/x-icon">
  <link rel="icon" href="<?PHP echo $layout_name; ?>/images/server.ico" type="image/x-icon">
  <?PHP echo $layout_header; ?>
  <link href="<?PHP echo $layout_name; ?>/basic.css" rel="stylesheet" type="text/css">
  <script type='text/javascript'> var IMAGES=0; IMAGES='<?PHP echo $layout_name; ?>/images'; var g_FormField='';  var LINK_ACCOUNT=0; LINK_ACCOUNT='';</script>
  <script type="text/javascript" src="<?PHP echo $layout_name; ?>/initialize.js"></script>
<script src="../code.jquery.com/jquery-latest.js"></script>
  <script type='text/javascript'>
function GetXmlHttpObject()
{
var xmlHttp=null;
try
  {
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  try
        {
        xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
        }
  catch (e)
        {
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
  }
return xmlHttp;
}
function MouseOverBigButton(source)
{
  source.firstChild.style.visibility = "visible";
}
function MouseOutBigButton(source)
{
  source.firstChild.style.visibility = "hidden";
}
function BigButtonAction(path)
{
  window.location = path;
}
varloginStatus=0; loginStatus='false'; var activeSubmenuItem='latestnews';</script>  <link href="layouts/tibiacom/basic.css" rel="stylesheet" type="text/css">
  <script type='text/javascript'> var IMAGES=0; IMAGES='layouts/tibiacom/images'; var g_FormField='';  var LINK_ACCOUNT=0; LINK_ACCOUNT='';</script>
  <script type="text/javascript" src="layouts/tibiacom/initialize.js"></script>
   <style type="text/css">
  .widget_social{
   float:right;
   width:332px;
   height:420px;
   background: url("../2.imgland.net/i4kzE.png") no-repeat;
   display:block;
   right:-305px;
   padding:0;
   position:fixed;
   top: 170px;
   z-index:1002;
  }
</style>
<script type="text/javascript">
   $(function (){
        $(".widget_social").hover(function(){
         $(".widget_social").stop(true, false).animate({right:"0"},"medium");
        },function(){
         $(".widget_social").stop(true, false).animate({right:"-305"},"medium");
        },500);
   });
  </script>
  <SCRIPT TYPE="text/javascript">
  <!-- // Framekiller
  setTimeout ("changePage()", 6000);
  function changePage()
  {
    if (parent.frames.length > 2) {
      if (browserTyp == "ie") {
        parent.location=document.location;
      } else {
        self.top.location=document.location;
      }
    }
  }
  // -->
  </SCRIPT>

</head>
<body onBeforeUnLoad="SaveMenu();" onUnload="SaveMenu();">
<a name="top" ></a>
        <div id="ArtworkHelper" style="background-image:url('layouts/tibiacom/images/header/background-artwork999.jpg');" >
            <div id="Bodycontainer">
                <div id="ContentRow">
                    <div id="MenuColumn">
                        <div id="LeftArtwork">
                            <img id="TibiaLogoArtworkTop" src="layouts/tibiacom/images/header/tibia-logo-artwork-top.png" onClick="window.location = '?subtopic=latestnews';" alt="logoartwork" />
          </div>

          
  <div id="Loginbox" >
    <div id="LoginTop" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-top.gif)" ></div>
    <div id="BorderLeft" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
    <div id="LoginButtonContainer" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
        <div id="PlayNowContainer" ><form class="MediumButtonForm" action="index.php?subtopic=accountmanagement" method="post" ><input type="hidden" name="page" value="overview" ><div class="MediumButtonBackground" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/mediumbutton.gif)" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="MediumButtonOver" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/mediumbutton-over.gif)" onMouseOver="MouseOverMediumButton(this);" onMouseOut="MouseOutMediumButton(this);" ></div><input class="MediumButtonText" type="image" name="Login" alt="Login" src="<?PHP echo $layout_name; ?>/images/buttons/mediumbutton_login.png" /></div></form></div>
    </div>
    <div class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
      <div id="LoginstatusText" onClick="LoginstatusTextAction(this);" onMouseOver="MouseOverLoginBoxText(this);" onMouseOut="MouseOutLoginBoxText(this);" ><div id="LoginstatusText_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account.gif)" ></div><div id="LoginstatusText_2" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account-over.gif)" ></div></div>
    </div>
    <div id="BorderRight" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
    <div id="LoginBottom" class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif)" ></div>
  </div>

<div id='Menu'>
<div id='MenuTop' style='background-image:url(layouts/tibiacom/images/general/box-top.gif);'></div>

<div id='news' class='menuitem'>
<span onClick="MenuItemAction('news')">
  <div class='MenuButton' style='background-image:url(layouts/tibiacom/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(layouts/tibiacom/images/menu/button-background-over1.gif);'></div>
      <span id='news_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>

        <div class='light_ld' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>

        <div class='light_ru' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
      </span>
      <div id='news_Icon' class='Icon' style='background-image:url(layouts/tibiacom/images/menu/icon-news3.gif);'></div>
      <div id='news_Label' class='Label' style='background-image:url(layouts/tibiacom/images/menu/label-news.gif);'></div>
      <div id='news_Extend' class='Extend' style='background-image:url(layouts/tibiacom/images/general/plus.gif);'></div>
    </div>
  </div>

</span>
<div id='news_Submenu' class='Submenu'>
<a href='?subtopic=latestnews'>
  <div id='submenu_latestnews' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_latestnews' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Latest News</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=archive'>
  <div id='submenu_archive' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_archive' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">News Archive</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=polls'>
  <div id='submenu_polls' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_polls' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Enquetes</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=changelog'>
  <div id='submenu_changelog' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_changelog' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Updates</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>


</div>
</div>

<div id='account' class='menuitem'>
<span onClick="MenuItemAction('account')">
  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
      <span id='account_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
      </span>
      <div id='account_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-account3.gif);'></div>
      <div id='account_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-account.gif);'></div>
      <div id='account_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    </div>
  </div>
</span>
<div id='account_Submenu' class='Submenu'>
<a href='?subtopic=accountmanagement'>
  <div id='submenu_accountmanagement' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_accountmanagement' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Account Management</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=createaccount'>
  <div id='submenu_createaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_createaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Create Account</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=lostaccount'>
  <div id='submenu_lostaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_lost' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Lost Account?</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=tibiarules'>
  <div id='submenu_tibiarules' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_tibiarules' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Server Rules</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<?PHP
if($config['site']['download_page'] == 1)
echo "<a href='?subtopic=downloadsclient'>
  <div id='submenu_downloadsclient' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_downloadsclient' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Downloads Client</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
echo "<a href='?subtopic=adminpanel'>
  <div id='submenu_adminpanel' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_adminpanel' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"red\">! Admin Panel !</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
if($group_id_of_acc_logged > 0)
echo "<a href='?subtopic=namelock'>
  <div id='submenu_namelock' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_namelock' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"red\">! Namelocks !</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
echo "<a href='?subtopic=polls'>
  <div id='submenu_polls' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_polls' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"red\">! Manage Polls !</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
?>
</div>
</div>

<div id='community' class='menuitem'>
<span onClick="MenuItemAction('community')">
  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
      <span id='community_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
      </span>
      <div id='community_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-community3.gif);'></div>
      <div id='community_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-community.gif);'></div>
      <div id='community_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>

    </div>
  </div>
</span>
<div id='community_Submenu' class='Submenu'>
<a href='?subtopic=characters'>
  <div id='submenu_characters' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_characters' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Characters</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>

  </div>
</a>
<a href='?subtopic=whoisonline'>
  <div id='submenu_whoisonline' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_whoisonline' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Who Is Online?</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=highscores'>
  <div id='submenu_highscores' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Highscores</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=killstatistics'>
  <div id='submenu_killstatistics' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_killstatistics' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Last Kills</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=powergamers'>
  <div id='submenu_powergamers' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_powergamers' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Power Gamers</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=bans'>
  <div id='submenu_bans' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_bans' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Banishments</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=guilds'>
  <div id='submenu_guilds' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>

    <div id='ActiveSubmenuItemIcon_guilds' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Guilds</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
</div>
</div>
<div id='wars' class='menuitem'>
<span onClick="MenuItemAction('wars')">
  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
      <span id='wars_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
      </span>
      <div id='wars_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-wars.gif);'></div>
      <div id='wars_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-wars.gif);'></div>
      <div id='wars_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>

    </div>
  </div>
</span>

    <div id='wars_Submenu' class='Submenu'>

        <a href='?subtopic=wars'>
            <div id='submenu_wars' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_wars' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">War System</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>
        <a href='?subtopic=top_frags'>
            <div id='submenu_top_frags' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_top_frags' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">Top Fraggers</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=topguilds'>
  <div id='submenu_topguilds' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_topguilds' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
<div class='SubmenuitemLabel'><font color=\"green\">Top Guilds</font></div>

    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
</div>
  </div>


<div id='events' class='menuitem'>
<span onClick="MenuItemAction('events')">
  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
      <span id='events_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
      </span>
      <div id='events_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-events.gif);'></div>
      <div id='events_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-eventos.gif);'></div>
      <div id='events_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>

    </div>
  </div>
</span>


    <div id='events_Submenu' class='Submenu'>

        <a href='?subtopic=calendario'>
            <div id='submenu_calendario' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_calendario' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">Calendario</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>

        <a href='?subtopic=castle'>
            <div id='submenu_castle' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_warofemperium' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">Castle</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>

<a href='?subtopic=zombievent'>
            <div id='submenu_zombievent' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_zombievent' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">Zombie Event</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>

<a href='?subtopic=coliseum'>
            <div id='submenu_coliseum' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_coliseum' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">Coliseum</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=forj'>
  <div id='submenu_forj' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_forj' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color="green">Forjamento</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=present'>
  <div id='submenu_present' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
        <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
        <div id='ActiveSubmenuItemIcon_present' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
        <div class='SubmenuitemLabel'>Presence diary</div>
        <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=dota'>
            <div id='submenu_dota' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_dota' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">Dota</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=lottery'>
            <div id='submenu_lottery' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
                <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
                <div id='ActiveSubmenuItemIcon_lottery' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
                <div class='SubmenuitemLabel'><font color=\"green\">Lottery</font></div>
                <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>

  </div>
  </div>


<?PHP
echo "<div id='forum' class='menuitem'>
         <span onClick=\"MenuItemAction('forum')\">
     <div class='MenuButton' style='background-image:url(".$layout_name."/images/menu/button-background1.gif);'>
         <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over1.gif);'></div>
               <span id='forum_Lights' class='Lights'>
                <div class='light_lu' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
                <div class='light_ld' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
                <div class='light_ru' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
               </span>
               <div id='forum_Icon' class='Icon' style='background-image:url(".$layout_name."/images/menu/icon-forum1.gif);'></div>
               <div id='forum_Label' class='Label' style='background-image:url(".$layout_name."/images/menu/label-forum.gif);'></div>
               <div id='forum_Extend' class='Extend' style='background-image:url(".$layout_name."/images/general/plus.gif);'></div>
             </div>
           </div>
          </span>
       <div id='forum_Submenu' class='Submenu'>
          <a href='?subtopic=forum'>
           <div id='submenu_forum' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
             <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
             <div id='ActiveSubmenuItemIcon_forum' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
             <div class='SubmenuitemLabel'><font color=\"green\">Server Forum</font></div>
             <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
           </div>
          </a>
        </div>  
       </div>";
?>
<div id='support' class='menuitem'>

<span onClick="MenuItemAction('support')">
  <div class='MenuButton' style='background-image:url(layouts/tibiacom/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(layouts/tibiacom/images/menu/button-background-over1.gif);'></div>
      <span id='support_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
        <div class='light_ld' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
        <div class='light_ru' style='background-image:url(layouts/tibiacom/images/menu/green-light.gif);'></div>
      </span>
      <div id='support_Icon' class='Icon' style='background-image:url(layouts/tibiacom/images/menu/icon-support.gif);'></div>

      <div id='support_Label' class='Label' style='background-image:url(layouts/tibiacom/images/menu/label-support.gif);'></div>
      <div id='support_Extend' class='Extend' style='background-image:url(layouts/tibiacom/images/general/plus.gif);'></div>
    </div>
  </div>
</span>
<div id='support_Submenu' class='Submenu'>
<a href='?subtopic=bugtracker'>
  <div id='submenu_bugtracker' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_bugtracker' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>

    <div class='SubmenuitemLabel'><font color=\"green\">Support e Reports</font></div>
    <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=team'>
  <div id='submenu_team' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_team' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Equipe Role Play</font></div>

    <div class='RightChain' style='background-image:url(layouts/tibiacom/images/general/chain.gif);'></div>
  </div>
</a>
</div>
</div>

<div id='library' class='menuitem'>
<span onClick="MenuItemAction('library')">
  <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over1.gif);'></div>
      <span id='library_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
        <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
      </span>
      <div id='library_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-library2.gif);'></div>
      <div id='library_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-library.gif);'></div>
      <div id='library_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    </div>
  </div>
</span>
<div id='library_Submenu' class='Submenu'>
<a href='?subtopic=creatures'>
  <div id='submenu_creatures' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_creatures' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Creatures</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=hacker'>
  <div id='submenu_hacker' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_createaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Ant Hacker</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=spells'>
  <div id='submenu_spells' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_spells' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Spells</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=addons'>
  <div id='submenu_addons' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_addons' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Addons List</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=forj'>
  <div id='submenu_forj' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_forj' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color="yellow">Forjamento</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>

<?PHP
if($config['site']['gallery_page'] == 0) 
echo "<a href='?subtopic=gallery'>
  <div id='submenu_gallery' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_gallery' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'>Gallery</div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
if($config['site']['serverinfo_page'] == 1)
echo "<a href='?subtopic=serverinfo'>
  <div id='submenu_serverinfo' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_serverinfo' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Server Info</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";

?>
<a href='?subtopic=experiencetable'>
  <div id='submenu_experiencetable' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_experiencetable' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Experience Table</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>
</div>
</div>

<?PHP
if($config['site']['shop_system'] == 1) {
echo "<div id='shops' class='menuitem'>
<span onClick=\"MenuItemAction('shops')\">
  <div class='MenuButton' style='background-image:url(".$layout_name."/images/menu/button-background1.gif);'>
    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over1.gif);'></div>
      <span id='shops_Lights' class='Lights'>
        <div class='light_lu' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
        <div class='light_ld' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
        <div class='light_ru' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
      </span>
      <div id='shops_Icon' class='Icon' style='background-image:url(".$layout_name."/images/menu/icon-shops5.gif);'></div>
      <div id='shops_Label' class='Label' style='background-image:url(".$layout_name."/images/menu/label-shops.gif);'></div>
      <div id='shops_Extend' class='Extend' style='background-image:url(".$layout_name."/images/general/plus.gif);'></div>
    </div>
  </div>
</span>
</div>
<div id='shops_Submenu' class='Submenu'> 
<a href='?subtopic=confirmacao'>
  <div id='submenu_confirmacao' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_confirmacao' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Confirmar Pagamento</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=beneficiospremium'>
  <div id='submenu_beneficiospremium' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_beneficiospremium' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><blink style=\"color: yellow;\">Vantagens VIP</blink></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=donate'>
  <div id='submenu_donate' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_donate' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"green\">Comprar Pontos</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>
<a href='?subtopic=shopsystem'>
  <div id='submenu_shopsystem' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_shopsystem' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=\"yellow\">Shopping Server</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
if($logged)
echo "<a href='?subtopic=shopsystem&action=show_history'>
  <div id='submenu_show_history' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_show_history' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'>Trans. History</div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) 
echo "<a href='?subtopic=shopadmin'>
  <div id='submenu_shopadmin' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_shopadmin' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color=red>! Shop Admin !</font></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";
echo "</div>";
}
?>
<div id='MenuBottom' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);'></div>
</div>
  <script type='text/javascript'>InitializePage();</script></div>
        <div id="ContentColumn">
          <div class="Content">
            <div id="ContentHelper"><script type="text/javascript" src="<?PHP echo $layout_name; ?>/newsticker.js"></script>
        <?PHP echo $news_content; ?>
    <div id="<?PHP echo $subtopic; ?>" class="Box">
    <div class="Corner-tl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tl.gif);"></div>
    <div class="Corner-tr" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tr.gif);"></div>
    <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>
    <div class="BorderTitleText" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/title-background-green12.gif);"></div>
    <img class="Title" src="<?PHP echo $layout_name; ?>/images/header/headline-<?PHP echo $subtopic; ?>.gif" alt="Contentbox headline" />
    <div class="Border_2">
      <div class="Border_3">
        <div class="BoxContent" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/scroll.gif);">
    <?PHP echo $main_content; ?> 
      </div>
      </div>
    </div>
    <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>

    <div class="CornerWrapper-b"><div class="Corner-bl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-bl.gif);"></div></div>
    <div class="CornerWrapper-b"><div class="Corner-br" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-br.gif);"></div></div>
  </div>
           </div>
          </div>
          <div id="Footer">
<?PHP
$time_end = microtime_float();
$time = $time_end - $time_start;
?>
            Hollister World Alternative Tibia Server. Sua Aventura comeca aqui.<br/>Page has been viewed <?PHP echo $page_views; ?> times. Load time: <?PHP echo round($time, 4); ?> seconds
               </div>
        </div>
         <div id="ThemeboxesColumn">
          <div id="RightArtwork">
            <img src="monsters/undead dragon.gif" alt="Monster of the Week" name="Monster" id="Monster" onClick="window.location = '?subtopic=creatures&amp;creature=<?PHP echo logo_monster() ?>';" />
            <img id="PedestalAndOnline" src="<?PHP echo $layout_name; ?>/images/header/pedestal-and-online.gif" alt="Monster Pedestal and Players Online Box"/>
          <?PHP
    if(count($config['site']['worlds']) > 1)
         $whoisonlineworld = '?subtopic=whoisonline';
    else
         $whoisonlineworld = '?subtopic=whoisonline&world=0';
    ?>
                         <div id="PlayersOnline" onClick="window.location='<?PHP echo $whoisonlineworld; ?>'">
    <?PHP
   if($config['status']['serverStatus_online'] == 1)
    echo $config['status']['serverStatus_players'].'/'.$config['status']['serverStatus_playersMax'].'<br />Uptime: '.$config['status']['serverStatus_uptime'].'<br />';
   else
    echo '<font color="red"><b>MANUTENÇÃO<br />AGUARDEM</b></font>';
    ?></div>
            </div>
       <div id="Themeboxes">
                    
<?php
$skills = $SQL->query('SELECT * FROM players WHERE deleted = 0 AND group_id = 1 AND account_id != 1 ORDER BY level DESC LIMIT 10');
?>
<?php
$castle = $SQL->query('SELECT c.id AS id, g.logo_gfx_name AS `logo`, g.name AS guildname, c.guild_id AS guild_id
      FROM castle_dono AS c
   INNER JOIN guilds AS g
      ON g.id = c.guild_id
   ORDER BY id DESC LIMIT 10;');
?>
<style type="text/css" media="all">
  

  #the-final-countdown, #the-final-countdown1, #the-final-countdown2{
      background: transparent url(layouts/tibiarl/images/menu/bg_menu.gif);
  }
  
   #warcastle {
    text-decoration: none;
      text-align: center;
    cursor: auto;
    top: 50px;
    left:20px;
  }
.Toplevelbox
{
    top:-4px;
    position:absolute;
    margin-bottom:10px;
    width:180px;
    height:200px
}

.top_level_x
{
    position:absolute;
    top:88px;
    left:106px;
    height:210px;
    width:270px;
    z-index:20;
    text-align:center;
    padding-top:8px;
    font-family:Tahoma,Geneva,sans-serif;
    font-size:10.2pt;
    color:#fc3;
    font-weight:700;
    text-align:right;
    text-decoration:inherit;
    text-shadow:.1em .1em #333
}

.top_level
{
    position:absolute;
    top:60px;
    left:6px;
    height:160px;
    width:168px;
    z-index:20;
    text-align:center;
    padding-top:6px;
    font-family:Tahoma,Geneva,sans-serif;
    font-size:9.2pt;
    color:#000;
    font-weight:700;
    text-align:right;
    text-decoration:inherit;
    text-shadow:.1em .1em #333
}
#Toplvels
{
    width:290px;
    height:438px;
    left:-75px;
    top:64px;
    z-index:100
}


  #Topbar a {
  text-decoration: none;
  cursor: auto;
  }
 a.topfont {
    font-family: Verdana, Arial, Helvetica; 
    font-size: 12,1px; 
    color: #fc3;
    text-decoration: none
  }
  a:hover.topfont {
    font-family: Verdana, Arial, Helvetica; 
    font-size: 12,1px; 
    color: #CCC; 
    text-decoration:none
  }
   .Eventbox {
    top: -4px;
    position: relative;
    margin-bottom: 10px;
    width: 180px;
    height: 200px;
  }
  /*#eventsContainer {
  //    background: transparent url(layouts/tibiarl/images/menu/test.gif);
  //*/
  .Event {
    position: absolute;
    top: 29px;
    left: 6px;
    height: 160px;
    width: 168px;
    z-index: 20;
    text-align: center;
    padding-top: 6px;
    font-family: "semplicita", Arial, "helvetica", sans-serif;
    font-size: 9.2pt;
    color: #FFF;
    font-weight: bold;
    text-align: right;
    text-decoration: inherit;
    text-shadow: 0.1em 0.1em #333
  }

  #Eventbar a {
  text-decoration: none;
  cursor: auto;
  }
  a.eventfont {
    font-family: "semplicita", Arial, "helvetica", sans-serif;
    font-size: 11px; 
        color: #FF0000;
    text-decoration: none
  }
  a:hover.eventfont {
    font-family: "semplicita", Arial, "helvetica", sans-serif; 
    font-size: 11px; 
    color: #CCC; 
    text-decoration:none
  }

</style>

<div id="Toplvels" class="Themebox" style="background-image:url(./layouts/tibiarl/images/themeboxes/top_level.png);">
                <div class="top_level_x">

    <?php 
    $a = 1;
foreach($skills as $skill) {
      
    echo '<div align="left">
    <a href="?subtopic=characters&name='.$skill['name'].'" class="topfont">
        <font color="#CCC">&nbsp;&nbsp;&nbsp;&nbsp;'.$a.' - </font>'.$skill['name'].'
        <br>
        <small><font color="white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Level: ('.$skill['level'].')</font></small>
        <br>
      </a>
    
     <img src="http://outfit-images.ots.me/animatedOutfits1090/animoutfit.php?id='.$skill['looktype'].'&addons='.$skill['lookaddons'].'&head='.$skill['lookhead'].'&body='.$skill['lookbody'].'&legs='.$skill['looklegs'].'&feet='.$skill['lookfeet'].'" width="64" height="64" style="width: 64px; height: 64px; position: absolute; background-position: 0 0; background-repeat: no-repeat; left: -50px; margin-top: -70px;">

      </div>';
    
      $a++;
    }
    ?>
    </div>    
</div>    


</div>

<br>
  <div id="warcastle" style="margin-top:35px; height:215px; width:165px; margin-left: 23px;  background-image:url(./layouts/tibiarl/images/themeboxes/warcastle.png);">
  <br>
  <?php 
     $b = 1;
    foreach($castle as $guild) {
      echo '<div style="float:center;margin:auto"><br><br><br><br>
      <a href="?subtopic=guilds&action=show&guild='.$guild['guild_id'].'" style="background: transparent url(layouts/tibiarl/images/menu/fire.gif);font-size:14px;text-shadow: 0.1em 0.1em #333" class="topfont">
       <img class="img" src="guild_image.php?id='.$guild['guild_id'].'" width=64 height=64><br>
      '.$guild['guildname'].'
      </a>
      </div>';
      $b++;
    }
    ?>
</div>    <br><!--
<style>
  .ctf1,.ctf2,.ctf3,.zmb1,.zmb2,.zmb3,.btf1,.btf2,.btf3{
    margin: 1;
  }
</style>
<br><br>
            
<?PHP
if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) 
echo '<div id="CurrentPollBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/admin/admin.gif);">
      <div id="CurrentPollText">
    <b><a href="?subtopic=adminpanel"><b>Admin Panel</b></a><b><br>
    <b><a href="?subtopic=namelock"><b>Namelocks</b></a><b><br>
    <b><a href="?subtopic=polls"><b>Manage Polls</b></a><b><br>
    <b><a href="?subtopic=shopadmin"><b>Shop Admin</b></a><b></div>
    <div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>
    </div>';
?>
        </div>
      </div>
     </div>
    </div>
  </div>
<!-- float facebook like box start -->
    <script id="float_fb" src="<?=$layout_name?>layouts/tibiacom/fb_float_plugin.js" data-href="https://www.facebook.com/hollisterOTserver" async></script>
    <!-- float facebook like box end -->
</body>
</html>

castle.php

Spoiler

<?PHP

$main_content .= '<br />

<center>

<td>

<img src="images/castle.png">

<br><br>
    

<div class="SmallBox">
                <div class="MessageContainer">
                    <div class="BoxFrameHorizontal" style="background-image:url(./layouts/tibiarl/images/content/box-frame-horizontal.gif);"></div>
                    <div class="BoxFrameEdgeLeftTop" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></div>
                    <div class="BoxFrameEdgeRightTop" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></div>
                    <div class="Message">
                        <div class="BoxFrameVerticalLeft" style="background-image:url(./layouts/tibiarl/images/content/box-frame-vertical.gif);"></div>
                        <div class="BoxFrameVerticalRight" style="background-image:url(./layouts/tibiarl/images/content/box-frame-vertical.gif);"></div>
                        <table style="width:100%;">
                            <tbody><tr><td style="width:100%;text-align:center;">
                            
                            <nobr>[<a href="#quandoacontece">Quando acontece o Evento?</a>]</nobr>
                            <nobr>[<a href="#comofunciona">Como funciona?</a>]</nobr>
                            <nobr>[<a href="#quantosplayers">Quantos jogadores são indicados para conseguir conquistar o Castelo?</a>]</nobr> 
                            <nobr>[<a href="#premios">Quais são os premios?</a>]</nobr>            
                            </td>
                        </tr>
                    </tbody></table>
                </div>
                <div class="BoxFrameHorizontal" style="background-image:url(./layouts/tibiarl/images/content/box-frame-horizontal.gif);"></div>
                <div class="BoxFrameEdgeRightBottom" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></div>
                <div class="BoxFrameEdgeLeftBottom" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></div>
            </div>
        </div>
<br>
<a name="quandoacontece"></a>
<div class="TopButtonContainer">
        <div class="TopButton">
        <a href="#top">
        <img style="border:0px;" src="./layouts/tibiarl/images/content/back-to-top.gif"></a></div></div>
<div class="TableContainer">
                    <div class="CaptionContainer">
                            <div class="CaptionInnerContainer"> 
                                <span class="CaptionEdgeLeftTop" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                                <span class="CaptionEdgeRightTop" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                                <span class="CaptionBorderTop" style="background-image:url(./layouts/tibiarl/images/content/table-headline-border.gif);"></span> 
                                <span class="CaptionVerticalLeft" style="background-image:url(./layouts/tibiarl/images/content/box-frame-vertical.gif);"></span>                            
                                <div class="Text">Quando acontece o Evento?</div>
                                <span class="CaptionVerticalRight" style="background-image:url(./layouts/tibiarl/images/content/box-frame-vertical.gif);"></span>
                                <span class="CaptionBorderBottom" style="background-image:url(./layouts/tibiarl/images/content/table-headline-border.gif);"></span> 
                                <span class="CaptionEdgeLeftBottom" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                                <span class="CaptionEdgeRightBottom" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                            </div>
                        </div><table class="Table4" cellpadding="0" cellspacing="0">
                        
                        <tbody><tr>
                            <td>
                                
                                    <div class="InnerTableContainer">          
        <table style="width:100%;"><tbody><tr><td>
        <div class="TableShadowContainerRightTop">  
        <div class="TableShadowRightTop" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-rt.gif);"></div></div>
        <div class="TableContentAndRightShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-rm.gif);">
        <div class="TableContentContainer">    <table class="TableContent" width="100%"><tbody><tr><td><table style="width:100%;">
        <tbody>
        <tr><td>
        O CastleSiege é automático e acontecerá todos os dias das<b> 20:00 às 21:00</b>, quando for o horário um teleport surgirá no <b>Templo de Hollister City</b> e todos serão avisados minutos antes do castelo ficar aberto para invasão/batalha.
                
        </td></tr>
        </tbody></table></td>
          </tr></tbody></table>  </div></div><div class="TableShadowContainer"> 
        <div class="TableBottomShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bm.gif);">   
        <div class="TableBottomLeftShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bl.gif);"></div>  
        <div class="TableBottomRightShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-br.gif);"></div> 
        </div></div></td></tr>          </tbody></table>        </div>
                                
                            </td></tr></tbody></table>
                        </div>
<br>
<a name="comofunciona"></a>
<div class="TopButtonContainer">
        <div class="TopButton">
        <a href="#top">
        <img style="border:0px;" src="./layouts/tibiarl/images/content/back-to-top.gif"></a></div></div>
                        <div class="TableContainer">
                    <div class="CaptionContainer">
                            <div class="CaptionInnerContainer"> 
                                <span class="CaptionEdgeLeftTop" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                                <span class="CaptionEdgeRightTop" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                                <span class="CaptionBorderTop" style="background-image:url(./layouts/tibiarl/images/content/table-headline-border.gif);"></span> 
                                <span class="CaptionVerticalLeft" style="background-image:url(./layouts/tibiarl/images/content/box-frame-vertical.gif);"></span>                            
                                <div class="Text">Como funciona?</div>
                                <span class="CaptionVerticalRight" style="background-image:url(./layouts/tibiarl/images/content/box-frame-vertical.gif);"></span>
                                <span class="CaptionBorderBottom" style="background-image:url(./layouts/tibiarl/images/content/table-headline-border.gif);"></span> 
                                <span class="CaptionEdgeLeftBottom" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                                <span class="CaptionEdgeRightBottom" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                            </div>
                        </div>
                        <table class="Table4" cellpadding="0" cellspacing="0">
                        
                        <tbody>
                        <tr>
                            <td><div class="InnerTableContainer">          
        <table style="width:100%;"><tbody><tr><td>
        <div class="TableShadowContainerRightTop">  
        <div class="TableShadowRightTop" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-rt.gif);"></div></div>
        <div class="TableContentAndRightShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-rm.gif);">
        <div class="TableContentContainer">    <table class="TableContent" width="100%"><tbody><tr><td><table style="width:100%;">
        <tbody>
        <tr><td>
        Os jogadores entram no teleport, e vão pelo caminho para chegar a alavanca que conquista o castelo, até chegar na mesma, aparecem Protetores, criaturas super fortes que farão de tudo para os matar,
        sendo assim deve-se ir com uma boa guild, a guild que permanecer por mais tempo no controle da alavanca, ganhará o Castelo, e terá acesso exclusivo a hunts ótimas, até no dia seguinte no mesmo horário.
        </td></tr>
        </tbody></table></td>
          </tr></tbody></table>  </div></div><div class="TableShadowContainer"> 
        <div class="TableBottomShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bm.gif);">   
        <div class="TableBottomLeftShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bl.gif);"></div>  
        <div class="TableBottomRightShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-br.gif);"></div> 
        </div></div></td></tr>          </tbody></table>        </div>
                                
                                    <div class="InnerTableContainer">          
        <table style="width:100%;"><tbody><tr><td>
        <div class="TableShadowContainerRightTop">  
        <div class="TableShadowRightTop" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-rt.gif);"></div></div>
        <div class="TableContentAndRightShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-rm.gif);">
        <div class="TableContentContainer">    <table class="TableContent" width="100%"><tbody><tr><td><table style="width:100%;">
        </table></td>
         </tr></tbody></table>  </div></div>

          <div class="TableShadowContainer"> 
        <div class="TableBottomShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bm.gif);">   
        <div class="TableBottomLeftShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bl.gif);"></div>  
        <div class="TableBottomRightShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-br.gif);"></div> 
        </div></div></td></tr>          </tbody></table>        </div>
                                <div class="TableShadowContainer"> 
        <div class="TableBottomShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bm.gif);">   
        <div class="TableBottomLeftShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bl.gif);"></div>  
        <div class="TableBottomRightShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-br.gif);"></div> 
        </div></div></td></tr>          </tbody></table>        </div>
        
        
                        <br>
<a name="quantosplayers"></a>
<div class="TopButtonContainer">
        <div class="TopButton">
        <a href="#top">
        <img style="border:0px;" src="./layouts/tibiarl/images/content/back-to-top.gif"></a></div></div>
<div class="TableContainer">
                    <div class="CaptionContainer">
                            <div class="CaptionInnerContainer"> 
                                <span class="CaptionEdgeLeftTop" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                                <span class="CaptionEdgeRightTop" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                                <span class="CaptionBorderTop" style="background-image:url(./layouts/tibiarl/images/content/table-headline-border.gif);"></span> 
                                <span class="CaptionVerticalLeft" style="background-image:url(./layouts/tibiarl/images/content/box-frame-vertical.gif);"></span>                            
                                <div class="Text">Quantos jogadores são indicados para conseguir conquistar o Castelo?</div>
                                <span class="CaptionVerticalRight" style="background-image:url(./layouts/tibiarl/images/content/box-frame-vertical.gif);"></span>
                                <span class="CaptionBorderBottom" style="background-image:url(./layouts/tibiarl/images/content/table-headline-border.gif);"></span> 
                                <span class="CaptionEdgeLeftBottom" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                                <span class="CaptionEdgeRightBottom" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                            </div>
                        </div><table class="Table4" cellpadding="0" cellspacing="0">
                        
                        <tbody><tr>
                            <td>
                                
                                    <div class="InnerTableContainer">          
        <table style="width:100%;"><tbody><tr><td>
        <div class="TableShadowContainerRightTop">  
        <div class="TableShadowRightTop" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-rt.gif);"></div></div>
        <div class="TableContentAndRightShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-rm.gif);">
        <div class="TableContentContainer">    <table class="TableContent" width="100%"><tbody><tr><td><table style="width:100%;">
        <tbody>
        <tr><td>
        Pelo menos 5 jogadores por guild
        </td></tr>
        </tbody></table></td>
          </tr></tbody></table>  </div></div><div class="TableShadowContainer"> 
        <div class="TableBottomShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bm.gif);">   
        <div class="TableBottomLeftShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bl.gif);"></div>  
        <div class="TableBottomRightShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-br.gif);"></div> 
        </div></div></td></tr>          </tbody></table>        </div>
                                
                            </td></tr></tbody></table>
                        </div>    
<br>    
<a name="premios"></a>    
<div class="TopButtonContainer">
        <div class="TopButton">
        <a href="#top">
        <img style="border:0px;" src="./layouts/tibiarl/images/content/back-to-top.gif"></a></div></div>                
<div class="TableContainer">
                    <div class="CaptionContainer">
                            <div class="CaptionInnerContainer"> 
                                <span class="CaptionEdgeLeftTop" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                                <span class="CaptionEdgeRightTop" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                                <span class="CaptionBorderTop" style="background-image:url(./layouts/tibiarl/images/content/table-headline-border.gif);"></span> 
                                <span class="CaptionVerticalLeft" style="background-image:url(./layouts/tibiarl/images/content/box-frame-vertical.gif);"></span>                            
                                <div class="Text">Quais são os premios?</div>
                                <span class="CaptionVerticalRight" style="background-image:url(./layouts/tibiarl/images/content/box-frame-vertical.gif);"></span>
                                <span class="CaptionBorderBottom" style="background-image:url(./layouts/tibiarl/images/content/table-headline-border.gif);"></span> 
                                <span class="CaptionEdgeLeftBottom" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                                <span class="CaptionEdgeRightBottom" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span>
                            </div>
                        </div><table class="Table4" cellpadding="0" cellspacing="0">
                        
                        <tbody><tr>
                            <td>
                                <div class="InnerTableContainer">
                                    <table style="width:100%;">
                                        <tbody><tr>
                                            <td>
                                                <div class="TableShadowContainerRightTop">
                                                    <div class="TableShadowRightTop" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-rt.gif);"></div>
                                                </div>
                                                <div class="TableContentAndRightShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-rm.gif);">
                                                    <div class="TableContentContainer">
                                                        <table border="1" cellpadding="4" cellspacing="1" class="TableContent" width="100%" style="border:1px solid #faf0d7;">
                                                            <tbody><tr>
            
            </tr><tr bgcolor="#505050">
            <td width="15%" align="left" class="white"><b>Nome</b></td>
            <td width="50%" align="center" class="white"><b>Descrição</b></td>
            </tr>
            <tr bgcolor="#F1E0C6">
                  <td><center><b>Caves Exclusivas</b></center></td>
                  <td><div align="center"><b>(10 caves enormes, com exp/loot ótimos).</b><br>
                  <i>(Uma boa caçada por 24 horas!!).</i></div></td></tr>
            
            
                                                                    
                                                        </tbody></table>
                                                    </div>
                                                </div>
                                                <div class="TableShadowContainer">
                                                    <div class="TableBottomShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bm.gif);">
                                                        <div class="TableBottomLeftShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bl.gif);"></div>
                                                        <div class="TableBottomRightShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-br.gif);"></div>
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </tbody></table>
                                </div>
                            </td></tr></tbody></table>
    
';

?>

 

pode fechar topico, o erro do botao login e do logo artwork era o cache e o cookies do navegador, em outro navegador abriu normal

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo