Autor Tópico: IPB Estatísticas  (Lida 4196 vezes)

0 Membros e 2 Visitantes estão a ver este tópico.

Offline Webmaster

  • Desenvolvimento
  • *
  • Mensagens: 2236
  • Rank: 113
  • Sexo: Masculino
  • JoomlaMZ !
    • Servidores
IPB Estatísticas
« em: 06 de Junho de 2016, 20:00 »

BoardIndex.template.php

Pesquisar

Código: [Seleccione]
// Here's where the "Info Center" starts...
echo '

Trocar por

Código: [Seleccione]
// Here's where the "Info Center" starts...
echo '
<br class="clear" />
<div id="iclinks" align="center">
    <ul class="iclinks">
    <li class="value">', $context['common_stats']['total_posts'], '</li><li>', $txt['posts_made'], ' ', $txt['in'], ' ', $txt['total'], '</li>
    <li class="value">', $context['common_stats']['total_members'], '</li><li>', $txt['members'], ' ', $txt['in'], ' ', $txt['total'], '</li>
    <li class="value">' . $context['common_stats']['latest_member']['link'] . '</li><li>', $txt['latest_member'] . '</li>
    <li class="value">', comma_format($modSettings['mostOnline']), '</li><li>', $txt['most_online_ever'], '</li>
        </ul>
    </div>



index.css


Adicionar por baixo

Código: [Seleccione]
#iclinks
{
margin: 10px 0;
width: 100%;
height: 35px;
}
.iclinks
{
    padding: 0;
margin: 0;
list-style: none;
text-align: center;
display: table-cell;
}
.iclinks li
{
    float: left;
margin-right: 25px;
padding: 0 5px;
height: 30px;
line-height: 30px;
}
.iclinks li.value
{
color: #FFF;
font-size: 14px;
background: #8C9EB2;
border-radius: 5px;
   
height: 25px;
line-height: 25px;
padding: 0 15px;
margin-left: 5px;
margin-right: 0;
}
.iclinks li a
{
color: #FFF;
}
.iclinks li a:hover
{
text-decoration: none;
}
Apllic! WebSuporte