Panel boczny - dodanie nowych kolumn

Błąd   Założony przez  adamo123.

wersja skryptu MyBB: 1.6.16
adres forum: cs-sanok.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Problem polega na tym, iż chcę dodać kolejny panel boczny, lecz kiedy go dodaje wszystko się rozwala :s Robiłem wszystko z tego poradnika: https://webboard.pl/wiki.php?zwijany-pan...posob.html

Mój kod index:

<html>
<head>

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

.clickedbuttons {
    background: url(images/arrowleft.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}
</style>

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

<table class="tborder" border="0" cellpadding="3" cellspacing="1">
<tbody><tr>
<td class="thead" colspan="6">
<strong><center>Serwery Cs-Sanok.pl</center></strong>
</td>
</tr>
<tr><td class="tcat" colspan="0"><span class="smalltext"><strong>Nazwa:</strong></span></td>
<td class="tcat" colspan="0"><span class="smalltext"><strong>IP:</strong></span></td>
<td class="tcat" colspan="0"><span class="smalltext"><strong>Sloty:</strong></span></td>
<td class="tcat" colspan="0"><span class="smalltext"><strong>Rodzaj:</strong></span></td>
<td class="tcat" colspan="0"><span class="smalltext"><strong>Status:</strong></span></td>
            </tr><tr>
                <td class="trow2"> <span class="smalltext">Cs-Sanok.pl[FFA][FastDL]</span></td>
                <td class="trow2"> <span class="smalltext">-</span></td>
                <td class="trow2"> <span class="smalltext">20</span></td>
                <td class="trow2"> <span class="smalltext">Steam/NonSteam</span></td>
                <td class="trow2"> <span class="smalltext">Offline</span></td>
            </tr>
        </tbody>
</table>

<br/>

<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 18%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
{$topStats['MostViews']}
</td>
</tr>
</table>
</div>

<div class="forums" style="float: left;width: 81%;">


{$forums}
</div>


{myshoutbox_abcd}
{$boardstats}

<dl class="forum_legend smalltext">
    <dt><img src="{$theme['imgdir']}/on.png" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/off.png" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->no_new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/offlock.png" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
    <dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$footer}
</body>
</html>
Snake_ napisał 29.12.2014, 22:13:
Poprawiam tytuł wątku. [Obrazek: modnotice_howto.png]
Spójrz, dodałem:
<br />
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="thead">
Test
</td>
</
tr>
<
td class="trow1">
Tekst
</td>
</
tr>
</
table
--

<html>
<head>
<style type="text/css">
.buttons {
    background: url(images/arrowright.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}
.clickedbuttons {
    background: url(images/arrowleft.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}
</style>
<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}
<table class="tborder" border="0" cellpadding="3" cellspacing="1">
<tbody><tr>
<td class="thead" colspan="6">
<strong><center>Serwery Cs-Sanok.pl</center></strong>
</td>
</tr>
<tr><td class="tcat" colspan="0"><span class="smalltext"><strong>Nazwa:</strong></span></td>
<td class="tcat" colspan="0"><span class="smalltext"><strong>IP:</strong></span></td>
<td class="tcat" colspan="0"><span class="smalltext"><strong>Sloty:</strong></span></td>
<td class="tcat" colspan="0"><span class="smalltext"><strong>Rodzaj:</strong></span></td>
<td class="tcat" colspan="0"><span class="smalltext"><strong>Status:</strong></span></td>
            </tr><tr>
                <td class="trow2"> <span class="smalltext">Cs-Sanok.pl[FFA][FastDL]</span></td>
                <td class="trow2"> <span class="smalltext">-</span></td>
                <td class="trow2"> <span class="smalltext">20</span></td>
                <td class="trow2"> <span class="smalltext">Steam/NonSteam</span></td>
                <td class="trow2"> <span class="smalltext">Offline</span></td>
            </tr>
        </tbody>
</table>
<br/>
<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 18%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
{$topStats['MostViews']}
</td>
</tr>
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
Test
</td>
</tr>
<td class="trow1">
Tekst
</td>
</tr>
</table>
</div>
<div class="forums" style="float: left;width: 81%;">
{$forums}
</div>
{myshoutbox_abcd}
{$boardstats}
<dl class="forum_legend smalltext">
    <dt><img src="{$theme['imgdir']}/on.png" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->new_posts}</dd>
    <dt><img src="{$theme['imgdir']}/off.png" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->no_new_posts}</dd>
    <dt><img src="{$theme['imgdir']}/offlock.png" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
    <dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$footer}
</body>
</html>
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.



Użytkownicy przeglądający ten wątek:

1 gości