kleine constant Fehler geändert

This commit is contained in:
aschwarz 2023-02-27 12:37:43 +01:00
parent 880f85f10f
commit 3dd89a4231

View File

@ -222,11 +222,11 @@ break;
case "ubersicht":
$user = $_POST[user2];
$user = $_POST['user2'];
if($_POST[user1] != ''){ // Wenn Matrikelnummer eingegeben, dann prüfen, ob es diese im System gibt
if($_POST['user1'] != ''){ // Wenn Matrikelnummer eingegeben, dann prüfen, ob es diese im System gibt
$user = $_POST[user1]; // vorrangig die Matrikelnr bei Eingabe behandeln
$user = $_POST['user1']; // vorrangig die Matrikelnr bei Eingabe behandeln
$result = $db->query("SELECT 1
FROM stud
@ -776,30 +776,30 @@ while ($row1 = $result->fetch_array()){
WHERE dst_id ='$row1[dst_id]'");
$row6 = $result6->fetch_array();
if($row5[name] != '' and $row6[bez] == ''){
$bezeichnung = $row5[name];
$str = $row5[str];
$plz = $row5[plz];
$postfach = $row5[postfach];
$plz_postfach = $row5[plz_postfach];
$ort = $row5[ort];
$bundesland = $row5[bundesland];
if($row5['name'] != '' and $row6[bez] == ''){
$bezeichnung = $row5['name'];
$str = $row5['str'];
$plz = $row5['plz'];
$postfach = $row5['postfach'];
$plz_postfach = $row5['plz_postfach'];
$ort = $row5['ort'];
$bundesland = $row5['bundesland'];
}
if($row5[name] == '' and $row6[bez] != ''){
$bezeichnung = $row6[bez];
$str = $row6[str];
$plz = $row6[plz];
$postfach = $row6[postfach];
$plz_postfach = $row6[plz_postfach];
$ort = $row6[ort];
$bundesland = $row6[bundesland];
if($row5['name'] == '' and $row6['bez'] != ''){
$bezeichnung = $row6['bez'];
$str = $row6['str'];
$plz = $row6['plz'];
$postfach = $row6['postfach'];
$plz_postfach = $row6['plz_postfach'];
$ort = $row6['ort'];
$bundesland = $row6['bundesland'];
}
if($row5[name] == '' and $row6[bez] == ''){
if($row5['name'] == '' and $row6['bez'] == ''){
if($row2[bezeichnung] == 'Antragszeitraum Beginn' or $row2[bezeichnung] == 'Antragszeitraum Ende'){
if($row2['bezeichnung'] == 'Antragszeitraum Beginn' or $row2['bezeichnung'] == 'Antragszeitraum Ende'){
$bezeichnung = $row2[bezeichnung];
}else{
$bezeichnung = '<i>Zeitraum vorgemerkt</i>';
@ -924,7 +924,7 @@ while ($row1 = $result->fetch_array()){
$pdf->SetFont('Arial', '', 11);
$pdf->MultiCell(160, 3,"$row1[beginn] - $row1[ende]", 0, 'L');
if($row1[abteilung] != ''){
if($row1['abteilung'] != ''){
$pos = $pdf->GetY()+8;
$pdf->SetY($pos);
$pdf->SetX(24);
@ -938,7 +938,7 @@ while ($row1 = $result->fetch_array()){
$pdf->MultiCell(160, 3,"$row1[abteilung]", 0, 'L');
}
if($row1[tel_abteilung] != ''){
if($row1['tel_abteilung'] != ''){
$pos = $pdf->GetY()+8;
$pdf->SetY($pos);
$pdf->SetX(24);
@ -954,7 +954,7 @@ while ($row1 = $result->fetch_array()){
if($row2[bezeichnung] != ''){
if($row2['bezeichnung'] != ''){
$pos = $pdf->GetY()+8;
$pdf->SetY($pos);
$pdf->SetX(24);
@ -968,7 +968,7 @@ while ($row1 = $result->fetch_array()){
$pdf->MultiCell(160, 3,"$row2[bezeichnung]", 0, 'L');
}
if($row_s1[standort] != ''){
if($row_s1['standort'] != ''){
$pos = $pdf->GetY()+8;
$pdf->SetY($pos);
$pdf->SetX(24);
@ -1102,7 +1102,7 @@ $pdf->SetY($pos);
$data[3]['T_COLOR'] = array($rr,240,240);
$data[3]['BG_COLOR'] = array($rr,100,135);
*/
if($row_prio1[block] != ''){
if($row_prio1['block'] != ''){
$data[0]['TEXT'] = "$row2[bezeichnung]";
$data[0]['T_ALIGN'] = "L"; //C=CENTER, L=LEFT, R=RIGHT, J=JUSTIFY