[ Index ] |
|
Code source de e107 0.7.8 |
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_handlers/search/advanced_download.php,v $ 14 | $Revision: 1.2 $ 15 | $Date: 2005/12/14 17:37:34 $ 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'] = LAN_SEARCH_64; 28 29 if ($sql -> db_Select_gen("SELECT download_category_id, download_category_name FROM #download_category WHERE download_category_parent != 0 AND download_category_class IN (".USERCLASS_LIST.")")) { 30 while ($row = $sql -> db_Fetch()) { 31 $advanced['cat']['list'][] = array('id' => $row['download_category_id'], 'title' => $row['download_category_name']); 32 $advanced_caption['title'][$row['download_category_id']] = LAN_SEARCH_65.' -> '.$row['download_category_name']; 33 } 34 } 35 36 $advanced['date']['type'] = 'date'; 37 $advanced['date']['text'] = LAN_SEARCH_66.':'; 38 39 $advanced['author']['type'] = 'author'; 40 $advanced['author']['text'] = LAN_SEARCH_61.':'; 41 42 $advanced['match']['type'] = 'dropdown'; 43 $advanced['match']['text'] = LAN_SEARCH_52.':'; 44 $advanced['match']['list'][] = array('id' => 0, 'title' => LAN_SEARCH_67); 45 $advanced['match']['list'][] = array('id' => 1, 'title' => LAN_SEARCH_54); 46 47 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 01:23:32 2007 | par Balluche grâce à PHPXref 0.7 |