Autor Tópico: Separar o assunto e o número de Resposta  (Lida 6267 vezes)

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

Online candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5073
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Separar o assunto e o número de Resposta
« em: 20 de Novembro de 2010, 07:10 »
Messageindex.Template.php

Código: [Seleccione]
      echo '
     <div class="tborder marginbottom" id="childboards">
        <table cellspacing="1" class="bordercolor boardsframe">
           <tr>
              <td colspan="4" class="catbg headerpadding">',   $txt['parent_boards'], '</td>
           </tr>';

Código: [Seleccione]
      echo '
       <div class="tborder marginbottom" id="childboards">
          <table cellspacing="1" class="bordercolor boardsframe">
             <tr>
                <td colspan="5" class="catbg headerpadding">',   $txt['parent_boards'], '</td>
             </tr>';



Messageindex.Template.php

Código: [Seleccione]
         // Show some basic information about the number of posts,   etc.
           echo '
           </td>
           <td', !empty($board['children']) ? ' rowspan="2"' : '', '   class="windowbg stats smalltext">
              ', comma_format($board['posts']), ' ', $board['is_redirect']   ? $txt['redirects'] : $txt['posts'], ' <br />
              ', $board['is_redirect'] ? '' :   comma_format($board['topics']) . ' ' . $txt['board_topics'], '
           </td>
           <td', !empty($board['children']) ? ' rowspan="2"' : '', '   class="windowbg2 smalltext lastpost">';
 
           /* The board's and children's 'last_post's have:
           time, timestamp (a number that represents the time.), id (of   the post), topic (topic id.),
           link, href, subject, start (where they should go for the first   unread post.),
           and member. (which has id, name, link, href, username in it.)   */
           if (!empty($board['last_post']['id']))
              echo '
              <strong>', $txt['last_post'], '</strong>  ',   $txt['by'], ' ', $board['last_post']['member']['link'] , '<br />
              ', $txt['in'], ' ', $board['last_post']['link'], '<br   />
              ', $txt['on'], ' ', $board['last_post']['time'];
           echo '
              </td>
           </tr>';
 

Código: [Seleccione]
         // Show some basic information about the number of posts,   etc.
           echo '
           </td>
           <td', !empty($board['children']) ? ' rowspan="2"' : '', '   class="windowbg stats smalltext">
              ', $board['is_redirect'] ? '' :   comma_format($board['topics']) . ' ' . $txt['board_topics'], '
           </td>
           <td', !empty($board['children']) ? ' rowspan="2"' : '', '   class="windowbg stats smalltext">
              ', comma_format($board['posts']), ' ', $board['is_redirect']   ? $txt['redirects'] : $txt['posts'], ' <br />
           </td>
           <td', !empty($board['children']) ? ' rowspan="2"' : '', '   class="windowbg smalltext lastpost">';
  echo'
            <strong>', $txt['last_post'], '</strong>  ',   $txt['by'], ' ', $board['last_post']['member']['link'] , '<br />';
  echo'
 
              ', $txt['in'], ' ', $board['last_post']['link'], '<br   />
              ', $txt['on'], ' ', $board['last_post']['time'], ' ';
  echo'
              </td>';
  echo'
   </tr>
  ';