diff options
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); |