Ir para conteúdo

[Gesior] Widget Top Level BOX


jb2

Posts Recomendados

Amigo é só colocar o arquivo dentro da pasta do seu layout que está usando, e adicionar a linha

 

<?php include($layout_name.'/widget_rank.php'); ?>

 

No layout.php.

 

Veja como fico o meu depois da linha

 

 <div id="Themeboxes">

 


<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="PremiumBox" class="Themebox" style="background-image:url(layouts/tibiacom/images/themeboxes/premium/premiumbox.gif);">
   <div class="ThemeboxButton" onClick="BigButtonAction('?subtopic=donate')" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url(layouts/tibiacom/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url(layouts/tibiacom/images/buttons/sbutton_over.gif);"></div>
     <div class="ButtonText" style="background-image:url(http://i54.tinypic.com/25uqof8.gif);"></div>
   </div>
   <div class="Bottom" style="background-image:url(layouts/tibiacom/images/general/box-bottom.gif);"></div>
 </div> 


<?PHP
if($config['site']['screenoftheday'] == 1) 
echo '<div id="ScreenshotBox" class="Themebox" style="background-image:url(/images/screenshotbox.gif);">
     <a href="?subtopic=gallery">
       <img id="ScreenshotContent" class="ThemeboxContent" src="/images/laguna_thumb.gif" alt="Screenshot of the Day">
     </a>
   <div class="Bottom" style="background-image:url(http://static.tibia.com/images/global/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>';
?>
<?php include($layout_name.'/widget_rank.php'); ?>
       </div>

Link para o comentário
Compartilhar em outros sites

Aeeeeeeee mdr.gif

Agora deu..

 

2epj6h3.jpg

 

Olha como ta..Teria como voce me ajudar colocar a BOX embaixo do Uptime?

 

Meu layout.php

 

 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>Atlanta War</title>

<meta name="description"Atlanta War" />

<meta name="author" content="Atlanta War />

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

}

}

}

 

/*

// * NO CONFIGURATION BELOW HERE *

*/

 

// Do not edit below this line

var snow=new Array()

var marginbottom

var marginright

var timer

var i_snow=0

var x_mv=new Array();

var crds=new Array();

var lftrght=new Array();

var browserinfos=navigator.userAgent

var ie5=document.all&&document.getElementById&&!browserinfos.match(/Opera/)

var ns6=document.getElementById&&!document.all

var opera=browserinfos.match(/Opera/)

var browserok=ie5||ns6||opera

 

function randommaker(range) {

rand=Math.floor(range*Math.random())

return rand

}

 

function initsnow() {

if (ie5 || opera) {

marginbottom = document.body.clientHeight

marginright = document.body.clientWidth

}

else if (ns6) {

marginbottom = window.innerHeight

marginright = window.innerWidth

}

var snowsizerange=snowmaxsize-snowminsize

for (i=0;i<=snowmax;i++) {

crds = 0;

lftrght = Math.random()*15;

x_mv = 0.03 + Math.random()/10;

snow=document.getElementById("s"+i)

snow.style.fontFamily=snowtype[randommaker(snowtype.length)]

snow.size=randommaker(snowsizerange)+snowminsize

snow.style.fontSize=snow.size

snow.style.color=snowcolor[randommaker(snowcolor.length)]

snow.sink=sinkspeed*snow.size/5

if (snowingzone==1) {snow.posx=randommaker(marginright-snow.size)}

if (snowingzone==2) {snow.posx=randommaker(marginright/2-snow.size)}

if (snowingzone==3) {snow.posx=randommaker(marginright/2-snow.size)+marginright/4}

if (snowingzone==4) {snow.posx=randommaker(marginright/2-snow.size)+marginright/2}

snow.posy=randommaker(2*marginbottom-marginbottom-2*snow.size)

snow.style.left=snow.posx

snow.style.top=snow.posy

}

movesnow()

}

 

