From 5582d242d03692a7e1b2c631e1b4ff3f52e8b72c Mon Sep 17 00:00:00 2001 From: Debulois Date: Mon, 4 Apr 2022 22:58:43 +0200 Subject: Révision complète du css et modification du js principalement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Template/Include/incl_form_mission.php | 90 ++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 Template/Include/incl_form_mission.php (limited to 'Template/Include/incl_form_mission.php') diff --git a/Template/Include/incl_form_mission.php b/Template/Include/incl_form_mission.php new file mode 100644 index 0000000..b95c396 --- /dev/null +++ b/Template/Include/incl_form_mission.php @@ -0,0 +1,90 @@ + 0 +) { + + // **************************************************************************** + // DIV PRINCIPALE AVEC TITRE ET FORM POUR MANDATEMENT DE MISSION + // **************************************************************************** + echo(' +
+

'.$text[basename(__FILE__, ".php")]["h2"].'

+
+ + + + +
+
'.PHP_EOL); + unset($_SESSION["missionInitiate"]); + +// Si la mission est terminée on permet de laisser un avis +} elseif (isset($_SESSION["missionCompleted"]) + && count($_SESSION["missionCompleted"]) > 0 +) { + // **************************************************************************** + // SEPARATEUR + // **************************************************************************** + echo(' +
'); + + // **************************************************************************** + // DIV PRINCIPALE AVEC TITRE ET FORMULAIRE D'ENREGISTREMENT D'UN AVIS + // **************************************************************************** + echo(' +
+

'.$text[basename(__FILE__, ".php")]["h2"].'

+
+ + + + +
+
'.PHP_EOL); + unset($_SESSION["missionCompleted"]); + +// Sinon renvoie vers mes mission (F5 w/ unset) +} else { + header("Location: /Template/myMission.php"); + die(); +} + +?> \ No newline at end of file -- cgit v1.2.3