Jump to content
Sign in to follow this  
Marysia120

Poprawienie szablonu MyBB. Statystyki TOP 5, usunięcie odstępu

Recommended Posts

Cześć usunąłby mi ktoś http://screenshot.sh/odV2zzUQOzY4H   http://screenshot.sh/odz9iovVYOuED  a także http://screenshot.sh/ofrvY0WOAXQe5  tutaj kod 

 

Cytuj

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
{$statusupdate_script}

<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
    

    
    <script type="text/javascript">
   var current_users = {$stats['numusers']};
 $( document ).ready(function() {
     $( ".staty" ).append( document.createTextNode( "1000" - current_users ) );
 });
 </script>
    
</head>
<body>
{$header}
{$fic_news}
    
<script>
    var sticked = $('#getsticky').val().split(",");
    $.each(sticked,function(i){
        $('td#'+sticked).addClass('fic_sticky');
    });
</script>
    <div class="ogloszenie_green">Ogłoszenie.</a></div>
    <br />

<br />
    
<div class="thead"><center><i class="fa fa-usd"></i> Sponsorzy</center></div>
</tr>
</tbody>
<TABLE border="0"><marquee>
<center><a href="http://promujserwer.pl/"><img src="http://i.imgur.com/UJgQIeE.png"></a> </center><br>
</tr>
    </td>
</table></marquee>

<br>

<div class="forums" style="float: left;width: 75%;">
{$dvz_shoutbox}
<div class="sections">
   <div class="section-forums">
      {$dvz_stream}
   </div>
   <div class="section-side">
      {$forums}
   </div>
</div>
</div>
<div class="sidebar" style="float: right;width: 24%;">
{$teamonline}
 
<td class="thead" colspan="1">
<div class="thead"><i class="fa fa-thumbs-up"></i> <strong>Do 1000 użytkowników zostało:</strong></div>
</td>
    <center><font color="white" size="5"><b><div class="staty"></div></center></b></font>
<br />

<td class="thead">
    <font color="white">
        <table border="0" cellspacing="0" cellpadding="8" class="tborder">
<tbody><tr>
<td class="thead">
    <font color="white"><i class="fa fa-download"></i> Szybkie linki</font></div>
</td>
</tr>
</tbody>
<TABLE border="0">
    <TR><div id="link"><a href="index.php"><center><span style="color: white;">STRONA GŁÓWNA</span></center></a></div>
<TR><div id="link"><a href="forumdisplay.php?fid=4"><center><span style="color: white;">REKRUTACJA</span></center></a></div>
<TR><div id="link"><a href="forumdisplay.php?fid=34"><center><span style="color: white;">STREFA BANÓW</span></center></a></div>
<TR><div id="link"><a href="forumdisplay.php?fid=28"><center><span style="color: white;">KOKURSY/TURNIEJE</span></center></a></div>
<TR><div id="link"><a href="forumdisplay.php?fid=79"><center><span style="color: white;">TYPER SPORTOWY</span></center></a></div>
    <TD>
  </tr>
</td>
</table>
     
<td class="thead" colspan="1">
<div class="thead"><i class="fa fa-globe"></i> <strong>Partnerzy</strong></div>
</td>
<div class="_sbcollapsable">
                <marquee behavior="scroll" height="250" onmouseover="this.stop();" onmouseout="this.start();" scrollamount="5" scrolldelay="80" direction="up" style="height: 250px;">
<center>

<p><a href="http://www.boostmaster.pl/" title="Serwery gier"><img src="http://i.imgur.com/DuVGZPm.png" width="250" height="70" alt=""></a></p>
<p><a href="http://www.1shot1kill.pl/partner/#"><img src="http://www.1shot1kill.pl/r/baner_500x100.png"width="250" height="70" alt=""></p>
</center></marquee><center>
    </center></div>
<br>
<br>
{$topStats['LastThreads']}
{$topStats['LastActiveThreads']}
{$topStats['Posters']}
{$topStats['TimeOnline']}
{$topStats['NewestUsers']}
</font></div>
    </div>
        

<br class="clear" />
{$boardstats}
<!--
<dl class="forum_legend smalltext">
    <dt><span class="forum_status forum_on" title="{$lang->new_posts}"></span></dt>
    <dd>{$lang->new_posts}</dd>

    <dt><span class="forum_status forum_off" title="{$lang->no_new_posts}"></span></dt>
    <dd>{$lang->no_new_posts}</dd>

    <dt><span class="forum_status forum_offlock" title="{$lang->forum_locked}"></span></dt>
    <dd>{$lang->forum_locked}</dd>

    <dt><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span></dt>
    <dd>{$lang->forum_redirect}</dd>
</dl>
-->
{$footer}
</body>
</html>

 

Share this post


Link to post
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
{$statusupdate_script}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
  </script>
</head>
<body>
{$header}
{$fic_news}
<script>
    var sticked = $('#getsticky').val().split(",");
    $.each(sticked,function(i){
        $('td#'+sticked).addClass('fic_sticky');
    });
</script>
       <div class="ogloszenie_green">Ogłoszenie.</div>
    <br />
<br />
<br>
<div class="forums" style="float: left;width: 75%;">
{$dvz_shoutbox}
<div class="sections">
   <div class="section-forums">
      {$dvz_stream}
   </div>
   <div class="section-side">
      {$forums}
   </div>
</div>
</div>
<div class="sidebar" style="float: right;width: 24%;">
{$teamonline}
<br />
<td class="thead">
    <font color="white">
        <table border="0" cellspacing="0" cellpadding="8" class="tborder">
<tbody><tr>
<td class="thead">
    <font color="white"><i class="fa fa-download"></i> Szybkie linki</font>
