From 35a23f6145bb772b9bfa8c8eeb500aa8c02437d3 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Thu, 5 Jul 2018 00:28:24 +0200 Subject: Version awor_1.0_20070316.tar.bz2 --- final/app/details_reunion.php | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'final/app/details_reunion.php') 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 ''; 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 '
' . "\n"; echo '
' . "\n"; generate_html_reunion_detail2($idR); -- cgit v1.2.3