Autor Tópico: Códigos de Bloco Esquerda SMF  (Lida 4230 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5072
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Códigos de Bloco Esquerda SMF
« em: 15 de Agosto de 2013, 14:42 »




Index.template.php abrir este ficheiro


Código: [Seleccione]
// The main content should go here.
   echo '
   <div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">';
}


function template_main_below()
{
   global $context, $settings, $options, $scripturl, $txt;


   echo '
   <>';




Trocar por este codigo





Código: [Seleccione]

// The main content should go here.
echo '
<div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">
<table border="0" cellspacing="0" cellpadding="0"  width="100%">
<tr>
<td width="180" valign="top">


<table border="0" width="100%" class="tborder" cellspacing="' , ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex; margin-top:38px;">
<tr>
<td class="titlebg"> Estat&igrave;sticas</td>
</tr>
<tr class="windowbg">
<td valign="middle" align="center" height="60">
<div align="left" class="smalltext">
<img style="margin-right:5px;" src="' . $settings['images_url'] . '/on5.gif" width="12" height="12" alt="' . $txt[333] . '"/><b>Top. Mensagem:</b>  ', $context['common_stats']['total_posts'], ' <br />
  <img style="margin-right:5px;" src="' . $settings['images_url'] . '/on5.gif" width="12" height="12" alt="' . $txt[333] . '"/><b>Top. T&oacute;pico:</b>  ', $context['common_stats']['total_topics'], '<br />
  <img style="margin-right:5px;" src="' . $settings['images_url'] . '/on5.gif" width="12" height="12" alt="' . $txt[333] . '"/><b>Top. Membro:</b>  ', $context['common_stats']['total_members'], '<br />
  <img style="margin-right:5px;" src="' . $settings['images_url'] . '/on5.gif" width="12" height="12" alt="' . $txt[333] . '"/><b>', $txt[656], ': </b> ', $context['common_stats']['latest_member']['link'], '
<>
</td>
</tr>
</table>


<table border="0" width="100%" class="tborder" cellspacing="' , ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">
<tr>
<td class="titlebg">Sites amig&aacute;veis</td>
</tr>
<tr>
<td valign="middle" align="left" height="60" class="windowbg2">
+ <a href="http://smfpt.info" target="_blank"><font size="1"><b>SmfPt.info</b></a></font>
<br />+ <a href="http://www.apllic.com/" target="_blank"><font size="1"><b>Apllic.Com</b></a></font>
<br />+ <a href="http://www.apllic.net/" target="_blank"><font size="1"><b>Apllic.net</b></a></font>
<br />+ <a href="http://www.aplichost.com/" target="_blank"><font size="1"><b>AplichOST</b></a></font>
<br />+ <a href="http://www.hostaplic.com/" target="_blank"><font size="1"><b>DHostaplic</b></a></font>
<br />+ <a href="http://www.webmastermz.com/" target="_blank"><font size="1"><b>Webmastermz</b></a></font>


</td>

</tr>
</table>


<table border="0" width="100%" class="tborder" cellspacing="' , ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">
<tr>
<td class="titlebg">Filme da semana</td>
</tr>
<tr>
<td valign="middle" align="left" height="60" class="windowbg2">
<center> Elysium [Estreia 15 de Agosto de 2013..] </center> </td>

</tr>
</table>


<table border="0" width="100%" class="tborder" cellspacing="' , ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">
<tr>
<td class="titlebg">An&uacute;ncios</td>
</tr>
<tr>
<td valign="middle" align="left" height="60" class="windowbg2">
Membros podem colocar o codigo do an&uacute;ncio aqui!
</td>

</tr>
</table>

</td>
<td valign="top" style="padding-left: 10px;">';
}


function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;


echo '







</td>
<>';