Update 3 files

- /content/test.md
- /content/admin.md
- /html/admin.php
This commit is contained in:
Jan BELLON 2024-03-07 16:49:23 +00:00
parent 40e06215ff
commit 4020a3f950
2 changed files with 7 additions and 2 deletions

View File

@ -45,8 +45,13 @@ if(isset($_SESSION['userid']) == false) {
<div class="content">
<div>
<div>
<div><a href="upload.php">Publier un article</a></div>
<div><a href="editpage.php">Editer une page</a></div>
<?php
$markdownContent = file_get_contents('../content/admin.md');
require_once '../include/parsedown.php';
$parsedown = new Parsedown();
echo $parsedown->text($markdownContent);
?>
</div>
</div>
</div>