Ir para conteúdo
  • 0

aba like box


Eder009

Pergunta

11 respostass a esta questão

Posts Recomendados

  • 0

acho que é +- isso que você ta querendo, não entendi muito bem...

 

adicione isso no seu layout.php antes de <head>

<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'/>

 

depois, pressione ctrl+F e procure por

?>

após o

?>

 

adicione isso:

<script type="text/javascript">
//<!--
$(document).ready(function() {$(".box-flutuante-facebook").hover(function() {$(this).stop().animate({right: "0"}, "medium");}, function() {$(this).stop().animate({right: "-250"}, "medium");}, 500);});
//-->
</script>
<style type="text/css">
.box-flutuante-facebook{background: url("http://3.bp.blogspot.com/-VXmAJdQRHJ8/Tra8E16fZGI/AAAAAAAAClg/o5M632x9qX8/s1600/floatingfb.png") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 40px;width: 245px;z-index: 99999;position:fixed;right:-250px;top:20%;}
.box-flutuante-facebook div{border:none;position:relative;display:block;}
.box-flutuante-facebook span{bottom: 10px;font: 10px tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;}
.box-flutuante-facebook span a{color: #808080;text-decoration:none;}
.box-flutuante-facebook span a:hover{text-decoration:underline;}
</style>
<div class="box-flutuante-facebook" style="">
<div>
<iframe src="//www.facebook.com/plugins/likebox.php?href=URL-DA-SUA-PÁGINA-DO-FACEBOOK&width=251&height=270&colorscheme=light&show_faces=true&border_color=%23cccccc&stream=false&header=false&appId=159468740772399" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:251px; height:270px; background:#fff;" allowtransparency="true"></iframe>
</div>
</div>

 

ai é só editar link da sua pagina no facebook aonde ta escrito URL-DA-SUA-PÁGINA-DO-FACEBOOK ...

Editado por 1tyi
Link para o comentário
Compartilhar em outros sites

  • 0

acho que você ta colocando a script no lugar errado,

 

coloque ela antes de tudo na primeira linha do layout.php

 

se você não adicionou mais nada a seu layout,php coloca esse que já deixei tudo certo...

 

 

<html xmlns="http://www.w3.org/1999/xhtml">

<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'/>

<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="Gesior | Modified by WalefXavier" />

<meta http-equiv="content-language" content="en" />

<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>

<meta name="keywords" content="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 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>

<?

header("Content-Type: text/html; charset=ISO-8859-1",true);

?>

</head>

<body onBeforeUnLoad="SaveMenu();" onUnload="SaveMenu();">

<a name="top"></a>

<div id="ArtworkHelper" style="background-image:url(<?PHP echo $layout_name; ?>/images/header/background-artwork.jpg);" >

<div id="Bodycontainer">

<div id="ContentRow">

<div id="MenuColumn">

<div id="LeftArtwork">

<img id="Statue_1" src="<?PHP echo $layout_name; ?>/images/header/animated-statue.gif" alt="logoartwork" />

<img id="TibiaLogoArtworkTop" src="<?PHP echo $layout_name; ?>/images/header/tibia-logo-artwork-top.gif" onClick="window.location = '?subtopic=latestnews';" alt="logoartwork" />

<img id="TibiaLogoArtworkBottom" src="<?PHP echo $layout_name; ?>/images/header/tibia-logo-artwork-bottom.gif" alt="logoartwork" />

<img id="Statue_2" src="<?PHP echo $layout_name; ?>/images/header/animated-statue.gif" 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 class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >

<div id="LoginstatusText_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-you-are-not-logged-in.gif)" ></div>

</div>

<div id="LoginButtonContainer" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >

<div id="LoginButton" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton.gif)" >

<div onClick="LoginButtonAction();" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);"><div class="Button" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton_over.gif)" ></div>

<div id="ButtonText" ></div>

</div>

</div>

</div>

<div style="clear:both" ></div>

<div class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >

<div id="LoginstatusText_2" onClick="LoginstatusTextAction(this);" onMouseOver="MouseOverLoginBoxText(this);" onMouseOut="MouseOutLoginBoxText(this);" ><div id="LoginstatusText_2_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account.gif)" ></div><div id="LoginstatusText_2_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(<?PHP echo $layout_name; ?>/images/general/box-top.gif);'></div>

 

<div id='news' class='menuitem'>

<span onClick="MenuItemAction('news')">

<div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>

<div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>

