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