<commit_before><?php
require_once "../init.php";

session_start();
setcookie(session_name(), session_id());
add_hook("after_session_start");

require_once "../version.php";
require_once "inc/logincheck.php";
require_once "inc/queries.php";
@include_once "inc/sort_direction.php";


define("_SECURITY", true);




if(isset($_SESSION["ulicms_login"]))
    {
     $eingeloggt = $_SESSION["ulicms_login"];
     db_query("UPDATE " . tbname("admins") . " SET last_action = " . time() . " WHERE id = " . $_SESSION["login_id"]);
     }else{
     $eingeloggt = false;
     }

if($_GET["action"] == "export" and isset($_POST["table"])){
     require_once "inc/export-data.php";
    }

header("Content-Type: text/html; charset=UTF-8");


if(isset($_REQUEST["ajax_cmd"])){
     include_once "inc/ajax_handler.php";
     exit();
     }





require_once "inc/header.php";
if(!$eingeloggt){
     if(isset($_GET["register"])){
         require_once "inc/registerform.php";
         }
    else{
         require_once "inc/loginform.php";
         }
     }else{
     require_once "inc/adminmenu.php";
    
    
    
     if($_GET["action"] == "" || $_GET["action"] == "home"){
         require_once "inc/dashboard.php";
         }
    else if($_GET["action"] == "contents"){
         require_once "inc/contents.php";
         }
    
    else if($_GET["action"] == "pages"){
         require_once "inc/pages.php";
         }<commit_msg>aufgeräumt<commit_after><?php
require_once "../init.php";

session_start();
setcookie(session_name(), session_id());
add_hook("after_session_start");

require_once "../version.php";
require_once "inc/logincheck.php";
require_once "inc/queries.php";
@include_once "inc/sort_direction.php";

define("_SECURITY", true);

if(isset($_SESSION["ulicms_login"]))
    {
     $eingeloggt = $_SESSION["ulicms_login"];
     db_query("UPDATE " . tbname("admins") . " SET last_action = " . time() . " WHERE id = " . $_SESSION["login_id"]);
     }else{
     $eingeloggt = false;
     }

if($_GET["action"] == "export" and isset($_POST["table"])){
     require_once "inc/export-data.php";
    }

header("Content-Type: text/html; charset=UTF-8");


if(isset($_REQUEST["ajax_cmd"])){
     include_once "inc/ajax_handler.php";
     exit();
     }

require_once "inc/header.php";
if(!$eingeloggt){
     if(isset($_GET["register"])){
         require_once "inc/registerform.php";
         }
    else{
         require_once "inc/loginform.php";
         }
     }else{
     require_once "inc/adminmenu.php";
    
    
    
     if($_GET["action"] == "" || $_GET["action"] == "home"){
         require_once "inc/dashboard.php";
         }
    else if($_GET["action"] == "contents"){
         require_once "inc/contents.php";
         }
    
    else if($_GET["action"] == "pages"){
         require_once "inc/pages.php";
         }
{'fraction_non_alphanumeric': 0.1904424778761062, 'fraction_numerical': 0.0007079646017699115, 'mean_word_length': 3.0429184549356223, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '1970795', 'n_tokens_mistral': 973, 'n_tokens_neox': 955, 'n_words': 142}