Add the Search Form To Other Pages | Last Update: 17th August, 2005 Article ID: 55 |
<form name="quick_find" method="get" action="http://www.example.com/advanced_search_result.php">
<input type="text" name="keywords" size="10" maxlength="30" value="" style="width: 115px">
<input type="submit" value="go">
<a href="http://www.example.com/advanced_search.php">Advanced Search</a></form>
<input type="hidden" name="search_in_description" value="1">
<form name="quick_find" method="get" action="http://www.example.com/advanced_search_result.php">
<input type="text" name="keywords" size="10" maxlength="30" value="" style="width: 115px">
<input type="hidden" name="search_in_description" value="1">
<input type="submit" value="go">
<a href="http://www.example.com/advanced_search.php">Advanced Search</a>
</form>
<?php echo tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get') . osc_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_hide_session_id() . osc_draw_hidden_field('search_in_description' , '1') . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a></form>';?>
Trademark Policy | Copyright Policy | Sitemap Copyright © 2000-2005 osCommerce. All rights reserved. |