<commit_before><?php session_start();?>

<h1>Neue Kategorie anlegen</h1>

<?php if (isset($errors)) {
	foreach ($errors as $err) {
		echo "Fehler: " . $err . "<br>";
	}
}?>

<form method="POST">	
	<table>
		<tr><td>Kategoriename</td><td><input type="text" name="kategoriebeschreibung" required value="<?=$kategorie[0]->getKategoriebeschreibung()?>" ></td></tr>
		
	</table>

	<input type="hidden" name="k_id" readonly="readonly" value="<?=!is_null ($kategorie[0]->getK_id()) ? $Kategorie[0]->getK_id():"<automatisch>"?>">
	
	<input type="submit" name="speichern" value="Kategorie anlegen">
</form>

  <commit_msg>$msg add<commit_after><?=$msg?>
<?php session_start();?>

<h1>Neue Kategorie anlegen</h1>

<?php if (isset($errors)) {
	foreach ($errors as $err) {
		echo "Fehler: " . $err . "<br>";
	}
}?>

<form method="POST">	
	<table>
		<tr><td>Kategoriename</td><td><input type="text" name="kategoriebeschreibung" required value="<?=$kategorie[0]->getKategoriebeschreibung()?>" ></td></tr>
		
	</table>

	<input type="hidden" name="k_id" readonly="readonly" value="<?=!is_null ($kategorie[0]->getK_id()) ? $Kategorie[0]->getK_id():"<automatisch>"?>">
	
	<input type="submit" name="speichern" value="Kategorie anlegen">
</form>

  
{'fraction_non_alphanumeric': 0.2445166531275386, 'fraction_numerical': 0.008123476848090982, 'mean_word_length': 6.466666666666667, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 52, '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': '3142882', 'n_tokens_mistral': 506, 'n_tokens_neox': 496, 'n_words': 80}