Webboard

Pełna wersja: Dodatkowy panel boczny
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB:najnowsza
adres forum:kreplecraft.xaa.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Jak dodawać kolejne panele boczne ?

[Obrazek: 00797264410285234720_thumb.jpg]

A to skrypt panelu aktualnego

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>
<style type="text/css">
.buttons {
    background: url('images/celestial/arrowright.png') no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}

.clickedbuttons {
    background: url('images/celestial/arrowleft.png') no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}
</style>
</head>
<body>
{$header}
<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right; width: 19%; margin-right: 10px;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead2"><strong>
kreplecraft.xaa.pl
</strong></td>
</tr>
<tr>
<td class="trow3">
KrepleCraft.xaa.pl
</td>
</tr>
</table>
</div>
<div class="forums" style="float: left;width: 80%;">
{$forums}
</div>
<br class="clear" />
{$boardstats}
{$footer}
</body>
</html>
Podejrzewam że chodzi Ci o kolejna tabele w panelu bocznym :)

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>
<style type="text/css">
.buttons {
    background: url('images/celestial/arrowright.png') no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}

.clickedbuttons {
    background: url('images/celestial/arrowleft.png') no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}
</style>
</head>
<body>
{$header}
<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right; width: 19%; margin-right: 10px;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead2"><strong>
kreplecraft.xaa.pl
</strong></td>
</tr>
<tr>
<td class="trow3">
KrepleCraft.xaa.pl
</td>
</tr>
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead2"><strong>
kreplecraft.xaa.pl
</strong></td>
</tr>
<tr>
<td class="trow3">
KrepleCraft.xaa.pl
</td>
</tr>
</table>
</div>
<div class="forums" style="float: left;width: 80%;">
{$forums}
</div>
<br class="clear" />
{$boardstats}
{$footer}
</body>
</html>
Kod PHP:
<table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="thead2"><strong>
kreplecraft.xaa.pl
</strong></td>
</
tr>
<
tr>
<
td class="trow3">
KrepleCraft.xaa.pl
</td>
</
tr>
</
table
po </table> itd.
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>
<
style type="text/css">
.
buttons {
    
backgroundurl('images/celestial/arrowright.png'no-repeat;
    
width16px;
    
height16px;
    
displayblock;
    
cursorpointer;
}

.
clickedbuttons {
    
backgroundurl('images/celestial/arrowleft.png'no-repeat;
    
width16px;
    
height16px;
    
displayblock;
    
cursorpointer;
}
</
style>
</
head>
<
body>
{
$header}
<
class="buttons" style="float: right;"></a>
<
class="clickedbuttons" style="float: right;"></a>
<
br class="clear" />
<
div class="sidebar" style="float: right; width: 19%; margin-right: 10px;">
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="thead2"><strong>
kreplecraft.xaa.pl
</strong></td>
</
tr>
<
tr>
<
td class="trow3">
KrepleCraft.xaa.pl
</td>
</
tr>
</
table>
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="thead2"><strong>
cos
</strong></td>
</
tr>
<
tr>
<
td class="trow3">
cos
</td>
</
tr>
</
table>
</
div>
<
div class="forums" style="float: left;width: 80%;">
{
$forums}
</
div>
<
br class="clear" />
{
$boardstats}
{
$footer}
</
body>
</
html
Łap:

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>
        <
style type="text/css">
            .
buttons {
                
backgroundurl('images/celestial/arrowright.png'no-repeat;
                
width16px;
                
height16px;
                
displayblock;
                
cursorpointer;
            }
            .
clickedbuttons {
                
backgroundurl('images/celestial/arrowleft.png'no-repeat;
                
width16px;
                
height16px;
                
displayblock;
                
cursorpointer;
            }
        </
style>
    </
head>
    
    <
body>{$header}
<
class="buttons" style="float: right;"></a>

<
class="clickedbuttons" style="float: right;"></a>

        <
br class="clear" />
        <
div class="sidebar" style="float: right; width: 19%; margin-right: 10px;">
            <
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
                <
tr>
                    <
td class="thead2"><strong>kreplecraft.xaa.pl</strong>
                    </
td>
                </
tr>
                <
tr>
                    <
td class="trow3">KrepleCraft.xaa.pl</td>
                </
tr>
            </
table><br />
            <
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
                <
tr>
                    <
td class="thead2"><strong>Panel #2</strong>
                    
</td>
                </
tr>
                <
tr>
                    <
td class="trow3">Treść #2</td>
                
</tr>
            </
table><br />
            <
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
                <
tr>
                    <
td class="thead2"><strong>Panel #3</strong>
                    
</td>
                </
tr>
                <
tr>
                    <
td class="trow3">Treść #3</td>
                
</tr>
            </
table><br />
        </
div>
        <
div class="forums" style="float: left;width: 80%;">{$forums}</div>
        <
br class="clear" />{$boardstats} {$footer}</body>

</
html

Dodałem ci Panel #2 i Panel #3. Jak chcesz dodać nowy to kod:

Kod PHP:
<table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
                <
tr>
                    <
td class="thead2"><strong>Panel #X</strong>
                    
</td>
                </
tr>
                <
tr>
                    <
td class="trow3">Treść #X</td>
                
</tr>
            </
table><br /> 

Dodajesz po </table>.