21,7 → 21,7 |
// | along with Foobar; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: biblio_bota.php,v 1.3 2006-09-22 09:18:56 jp_milcent Exp $ |
// CVS : $Id: biblio_bota.php,v 1.2 2006/09/22 08:36:12 jp_milcent Exp $ |
/** |
* Appli Biblio Bota |
* |
42,7 → 42,7 |
//Autres auteurs : |
*@author Jean-Pascal MILCENT <jpm@clapas.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.3 $ $Date: 2006-09-22 09:18:56 $ |
*@version $Revision: 1.2 $ $Date: 2006/09/22 08:36:12 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
167,13 → 167,9 |
*/ |
function afficherContenuCorps() |
{ |
// +------------------------------------------------------------------------------------------------------+ |
// Initialisation de la base de données |
$bdd_id = mysql_connect(BB_BDD_SERVEUR, BB_BDD_UTILISATEUR, BB_BDD_MOT_DE_PASSE, true) or die("Impossible de se connecter à la base de données: " . mysql_error()); |
mysql_select_db(BB_BDD_NOM, $bdd_id); |
|
// +------------------------------------------------------------------------------------------------------+ |
// Initialisation des variables |
|
global $_GEN_commun; |
$sortie = ''; |
if (!defined('BB_ARGUMENT_AUTH') || BB_ARGUMENT_AUTH == 0 || (BB_ARGUMENT_AUTH == 1 && $GLOBALS['_GEN_commun']['pear_auth']->getAuth())) { |
216,9 → 212,7 |
'FICHIER : '.__FILE__. |
'</p>'; |
} |
|
// +------------------------------------------------------------------------------------------------------+ |
// Fermeture de la connection à la base de données |
|
mysql_close($bdd_id); |
|
return remplaceEntiteHTLM($sortie); |
231,7 → 225,7 |
|
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* $Log: biblio_bota.php,v $ |
* Revision 1.2 2006/09/22 08:36:12 jp_milcent |
* Utilisation de mysql_connect et mysql_select_db suite à disfonctionnement. |
* Amélioration de la gestion des chemins des fichiers inclus. |