From 71b503f07007346eda3d1da71d4a64f31f13d846 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 30 Jun 2018 10:05:02 +0200 Subject: Prmère version alpha 2007-02-03+09:07:04 - 2007-02-06+12:19:50 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- appli_3_alpha_old/index.php | 111 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 appli_3_alpha_old/index.php (limited to 'appli_3_alpha_old/index.php') diff --git a/appli_3_alpha_old/index.php b/appli_3_alpha_old/index.php new file mode 100644 index 0000000..7decdd6 --- /dev/null +++ b/appli_3_alpha_old/index.php @@ -0,0 +1,111 @@ +\n"; +generate_html_divs_menu(); +?> +
+

+ > Accueil + > Réunions + > Liste des réunions +

+
+ +
+ +

+ Organiser une réunion +

+ + + + + + + + +\n"; + echo ' \n"; + echo " \n"; + $dateStr=''; + $stateStr='En préparation'; + if ( isset($dateR) ) + { + $dateStr=date('d/m/Y \à H:i', $dateR); + if ( $dateR > time() ) + { + $stateStr='Fixée'; + } + else + { + $stateStr='Pasée'; + } + } + echo " \n"; + echo " \n"; + echo ' \n"; + echo " \n"; + } + } + } + + + // Réunions fixées et passées + $query = 'SELECT DISTINCT R.idR, R.objetR, P.nomP, P.prenomP, UNIX_TIMESTAMP(C.dateHeure)' + . ' FROM Liste L,Reunion R,Appartenir A,Creneau C,Personne P' + . " WHERE ((A.idP = $idP AND A.idL = L.idL) OR R.idP_Orga = $idP)" + . ' AND R.idL = L.idL AND P.idP = R.idP_Orga AND R.idC_Fixe = C.idC' + . ' ORDER BY C.dateHeure DESC;'; + fill_array_liste_reunion($query); + + // Réunion en préparation + $query = 'SELECT DISTINCT R.idR, R.objetR, P.nomP, P.prenomP, NULL' + . ' FROM Liste L,Reunion R,Appartenir A,Personne P' // Creneau C, + . " WHERE ((A.idP = $idP AND A.idL = L.idL) OR R.idP_Orga = $idP)" + . ' AND R.idL = L.idL AND P.idP = R.idP_Orga AND ISNULL(R.idC_Fixe);'; + //echo "DEBUG : $query\n"; + fill_array_liste_reunion($query); + + //$query = + //echo "DEBUG : $query\n"; +?> +
ObjetOrganisateurDateEtatDétails
' . "$objetR$prenomP $nomP$dateStr$stateStr'; + generate_html_reunion_detail_button($idR); + echo "
+
+ Organiser une réunion +
+ + + + -- cgit v1.2.3