[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/templates/fallback/content/ -> advanced_search.tpl.php (source)

   1      <?php echo tep_draw_form('advanced_search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get', 'onSubmit="return check_form(this);"') . tep_hide_session_id(); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
   2        <tr>
   3          <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
   4            <tr>
   5              <td class="pageHeading"><?php echo HEADING_TITLE_1; ?></td>
   6              <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_browse.gif', HEADING_TITLE_1, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
   7            </tr>
   8          </table></td>
   9        </tr>
  10        <tr>
  11          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  12        </tr>
  13  <?php
  14    if ($messageStack->size('search') > 0) {
  15  ?>
  16        <tr>
  17          <td><?php echo $messageStack->output('search'); ?></td>
  18        </tr>
  19        <tr>
  20          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  21        </tr>
  22  <?php
  23    }
  24  ?>
  25        <tr>
  26          <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
  27            <tr>
  28              <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td>
  29              <td width="100%" height="14" class="infoBoxHeading"><?php echo HEADING_SEARCH_CRITERIA; ?></td>
  30              <td height="14" class="infoBoxHeading" nowrap><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td>
  31            </tr>
  32          </table>
  33          <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
  34            <tr>
  35              <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
  36                <tr>
  37                  <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
  38                </tr>
  39                <tr>
  40                  <td class="boxText"><?php echo tep_draw_input_field('keywords', '', 'style="width: 100%"'); ?></td>
  41                </tr>
  42                <tr>
  43                  <td align="right" class="boxText"><?php echo tep_draw_checkbox_field('search_in_description', '1') . ' ' . TEXT_SEARCH_IN_DESCRIPTION; ?></td>
  44                </tr>
  45                <tr>
  46                  <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
  47                </tr>
  48              </table></td>
  49            </tr>
  50          </table></td>
  51        </tr>
  52        <tr>
  53          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  54        </tr>
  55        <tr>
  56          <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
  57            <tr>
  58              <td class="smallText"><?php echo '<a href="javascript:popupWindow(\'' . tep_href_link(FILENAME_POPUP_SEARCH_HELP) . '\')">' . TEXT_SEARCH_HELP_LINK . '</a>'; ?></td>
  59              <td class="smallText" align="right"><?php echo tep_image_submit('button_search.gif', IMAGE_BUTTON_SEARCH); ?></td>
  60            </tr>
  61          </table></td>
  62        </tr>
  63        <tr>
  64          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  65        </tr>
  66        <tr>
  67          <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
  68            <tr class="infoBoxContents">
  69              <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
  70                <tr>
  71                  <td class="fieldKey"><?php echo ENTRY_CATEGORIES; ?></td>
  72                  <td class="fieldValue"><?php echo tep_draw_pull_down_menu('categories_id', tep_get_categories(array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES)))); ?></td>
  73                </tr>
  74                <tr>
  75                  <td class="fieldKey">&nbsp;</td>
  76                  <td class="smallText"><?php echo tep_draw_checkbox_field('inc_subcat', '1', true) . ' ' . ENTRY_INCLUDE_SUBCATEGORIES; ?></td>
  77                </tr>
  78                <tr>
  79                  <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  80                </tr>
  81                <tr>
  82                  <td class="fieldKey"><?php echo ENTRY_MANUFACTURERS; ?></td>
  83                  <td class="fieldValue"><?php echo tep_draw_pull_down_menu('manufacturers_id', tep_get_manufacturers(array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS)))); ?></td>
  84                </tr>
  85                <tr>
  86                  <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  87                </tr>
  88                <tr>
  89                  <td class="fieldKey"><?php echo ENTRY_PRICE_FROM; ?></td>
  90                  <td class="fieldValue"><?php echo tep_draw_input_field('pfrom'); ?></td>
  91                </tr>
  92                <tr>
  93                  <td class="fieldKey"><?php echo ENTRY_PRICE_TO; ?></td>
  94                  <td class="fieldValue"><?php echo tep_draw_input_field('pto'); ?></td>
  95                </tr>
  96                <tr>
  97                  <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  98                </tr>
  99                <tr>
 100                  <td class="fieldKey"><?php echo ENTRY_DATE_FROM; ?></td>
 101                  <td class="fieldValue"><?php echo tep_draw_input_field('dfrom', DOB_FORMAT_STRING, 'onFocus="RemoveFormatString(this, \'' . DOB_FORMAT_STRING . '\')"'); ?></td>
 102                </tr>
 103                <tr>
 104                  <td class="fieldKey"><?php echo ENTRY_DATE_TO; ?></td>
 105                  <td class="fieldValue"><?php echo tep_draw_input_field('dto', DOB_FORMAT_STRING, 'onFocus="RemoveFormatString(this, \'' . DOB_FORMAT_STRING . '\')"'); ?></td>
 106                </tr>
 107              </table></td>
 108            </tr>
 109          </table></td>
 110        </tr>
 111      </table></form>


Generated: Fri Jan 1 13:43:16 2010 Cross-referenced by PHPXref 0.7