[ PHPXref.com ] [ Generated: Sun Jul 20 19:13:40 2008 ] [ osCommRes 1.2.0 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/includes/ -> search_in_header.php (source)

   1  <?php
   2  /*

   3    search_header.php

   4  

   5  

   6  

   7  */
   8  ?>
   9  <!-- search_header //-->
  10          <table>
  11            <tr>
  12              <td align="center">
  13  <?php
  14    $search_string = '';
  15      $search_string .=   tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get');
  16      $search_string .=   tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (100) . 'px"') . '&nbsp;' 
  17  
  18  . tep_hide_session_id() . tep_template_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH);
  19      $search_string .= '</form>';
  20  echo $search_string;
  21  ?>
  22  
  23  
  24  <?php
  25  /*

  26    if (!is_object($lng)) {

  27      include(DIR_WS_CLASSES . 'language.php');

  28      $lng = new language;

  29    }

  30  

  31    if (getenv('HTTPS') == 'on') $connection = 'SSL';

  32    else $connection = 'NONSSL';

  33  

  34    $languages_string = '';

  35    reset($lng->catalog_languages);

  36    while (list($key, $value) = each($lng->catalog_languages)) {

  37      $languages_string .= ' <a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $connection) . '">' . tep_image(DIR_WS_LANGUAGES .  $value['directory'] . '/images/' . $value['image'], $value['name']) . '</a> ';

  38    }

  39  

  40  echo $languages_string;

  41  */
  42  ?>
  43              </td>
  44            </tr>
  45          </table>
  46  <!-- languages_header_eof //-->


[ Powered by PHPXref - Served by Debian GNU/Linux ]