/* * * * * * * * * * * * * * * * * * * * * * * A Blork Engine v0.23b Script du moteur Pour les gens qui veulent modifier le moteur à leur goût, je vous ai mis des commentaires au cours du script qui vous aideront à vous repérer. * * * * * * * * * * * * * * * * * * * * * * * a Blork Engine Copyright (C) 2003 zulios This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * * * * * * * * * * * * * * * * * * * * * */ // On adapte les variables selon la version de PHP $version_de_php=phpversion(); $version_de_php=str_replace(".","",$version_de_php); if($version_de_php>=410){ $action = $_GET['action']; $blork = $_GET['blork']; $start = $_GET['start']; $multi = $_GET['multi']; } // Liste des codes htmls spéciaux $caractere_special=array( "à"=>"à", "á"=>"á", "â"=>"â", "ã"=>"ã", "ä"=>"ä", "å"=>"å", "æ"=>"æ", "ç"=>"ç", "è"=>"è", "é"=>"é", "ê"=>"ê", "ë"=>"ë", "î"=>"î", "ï"=>"ï", "ô"=>"ô", "ö"=>"ö", "ù"=>"ù", "ú"=>"ú", "û"=>"û", "ü"=>"ü", "&"=>"&", ); // On fait les includes de base require("blork_engine_config.php"); include("blork_engine_haut.html"); $version="0.23b"; // Variables par défaut if($maxmots==""){ $maxmots="20"; } if($maxipage==""){ $maxipage="20"; } if($start=="" || $start=="0" ){ $start="1"; } $longueur_blork=strlen($blork); $blork=trim($blork); $blork=ereg_replace(" +", " ", $blork); $blork2=htmlspecialchars($blork); // N.Rousse modification 23/02/07 : // $form_recherche="
"; // est remplacé par : // $form_recherche=""; ?>
Plate-forme INRA-ACTA-ITA, Modelia http://www.modelia.org