A
download index.php
Language: PHP
License: GPL
Copyright: (C) 2001, 2002 Bertand Pallie, Loc Dayot - Mairie de Pierrefitte (93)
LOC: 43
Project Info
epnadmin
Server: Savannah NonGNU
Type: cvs
...epnadmin\epnadmin\epnadmin\
   6cartes.inc.php
   add_message.sh
   add_message_file.sh
   animateur.php
   ...eurs-disponibilites.php
   animateurs-horaires.php
   animateurs.inc.php
   autoeval.js
   barcode.inc.php
   basdepage.inc.php
   camembert.inc.php
   cartes.inc.php
   common.initial.sql
   config.php
   configuration.php
   constantes.inc.php
   courriel.php
   dateheure.inc.php
   debug.inc.php
   domaines.php
   en.lang.inc.php
   entete.inc.php
   epnadmin.css
   epnadminv.css
   exemple.sql
   fonctions.inc.php
   footer.inc.php
   fr.initial.sql
   fr.lang.inc.php
   header.inc.php
   horaires.php
   i25object.inc.php
   image.inc.php
   index.php
   initial.sql
   initiations.inc.php
   initiations.php
   inscription_session.php
   localisations.php
   logiciels.php
   materiels.php
   menu2.js
   mysql.inc.php
   parcours.inc.php
   parcours.php
   positionnement.php
   prets.php
   print.php
   questions.php
   remove_message.sh
   reservations.inc.php
   reservations.php
   session.php
   sessions.inc.php
   siteweb.inc.php
   siteweb.php
   stats.php
   structure.sql
   structures.inc.php
   structures.php
   table_horaire.php
   table_horaire_session.php
   tableaux.inc.php
   tarifs.php
   themes.php
   usagers.inc.php
   usagers.php
   usages.php

<?php
/*
    Copyright (C) 2001, 2002 Bertand Pallie, Loc Dayot - Mairie de Pierrefitte (93)

    EPNadmin - Version 0.7

    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

    http://epnadmin.pierrefitte93.fr/
*/

require_once("header.inc.php");
require_once("constantes.inc.php");             // dfinition des constantes
//require_once("fonctions.inc.php");              // concernant des fonctions transversales inclassables
//require_once("mysql.inc.php");                  // concernant mysql
//require_once("sessions.inc.php");             // concernant les sessions et initiations
//require_once("usagers.inc.php");              // concernant la gestion des usagers
require_once("reservations.inc.php");         // concernant les rservations des postes en accs individuel par des usagers
//require_once("tableaux.inc.php");             // Concernant l'affichage transpos d'un tableau
//require_once("siteweb.inc.php");              // concernant les pages perso des usagers et les sites web des structures
//require_once("dateheure.inc.php");            // concernant la manipulation des heures et des dates, formulaire, conversion...
//require_once("structures.inc.php");           // concernant les structures
//require_once("initiations.inc.php");          // concernant les initiations et les thmes
require_once("parcours.inc.php");             // concernant les parcours des usagers et leur positionnement

$ptitr=$saccueil;
$titr = ($is_ident!="usager" ? $sindextitre1 : $sindextitre2);
$datemaj="24 juillet 2003";
require("entete.inc.php");

echo $message_demarrage;

if ($is_ident=="usager")
{
  define("COULEUR", COULEUR_USAGERS);

  // Affichage des prochaines inscriptions  des sessions
  echo cadre_debut($smesprochainessessions, "align=center", COULEUR_PARCOURS);
  afficheParcours($id_usager, "programm");
  echo cadre_fin(COULEUR_PARCOURS);

  // Affichage des prochaines sessions accessibles
  echo "<hr>";
  echo cadre_debut($sinitiationsaccessibles, "align=center", COULEUR_PARCOURS);
  afficheSessionsAccessibles($id_usager, "accessible");
  echo cadre_fin(COULEUR_PARCOURS);

  // Affichage des prochaines rservations en accs individuel
  echo "<hr>";
  echo cadre_debut($sprochainesutilisaitons, "align=center", COULEUR_UTILISATIONS);
  affiche_utilisations($id_usager, FUTUR);
  echo cadre_fin(COULEUR_UTILISATIONS);
}

if ($is_ident=="structure")
{
  define("COULEUR", COULEUR_STRUCTURES);

  echo cadre_debut($stitresessions, "align=center", COULEUR_SESSIONS);
  if (SESSIONS_AUTRES>="r" || SESSIONS_MOI>="r")
  {
    printf($svoiplanningsessions, "table_horaire_session.php");
    printf($svoirlistesessionfutur, "session.php?operation=4");
    printf($svoirlistesessionpasse, "session.php?operation=5");
  }
  if (SESSIONS_AUTRES>="w" || SESSIONS_MOI>="w")
    printf($sajoutersession, "session.php?operation=1");
  echo cadre_fin(COULEUR_SESSIONS);
}

require("basdepage.inc.php");
echo "\n</body>\n</html>\n";
require("footer.inc.php");
?>

About Koders | Resources | Downloads | Support | Black Duck | Terms of Service | DMCA | Privacy Policy | Contact Us