<span id='news_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='news_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-news.gif);'></div>

<div id='news_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-news.gif);'></div>

<div id='news_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/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'>Latest News</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'>News Archive</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=downloads'>

<div id='submenu_downloads' 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_downloads' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>

<div class='SubmenuitemLabel'><font color='#FF0033'>Downloads</font></div>

<div class='RightChain' style='background-image:url(".$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-background.gif);'>

<div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.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-account.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'>Account Management</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'>Create Account</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_lostaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>

<div class='SubmenuitemLabel'>Lost Account?</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'>Server Rules</div>

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

</div>

</a>

<a href='?subtopic=bugtracker'>

<div id='submenu_bugtracker' 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_bugtracker' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>

<div class='SubmenuitemLabel'>Bug Tracker</div>

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

</div>

</a>

<?PHP

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='wars' class='menuitem'>

<span onClick="MenuItemAction('wars')">

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

<div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(layouts/tibiacom/images/menu/button-background-over.gif);'></div>

<span id='wars_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='wars_Icon' class='Icon' style='background-image:url(layouts/tibiacom/images/menu/icon-wars.gif);'></div>

<div id='wars_Label' class='Label' style='background-image:url(layouts/tibiacom/images/menu/label-wars.gif);'></div>

<div id='wars_Extend' class='Extend' style='background-image:url(layouts/tibiacom/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(<?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=red>War Statistics</font></div>

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

</div>

</a>

<a href='?subtopic=fragers'>

<div id='submenu_fragers' 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_houses' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>

<div class='SubmenuitemLabel'><font color=red> Top Fragers </font></div>

<div class='RightChain' style='background-image:url(<?PHP echo $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-background.gif);'>

<div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.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-community.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'>Characters</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'>Who Is Online?</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'>Highscores</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'>Last Kills</div>

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

</div>

</a>

<a href='?subtopic=auctionsystem'>

<div id='submenu_auctionsystem' 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'>Trade System</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'>Banishments</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'>Guilds</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'>Polls</div>

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

<div id='ActiveSubmenuItemIcon_team' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>

<div class='SubmenuitemLabel'>Support List</div>

<div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/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-background.gif);'>

<div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over.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-forum.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'>Server Forum</div>

<div class='RightChain' style='background-image:url(".$layout_name."/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-background.gif);'>

<div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.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-library.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'>Creatures</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_creatures' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>

<div class='SubmenuitemLabel'>Addons</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'>Spells</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'] == 1)

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'>Server Info</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'>Experience Table</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-background.gif);'>

<div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over.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-shops.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=buypoints'>

<div id='submenu_doacao' 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_doacao' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>

<div class='SubmenuitemLabel'><font color=red><blink>Buy Points</blink></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'><div style=\"color: green;\">Shop Offer</div></div>

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

</div>

</a>

<a href='?subtopic=vantagens'>

<div id='submenu_vantagens' 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_beneficiospremium' class='ActiveSubmenuItemIcon' style='background-image:url(http://i55.tinypic.com/2uqj9kx.jpg);'></div>

<div class='SubmenuitemLabel'>Benefícios</div>

<div class='RightChain' style='background-image:url(<?PHP echo $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'>Suas Transações</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-green.gif);"></div>

<img class="Title" src="headline.php?text=<?php echo $topic ?>" 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;

?>

Account Maker made by Gesior. And Customized by Walef.<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 id="Monster" src="images/monsters/<?PHP echo logo_monster() ?>.gif" onClick="window.location = '?subtopic=creatures&creature=<?PHP echo logo_monster() ?>';" alt="Monster of the Week" />

<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'].'<br />Players Online';

else

echo '<font color="red"><b>Server<br />OFFLINE</b></font>';

?></div>

</div>

 

<div id="Themeboxes">

 

<div id="NewcomerBox" class="Themebox" style="background-image:url(<?PHP echo $layout_name; ?>/images/themeboxes/newcomer/newcomerbox.gif);">

<div class="ThemeboxButton" onClick="BigButtonAction('?subtopic=createaccount')" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton_over.gif);"></div>

<div class="ButtonText" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/_sbutton_jointibia.gif);"></div>

</div>

<div class="Bottom" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);"></div>

</div>

<div id="NewcomerBox" class="Themebox" style="background-image:url(<?PHP echo $layout_name; ?>/images/themeboxes/newcomer/premiumbox.gif);">

<div class="ThemeboxButton" onClick="BigButtonAction('?subtopic=buypoints')" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton_over.gif);"></div>

<div class="ButtonText" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/_sbutton_donator.gif);"></div>

</div>

<div class="Bottom" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);"></div>

</div>

?>

<script type="text/javascript">

//<!--

$(document).ready(function() {$(".box-flutuante-facebook").hover(function() {$(this).stop().animate({right: "0"}, "medium");}, function() {$(this).stop().animate({right: "-250"}, "medium");}, 500);});

//-->

</script>

<style type="text/css">

.box-flutuante-facebook{background: url("http://3.bp.blogspot.com/-VXmAJdQRHJ8/Tra8E16fZGI/AAAAAAAAClg/o5M632x9qX8/s1600/floatingfb.png") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 40px;width: 245px;z-index: 99999;position:fixed;right:-250px;top:20%;}

.box-flutuante-facebook div{border:none;position:relative;display:block;}

.box-flutuante-facebook span{bottom: 10px;font: 10px tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;}

.box-flutuante-facebook span a{color: #808080;text-decoration:none;}

.box-flutuante-facebook span a:hover{text-decoration:underline;}

</style>

<div class="box-flutuante-facebook" style="">

<div>

<iframe src="//www.facebook.com/plugins/likebox.php?href=URL-DA-SUA-PÁGINA-DO-FACEBOOK&width=251&height=270&colorscheme=light&show_faces=true&border_color=%23cccccc&stream=false&header=false&appId=159468740772399" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:251px; height:270px; background:#fff;" allowtransparency="true"></iframe>

</div>

</div>

<?PHP

if($config['site']['screenoftheday'] == 1)

echo '<div id="ScreenshotBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/screenshot/screenshotbox.gif);">

<a href="?subtopic=gallery" >

<img id="ScreenshotContent" class="ThemeboxContent" src="images/screenshotoftheday.gif" alt="Screenshot of the Day" /></a>

<div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>

</div>';

?>

<?PHP

$time = time();

$viewpoll = $SQL->query('SELECT * FROM z_polls where end > '.$time.' ORDER BY id DESC LIMIT 1');

foreach($viewpoll as $p)

$polls .= '<center>'.$p['question'].'</center>';

if(count($p['id']) > 0)

echo '<div id="CurrentPollBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/current-poll/currentpollbox.gif);">

<div id="CurrentPollText">'.$polls.'</div>

<a class="ThemeboxButton" href="?subtopic=polls&id= '.$p['id'].'" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);"></div>

<div class="ButtonText" style="background-image:url('.$layout_name.'/images/buttons/_sbutton_votenow.gif);"></div>

</a>

<div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>

</div>';

?>

<?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>

</body>

</html>

 

 

 

apenas adicione o link da pagina do facebook no lugar de URL-DA-SUA-PÁGINA-DO-FACEBOOK

Editado por 1tyi
Link para o comentário
Compartilhar em outros sites

  • 0

ops, não tinha percebido esse erro,

 

teste com esse:

 

<html xmlns="http://www.w3.org/1999/xhtml">

<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js' type='text/javascript'/>

<script type='text/javascript'>

$(function() {

var offset = $("#fblog-box").offset();

var topPadding = 60;

$(window).scroll(function() {

if ($(window).scrollTop() > offset.top) {

$("#fblog-box").stop().animate({

marginTop: $(window).scrollTop() - offset.top + topPadding

});

} else {

$("#fblog-box").stop().animate({

marginTop: 0

});

};

});

});

</script>

<script src='http://platform.twitter.com/widgets.js' type='text/javascript'/>

<script src='https://apis.google.com/js/plusone.js' type='text/javascript'>

{lang: 'pt-BR'}

</script>

<style type='text/css'>

#floating-fblog {width:60px;}

#fblog-box {border:1px solid #ccc; padding:5px; background:#fff; z-index:9999; display:block; position:absolute; top:200px; float:left; margin:0 0 0 -100px; text-align:center;}

#fblog-box div {margin:0 0 5px;}

</style>

<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="Gesior | Modified by WalefXavier" />

<meta http-equiv="content-language" content="en" />

<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>

<meta name="keywords" content="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 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>

<?

header("Content-Type: text/html; charset=ISO-8859-1",true);

?>

</head>

<body onBeforeUnLoad="SaveMenu();" onUnload="SaveMenu();">

<a name="top"></a>

<div id="ArtworkHelper" style="background-image:url(<?PHP echo $layout_name; ?>/images/header/background-artwork.jpg);" >

