<?php 
if(!isset($_SESSION['admin'])){  ?>
<div class="resulta"></div>
<div class="login-form">
<label>Username: </label><input placeholder="username" type="text" id="username" name="username"></input>
<label>Password: </label><input placeholder="password" type="password" id="password" name="password"></input>
<button class="log_button"><span>Login</span></button>
</div>

<?php  }else{ ?>
<div class="successful"><h2><a href="administrator/">Your Are Logged In</a></h2></div>
<?php } ?>
