Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
freedomsearch.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
5  * @package FDL
6 */
7 /**
8  * Search come from mozilla seach engine
9  *
10  * @author Anakeen 2005
11  * @version $Id: freedomsearch.php,v 1.6 2007/10/22 07:20:53 marc Exp $
12  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13  * @package FDL
14  * @subpackage
15  */
16 /**
17  */
18 include_once ("Lib.Http.php");
19 $famid = GetHttpVars("famid", 0);
20 $latest = GetHttpVars("latest", true);
21 $fromdir = GetHttpVars("fromdir", false);
22 $sensitive = GetHttpVars("sensitive", false);
23 $viewone = GetHttpVars("viewone", "N");
24 $keyword = GetHttpVars("keyword", "");
25 if ($keyword == "") {
26  $location = "index.php?sole=Y&&app=FGSEARCH&action=FULLSEARCH";
27  Header("Location: $location");
28 } else {
29 
30  $location = "index.php?sole=Y&&app=FGSEARCH&action=SEARCH&famid=$famid&latest=$latest&fromdir=$fromdir&sensitive=$sensitive&viewone=$viewone&keyword=$keyword";
31  Header("Location: $location");
32 }
33 ?>
← centre documentaire © anakeen - published under CC License - Dynacase