<div id="Bodycontainer">

<div id="ContentRow">

<div id="MenuColumn">

<div id="LeftArtwork">

<img id="Statue_1" src="<?PHP echo $layout_name; ?>/images/header/animated-statue.gif" alt="logoartwork" />

<img id="TibiaLogoArtworkTop" src="<?PHP echo $layout_name; ?>/images/header/tibia-logo-artwork-top.gif" onClick="window.location = '?subtopic=latestnews';" alt="logoartwork" />

<img id="TibiaLogoArtworkBottom" src="<?PHP echo $layout_name; ?>/images/header/tibia-logo-artwork-bottom.gif" alt="logoartwork" />

<img id="Statue_2" src="<?PHP echo $layout_name; ?>/images/header/animated-statue.gif" 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 class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >

<div id="LoginstatusText_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-you-are-not-logged-in.gif)" ></div>

</div>

<div id="LoginButtonContainer" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >

<div id="LoginButton" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton.gif)" >

<div onClick="LoginButtonAction();" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);"><div class="Button" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton_over.gif)" ></div>

<div id="ButtonText" ></div>

</div>

</div>

</div>

<div style="clear:both" ></div>

<div class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >

<div id="LoginstatusText_2" onClick="LoginstatusTextAction(this);" onMouseOver="MouseOverLoginBoxText(this);" onMouseOut="MouseOutLoginBoxText(this);" ><div id="LoginstatusText_2_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account.gif)" ></div><div id="LoginstatusText_2_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(<?PHP echo $layout_name; ?>/images/general/box-top.gif);'></div>

 

<div id='news' class='menuitem'>

<span onClick="MenuItemAction('news')">

<div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>

<div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>

<span id='news_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='news_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-news.gif);'></div>

<div id='news_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-news.gif);'></div>

<div id='news_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/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'>Latest News</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'>News Archive</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=downloads'>

<div id='submenu_downloads' 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_downloads' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>

<div class='SubmenuitemLabel'><font color='#FF0033'>Downloads</font></div>

<div class='RightChain' style='background-image:url(".$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-background.gif);'>

<div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.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-account.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'>Account Management</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'>Create Account</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_lostaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>

<div class='SubmenuitemLabel'>Lost Account?</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'>Server Rules</div>

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

</div>

</a>

<a href='?subtopic=bugtracker'>

<div id='submenu_bugtracker' 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_bugtracker' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>

<div class='SubmenuitemLabel'>Bug Tracker</div>

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

</div>

</a>

<?PHP

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='wars' class='menuitem'>

<span onClick="MenuItemAction('wars')">

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

<div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(layouts/tibiacom/images/menu/button-background-over.gif);'></div>

<span id='wars_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='wars_Icon' class='Icon' style='background-image:url(layouts/tibiacom/images/menu/icon-wars.gif);'></div>

<div id='wars_Label' class='Label' style='background-image:url(layouts/tibiacom/images/menu/label-wars.gif);'></div>

<div id='wars_Extend' class='Extend' style='background-image:url(layouts/tibiacom/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(<?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=red>War Statistics</font></div>

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

</div>

</a>

<a href='?subtopic=fragers'>

<div id='submenu_fragers' 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_houses' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>

<div class='SubmenuitemLabel'><font color=red> Top Fragers </font></div>

<div class='RightChain' style='background-image:url(<?PHP echo $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-background.gif);'>

<div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.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-community.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'>Characters</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'>Who Is Online?</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'>Highscores</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'>Last Kills</div>

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

</div>

</a>

<a href='?subtopic=auctionsystem'>

<div id='submenu_auctionsystem' 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'>Trade System</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'>Banishments</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'>Guilds</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'>Polls</div>

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

<div id='ActiveSubmenuItemIcon_team' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>

<div class='SubmenuitemLabel'>Support List</div>

<div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/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-background.gif);'>

<div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over.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-forum.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'>Server Forum</div>

<div class='RightChain' style='background-image:url(".$layout_name."/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-background.gif);'>

<div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.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-library.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'>Creatures</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_creatures' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>

<div class='SubmenuitemLabel'>Addons</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'>Spells</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'] == 1)

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'>Server Info</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'>Experience Table</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-background.gif);'>

<div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over.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-shops.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=buypoints'>

<div id='submenu_doacao' 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_doacao' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>

