<commit_before><?php
$page = filter_input(INPUT_GET, 'page', FILTER_SANITIZE_STRING);

//Connexion à la DB
include_once './modeles/modele_db.php';
$database = new Db();
$database->connect();
?>

<!DOCTYPE html>

<html lang="fr">
    <head>
        <meta charset="utf-8" />
        <title><NAME></title>
        <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="<KEY>" crossorigin="anonymous" />
    </head>

    <body>
        <?php include "./vues/menu_header_footer/menu.php";
        include './controleurs/controleur_header.php';

        try{
            switch ($page) {
                case null:  //Home
                case "list":    //liste de voitures
                    include './controleurs/controleur_liste.php';
                    break;

                case "vehicule":    //page d'un véhicule spécifique
                    include './controleurs/controleur_vehicule.php';
                    break;

                case "reparation":    //page d'une réparation spécifique
                    include './controleurs/controleur_reparation.php';
                    break;

                default:
                    break;
            }
        }
        catch (PDOException $e){
            echo "<h1>ERROR : ".$e->getMessage()."</h1>";
        }
        catch (Exception $e){
            echo "<h1>ERROR : ".$e->getMessage()."</h1>";
        }

        echo "<hr>";

        include './vues/menu_header_footer/footer.php';?>
    </body>
</html><commit_msg>include jQuery<commit_after><?php
$page = filter_input(INPUT_GET, 'page', FILTER_SANITIZE_STRING);

//Connexion à la DB
include_once './modeles/modele_db.php';
$database = new Db();
$database->connect();
?>

<!DOCTYPE html>

<html lang="fr">
    <head>
        <meta charset="utf-8" />
        <title><NAME></title>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
        <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="<KEY>" crossorigin="anonymous" />
    </head>

    <body>
        <?php include "./vues/menu_header_footer/menu.php";
        include './controleurs/controleur_header.php';

        try{
            switch ($page) {
                case null:  //Home
                case "list":    //liste de voitures
                    include './controleurs/controleur_liste.php';
                    break;

                case "vehicule":    //page d'un véhicule spécifique
                    include './controleurs/controleur_vehicule.php';
                    break;

                case "reparation":    //page d'une réparation spécifique
                    include './controleurs/controleur_reparation.php';
                    break;

                default:
                    break;
            }
        }
        catch (PDOException $e){
            echo "<h1>ERROR : ".$e->getMessage()."</h1>";
        }
        catch (Exception $e){
            echo "<h1>ERROR : ".$e->getMessage()."</h1>";
        }

        echo "<hr>";

        include './vues/menu_header_footer/footer.php';?>
    </body>

    <?php
        switch ($page) {
            case "vehicule":    //page d'un véhicule spécifique
                echo "<script src='controleurs/scripts/vehicule.js' type='text/javascript'></script>";
                break;

            case "reparation":    //page d'une réparation spécifique
                echo "<script src='controleurs/scripts/reparation.js' type='text/javascript'></script>";
                break;

            default:
                break;
        }?>
</html>
{'fraction_non_alphanumeric': 0.14924965893587994, 'fraction_numerical': 0.005184174624829468, 'mean_word_length': 1.6916299559471366, 'pattern_counts': {'":': 8, '<': 50, '<?xml version=': 0, '>': 56, 'https://': 3, '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': '4400359', 'n_tokens_mistral': 1145, 'n_tokens_neox': 1073, 'n_words': 203}