<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="Created" content="2025-12-04">
    <meta name="Author" content="Kārlis Grīnvalds">
    <meta name="Last edited" content="2026-05-13">
    <meta name="Edited by" content="Kārlis Grīnvalds">
    <meta name="csrf-token" content="<?= csrf_hash() ?>">
    <meta name="csrf-name" content="<?= csrf_token() ?>">
    <title><?php echo $Title ?></title>
    <script src="../js/jquery/jquery-3.7.1.min.js"></script>
    <script src="../js/entry.js"></script>
    <script src="../js/load_content.js"></script>
    <script src="../js/script.js"></script>
    <link rel="stylesheet" href="../css/style.css">
    <link rel="stylesheet" href="../css/elements.css">
</head>
<body>
    <?php echo $BodyParts ?>
    <?php echo $ImageViewer ?>
    <!-- Shows create account and log in links or log out link and welcome message for the user -->
    <div id="UserProfile" class="user-profile"></div>
    <!-- Page layout -->
    <div class="container">
        <header>
            <!-- Search bar -->
            <div id="SearchBarDiv" class="search-bar">
                <input type="text" id="SearchField" placeholder="Search through the wiki">
                <button id="SearchBtn">Search</button>
            </div>
            <!-- Displays all the action that the user can do -->
            <div id="UserActionBar" class="action-bar"></div>
        </header>
        <div id="MainContainer" class="main">
            <h1 id="EntryTitle" class="title-text"></h1><hr>
            <div id="EntryContent" class="entry-content"></div>
        </div>
        <footer>Page: entry<br></footer>
    </div>
</body>
</html>