v0.0.10 when you are login in the login button says admin panle, and semi added ajax update post

This commit is contained in:
Victor
2021-06-07 15:01:28 +02:00
parent 9f969c4a92
commit 0c6d26d084
7 changed files with 52 additions and 16 deletions
+2
View File
@@ -31,6 +31,8 @@ use Backend\Model\Post;
<body>
<p>Logget in som <?php echo $_SESSION['name'];?></p>
<a href="../Backend/controller/logout.php">Log ud</a>
<br>
<a href="index.php">Index pages</a>
<hr>
<p>Opret post</p>
<!--We use ajax to send the code to the backend-->