</td>
</tr>
</tbody>
<table border="0">
<tr><td><div id="link"><a href="index.php"><center><span style="color: white;">STRONA GŁÓWNA</span></center></a></div></td></tr>
<tr><td><div id="link"><a href="forumdisplay.php?fid=4"><center><span style="color: white;">REKRUTACJA</span></center></a></div></td></tr>
<tr><td><div id="link"><a href="forumdisplay.php?fid=34"><center><span style="color: white;">STREFA BANÓW</span></center></a></div></td></tr>
<tr><td><div id="link"><a href="forumdisplay.php?fid=28"><center><span style="color: white;">KOKURSY/TURNIEJE</span></center></a></div></td></tr>
<tr><td><div id="link"><a href="forumdisplay.php?fid=79"><center><span style="color: white;">TYPER SPORTOWY</span></center></a></div></td></tr>
</table>
<br>
<br>
{$topStats['LastThreads']}
{$topStats['LastActiveThreads']}
{$topStats['Posters']}
{$topStats['TimeOnline']}
{$topStats['NewestUsers']}
    </div>
<br class="clear" />
{$boardstats}
<!--
<dl class="forum_legend smalltext">
    <dt><span class="forum_status forum_on" title="{$lang->new_posts}"></span></dt>
    <dd>{$lang->new_posts}</dd>
    <dt><span class="forum_status forum_off" title="{$lang->no_new_posts}"></span></dt>
    <dd>{$lang->no_new_posts}</dd>
    <dt><span class="forum_status forum_offlock" title="{$lang->forum_locked}"></span></dt>
    <dd>{$lang->forum_locked}</dd>
    <dt><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span></dt>
    <dd>{$lang->forum_redirect}</dd>
</dl>
-->
{$footer}
</body>
</html>

Masz straszny syf w tym kodzie, pozamykane tabele, kolumny, divy nie wiadomo skąd

Edited by dragonflex
  • Like 2

Share this post


Link to post

Usuń <br> przed tym blokiem i będzie git

 

  • Like 1

Share this post


Link to post

przy którym blokiem ziomus ?

 

Teraz, dragonflex napisał:

Usuń <br> przed tym blokiem i będzie git

 

 

przy którym ziomus

Share this post


Link to post
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
{$statusupdate_script}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
  </script>
</head>
<body>
{$header}
{$fic_news}
<script>
    var sticked = $('#getsticky').val().split(",");
    $.each(sticked,function(i){
        $('td#'+sticked).addClass('fic_sticky');
    });
</script>
       <div class="ogloszenie_green">Ogłoszenie.</div>
    <br />
<br />
<br>
<div class="forums" style="float: left;width: 75%;">
{$dvz_shoutbox}
<div class="sections">
   <div class="section-forums">
      {$dvz_stream}
   </div>
   <div class="section-side">
      {$forums}
   </div>
</div>
</div>
<div class="sidebar" style="float: right;width: 24%;">
{$teamonline}
<td class="thead">
    <font color="white">
        <table border="0" cellspacing="0" cellpadding="8" class="tborder">
<tbody><tr>
<td class="thead">
    <font color="white"><i class="fa fa-download"></i> Szybkie linki</font>
</td>
</tr>
</tbody>
<table border="0">
<tr><td><div id="link"><a href="index.php"><center><span style="color: white;">STRONA GŁÓWNA</span></center></a></div></td></tr>
<tr><td><div id="link"><a href="forumdisplay.php?fid=4"><center><span style="color: white;">REKRUTACJA</span></center></a></div></td></tr>
<tr><td><div id="link"><a href="forumdisplay.php?fid=34"><center><span style="color: white;">STREFA BANÓW</span></center></a></div></td></tr>
<tr><td><div id="link"><a href="forumdisplay.php?fid=28"><center><span style="color: white;">KOKURSY/TURNIEJE</span></center></a></div></td></tr>
<tr><td><div id="link"><a href="forumdisplay.php?fid=79"><center><span style="color: white;">TYPER SPORTOWY</span></center></a></div></td></tr>
</table>
<br>
<br>
{$topStats['LastThreads']}
{$topStats['LastActiveThreads']}
{$topStats['Posters']}
{$topStats['TimeOnline']}
{$topStats['NewestUsers']}
    </div>
<br class="clear" />
{$boardstats}
<!--
<dl class="forum_legend smalltext">
    <dt><span class="forum_status forum_on" title="{$lang->new_posts}"></span></dt>
    <dd>{$lang->new_posts}</dd>
    <dt><span class="forum_status forum_off" title="{$lang->no_new_posts}"></span></dt>
    <dd>{$lang->no_new_posts}</dd>
    <dt><span class="forum_status forum_offlock" title="{$lang->forum_locked}"></span></dt>
    <dd>{$lang->forum_locked}</dd>
    <dt><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span></dt>
    <dd>{$lang->forum_redirect}</dd>
</dl>
-->
{$footer}
</body>
</html>

 

Share this post


Link to post

Ogarnij "ziomuś", że jest "zbadaj element", to typie, popatrz, poszukaj, w mybb jest wyszukiwarka kodów w szablonach i ucz się

Share this post


Link to post
32 minuty temu, Mendelson. napisał:

Ogarnij "ziomuś", że jest "zbadaj element", to typie, popatrz, poszukaj, w mybb jest wyszukiwarka kodów w szablonach i ucz się

Ale ty nie miły jesteś.

  • Like 1

Share this post


Link to post
Ale ty nie miły jesteś. [emoji26]

Tak, ale uwarunkował to cwaniacki charakter autora tematu, wybacz mi :(

Wysłane z mojego LG-H500 przy użyciu Tapatalka

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Create a New Account. It’s free and easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×
×
  • Create New...