Hy,
I want to change the position of the status bar, i want the status bar above de logo(header).
I'm editing the bitorrent.php file and i have the following code
PHP Code:
<body>
<div id='container'>
<div id='header'>
<div class='clear'><div id='mainlogo'><img src='{$TBDEV['pic_base_url']}logo.jpg' alt='' /></div>
</div>
</div>
<table class='mainouter' width='100%' border='1' cellspacing='0' cellpadding='10'>
<!-- STATUSBAR -->";
[B]$htmlout .= StatusBar();[/B]
$htmlout .= "<!-- MENU -->
<tr><td class='outer'>
<div id='submenu'>";
if ($CURUSER)
{
$htmlout .= "<div class='tb-top-left-link'>
<a href='index.php'>{$lang['gl_home']}</a>
<a href='browse.php'>{$lang['gl_browse']}</a>
<a href='search.php'>{$lang['gl_search']}</a>
<a href='upload.php'>{$lang['gl_upload']}</a>
<a href='chat.php'>{$lang['gl_chat']}</a>
<a href='forums.php'>{$lang['gl_forums']}</a>
<!--<a href='misc/dox.php'>DOX</a>-->
<a href='topten.php'>{$lang['gl_top_10']}</a>
<a href='rules.php'>{$lang['gl_rules']}</a>
<a href='faq.php'>{$lang['gl_faq']}</a>
<a href='links.php'>{$lang['gl_links']}</a>
<a href='staff.php'>{$lang['gl_staff']}</a>
</div>
<div class='tb-top-right-link'>";
if( $CURUSER['class'] >= UC_MODERATOR )
{
$htmlout .= "<a href='admin.php'>{$lang['gl_admin']}</a>";
}
$htmlout .= "<a href='my.php'>{$lang['gl_profile']}</a>
<a href='logout.php'>{$lang['gl_logout']}</a>
</div>";
}
else
{
$htmlout .= "<div class='tb-top-left-link'>
<a href='login.php'>{$lang['gl_login']}</a>
<a href='signup.php'>{$lang['gl_signup']}</a>
<a href='recover.php'>{$lang['gl_recover']}</a>
</div>";
}
$htmlout .= "</div>
</td>
</tr>
<tr><td align='center' class='outer' style='padding-top: 20px; padding-bottom: 20px'>";
if ($TBDEV['msg_alert'] && isset($unread) && !empty($unread))
{
$htmlout .= "<p><table border='0' cellspacing='0' cellpadding='10' bgcolor='red'>
<tr><td style='padding: 10px; background: red'>\n
<b><a href='messages.php'><font color='white'>".sprintf($lang['gl_msg_alert'], $unread) . ($unread > 1 ? "s" : "") . "!</font></a></b>
</td></tr></table></p>\n";
}
return $htmlout;
} // stdhead
when i put the
$htmlout .= StatusBar(); above the container it gives me an error. help ?