[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/public_html/ -> search.php (source)

   1  <?php
   2  
   3  /* Reminder: always indent with 4 spaces (no tabs). */
   4  // +---------------------------------------------------------------------------+
   5  // | Geeklog 1.3                                                               |
   6  // +---------------------------------------------------------------------------+
   7  // | search.php                                                                |
   8  // |                                                                           |
   9  // | Geeklog search tool.                                                      |
  10  // +---------------------------------------------------------------------------+
  11  // | Copyright (C) 2000-2005 by the following authors:                         |
  12  // |                                                                           |
  13  // | Authors: Tony Bibbs        - tony AT tonybibbs DOT com                    |
  14  // |          Mark Limburg      - mlimburg AT users DOT sourceforge DOT net    |
  15  // |          Jason Whittenburg - jwhitten AT securitygeeks DOT com            |
  16  // +---------------------------------------------------------------------------+
  17  // |                                                                           |
  18  // | This program is free software; you can redistribute it and/or             |
  19  // | modify it under the terms of the GNU General Public License               |
  20  // | as published by the Free Software Foundation; either version 2            |
  21  // | of the License, or (at your option) any later version.                    |
  22  // |                                                                           |
  23  // | This program is distributed in the hope that it will be useful,           |
  24  // | but WITHOUT ANY WARRANTY; without even the implied warranty of            |
  25  // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             |
  26  // | GNU General Public License for more details.                              |
  27  // |                                                                           |
  28  // | You should have received a copy of the GNU General Public License         |
  29  // | along with this program; if not, write to the Free Software Foundation,   |
  30  // | Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           |
  31  // |                                                                           |
  32  // +---------------------------------------------------------------------------+
  33  //
  34  // $Id: search.php,v 1.57 2005/11/14 11:36:41 dhaun Exp $
  35  
  36  require_once ('lib-common.php');
  37  require_once($_CONF['path_system'] . 'classes/search.class.php');
  38  
  39  $searchObj = new Search();
  40  
  41  if (isset ($_GET['mode']) && ($_GET['mode'] == 'search')) {
  42      $display = COM_siteHeader('menu', $LANG09[11]);
  43      $display .= $searchObj->doSearch();
  44  } else {
  45      $display = COM_siteHeader ('menu', $LANG09[1]);
  46      $display .= $searchObj->showForm();
  47  }
  48  
  49  $display .= COM_siteFooter();
  50  
  51  echo $display;
  52  
  53  ?>


Généré le : Wed Nov 21 12:27:40 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics