![Smile :)](./images/smilies/icon_smile.gif)
vorrei inserire nell' index.php un modulo cerca ma non ci riesco
![Sad :(](./images/smilies/icon_sad.gif)
![Confused :?](./images/smilies/icon_confused.gif)
Inserisco un immagine di esmpio:
![Immagine](http://img154.imageshack.us/img154/3338/ingimmagine001eg5.png)
mi potete aiutare
![Question :?:](./images/smilies/icon_question.gif)
Grazie,kikok
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Moderatore: mod Generali
Codice: Seleziona tutto
<?php
/*
$Id: search.php,v 1.22 2003/02/10 22:31:05 hpdl Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
?>
<!-- search //-->
<tr>
<td>
<?php
#$info_box_contents = array();
#$info_box_contents[] = array('text' => BOX_HEADING_SEARCH);
#new infoBoxHeading($info_box_contents, false, false, false, $column_location);
$search_content = '<table width="100%" cellpadding="0" cellspacing="2" class="infoBoxContents'. $column_location .'" >';
$search_content .= '<tr><td align="left">';
$search_content .= BOX_HEADING_SEARCH;
$search_content .= '</td><td>';
$search_content .= tep_draw_input_field('keywords', '', 'maxlength="30" size="15" class="alignMiddle textbox" style="width:100px"');
$search_content .= '</td>';
$search_content .= '<td align="right">';
$search_content .= tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH, 'class="alignMiddle submit_button"', true);
$search_content .= '</td></tr>';
$search_content .= '</table>';
$info_box_contents = array();
$info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'),
'align' => 'left',
'text' => $search_content);
new infoBox($info_box_contents, $column_location);
?>
</td>
</tr>
<!-- search_eof //-->
Codice: Seleziona tutto
<table bgcolor="#FFFFFF" width="100%" cellspacing="0" cellpadding="0" align="center" class="header_search">
<?php include(DIR_WS_BOXES_AZ . 'search_az01.php'); ?>
</table>
sivampire ha scritto:nn h capito...vuoi inserirlo all'interno della tabella dove ce ricerca veloce?