diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-07-05 00:28:24 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-07-05 00:28:24 +0200 |
commit | 35a23f6145bb772b9bfa8c8eeb500aa8c02437d3 (patch) | |
tree | 1c999f13ab6c8f02e250c3053557454ce7b6de65 /final/app/details_reunion.php | |
parent | ac54f5224d4470de9d8ae088e1338dea52668c9d (diff) | |
download | 2007-AWOR-35a23f6145bb772b9bfa8c8eeb500aa8c02437d3.tar.gz 2007-AWOR-35a23f6145bb772b9bfa8c8eeb500aa8c02437d3.tar.bz2 2007-AWOR-35a23f6145bb772b9bfa8c8eeb500aa8c02437d3.zip |
Version awor_1.0_20070316.tar.bz2
Diffstat (limited to 'final/app/details_reunion.php')
-rw-r--r-- | final/app/details_reunion.php | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/final/app/details_reunion.php b/final/app/details_reunion.php index 59f4adb..64731d4 100644 --- a/final/app/details_reunion.php +++ b/final/app/details_reunion.php @@ -75,7 +75,28 @@ generate_html_divs_menu(); echo '</body></html>'; exit(); } - generate_html_div_help('help/details_reunion_admin.php.hlp'); + + if ( isset($_REQUEST['action']) && ($_REQUEST['action']==='creer_reunion' ) ) + { + //~ echo "DEBUG : generate_html_div_help('help/details_reunion_new.php.hlp');\n"; + generate_html_div_help('help/details_reunion_new.php.hlp'); + } + else + { + $query="SELECT idP_Orga FROM AWOR_Reunion WHERE idR=$idR;"; + if ( ( $result = @mysql_query($query) ) && ( mysql_num_rows($result) === 1 ) && ( list($idP_Orga)=mysql_fetch_array($result) ) &&($idP == $idP_Orga) ) + { + //~ echo "DEBUG : generate_html_div_help('help/details_reunion_admin.php.hlp');\n"; + generate_html_div_help('help/details_reunion_admin.php.hlp'); + } + else + { + //~ echo "DEBUG : generate_html_div_help('help/details_reunion.php.hlp');\n"; + generate_html_div_help('help/details_reunion.php.hlp'); + } + } + + echo '<div id="contenu">' . "\n"; echo '<div id="details_reunion">' . "\n"; generate_html_reunion_detail2($idR); |