Skip to content
Extraits de code Groupes Projets
Valider 12cb0b6f rédigé par ericwang's avatar ericwang
Parcourir les fichiers

fait disparaitre l'erreur php

parent d1b36557
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -79,7 +79,7 @@ function header2($where){ ...@@ -79,7 +79,7 @@ function header2($where){
<div class="forms-w3ls-agilesm text-center mt-lg-0 mt-4"> <div class="forms-w3ls-agilesm text-center mt-lg-0 mt-4">
<ul> <ul>
<li class="login-list-w3ls d-inline border-right pr-3 mr-3">'; <li class="login-list-w3ls d-inline border-right pr-3 mr-3">';
if (!$_SESSION['username']) if (!isset($_SESSION['username']))
echo '<a id="modal_trigger" href="#modal" class="text-white">Login | Register</a>'; echo '<a id="modal_trigger" href="#modal" class="text-white">Login | Register</a>';
else { else {
echo '<span style="color: #fff; letter-spacing: 2px; font-size: 15px; padding: 0.5em 0; font-family: "Source Sans Pro", sans-serif"><a href="userpage.php" style="color: #fff; letter-spacing: 2px; font-size: 15px; padding: 0.5em 0; font-family: "Source Sans Pro", sans-serif">'.$_SESSION['username'] .'</a> | <a href="logout.php" style="color: #fff; letter-spacing: 2px; font-size: 15px; padding: 0.5em 0; font-family: "Source Sans Pro", sans-serif">Log out</a></span>'; echo '<span style="color: #fff; letter-spacing: 2px; font-size: 15px; padding: 0.5em 0; font-family: "Source Sans Pro", sans-serif"><a href="userpage.php" style="color: #fff; letter-spacing: 2px; font-size: 15px; padding: 0.5em 0; font-family: "Source Sans Pro", sans-serif">'.$_SESSION['username'] .'</a> | <a href="logout.php" style="color: #fff; letter-spacing: 2px; font-size: 15px; padding: 0.5em 0; font-family: "Source Sans Pro", sans-serif">Log out</a></span>';
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter