<commit_before><!DOCTYPE html>
<html>
<head>
  <?php include '../head.php';?>
</head>
    <body>
        <div id="container">
          <?php
                include '../header.php';
            ?>
            <div id="content">
                <?php
                    // Controleert of de gebruiker als admin is aangemeld
                    if (isset($_SESSION['admin_session'])) {
                        define("adminToegang", true);
                        //include '../functions.php';
                        $succes = false;
                        // Controleert of een pagina geupdate moet worden
                        if(isset($_POST['verzenden'])){
                            $succes = editContent($_SESSION['paginaEdit'],$_SESSION['taalEdit'],$_POST['titel'],$_POST['inhoud'],$_SESSION['admin_session']);
                            print "<p>toegevoegd!</p>";
                            unset($_SESSION['paginaEdit']);
                            unset($_SESSION['taalEdit']);
                        }
                        include 'adminindex.php';
                        // Controleert of de gebruiker heeft aangegeven wat hij wil beheren
                        // zo ja, dan wordt de bijbehorende pagina geladen
                        if (isset($_GET['beheer'])){
                            $_SESSION['beheer'] = $_GET['beheer'];
                            switch ($_GET['beheer']){
                                case "content":
                                    include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/contentbeheer.php';
                                    break;
                                case "agenda":
                                    include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/beheeragenda.php';
                                    break;
                                case "afbeelding":
                                    include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/imageupload.php';
                                    break;
                                case "berichtopvraag":
                                    include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/berichtopvraagsubmit.php';
                                    break;
                                case "nieuws":
                                    include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/nieuws.php';
                                    break;
                                case "nieuwsbewerken":
                                    include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/nieuwsbewerken.php';
                                    break;
                            }
                            // if ($_GET['beheer'] == "content"){
                            //     include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/contentbeheer.php';
                            // } elseif ($_GET['beheer'] == "agenda"){
                            //     include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/beheeragenda.php';
                            // } elseif ($_GET['beheer'] == "afbeelding"){
                            //     include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/imageupload.php';
                            // } elseif ($_GET['beheer'] == "berichtopvraag"){
                            //     include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/berichtopvraagsubmit.php';
                            // } elseif ($_GET['beheer'] == "nieuws"){
                            //     include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/nieuws.php';
                            // } elseif ($_GET['beheer'] == "nieuwsbewerken"){
                            //     include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/nieuwsbewerken.php';<commit_msg>beheerpaneel fix<commit_after><!DOCTYPE html>
<html>
<head>
  <?php include '../head.php';?>
</head>
    <body>
        <div id="container">
          <?php
                include '../header.php';
            ?>
            <div id="content">
                <?php
                    // Controleert of de gebruiker als admin is aangemeld
                    if (isset($_SESSION['admin_session'])) {
                        define("adminToegang", true);
                        //include '../functions.php';
                        $succes = false;
                        // Controleert of een pagina geupdate moet worden
                        if(isset($_POST['verzenden'])){
                            $succes = editContent($_SESSION['paginaEdit'],$_SESSION['taalEdit'],$_POST['titel'],$_POST['inhoud'],$_SESSION['admin_session']);
                            print "<p>toegevoegd!</p>";
                            unset($_SESSION['paginaEdit']);
                            unset($_SESSION['taalEdit']);
                        }
                        include 'adminindex.php';
                        // Controleert of de gebruiker heeft aangegeven wat hij wil beheren
                        // zo ja, dan wordt de bijbehorende pagina geladen
                        if (isset($_GET['beheer'])){
                            $_SESSION['beheer'] = $_GET['beheer'];
                            switch ($_GET['beheer']){
                                case "Content":
                                    include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/contentbeheer.php';
                                    break;
                                case "Agenda":
                                    include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/beheeragenda.php';
                                    break;
                                case "Afbeelding":
                                    include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/imageupload.php';
                                    break;
                                case "Berichtopvraag":
                                    include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/berichtopvraagsubmit.php';
                                    break;
                                case "Nieuws":
                                    include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/nieuws.php';
                                    break;
                                case "Nieuwsbewerken":
                                    include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/nieuwsbewerken.php';
                                    break;
                            }
                            // if ($_GET['beheer'] == "content"){
                            //     include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/contentbeheer.php';
                            // } elseif ($_GET['beheer'] == "agenda"){
                            //     include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/beheeragenda.php';
                            // } elseif ($_GET['beheer'] == "afbeelding"){
                            //     include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/imageupload.php';
                            // } elseif ($_GET['beheer'] == "berichtopvraag"){
                            //     include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/berichtopvraagsubmit.php';
                            // } elseif ($_GET['beheer'] == "nieuws"){
                            //     include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/nieuws.php';
                            // } elseif ($_GET['beheer'] == "nieuwsbewerken"){
                            //     include $_SERVER['DOCUMENT_ROOT'].'/GFY1-03/admin/nieuwsbewerken.php';
{'fraction_non_alphanumeric': 0.12985256323549305, 'fraction_numerical': 0.009738942242661978, 'mean_word_length': 1.0268640350877194, 'pattern_counts': {'":': 12, '<': 27, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 36, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2093276', 'n_tokens_mistral': 1960, 'n_tokens_neox': 1798, 'n_words': 266}