Webboard

Pełna wersja: Problem z szablonem (Panel Boczny)
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 1.8.4
adres forum: www.csgram.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):


Czemu Panel boczny mam nad działami a nie obok? (Wcześniej było ok, usunąłem jedną rzecz co była na boku, potem chciałem wstawić statystyki i lipa)
SZABLON: INDEX

Kod:
{$header}
{$serversboard}

<a class="buttons" style="float: right;"><i class="fa fa-angle-right"></i></a>
<a class="clickedbuttons" style="float: right;"><i class="fa fa-angle-left"></i></a>
<div class="forums" style="float: left;width: 80%;">
</div>
<div class="sidebar" style="float: right;width: 19%;">
 <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder border_table" style="clear: both;">
<tr>

{$topStats['LastThreads']}
{$topStats['LastActiveThreads']}
{$topStats['MostViews']}
{$topStats['Posters']}
{$topStats['Reputation']}
{$topStats['Referrals']}
{$topStats['TimeOnline']}
{$topStats['NewestUsers']}
{$topStats['Moderators']}

</td>
</tr>
</table>
</div>
{$forums}{$teamonline}


<br class="clear" />
{$boardstats}


[Obrazek: 669d57b97786b.png]
Kod:
{$header}
{$serversboard}

<a class="buttons" style="float: right;"><i class="fa fa-angle-right"></i></a>
<a class="clickedbuttons" style="float: right;"><i class="fa fa-angle-left"></i></a>
</div>
<div class="sidebar" style="float: right; width: 23%">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder border_table" style="clear: both;">
<tr>

{$topStats['LastThreads']}
{$topStats['LastActiveThreads']}
{$topStats['MostViews']}
{$topStats['Posters']}
{$topStats['Reputation']}
{$topStats['Referrals']}
{$topStats['TimeOnline']}
{$topStats['NewestUsers']}
{$topStats['Moderators']}
{$teamonline}

</td>
</tr>
</table>
</div>
<div class="forums" style="float: left;width: 80%;">{$forums}</div>


<br class="clear" />
{$boardstats}
to jest cały szablon index?

wstaw zamiast tego to:
Kod:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$serversboard}

<a class="buttons" style="float: right;"><i class="fa fa-angle-right"></i></a>
<a class="clickedbuttons" style="float: right;"><i class="fa fa-angle-left"></i></a>
<div class="forums" style="float: left;width: 80%;">{$forums}
</div>
<div class="sidebar" style="float: right;width: 19%;">
{$topStats['LastThreads']}
{$topStats['LastActiveThreads']}
{$topStats['MostViews']}
{$topStats['Posters']}
{$topStats['Reputation']}
{$topStats['Referrals']}
{$topStats['TimeOnline']}
{$topStats['NewestUsers']}
{$topStats['Moderators']}
</div>
{$teamonline}


<br class="clear" />
{$boardstats}
</body>
</html>
Dzięki wielkie :)
Można zamknąć


Nie, po prostu wkleiłem ten kawałek kodu gdzie byłem pewien że jest błąd, ale nie znam się na tym dopiero zaczynam zabawę więc nie wiedziałem jak do divu to dać
Myślałęm żę w tym <tr> </tr> trzeba to wstawić że to od tego :P