Webboard

Pełna wersja: Top posters - umieszczenie w panelu bocznym
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: -
adres forum: fcsh.net.[;
na czym polega problem (screen, opis, komunikaty, nazwa i wersja wtyczki):
http://scr.hu/349/qlnb7
Proszę o pomoc jak na screenie :)
Podaj zawartość szablonu index (strona główna).
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}


<center><font size="6">LIGA 4V4 RUSZYŁA! </font></center>




<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
    <tr>
        <td valign="top" style="padding-right: 20px" >
            

        
{$inferno_shoutbox}<table width="100%"  border="0">
  <tr>
    <td width="75%" valign="top">{$forums}</td>
    <td width="25%" valign="top">{$top_posters}</td>
  </tr>
</table>
            


{$boardstats}
        </td>
        <td valign="top" width="170">
    <table border="0" cellspacing="0" cellpadding="4" class="tborder">
                <tr>
                    
            
                <tr>

                                                        <td class="thead"><strong>FCSH.TV</strong></td>


                </tr>

                <tr>





                </tr>




            </table>

<img src="images/belka.png" alt="Tu podaj tekst alternatywny" />
<center><iframe width="235" height="205" src="//www.youtube.com/embed/I1QQ1iRGGT4" frameborder="0" allowfullscreen></iframe></center>


<center><iframe width="235" height="205" src="//www.youtube.com/embed/CRewoJF9_a4?rel=0" frameborder="0" allowfullscreen></iframe></center>
<br />

<table border="0" cellspacing="0" cellpadding="4" class="tborder">



                <tr>
                

{$teamonline}
{$latestthreads}


<table border="0" cellspacing="0" cellpadding="4" class="tborder">
                <tr>
                    <td class="thead"><strong>Podgląd TS3</strong></td>
                </tr>
                <tr>


                </tr>

</table>
<iframe src="http://cache.www.gametracker.com/components/html0/?host=178.217.188.172:9987&bgColor=FFFFFF&fontColor=333333&titleBgColor=FFFFFF&titleColor=000000&borderColor=BBBBBB&linkColor=091858&borderLinkColor=5C5C5C&showMap=0&currentPlayersHeight=160&showCurrPlayers=1&showTopPlayers=0&showBlogs=0&width=240" frameborder="0" scrolling="no" width="240" height="348"></iframe>
<br />



                </tr>
</table><br />
        </td>
    </tr>
</table>
        </td>
        




</body>
</html>
Spróbuj podmienić na zupełnie inny kod:
Kod PHP:
<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}
<
center><font size="6">LIGA 4V4 RUSZYŁA! </font></center>
{
$inferno_shoutbox}
<
br class="clear" />
<
div class="sidebar" style="float: right;width: 19%;">
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="thead"><strong>
FCSH.TV
</strong></td>
</
tr>
<
tr>
<
td class="trow1">
<
img src="images/belka.png" alt="Tu podaj tekst alternatywny" />
<
center><iframe width="235" height="205" src="//www.youtube.com/embed/I1QQ1iRGGT4" frameborder="0" allowfullscreen></iframe></center>
<
center><iframe width="235" height="205" src="//www.youtube.com/embed/CRewoJF9_a4?rel=0" frameborder="0" allowfullscreen></iframe></center>
<
br />
</
td>
</
tr>
</
table>
{
$teamonline}
{
$top_posters}
{
$latestthreads}
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="thead"><strong>
Podgląd TS3
</strong></td>
</
tr>
<
tr>
<
td class="trow1">
<
iframe src="http://cache.www.gametracker.com/components/html0/?host=178.217.188.172:9987&bgColor=FFFFFF&fontColor=333333&titleBgColor=FFFFFF&titleColor=000000&borderColor=BBBBBB&linkColor=091858&borderLinkColor=5C5C5C&showMap=0&currentPlayersHeight=160&showCurrPlayers=1&showTopPlayers=0&showBlogs=0&width=240" frameborder="0" scrolling="no" width="240" height="348"></iframe>
<
br />
</
td>
</
tr>
</
table>
</
div>
<
div class="forums" style="float: left;width: 80%;">
{
$forums}
</
div>
<
br class="clear" />
{
$boardstats}
<
br style="clear: both" />
{
$footer}
</
body>
</
html
Zgodnie z tym: https://webboard.pl/wiki.php?zwijany-pan...posob.html