function movesnow() {

for (i=0;i<=snowmax;i++) {

crds += x_mv;

snow.posy+=snow.sink

snow.style.left=snow.posx+lftrght*Math.sin(crds);

snow.style.top=snow.posy

 

if (snow.posy>=marginbottom-2*snow.size || parseInt(snow.style.left)>(marginright-3*lftrght)){

if (snowingzone==1) {snow.posx=randommaker(marginright-snow.size)}

if (snowingzone==2) {snow.posx=randommaker(marginright/2-snow.size)}

if (snowingzone==3) {snow.posx=randommaker(marginright/2-snow.size)+marginright/4}

if (snowingzone==4) {snow.posx=randommaker(marginright/2-snow.size)+marginright/2}

snow.posy=0

}

}

var timer=setTimeout("movesnow()",50)

}

 

for (i=0;i<=snowmax;i++) {

document.write("<span id='s"+i+"' style='position:absolute;top:-"+snowmaxsize+"'>"+snowletter+"</span>")

}

if (browserok) {

window.onload=initsnow

}

 

</SCRIPT>

 

<?

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

?>

</head>

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

<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"><a href="/?subtopic=latestnews"><img src="<?PHP echo $layout_name; ?>/images/header/header_left_logo.gif" alt="logoartwork" width="196" height="158" /></a></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/mediumbutton.gif)" >

<div onClick="LoginButtonAction();" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);"><div class="Button" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/mediumbutton-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'>Ultimas Noticias</div>

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

</div>

</a>

 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><a href='?subtopic=videos'>

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

<div class='SubmenuitemLabel'><FONT COLOR="#FF00FF">Videos</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-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'>Gerenciar Conta</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'>Criar Conta</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'>Perdeu sua Conta?</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'>Regras do Servidor</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_bug' 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_bug' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>

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

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

</div>

</a>

<a href='?subtopic=admin'>

<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=\"blue\">~<u>Admin PRO</u>~</font></div>

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

</div>

<?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='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'>Personagens</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'>Quem esta 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'>Ranking</div>

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

</div>

</a>

 

 

</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'>Ultimas Mortes</div>

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

</div>

 

<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'>Enquetes</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(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>

<a href='?subtopic=fragers'>

<div id='submenu_fragers' 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_fragers' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>

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

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

</div>

</a>

<a href='?subtopic=topguild'>

<div id='submenu_topguild' 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_topguild' class='ActiveSubmenuItemIcon' style='background-image:url(layouts/tibiacom/images/menu/icon-activesubmenu.gif);'></div>

<div class='SubmenuitemLabel'>Top Guilds</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-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'>

<?PHP

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'>Sever Info</div>

<div class='RightChain' style='background-image:url(".$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=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='red'/><b>Buy Points</b></font></div>

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

</div>

</a>

<a href='?subtopic=vantagenspacc'>

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

<div class='SubmenuitemLabel'><div style=\"color: yellow;\">Vantagens VIP</div></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;\">Shopping</div></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">

<img class="Title" src="headline.php?text=News ticker" alt="Contentbox headline">

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

?>

Copyright by Atlanta War - All Rights reserved.<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'].' Online ';

else

echo '<font color="red"><b>Manutencao</b></font>';

?></a> <br />

 

<b><?PHP echo 'Uptime: '.$config['status']['serverStatus_uptime'].''; ?></b><br>

 

 

</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="Themeboxes">

 

<div id="PremiumBox" class="Themebox" style="background-image:url(layouts/tibiacom/images/themeboxes/premium/premiumbox.gif);">

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

<div class="ButtonText" style="background-image:url(http://i54.tinypic.com/25uqof8.gif);"></div>

</div>

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

</div>

 

 

 

<div id="Themeboxes">

 

<div class="WarCastleBox" class="Themebox" style="background-image: url("layouts/tibiacom/images/themeboxes/warcastle.gif");">

</div>

 

 

 

 

<?PHP

 

?>

<div id="fb-root"></div>

<script>(function(d, s, id) {

var js, fjs = d.getElementsByTagName(s)[0];

if (d.getElementById(id)) return;

js = d.createElement(s); js.id = id;

js.src = "//connect.facebook.net/pt_BR/all.js#xfbml=1";

fjs.parentNode.insertBefore(js, fjs);

}(document, 'script', 'facebook-jssdk'));</script>

<div id="LikeBox" style="background-color:#ffffff; data-width="180" data-height="300"">

