summaryrefslogtreecommitdiff
path: root/beta_accents/app/details_reunion.php
diff options
context:
space:
mode:
Diffstat (limited to 'beta_accents/app/details_reunion.php')
-rw-r--r--beta_accents/app/details_reunion.php121
1 files changed, 0 insertions, 121 deletions
diff --git a/beta_accents/app/details_reunion.php b/beta_accents/app/details_reunion.php
deleted file mode 100644
index 59f4adb..0000000
--- a/beta_accents/app/details_reunion.php
+++ /dev/null
@@ -1,121 +0,0 @@
-<?php
-require('include/ludo/session_verify.inc.php');
-require_once('include/connect.inc.php');
-require_once('include/ludo/html_elements.inc.php');
-require_once('include/ludo/fonctions.inc.php');
-
-require_once('include/je.inc.php');
-require_once('include/ju.inc.php');
-
-
-
-generate_html_doctype_and_head("D&eacute;tail de la r&eacute;union");
-echo "<body>\n";
-
-// DEBUG
-//~ echo '<pre>';
-//~ print_r($_REQUEST);
-//~ echo '</pre>';
-
-generate_html_divs_menu();
-?>
- <div id="sous_menu">
- <p class="arbre">
- &gt; <a href="index.php">Accueil</a>
- &gt; <a href="index.php">R&eacute;unions</a>
- &gt; D&eacute;tails d'une r&eacute;union
- </p>
- </div>
-<?php
- if ( isset($_REQUEST['action']) )
- {
- switch ($_REQUEST['action'])
- {
- case 'creer_reunion':
- $ret=traiter_formulaire_creer_reunion();
- //~ echo "DEBUG : idR==$ret\n";
- if ( is_string($ret) ) { $errmsg=$ret; } else { $idR=$ret;}
- break;
- case 'popfichier':
- case 'maj_profil':
- case 'valider_modif_personnes':
- case 'valider_creneau':
- case 'delete_list':
- case 'commentaire':
- case 'fixer_creneau':
- case 'modif_detail_reunion':
- $nom_func = 'traiter_formulaire_' . $_REQUEST['action'];
- $errmsg = $nom_func();
- break;
- default:
- $errmsg = 'Impossible de traiter la requete : type de formulaire non enregistr&eacute; !'."\n";
- }
- }
- // Connexion &agrave; la base et s&eacute;lection de la database
- require_once 'include/connect.inc.php';
- if ( ! isset($idR) && ( ! isset($_REQUEST['idR'] ) || ! is_numeric($_REQUEST['idR']) ) || ! isset($_SESSION['session_idP']) )
- {
- $errmsg='Erreur de g&eacute;n&eacute;ration de la page : param&egrave;tres erron&eacute;s ou manquant';
- }
- else
- {
- if ( ! isset($idR) ) { $idR=addslashes($_REQUEST['idR']); }
- $idP=$_SESSION['session_idP'];
-
- // V&eacute;rification que la r&eacute;union nous concerne bien
- $query="SELECT * FROM AWOR_Appartenir a WHERE a.idL=$idR, a.idP=$idP;";
- if ( ( $result = @mysql_query($query) ) && ( mysql_num_rows($result) === 1 ) )
- {
- $errmsg='Vous n\'avez pas le droit de consulter cette page : cette r&eacute;union n\'existe pas ou ne vous concerne pas !';
- }
- }
- if ( isset($errmsg) && is_string($errmsg) )
- {
- generate_html_div_errmsg($errmsg);
- echo '</body></html>';
- exit();
- }
- generate_html_div_help('help/details_reunion_admin.php.hlp');
- echo '<div id="contenu">' . "\n";
- echo '<div id="details_reunion">' . "\n";
- generate_html_reunion_detail2($idR);
- echo "</div>\n";
- echo "<br />\n";
- generate_html_array_personnes_crenaux($idR, $idP);
- echo "<br />\n";
- generate_html_reunion_commentaires($idR);
- echo "<br />\n";
- generate_html_reunion_fichiers($idR);
-?>
-</div>
-<div id="popcommentaire" class="popup_commentaire">
-<h2>Editer votre commentaire</h2>
-<div class="popup_contenu">
-<form id="formcommentaire" method="get" action="details_reunion_admin.php">
-Commentaire : <input name="txtCommentaire" type="text" id="txtCommentaire" />
-<br/><br/>
-<input type="submit" name="Submit" value="Enregistrer" /><input type="button" name="fermer" value="Fermer" alt="commentaire" />
-</form>
-</div>
-</div>
-
-<div id="popfichier" class="popup_fichier">
-<h2>Ajouter un fichier</h2>
-<div class="popup_contenu">
-<form id="formfichier" method="post" action="details_reunion.php?idR=<?php echo $idR; ?>" enctype="multipart/form-data">
-Fichier : <input name="fichier" type="file" id="fichier"/>
-<br/><br/>
-<input type="hidden" name="action" value="popfichier" />
-<input type="submit" name="Submit" value="Valider" onclick="popoff('popfichier');"/>
-<input type="button" value="fermer" onclick="popoff('popfichier');"/>
-</form>
-</div>
-</div>
-<?php generate_html_div_footer(); ?>
-<div class="popup" id="popfixer"></div>
-<div class="popup_creneau" id="popcreneau"></div>
-<div id="poppersonne" class="popup_personne"></div>
-<div id="masque"></div>
-<div id="msg"></div>
-</body>
-</html>