<commit_before><commit_msg>Edit page of the WebPage<commit_after><?php

    require_once __DIR__ . "/class/autoload.php";

    use \html\Page as Page;
    use \html\Menu as Menu;
    use \configuration\Globals as Globals;
    use \utilities\Session as Session;

    $session = new Session();
    $session->verifyIfSessionIsStarted();

    Page::header(Globals::ENTERPRISE_NAME);

    Menu::startMenu();
        Menu::startItem();
        Menu::addItem(PROJECT_ROOT . "#", "Páginas");
            Menu::initSubItem();
                Menu::addItem(PROJECT_ROOT . "category.php", "Gerenciar de Categoria");
                Menu::addItem(PROJECT_ROOT . "newPage.php", "Nova Página");
                Menu::addItem(PROJECT_ROOT . "pages.php", "Gerenciar Páginas");
            Menu::endSubItem();
        Menu::endItem();
    Menu::endMenu();
?>

<!--Conteúdo da página-->
<div id="update"></div>
<div id="content" style="text-align: left;">
    <article>

        <h1>Edição de Página</h1>
        <form>
          <?php include 'controller/formPage.php'; ?>
          <input type="submit" value="Atualizar">
        </form>

    </article>
</div>
<?php
    Page::footer();
    Page::closeBody();

?>
{'fraction_non_alphanumeric': 0.1670843776106934, 'fraction_numerical': 0.001670843776106934, 'mean_word_length': 2.708978328173375, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2710606', 'n_tokens_mistral': 400, 'n_tokens_neox': 389, 'n_words': 76}