kleine constant Fehler geändert

This commit is contained in:
aschwarz
2023-03-09 11:23:10 +01:00
parent 96bf507200
commit eda5bc1dd4
6 changed files with 62 additions and 62 deletions

View File

@ -256,7 +256,7 @@ break;
case "schluss":
if (checkdate($_POST[beg_mon], $_POST[beg_tag], $_POST[beg_jahr]) == 0) { // checkdate liefert 0 & 1 zurück: 0 wenn Datum falsch, 1 wenn Datum richtig
if (checkdate($_POST['beg_mon'], $_POST['beg_tag'], $_POST['beg_jahr']) == 0) { // checkdate liefert 0 & 1 zurück: 0 wenn Datum falsch, 1 wenn Datum richtig
echo "
<html>
<head>
@ -318,7 +318,7 @@ echo "
exit;
} // Ende Datums&uuml;berpr&uuml;fung
if (checkdate($_POST[end_mon], $_POST[end_tag], $_POST[end_jahr]) == 0) { // checkdate liefert 0 & 1 zur&uuml;ck: 0 wenn Datum falsch, 1 wenn Datum richtig
if (checkdate($_POST['end_mon'], $_POST['end_tag'], $_POST['end_jahr']) == 0) { // checkdate liefert 0 & 1 zur&uuml;ck: 0 wenn Datum falsch, 1 wenn Datum richtig
echo "
<html>
<head>
@ -383,9 +383,9 @@ exit;
if ($_POST[beg_std] < 0 or $_POST[beg_std] > 23
or $_POST[beg_min] < 0 or $_POST[beg_min] > 59
or $_POST[beg_sek] < 0 or $_POST[beg_sek] > 59)
if ($_POST['beg_std'] < 0 or $_POST['beg_std'] > 23
or $_POST['beg_min'] < 0 or $_POST['beg_min'] > 59
or $_POST['beg_sek'] < 0 or $_POST['beg_sek'] > 59)
{
echo "
<html>
@ -448,9 +448,9 @@ echo "
exit;
}
if ($_POST[end_std] < 0 or $_POST[end_std] > 23
or $_POST[end_min] < 0 or $_POST[end_min] > 59
or $_POST[end_sek] < 0 or $_POST[end_sek] > 59)
if ($_POST['end_std'] < 0 or $_POST['end_std'] > 23
or $_POST['end_min'] < 0 or $_POST['end_min'] > 59
or $_POST['end_sek'] < 0 or $_POST['end_sek'] > 59)
{
echo "
<html>
@ -517,7 +517,7 @@ exit;
if (checkdate($_POST[beg_mon_erf], $_POST[beg_tag_erf], $_POST[beg_jahr_erf]) == 0) { // checkdate liefert 0 & 1 zur&uuml;ck: 0 wenn Datum falsch, 1 wenn Datum richtig
if (checkdate($_POST['beg_mon_erf'], $_POST['beg_tag_erf'], $_POST['beg_jahr_erf']) == 0) { // checkdate liefert 0 & 1 zur&uuml;ck: 0 wenn Datum falsch, 1 wenn Datum richtig
echo "
<html>
<head>
@ -581,7 +581,7 @@ exit;
if (checkdate($_POST[end_mon_erf], $_POST[end_tag_erf], $_POST[end_jahr_erf]) == 0) { // checkdate liefert 0 & 1 zur&uuml;ck: 0 wenn Datum falsch, 1 wenn Datum richtig
if (checkdate($_POST['end_mon_erf'], $_POST['end_tag_erf'], $_POST['end_jahr_erf']) == 0) { // checkdate liefert 0 & 1 zur&uuml;ck: 0 wenn Datum falsch, 1 wenn Datum richtig
echo "
<html>
<head>
@ -647,7 +647,7 @@ exit;
if (checkdate($_POST[einsicht_mon], $_POST[einsicht_tag], $_POST[einsicht_jahr]) == 0) { // checkdate liefert 0 & 1 zur&uuml;ck: 0 wenn Datum falsch, 1 wenn Datum richtig
if (checkdate($_POST['einsicht_mon'], $_POST['einsicht_tag'], $_POST['einsicht_jahr']) == 0) { // checkdate liefert 0 & 1 zur&uuml;ck: 0 wenn Datum falsch, 1 wenn Datum richtig
echo "
<html>
<head>
@ -711,9 +711,9 @@ exit;
if ($_POST[einsicht_std] < 0 or $_POST[einsicht_std] > 23
or $_POST[einsicht_min] < 0 or $_POST[einsicht_min] > 59
or $_POST[einsicht_sek] < 0 or $_POST[einsicht_sek] > 59)
if ($_POST['einsicht_std'] < 0 or $_POST['einsicht_std'] > 23
or $_POST['einsicht_min'] < 0 or $_POST['einsicht_min'] > 59
or $_POST['einsicht_sek'] < 0 or $_POST['einsicht_sek'] > 59)
{
echo "
<html>
@ -778,7 +778,7 @@ exit;
if (checkdate($_POST[wahl_stadort_mon], $_POST[wahl_stadort_tag], $_POST[wahl_stadort_jahr]) == 0) { // checkdate liefert 0 & 1 zur&uuml;ck: 0 wenn Datum falsch, 1 wenn Datum richtig
if (checkdate($_POST['wahl_stadort_mon'], $_POST['wahl_stadort_tag'], $_POST['wahl_stadort_jahr']) == 0) { // checkdate liefert 0 & 1 zur&uuml;ck: 0 wenn Datum falsch, 1 wenn Datum richtig
echo "
<html>
<head>
@ -843,9 +843,9 @@ exit;
if ($_POST[wahl_stadort_std] < 0 or $_POST[wahl_stadort_std] > 23
or $_POST[wahl_stadort_min] < 0 or $_POST[wahl_stadort_min] > 59
or $_POST[wahl_stadort_sek] < 0 or $_POST[wahl_stadort_sek] > 59)
if ($_POST['wahl_stadort_std'] < 0 or $_POST['wahl_stadort_std'] > 23
or $_POST['wahl_stadort_min'] < 0 or $_POST['wahl_stadort_min'] > 59
or $_POST['wahl_stadort_sek'] < 0 or $_POST['wahl_stadort_sek'] > 59)
{
echo "
<html>
@ -974,4 +974,4 @@ echo "
</html>";
} // Ende Action
?>
?>

View File

@ -1485,12 +1485,12 @@ if($row_akt['status'] == '1' AND $row_akt['zuweisung'] == NULL AND $row_akt['aen
WHERE saaid='$row_alt[saaid]'");
# --> Schreiben an Student, Schreiben an Dienststelle Änderungsantrag, Schreiben an Dienststelle Erstantrag
printqueue_antrag($row_akt[saaid], 'AES', 'Änderungsschreiben an Student mit zugewiesenem Erstantrag', $user_admin, $hs, 1);
printqueue_antrag($row_akt[saaid], 'AEP', 'Änderungsschreiben an Praxisstelle mit zugewiesenem Erstantrag', $user_admin, $hs, 2);
if($row_akt[dst_id] != $row_alt[dst_id]){ //wenn sich Dienststelle ändert, dann zusätzlich eine Neuzuweisung
printqueue_antrag($row_akt[saaid], 'EZP', 'Erstantrag an Praxisstelle nach Änderungsantrag', $user_admin, $hs, 3);
printqueue_antrag($row_akt['saaid'], 'AES', 'Änderungsschreiben an Student mit zugewiesenem Erstantrag', $user_admin, $hs, 1);
printqueue_antrag($row_akt['saaid'], 'AEP', 'Änderungsschreiben an Praxisstelle mit zugewiesenem Erstantrag', $user_admin, $hs, 2);
if($row_akt['dst_id'] != $row_alt['dst_id']){ //wenn sich Dienststelle ändert, dann zusätzlich eine Neuzuweisung
printqueue_antrag($row_akt['saaid'], 'EZP', 'Erstantrag an Praxisstelle nach Änderungsantrag', $user_admin, $hs, 3);
}
$saaid_cur = $row_akt[saaid];
$saaid_cur = $row_akt['saaid'];
}
# Step 3 Ende

View File

@ -530,19 +530,19 @@ $pdf->SetY($pos);
WHERE dst_id ='$row[dst_id]'");
$row6 = $result6->fetch_array();
if($row5[name] != '' and $row6[bez] == ''){
$bezeichnung = $row5[name];
if($row5['name'] != '' and $row6['bez'] == ''){
$bezeichnung = $row5['name'];
}
if($row5[name] == '' and $row6[bez] != ''){
$bezeichnung = $row6[bez];
if($row5['name'] == '' and $row6['bez'] != ''){
$bezeichnung = $row6['bez'];
}
if($row5[name] == '' and $row6[bez] == ''){
if($row5['name'] == '' and $row6['bez'] == ''){
if($row2[bezeichnung] == 'Antragszeitraum Beginn' or $row2[bezeichnung] == 'Antragszeitraum Ende'){
$bezeichnung = $row2[bezeichnung];
if($row2['bezeichnung'] == 'Antragszeitraum Beginn' or $row2['bezeichnung'] == 'Antragszeitraum Ende'){
$bezeichnung = $row2['bezeichnung'];
}else{
$bezeichnung = '<i>Zeitraum vorgemerkt</i>';
}

View File

@ -176,7 +176,7 @@ function cursorhand()
<b>Vertiefungsbereich</b>
</td>
<td width='60%'>";
if($row3a[bezeichnung] == $row_alta[bezeichnung]){
if($row3a['bezeichnung'] == $row_alta['bezeichnung']){
$color='black';
}else{
$color='red';
@ -190,7 +190,7 @@ function cursorhand()
<b>Art der Praxisstelle</b>
</td>
<td width='60%'>";
if($row3b[bezeichnung] == $row_altb[bezeichnung]){
if($row3b['bezeichnung'] == $row_altb['bezeichnung']){
$color='black';
}else{
$color='red';
@ -204,7 +204,7 @@ function cursorhand()
<b>Bezeichnung der Praxisstelle</b>
</td>
<td width='60%'>";
if($row3c[bez] == $row_altc[bez]){
if($row3c['bez'] == $row_altc['bez']){
$color='black';
}else{
$color='red';
@ -218,7 +218,7 @@ function cursorhand()
<b>Straße und Nr. der Praxisstelle</b>
</td>
<td width='60%'>";
if($row3c[str] == $row_altc[str]){
if($row3c['str'] == $row_altc['str']){
$color='black';
}else{
$color='red';
@ -232,14 +232,14 @@ function cursorhand()
<b>PLZ Ort</b>
</td>
<td width='60%'>";
if($row3c[plz] == $row_altc[plz]){
if($row3c['plz'] == $row_altc['plz']){
$color='black';
}else{
$color='red';
}
echo"
<font color='$color'>$row3c[plz]</font>";
if($row3c[ort] == $row_altc[ort]){
if($row3c['ort'] == $row_altc['ort']){
$color='black';
}else{
$color='red';
@ -252,14 +252,14 @@ function cursorhand()
<b>PLZ Postfach</b>
</td>
<td width='60%'>";
if($row3c[plz_postfach] == $row_altc[plz_postfach]){
if($row3c['plz_postfach'] == $row_altc['plz_postfach']){
$color='black';
}else{
$color='red';
}
echo"
<font color='$color'>$row3c[plz_postfach]</font>";
if($row3c[postfach] == $row_altc[postfach]){
if($row3c['postfach'] == $row_altc['postfach']){
$color='black';
}else{
$color='red';
@ -273,7 +273,7 @@ function cursorhand()
<b>Bundesland</b>
</td>
<td width='60%'>";
if($row3c[bundesland] == $row_altc[bundesland]){
if($row3c['bundesland'] == $row_altc['bundesland']){
$color='black';
}else{
$color='red';
@ -287,7 +287,7 @@ function cursorhand()
<b>Staat</b>
</td>
<td width='60%'>";
if($row3c[staat] == $row_altc[staat]){
if($row3c['staat'] == $row_altc['staat']){
$color='black';
}else{
$color='red';
@ -301,14 +301,14 @@ function cursorhand()
<b>Zeitraum bei dieser Praxisstelle</b>
</td>
<td width='60%'>";
if($row3[beginn] == $row_alt[beginn]){
if($row3['beginn'] == $row_alt['beginn']){
$color='black';
}else{
$color='red';
}
echo"
<font color='$color'>$row3[beginn]</font> - ";
if($row3[ende] == $row_alt[ende]){
if($row3['ende'] == $row_alt['ende']){
$color='black';
}else{
$color='red';
@ -322,7 +322,7 @@ function cursorhand()
<b>Abteilung</b>
</td>
<td width='60%'>";
if($row3[abteilung] == $row_alt[abteilung]){
if($row3['abteilung'] == $row_alt['abteilung']){
$color='black';
}else{
$color='red';
@ -336,7 +336,7 @@ function cursorhand()
<b>Tel. der Abteilung</b>
</td>
<td width='60%'>";
if($row3[tel_abteilung] == $row_alt[tel_abteilung]){
if($row3['tel_abteilung'] == $row_alt['tel_abteilung']){
$color='black';
}else{
$color='red';
@ -357,7 +357,7 @@ function cursorhand()
<b>Vertiefungsbereich</b>
</td>
<td width='60%'>";
if($row3a[bezeichnung] == $row_alta[bezeichnung]){
if($row3a['bezeichnung'] == $row_alta['bezeichnung']){
$color='black';
}else{
$color='red';
@ -371,7 +371,7 @@ function cursorhand()
<b>Art der Praxisstelle</b>
</td>
<td width='60%'>";
if($row3b[bezeichnung] == $row_altb[bezeichnung]){
if($row3b['bezeichnung'] == $row_altb['bezeichnung']){
$color='black';
}else{
$color='red';
@ -385,7 +385,7 @@ function cursorhand()
<b>Bezeichnung der Praxisstelle</b>
</td>
<td width='60%'>";
if($row3c[bez] == $row_altc[bez]){
if($row3c['bez'] == $row_altc['bez']){
$color='black';
}else{
$color='red';
@ -399,7 +399,7 @@ function cursorhand()
<b>Straße und Nr. der Praxisstelle</b>
</td>
<td width='60%'>";
if($row3c[str] == $row_altc[str]){
if($row3c['str'] == $row_altc['str']){
$color='black';
}else{
$color='red';
@ -413,14 +413,14 @@ function cursorhand()
<b>PLZ Ort</b>
</td>
<td width='60%'>";
if($row3c[plz] == $row_altc[plz]){
if($row3c['plz'] == $row_altc['plz']){
$color='black';
}else{
$color='red';
}
echo"
<font color='$color'>$row_altc[plz]</font>";
if($row3c[ort] == $row_altc[ort]){
if($row3c['ort'] == $row_altc['ort']){
$color='black';
}else{
$color='red';
@ -433,14 +433,14 @@ function cursorhand()
<b>PLZ Postfach</b>
</td>
<td width='60%'>";
if($row3c[plz_postfach] == $row_altc[plz_postfach]){
if($row3c['plz_postfach'] == $row_altc['plz_postfach']){
$color='black';
}else{
$color='red';
}
echo"
<font color='$color'>$row_altc[plz_postfach]</font>";
if($row3c[postfach] == $row_altc[postfach]){
if($row3c['postfach'] == $row_altc['postfach']){
$color='black';
}else{
$color='red';
@ -454,7 +454,7 @@ function cursorhand()
<b>Bundesland</b>
</td>
<td width='60%'>";
if($row3c[bundesland] == $row_altc[bundesland]){
if($row3c['bundesland'] == $row_altc['bundesland']){
$color='black';
}else{
$color='red';
@ -468,7 +468,7 @@ function cursorhand()
<b>Staat</b>
</td>
<td width='60%'>";
if($row3c[staat] == $row_altc[staat]){
if($row3c['staat'] == $row_altc['staat']){
$color='black';
}else{
$color='red';
@ -482,14 +482,14 @@ function cursorhand()
<b>Zeitraum bei dieser Praxisstelle</b>
</td>
<td width='60%'>";
if($row3[beginn] == $row_alt[beginn]){
if($row3['beginn'] == $row_alt['beginn']){
$color='black';
}else{
$color='red';
}
echo"
<font color='$color'>$row_alt[beginn]</font> - ";
if($row3[ende] == $row_alt[ende]){
if($row3['ende'] == $row_alt['ende']){
$color='black';
}else{
$color='red';
@ -503,7 +503,7 @@ function cursorhand()
<b>Abteilung</b>
</td>
<td width='60%'>";
if($row3[abteilung] == $row_alt[abteilung]){
if($row3['abteilung'] == $row_alt['abteilung']){
$color='black';
}else{
$color='red';
@ -517,7 +517,7 @@ function cursorhand()
<b>Tel. der Abteilung</b>
</td>
<td width='60%'>";
if($row3[tel_abteilung] == $row_alt[tel_abteilung]){
if($row3['tel_abteilung'] == $row_alt['tel_abteilung']){
$color='black';
}else{
$color='red';
@ -571,4 +571,4 @@ function cursorhand()
?>
?>

View File

@ -1 +1 @@
<?php
<?php

View File

@ -778,7 +778,7 @@ oPopupBody.style.border = \"solid blue 1px\";
$fehler = 'X';
}
}elseif($row_minmax[ueber] == '0'){
}elseif($row_minmax['ueber'] == '0'){
echo "<font color=green><b>OK</b></font>";
}