Dołącz do zespołu ekspertów! Backend lub Frontend Developer?

Sprawdź najnowsze oferty pracy naszego partnera - 8lines.io!

Jak przerobić tabelke serwerów

Założony przez  iRockST.

wersja skryptu MyBB:1.6.11
adres forum:mclifes.tk
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Witam. Screen poniźej wszystko ukazuje. Posiadam styl deflection, chcem zrobić tabelke serwerów, jednak chcosłbym aby była równa wielkością z działami, albo działy były rozsunięte na całe forum.

Tabelka serwerów

[spoiler]
<table class="serwery" width="100%" cellspacing="1" cellpadding="4"> <tbody><tr> <td class="thead" colspan="6" style="text-align:center;"> <div class="theadleft"></div> <div class="theadright"></div> <center><div class="theadmain"><div><strong>Serwery</strong><br></div></div></center> </td> </tr> <tr> <td width="300" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Status Serwera</strong></span></td> <td width="135" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Rodzaj serwera</strong></span></td> <td width="140" class="tcat" style="text-align:center;"><span class="smalltext"><strong>IP</strong></span></td> <td width="45" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Wersja</strong></span></td> </tr> <tr> <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multipl...2619-FFFFFF.png"></span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">Role-Play</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25566</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td> </tr> <tr> <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multipl...2619-FFFFFF.png"></span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">Survival</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25567</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td> </tr> <tr> <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multipl...2619-FFFFFF.png"></span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">Free Build</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25568</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td> </tr> <tr> <td class="trow2" style="text-align:center;"><span class="smalltext">Serwery - Minecraft # TeamSpeak 3</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">TeamSpeak 3</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">TS 3</span></td> </tr> </tbody></table>
[/spoiler]

Plik strona główna> index
<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}
{$ps_header_index}



<table class="serwery" width="100%" cellspacing="1" cellpadding="4">  <tbody><tr>  <td class="thead" colspan="6" style="text-align:center;">  <div class="theadleft"></div>  <div class="theadright"></div>  <center><div class="theadmain"><div><strong>Serwery</strong><br></div></div></center>  </td>  </tr>  <tr>  <td width="300" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Status Serwera</strong></span></td>         <td width="135" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Rodzaj serwera</strong></span></td>  <td width="140" class="tcat" style="text-align:center;"><span class="smalltext"><strong>IP</strong></span></td>  <td width="45" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Wersja</strong></span></td>        </tr>  <tr>    <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multipl...2619-FFFFFF.png"></span></td>         <td class="trow1" style="text-align:center;"><span class="smalltext">Role-Play</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25566</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>           </tr>                      <tr>    <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multipl...2619-FFFFFF.png"></span></td>         <td class="trow1" style="text-align:center;"><span class="smalltext">Survival</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25567</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>          </tr>  <tr>      <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multipl...2619-FFFFFF.png"></span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">Free Build</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25568</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>          </tr>      <tr>  <td class="trow2" style="text-align:center;"><span class="smalltext">Serwery - Minecraft # TeamSpeak 3</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">TeamSpeak 3</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">TS 3</span></td>          </tr>      </tbody></table>


{$toprep}

    </td>
    </tr>

</table>



</div>
<div class="forums" style="float: left;width: 81%;">
<div id="index_forums">
<table width="100%"  border="0">
  <tr>
    <td width="75%" valign="top">{$forums}</td>
  </tr>
</table>
<br>
</div>
</div>
<br class="clearboth">
{$boardstats}
{$shoutbox}


{$footer}
</body>
</html>
]

Daje pomógł!


Załączone pliki Miniatury
   
Jeśli chcesz działy na całą szerokość:
<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}
{$ps_header_index}



<table class="serwery" width="100%" cellspacing="1" cellpadding="4">  <tbody><tr>  <td class="thead" colspan="6" style="text-align:center;">  <div class="theadleft"></div>  <div class="theadright"></div>  <center><div class="theadmain"><div><strong>Serwery</strong><br></div></div></center>  </td>  </tr>  <tr>  <td width="300" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Status Serwera</strong></span></td>         <td width="135" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Rodzaj serwera</strong></span></td>  <td width="140" class="tcat" style="text-align:center;"><span class="smalltext"><strong>IP</strong></span></td>  <td width="45" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Wersja</strong></span></td>        </tr>  <tr>    <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multipl...2619-FFFFFF.png"></span></td>         <td class="trow1" style="text-align:center;"><span class="smalltext">Role-Play</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25566</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>           </tr>                      <tr>    <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multipl...2619-FFFFFF.png"></span></td>         <td class="trow1" style="text-align:center;"><span class="smalltext">Survival</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25567</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>          </tr>  <tr>      <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multipl...2619-FFFFFF.png"></span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">Free Build</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25568</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>          </tr>      <tr>  <td class="trow2" style="text-align:center;"><span class="smalltext">Serwery - Minecraft # TeamSpeak 3</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">TeamSpeak 3</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">TS 3</span></td>          </tr>      </tbody></table>


{$toprep}

    </td>
    </tr>

</table>



</div>
{$forums}

<br>
</div>
</div>
<br class="clearboth">
{$boardstats}
{$shoutbox}


{$footer}
</body>
</html>
Jeśli chcesz tabelkę dostosowaną do działów:
<table class="serwery" width="81%" cellspacing="1" cellpadding="4">  <tbody><tr>  <td class="thead" colspan="6" style="text-align:center;">  <div class="theadleft"></div>  <div class="theadright"></div>  <center><div class="theadmain"><div><strong>Serwery</strong><br></div></div></center>  </td>  </tr>  <tr>  <td width="25%" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Status Serwera</strong></span></td>         <td width="15%" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Rodzaj serwera</strong></span></td>  <td width="25%" class="tcat" style="text-align:center;"><span class="smalltext"><strong>IP</strong></span></td>  <td width="15%" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Wersja</strong></span></td>        </tr>  <tr>    <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multipl...2619-FFFFFF.png"></span></td>         <td class="trow1" style="text-align:center;"><span class="smalltext">Role-Play</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25566</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>           </tr>                      <tr>    <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multipl...2619-FFFFFF.png"></span></td>         <td class="trow1" style="text-align:center;"><span class="smalltext">Survival</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25567</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>          </tr>  <tr>      <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multipl...2619-FFFFFF.png"></span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">Free Build</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25568</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>          </tr>      <tr>  <td class="trow2" style="text-align:center;"><span class="smalltext">Serwery - Minecraft # TeamSpeak 3</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">TeamSpeak 3</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">TS 3</span></td>          </tr>      </tbody></table>
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