<commit_before><?php
    use Zertifizierungstool\Model\Kurs;
    
    if (isset($status)) {
    	echo $status;
    }
    else{
?>


<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

    <div class="container">
    	<h3>Kurs </h3>
    	
    	
    	 
    	 <?php /*foreach($kursview as $kurs) {
    	 	echo "Kurs: ".$kurs['kurs_name'];*/
    	 	?>
        <table class="table table-hover">
    	<tr><td>Kursname:</td><td> 	<?=$kurs->getKurs_name()?>		</td></tr>
        <tr><td>Kursstart:</td><td> <?=$kurs->getKurs_start()?>	</td></tr>
        <tr><td>Kursende:</td><td>	<?=$kurs->getKurs_ende()?>		</td></tr>
        <tr><td>Sichtbarkeit:</td>
        	<td> 
                     <?php
                        if($kurs->getSichtbarkeit() == 1)   	echo "öffentlich";
                      	else              					echo "privat";
                     ?> 
           </td>
       	</tr>
        <tr><td>Benutzername:</td><td><?=$kurs->getBenutzername()?></td></tr>
        <tr><td>Beschreibung:</td><td><?=$kurs->getBeschreibung()?></td></tr>
        </table>
        
		<?php  }    ?>
		<form accept-charset="utf-8" method="POST" action="upload">
                    <input type="hidden" value="<?=$kurs->getKurs_id()?>" name="kurs_id">
                    <input size="70" maxlength="250" value="Datei hinzufügen" type="submit">
		</form>
		
		
  
    </div>
    </body><commit_msg>showdocuments angepasst<commit_after><?php
    use Zertifizierungstool\Model\Kurs;
    
    if (isset($status)) {
    	echo $status;
    }
    else{
?>


<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

    <div class="container">
    	<h3>Kurs </h3>
    	
    	
    	 
    	 <?php /*foreach($kursview as $kurs) {
    	 	echo "Kurs: ".$kurs['kurs_name'];*/
    	 	?>
        <table class="table table-hover">
    	<tr><td>Kursname:</td><td> 	<?=$kurs->getKurs_name()?>		</td></tr>
        <tr><td>Kursstart:</td><td> <?=$kurs->getKurs_start()?>	</td></tr>
        <tr><td>Kursende:</td><td>	<?=$kurs->getKurs_ende()?>		</td></tr>
        <tr><td>Sichtbarkeit:</td>
        	<td> 
                     <?php
                        if($kurs->getSichtbarkeit() == 1)   	echo "öffentlich";
                      	else              					echo "privat";
                     ?> 
           </td>
       	</tr>
        <tr><td>Benutzername:</td><td><?=$kurs->getBenutzername()?></td></tr>
        <tr><td>Beschreibung:</td><td><?=$kurs->getBeschreibung()?></td></tr>
        </table>
        
		<?php  }    ?>
		<form accept-charset="utf-8" method="POST" action="upload">
                    <input type="hidden" value="<?=$kurs->getKurs_id()?>" name="kurs_id">
                    <input size="70" maxlength="250" value="Datei hinzufügen" type="submit">
		</form>
                <form accept-charset="utf-8" method="POST" action="showdocuments">
                    <input type="hidden" value="<?=$kurs->getKurs_id()?>" name="kurs_id">
                    <input size="70" maxlength="250" value="Kursdokumente anzeigen" type="submit">
		</form>
		
		
  
    </div>
    </body>
{'fraction_non_alphanumeric': 0.2129455909943715, 'fraction_numerical': 0.008755472170106316, 'mean_word_length': 2.032227488151659, 'pattern_counts': {'":': 0, '<': 132, '<?xml version=': 0, '>': 147, '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': '1220450', 'n_tokens_mistral': 1222, 'n_tokens_neox': 1175, 'n_words': 161}