Commit 89671bd537a2bd6b02b53e7df8c850fbff66bb2a
1 parent
ceb92bbe
correction du test V3
Showing
1 changed file
with
11 additions
and
9 deletions
Show diff stats
menu.php
... | ... | @@ -9,21 +9,23 @@ |
9 | 9 | <li> |
10 | 10 | <a href="#" onClick="loadNewDoc('orga.php');">Organisation</a> |
11 | 11 | </li> |
12 | - <?php | |
12 | + <?php | |
13 | 13 | if (!(isset($_SESSION["connected"]) && $_SESSION["connected"])) |
14 | 14 | { |
15 | - ?> | |
16 | - <li> | |
17 | - <a href="#" onClick="loadNewDoc('connect.php');">Connexion</a> | |
18 | - </li> | |
19 | - <?php | |
15 | + ?> | |
16 | + <li> | |
17 | + <a href="#" onClick="loadNewDoc('connect.php');">Connexion</a> | |
18 | + </li> | |
19 | + <?php | |
20 | 20 | } |
21 | - ?> | |
21 | + else | |
22 | + { | |
23 | + ?> | |
22 | 24 | <li> |
23 | 25 | <a href="#" onClick="loadNewDoc('???????.php;)">Profil</a> |
24 | 26 | </li> |
25 | - <?php | |
27 | + <?php | |
26 | 28 | } |
27 | - ?> | |
29 | + ?> | |
28 | 30 | </ul> |
29 | 31 | </div> | ... | ... |