integrare pagina ricerca google con oscommerce
Inviato: 16/02/2005, 17:22
sembrerà una richiesta strana, ma vi spiego, voglio permettere agli utenti del mio sito di fare ricerche con google, ho trovato tutto il box ecc. ecc. ma quando le persone inseriscono la cosa da cercare, automaticamente oscommerce lo manda ad una nuova pagina, come posso fare per far andare i risultati della ricerca nel box principale...??
questo il codice del box google creato
?>
<!-- currencies //-->
<tr>
<td>
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => 'RICERCA CON GOOGLE');
new infoBoxHeading($info_box_contents, false, false);
$info_box_contents = array();
$info_box_contents[] = array('text' =>'<form method="GET" action="http://www.google.com/search" target="_blank" class="stylesheet">'.
'<p align="center">'.
'<A HREF="http://www.google.com/">'.
'<IMG SRC="http://www.google.com/logos/Logo_40wht.gif" br width="128" height="53" border="0" ALT="Google" align="absmiddle" ></A></p>'.
'<p align="center"><INPUT TYPE=text name=q size=21 maxlength=255 value="">'.
'<INPUT TYPE=hidden name=hl value="en">'.
'</p>'.
'<p align="center"> '.
'<INPUT type=submit name=btnG VALUE="Cerca con Google">'.
'</p>'.
'</FORM>');
new infoBox($info_box_contents);
?>
</td>
</tr>
<!-- currencies_eof //-->
<?php
}
?>
Attendo aiuto... mi serve... forse hozone ci riuscirà.... aiutoooooo
questo il codice del box google creato
?>
<!-- currencies //-->
<tr>
<td>
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => 'RICERCA CON GOOGLE');
new infoBoxHeading($info_box_contents, false, false);
$info_box_contents = array();
$info_box_contents[] = array('text' =>'<form method="GET" action="http://www.google.com/search" target="_blank" class="stylesheet">'.
'<p align="center">'.
'<A HREF="http://www.google.com/">'.
'<IMG SRC="http://www.google.com/logos/Logo_40wht.gif" br width="128" height="53" border="0" ALT="Google" align="absmiddle" ></A></p>'.
'<p align="center"><INPUT TYPE=text name=q size=21 maxlength=255 value="">'.
'<INPUT TYPE=hidden name=hl value="en">'.
'</p>'.
'<p align="center"> '.
'<INPUT type=submit name=btnG VALUE="Cerca con Google">'.
'</p>'.
'</FORM>');
new infoBox($info_box_contents);
?>
</td>
</tr>
<!-- currencies_eof //-->
<?php
}
?>
Attendo aiuto... mi serve... forse hozone ci riuscirà.... aiutoooooo