Subversion Repositories Sites.outils-naturalistes.fr

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php


define ('PAP_CHEMIN_API_PEAR', 'api/pear/');
define ('PAP_CHEMIN_RACINE', '');
define ('GEN_SEP', '/');
define ('GEN_CHEMIN_API', 'api/');
define ('PAP_CHEMIN_API_PEARDB', PAP_CHEMIN_API_PEAR);
set_include_path('.:'.PAP_CHEMIN_API_PEAR);

include_once 'authentification.php';
include_once 'api/formulaire/formulaire.fonct.inc.php';
$GLOBALS['_GEN_commun']['info_application']->categorie_nature = '0';
include 'client/bazar/bazar.php';

// Vue fonction de l'article 

/*
define ('BAZ_VOIR_TOUTES_ANNONCES', 1) ;
define ('BAZ_ACTION_VOIR_VOS_ANNONCES', 2);
define ('BAZ_DEPOSER_ANNONCE', 3) ;
define ('BAZ_ANNONCES_A_VALIDER', 4) ;
define ('BAZ_GERER_DROITS', 5) ;
define ('BAZ_ADMINISTRER_ANNONCES', 6) ;
define ('BAZ_MODIFIER_FICHE', 7) ;
if (!defined('BAZ_VOIR_FICHE')) define ('BAZ_VOIR_FICHE', 8) ;
define ('BAZ_SUPPRIMER_FICHE', 9) ;
*/


$article="#ID_ARTICLE";
$normal=false;
switch ($article) {
   case 18: // Consultation.
                $_GET['vue']=2; 
   break;
   case 34: // Saisir fiche.
                $_GET['vue']=4; 
   break;
   default;
                $normal=true;
   break;
}

$html = afficherContenuCorps();

?>
<BOUCLE_art(ARTICLES){id_article}>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<INCLURE{fond=include/head}{id_rubrique}>
<link rel="stylesheet" href="[(#CHEMIN{css/bazar.css})]" type="text/css" media="screen" />
</head>
<body>

<div id="wrap">


<INCLURE{fond=include/header}{id_rubrique}>

<div id="principal">


        <INCLURE{fond=include/menu}{id_rubrique}{id_article}{mon_secteur=#ID_SECTEUR}>
        <div id="contenu" >
                <?php
                if (!$normal) {
                 // echo afficherContenuNavigation();
           echo $html;
                }
                else {
                ?>
                <div class="article" id="article#ID_ARTICLE">
                [<p><strong>(#CHAPO)</strong></p>]
                [(#TEXTE|paragrapher)]
                [<div class="ps">(#PS)</div>]
                </div>
                <?php
                }
                ?>
        
        </div>
</div>

<INCLURE{fond=include/footer}>

</div>

</body>
</html>
</BOUCLE_art>