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>
|
||||
@ -26,7 +28,9 @@ include "settings/db_connect.php";?>
|
||||
</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>
|
||||
<?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