diff --git a/admin-zone/index.php b/admin-zone/index.php index a5aa3e3..73a0a2a 100644 --- a/admin-zone/index.php +++ b/admin-zone/index.php @@ -23,6 +23,16 @@ if(empty($_SESSION['user'])){ +
@@ -47,9 +57,7 @@ if(empty($_SESSION['user'])){ prepare("SELECT * FROM post WHERE blog_id IN (SELECT user_id FROM user WHERE username='$user' AND password='$password') ORDER BY data_dodania")) { @@ -100,6 +108,5 @@ else die( "Błąd w zapytaniu SQL! Sprawdź kod SQL w PhpMyAdmin. $user $passwor }); }); - Logout \ No newline at end of file diff --git a/admin-zone/sidebar.php b/admin-zone/sidebar.php index 17d6658..44eaf98 100644 --- a/admin-zone/sidebar.php +++ b/admin-zone/sidebar.php @@ -1,13 +1,19 @@ + \ No newline at end of file