You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
812 B

8 years ago
<?php
if(!$_SESSION['AUTH']){
?>
<li>
<form method="post">
<label class="font-10">Username</label>
<input type="text" name="usr" placeholder="username">
<label class="font-10">Password</label>
<input type="password" name="pwd" placeholder="password">
<input type="submit" name="go" value="Accedi">
</form>
</li>
<li><a href="#">Richiedi dati di accesso</a></li>
<li><a href="#">Recupera password</a></li>
<?php
}else{
?>
<li class="text-center">
<p class="font-12">Accesso effettuato per:</p>
<p class="font-12 py-1 font-bold"><?php echo $_SESSION['AUTH']['first_name']." ".$_SESSION['AUTH']['last_name'];?></p>
8 years ago
<a href="<?= $BASE_URL;?>/logout"><button type="button" class="button">LOGOUT</button></a>
</li>
<?php
}
?>