[ Index ]
 

Code source de e107 0.7.8

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/e107_plugins/content/search/ -> search_advanced.php (source)

   1  <?php
   2  /*
   3  + ----------------------------------------------------------------------------+
   4  |     e107 website system
   5  |
   6  |     ©Steve Dunstan 2001-2002
   7  |     http://e107.org
   8  |     jalist@e107.org
   9  |
  10  |     Released under the terms and conditions of the
  11  |     GNU General Public License (http://gnu.org).
  12  |
  13  |     $Source: /cvsroot/e107/e107_0.7/e107_plugins/content/search/search_advanced.php,v $
  14  |     $Revision: 1.2 $
  15  |     $Date: 2005/12/14 19:28:44 $
  16  |     $Author: sweetas $
  17  +----------------------------------------------------------------------------+
  18  */
  19  
  20  if (!defined('e107_INIT')) { exit; }
  21  
  22  $advanced['cat']['type'] = 'dropdown';
  23  $advanced['cat']['text'] = LAN_SEARCH_63.':';
  24  $advanced['cat']['list'][] = array('id' => 'all', 'title' => LAN_SEARCH_51);
  25  
  26  $advanced_caption['id'] = 'cat';
  27  $advanced_caption['title']['all'] = CONT_SCH_LAN_2;
  28  
  29  if ($sql -> db_Select("pcontent", "content_id, content_heading", "LEFT(content_parent,1)='0'")) {
  30      while ($row = $sql -> db_Fetch()) {
  31          $advanced['cat']['list'][] = array('id' => $row['content_id'], 'title' => $row['content_heading']);
  32          $advanced_caption['title'][$row['content_id']] = $row['content_heading'];
  33      }
  34  }
  35  
  36  $advanced['date']['type'] = 'date';
  37  $advanced['date']['text'] = LAN_SEARCH_68.':';
  38  
  39  $advanced['match']['type'] = 'dropdown';
  40  $advanced['match']['text'] = LAN_SEARCH_52.':';
  41  $advanced['match']['list'][] = array('id' => 0, 'title' => LAN_SEARCH_53);
  42  $advanced['match']['list'][] = array('id' => 1, 'title' => LAN_SEARCH_54);
  43  
  44  ?>


Généré le : Sun Apr 1 01:23:32 2007 par Balluche grâce à PHPXref 0.7