<div class="fb-like-box" data-href="" data-width="180" data-height="300" data-colorscheme="light" data-show-faces="true" data-stream="false" data-header="false"></div>

</div>

<div id="Themeboxes">

 

<div class="WarCastleBox" class="Themebox" style="background-image: url("layouts/tibiacom/images/themeboxes/warcastle.gif");">

</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>';

?>

 

 

<?PHP

 

?>

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

?>

<?php include($layout_name.'/widget_rank.php'); ?>

</div>

 

 

Vlw

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

  • 1 month later...

Voce que fez? Kkk

Lembro disso no titania-global, ot q eu jogava, quem fez foi o jhow e o daniel.

Credito deles.

 

Como eu já disse, quando o usuário fez o pedido do script eu não sabia que existia, então fui e fiz. A parte do design copiei do site que usuário pediu no pedido como referencia. Mas o code PHP foi eu que fiz.

 

Se existe um igual, peço desculpas! Não sabia que existia disponibilizado para a galera, então quando o usuário pediu eu fui e fiz.

Link para o comentário
Compartilhar em outros sites

  • 4 weeks later...

teria como vc conserta o posicionamento do box-bottom ali em baixo ?

 

Amigo depois disponibilizo o link ou procure aqui no fórum, existe um script igual a este acho que melhor.

Link para o comentário
Compartilhar em outros sites

Para quem quiser o codigo corrigido o dimensionamento do CSS ta aew...

 

 

<?php
$skills = $SQL->query('SELECT * FROM players WHERE deleted = 0 AND group_id < '.$config['site']['players_group_id_block'].' AND account_id != 1 ORDER BY level DESC LIMIT 5');
?>
<style type="text/css" media="all">
 .Toplevelbox {
   position: relative;
   margin-bottom: 12px;
   width: 180px;
   height: 225px;
 }
 .top_level {
   position: absolute;
   top: 30px;
   left: 6px;
   height: 180px;
   width: 168px;
   z-index: 20;
   text-align: center;
   padding-top: 6px;
   font-family: Tahoma, Geneva, sans-serif;
   font-size: 9.2pt;
   color: #FFF;
   font-weight: bold;
   text-align: right;
   text-decoration: inherit;
   text-shadow: 0.1em 0.1em #333
 }
 #Topbar a {
 text-decoration: none;
 cursor: hand;
 }
 a.topfont {
   font-family: Verdana, Arial, Helvetica;
   font-size: 13px;
   color: #0F0;
   text-decoration: none
 }
 a:hover.topfont {
   font-family: Verdana, Arial, Helvetica;
   font-size: 13px; 
   color: #CCC;
   text-decoration:none
 }
 .Bottom1 {
 position: relative;
 bottom: -12px;
 left: -5px;
 height: 12px;
 width: 180px;
}
</style>
<div id="Topbar" class="Toplevelbox" style="background-image:url(<?PHP echo $layout_name; ?>/images/top_level.png);">
 <div class="top_level" style="background:url(<?PHP echo $layout_name; ?>/images/bg_top.png)" align="left">
   <?php
   $a = 1;
   foreach($skills as $skill) {
  echo '<div align="left"><a href="?subtopic=characters&name='.$skill['name'].'" class="topfont">
    <font color="#CCC">    '.$a.' - </font>'.$skill['name'].'
    <br>
    <small><font color="white">      Level: ('.$skill['level'].')</font></small>
    <br>
  </a>
  </div>';
  $a++;
   }
   ?>
   <div class="Bottom1" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);">
   </div>
 </div>
</div>

Link para o comentário
Compartilhar em outros sites

  • 6 months later...

pra vcs q fes uq ele falo e nao consegui tenta assim entra no xampp o no wamp em htdocs em compile e procure por

 

fb92b9eef61bba4b472e7c245a0caa8a1a6fa10c.file.index.tpl

 

 

e tera uma parti assim

 

<?php include_once ('C:\voce coloca progama que vc usa xampp\pasta que esta arquivos htdocs\ondi ta a imagen templates\widnet\topplayer.php');?>
se conseguio da um rap ai n ta bem organizado :D
Link para o comentário
Compartilhar em outros sites

  • 1 year later...
×
×
  • Criar Novo...