Autor Tópico: pesquisar o topico ( Search Topic )  (Lida 3085 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
pesquisar o topico ( Search Topic )
« em: 04 de Março de 2009, 06:36 »

display.template.php
Pesquisar
Código: [Seleccione]
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>

Substituir Por

Código: [Seleccione]
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
<td>
<form action="', $scripturl, '?action=search2;topic=', $context['current_topic'], '" method="post" style="margin: 0;">
<input type="text" name="search" value="" style="width: 190px;" />&nbsp;
<input type="submit" name="submit" value="Search Topic" style="width: 18ex;" />
</form>
</td>
« Última modificação: 04 de Março de 2009, 06:54 por candidosa2 »

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5072
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Re: pesquisar o topico ( Search Topic )
« Responder #1 em: 04 de Março de 2009, 06:42 »
Trocar por script de google

Código: [Seleccione]
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
<td>
<FORM method=GET action="http://www.google.com/search">
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.com/">
<IMG SRC="http://www.smfpt.net/Themes/default/images/filter1.gif" border="0" ALT="Google" align="absmiddle"></A>
<INPUT TYPE=text name=q size=30 maxlength=200 value=""><INPUT TYPE=hidden name=hl value="en"><INPUT type=submit name=btnG VALUE="Google Search"></td></tr></TABLE></FORM>

</td>