<div class='SubmenuitemLabel'><font color=red><blink>Buy Points</blink></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'><div style=\"color: green;\">Shop Offer</div></div>

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

</div>

</a>

<a href='?subtopic=vantagens'>

<div id='submenu_vantagens' 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_beneficiospremium' class='ActiveSubmenuItemIcon' style='background-image:url(http://i55.tinypic.com/2uqj9kx.jpg);'></div>

<div class='SubmenuitemLabel'>Benefícios</div>

<div class='RightChain' style='background-image:url(<?PHP echo $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'>Suas Transações</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-green.gif);"></div>

<img class="Title" src="headline.php?text=<?php echo $topic ?>" 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;

?>

Account Maker made by Gesior. And Customized by Walef.<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 id="Monster" src="images/monsters/<?PHP echo logo_monster() ?>.gif" onClick="window.location = '?subtopic=creatures&creature=<?PHP echo logo_monster() ?>';" alt="Monster of the Week" />

<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'].'<br />Players Online';

else

echo '<font color="red"><b>Server<br />OFFLINE</b></font>';

?></div>

</div>

 

<div id="Themeboxes">

 

<div id="NewcomerBox" class="Themebox" style="background-image:url(<?PHP echo $layout_name; ?>/images/themeboxes/newcomer/newcomerbox.gif);">

<div class="ThemeboxButton" onClick="BigButtonAction('?subtopic=createaccount')" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton_over.gif);"></div>

<div class="ButtonText" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/_sbutton_jointibia.gif);"></div>

</div>

<div class="Bottom" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);"></div>

</div>

<div id="NewcomerBox" class="Themebox" style="background-image:url(<?PHP echo $layout_name; ?>/images/themeboxes/newcomer/premiumbox.gif);">

<div class="ThemeboxButton" onClick="BigButtonAction('?subtopic=buypoints')" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton_over.gif);"></div>

<div class="ButtonText" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/_sbutton_donator.gif);"></div>

</div>

<div class="Bottom" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);"></div>

</div>

?>

<?PHP

if($config['site']['screenoftheday'] == 1)

echo '<div id="ScreenshotBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/screenshot/screenshotbox.gif);">

<a href="?subtopic=gallery" >

<img id="ScreenshotContent" class="ThemeboxContent" src="images/screenshotoftheday.gif" alt="Screenshot of the Day" /></a>

<div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>

</div>';

?>

<script type="text/javascript">

//<!--

$(document).ready(function() {$(".box-flutuante-facebook").hover(function() {$(this).stop().animate({right: "0"}, "medium");}, function() {$(this).stop().animate({right: "-250"}, "medium");}, 500);});

//-->

</script>

<style type="text/css">

.box-flutuante-facebook{background: url("http://3.bp.blogspot.com/-VXmAJdQRHJ8/Tra8E16fZGI/AAAAAAAAClg/o5M632x9qX8/s1600/floatingfb.png") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 40px;width: 245px;z-index: 99999;position:fixed;right:-250px;top:20%;}

.box-flutuante-facebook div{border:none;position:relative;display:block;}

.box-flutuante-facebook span{bottom: 10px;font: 10px tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;}

.box-flutuante-facebook span a{color: #808080;text-decoration:none;}

.box-flutuante-facebook span a:hover{text-decoration:underline;}

</style>

<div class="box-flutuante-facebook" style="">

<div>

<iframe src="//www.facebook.com/plugins/likebox.php?href=URL-DA-SUA-PÁGINA-DO-FACEBOOK&width=251&height=270&colorscheme=light&show_faces=true&border_color=%23cccccc&stream=false&header=false&appId=159468740772399" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:251px; height:270px; background:#fff;" allowtransparency="true"></iframe>

</div>

</div>

<?PHP

$time = time();

$viewpoll = $SQL->query('SELECT * FROM z_polls where end > '.$time.' ORDER BY id DESC LIMIT 1');

foreach($viewpoll as $p)

$polls .= '<center>'.$p['question'].'</center>';

if(count($p['id']) > 0)

echo '<div id="CurrentPollBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/current-poll/currentpollbox.gif);">

<div id="CurrentPollText">'.$polls.'</div>

<a class="ThemeboxButton" href="?subtopic=polls&id= '.$p['id'].'" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);"></div>

<div class="ButtonText" style="background-image:url('.$layout_name.'/images/buttons/_sbutton_votenow.gif);"></div>

</a>

<div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>

</div>';

?>

<?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>

</body>

</html>

 

 

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...