Zaktualizuj 'index.php'
This commit is contained in:
parent
2ed833e4eb
commit
313dcd55a7
@ -1,3 +1,5 @@
|
||||
<?php if( !isset( $_SESSION ) ) session_start();
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="pl">
|
||||
<head>
|
||||
@ -25,8 +27,10 @@ include "settings/db_connect.php";?>
|
||||
<img src="./images/artist-camera-dslr-22185.jpg" alt="Bloggero - najlepszy serwis blogowy!">
|
||||
</div>
|
||||
<div class="row elementsOnHeader">
|
||||
<div class="col-md-2 login">
|
||||
<a href="admin-zone/login.php" class="button" role="button">Zarządzaj blogiem</a>
|
||||
<div class="col-md-2 login">
|
||||
<?php if(empty($_SESSION['user'])){ ?> <a href="admin-zone/login.php" class="button" role="button">Zarządzaj blogiem</a><?php }
|
||||
else { $user=$_SESSION['user']; ?>
|
||||
<a href="admin-zone/index.php" class="button" role="button">Zarządzaj blogiem</a> <?php } ?>
|
||||
</div>
|
||||
<div class="col-md-4 register"r>
|
||||
<h1>Centrum Blogów</h1>
|
||||
|
Loading…
Reference in New Issue
Block a user