kleine constant Fehler geändert

This commit is contained in:
aschwarz 2023-02-17 14:44:59 +01:00
parent fa93ed4c91
commit 51db6a1c3a
2 changed files with 9 additions and 9 deletions

View File

@ -26,8 +26,8 @@ $anm_schluss = $db->query("SELECT DATE_Format(anmeldebeginn, '%Y%m%d%H%i%s')AS b
$row_schluss = $anm_schluss->fetch_array(); // Herausfinden des Beginn- Schlussdatums
$a = strtotime ($heute_format); //Umrechnung des Fristgrenztages in eine Zahl
$b = strtotime ($row_schluss[enddatum]); // Umrechnung des Enddatums in eine Zahl
$c = strtotime ($row_schluss[beginndatum]); // Umrechnung des Beginndatums in eine Zahl
$b = strtotime ($row_schluss['enddatum']); // Umrechnung des Enddatums in eine Zahl
$c = strtotime ($row_schluss['beginndatum']); // Umrechnung des Beginndatums in eine Zahl
if ($a < $c){
echo "

View File

@ -35,7 +35,7 @@ $anm_schluss = $db->query("SELECT DATE_Format(anmeldeschluss, '%d.%m.%Y um %H:%i
$row_schluss = $anm_schluss->fetch_array(); // Herausfinden des Beginn- Schlussdatums
$a = strtotime ($heute_format); //Umrechnung des Fristgrenztages in eine Zahl
$b = strtotime ($row_schluss[enddatum]); // Umrechnung des Enddatums in eine Zahl
$b = strtotime ($row_schluss['enddatum']); // Umrechnung des Enddatums in eine Zahl
@ -47,7 +47,7 @@ $res2 = $db->query("SELECT distinct status
LIMIT 1");
$stud_status = $res2->fetch_array();
if($stud_status[status] != '0'){
if($stud_status['status'] != '0'){
if ($a <= $b){
echo "
@ -565,7 +565,7 @@ echo"
<option value='x' selected>Bitte wählen Sie einen Vertiefungsbereich&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>";
while ($row1 = $result1->fetch_array()){
echo "<option value='$row1[vbid]'";if($row1[vbid] == $vert){echo " selected ";} echo">$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
echo "<option value='$row1[vbid]'";if($row1['vbid'] == $vert){echo " selected ";} echo">$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
}
echo"</select>
</td>
@ -608,7 +608,7 @@ echo"
or die ("Cannot execute query");
echo "<select class='select_form' size=\"1\" name=\"stellenart1\" id='stellenart1'>";
while ($row1 = $result1->fetch_array()){
echo "<option value='$row1[artid]'";if($row1[artid] == 1){echo "selected";}elseif($row1[artid] == $art){echo " selected ";} echo">$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
echo "<option value='$row1[artid]'";if($row1['artid'] == 1){echo "selected";}elseif($row1['artid'] == $art){echo " selected ";} echo">$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
}
echo"</select>
@ -1252,7 +1252,7 @@ echo"
<option value='x' selected>Bitte wählen Sie einen Vertiefungsbereich&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>";
while ($row1 = $result1->fetch_array()){
echo "<option value='$row1[vbid]'";if($row1[vbid] == $vert){echo " selected ";} echo">$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
echo "<option value='$row1[vbid]'";if($row1['vbid'] == $vert){echo " selected ";} echo">$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
}
echo"
</td></select>
@ -1294,7 +1294,7 @@ echo"
or die ("Cannot execute query");
echo "<select class='select_form' size=\"1\" name=\"stellenart4\" id='stellenart4'>";
while ($row1 = $result1->fetch_array()){
echo "<option value='$row1[artid]'";if($row1[artid] == 1){echo "selected";}elseif($row1[artid] == $art){echo " selected ";} echo">$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
echo "<option value='$row1[artid]'";if($row1['artid'] == 1){echo "selected";}elseif($row1['artid'] == $art){echo " selected ";} echo">$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
}
echo"</select>
@ -1932,7 +1932,7 @@ echo"
<option value='x' selected>Bitte wählen Sie einen Vertiefungsbereich&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>";
while ($row1 = $result1->fetch_array()){
echo "<option value='$row1[vbid]'";if($row1[vbid] == $vert){echo " selected ";} echo">$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
echo "<option value='$row1[vbid]'";if($row1['vbid'] == $vert){echo " selected ";} echo">$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
}
echo"</select>
</td>