kleine constant Fehler geändert

This commit is contained in:
aschwarz 2023-02-27 10:16:06 +01:00
parent 4da9105a06
commit 0cf74e9297
4 changed files with 36 additions and 36 deletions

View File

@ -32,7 +32,7 @@ else
switch($action){ switch($action){
default: default:
$vert1 = $_COOKEI[ck_vert1]; $vert1 = $_COOKEI['ck_vert1'];
$db = dbconnect(); $db = dbconnect();
include("kurs/sta/stan_soadmonline_write.php"); // Für Statistik, wieviele User online sind include("kurs/sta/stan_soadmonline_write.php"); // Für Statistik, wieviele User online sind
@ -649,4 +649,4 @@ if ($sql) // Bestätigungsseite bei Erfolg sonst Nichterfolgsmeldung
} }
} //Ende Action Abfrage } //Ende Action Abfrage
?> ?>

View File

@ -132,8 +132,8 @@ echo "
or die ("Cannot execute query"); or die ("Cannot execute query");
echo "<select size=\"5\" name=\"user2\">"; echo "<select size=\"5\" name=\"user2\">";
while ($row = $result->fetch_array()){ while ($row = $result->fetch_array()){
echo "<option value=\"".$row[mtknr]."\">$row[nachname], $row[vorname]"; echo "<option value=\"".$row['mtknr']."\">$row[nachname], $row[vorname]";
if ($row[durchgefallen] == "Y"){ if ($row['durchgefallen'] == "Y"){
echo " *"; echo " *";
} }
echo " echo "
@ -1144,4 +1144,4 @@ $pdf->closeParsers();
############################################################# #############################################################
} // Ende Action script } // Ende Action script
?> ?>

View File

@ -132,8 +132,8 @@ echo "
or die ("Cannot execute query"); or die ("Cannot execute query");
echo "<select size=\"5\" name=\"user2\">"; echo "<select size=\"5\" name=\"user2\">";
while ($row = $result->fetch_array()){ while ($row = $result->fetch_array()){
echo "<option value=\"".$row[mtknr]."\">$row[nachname], $row[vorname]"; echo "<option value=\"".$row['mtknr']."\">$row[nachname], $row[vorname]";
if ($row[durchgefallen] == "Y"){ if ($row['durchgefallen'] == "Y"){
echo " *"; echo " *";
} }
echo " echo "
@ -765,31 +765,31 @@ while ($row1 = $result->fetch_array()){
WHERE dst_id ='$row1[dst_id]'"); WHERE dst_id ='$row1[dst_id]'");
$row6 = $result6->fetch_array(); $row6 = $result6->fetch_array();
if($row5[name] != '' and $row6[bez] == ''){ if($row5['name'] != '' and $row6['bez'] == ''){
$bezeichnung = $row5[name]; $bezeichnung = $row5['name'];
$str = $row5[str]; $str = $row5['str'];
$plz = $row5[plz]; $plz = $row5['plz'];
$postfach = $row5[postfach]; $postfach = $row5['postfach'];
$plz_postfach = $row5[plz_postfach]; $plz_postfach = $row5['plz_postfach'];
$ort = $row5[ort]; $ort = $row5['ort'];
$bundesland = $row5[bundesland]; $bundesland = $row5['bundesland'];
} }
if($row5[name] == '' and $row6[bez] != ''){ if($row5['name'] == '' and $row6['bez'] != ''){
$bezeichnung = $row6[bez]; $bezeichnung = $row6['bez'];
$str = $row6[str]; $str = $row6['str'];
$plz = $row6[plz]; $plz = $row6['plz'];
$postfach = $row6[postfach]; $postfach = $row6['postfach'];
$plz_postfach = $row6[plz_postfach]; $plz_postfach = $row6['plz_postfach'];
$ort = $row6[ort]; $ort = $row6['ort'];
$bundesland = $row6[bundesland]; $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]; $bezeichnung = $row2['bezeichnung'];
}else{ }else{
$bezeichnung = '<i>Zeitraum vorgemerkt</i>'; $bezeichnung = '<i>Zeitraum vorgemerkt</i>';
} }
@ -913,7 +913,7 @@ while ($row1 = $result->fetch_array()){
$pdf->SetFont('Arial', '', 11); $pdf->SetFont('Arial', '', 11);
$pdf->MultiCell(160, 3,"$row1[beginn] - $row1[ende]", 0, 'L'); $pdf->MultiCell(160, 3,"$row1[beginn] - $row1[ende]", 0, 'L');
if($row1[abteilung] != ''){ if($row1['abteilung'] != ''){
$pos = $pdf->GetY()+8; $pos = $pdf->GetY()+8;
$pdf->SetY($pos); $pdf->SetY($pos);
$pdf->SetX(24); $pdf->SetX(24);
@ -927,7 +927,7 @@ while ($row1 = $result->fetch_array()){
$pdf->MultiCell(160, 3,"$row1[abteilung]", 0, 'L'); $pdf->MultiCell(160, 3,"$row1[abteilung]", 0, 'L');
} }
if($row1[tel_abteilung] != ''){ if($row1['tel_abteilung'] != ''){
$pos = $pdf->GetY()+8; $pos = $pdf->GetY()+8;
$pdf->SetY($pos); $pdf->SetY($pos);
$pdf->SetX(24); $pdf->SetX(24);
@ -943,7 +943,7 @@ while ($row1 = $result->fetch_array()){
if($row2[bezeichnung] != ''){ if($row2['bezeichnung'] != ''){
$pos = $pdf->GetY()+8; $pos = $pdf->GetY()+8;
$pdf->SetY($pos); $pdf->SetY($pos);
$pdf->SetX(24); $pdf->SetX(24);
@ -1119,4 +1119,4 @@ $pdf->closeParsers();
############################################################# #############################################################
} // Ende Action script } // Ende Action script
?> ?>

View File

@ -221,7 +221,7 @@ a{
$prxmail = $row6['mail']; $prxmail = $row6['mail'];
} }
if($row5[name] == '' and $row6['bez'] == ''){ if($row5['name'] == '' and $row6['bez'] == ''){
$bezeichnung = '<i>Zeitraum vorgemerkt</i>'; $bezeichnung = '<i>Zeitraum vorgemerkt</i>';
$ort = ''; $ort = '';
} }
@ -463,17 +463,17 @@ a{
# Wenn nicht unterschiedlich, dann Button anzeigen. # Wenn nicht unterschiedlich, dann Button anzeigen.
#1 #1
$block_cur= get_block($row[saaid], $jahrgang); $block_cur= get_block($row['saaid'], $jahrgang);
$result1 = $db->query("SELECT prio0, prio1 $result1 = $db->query("SELECT prio0, prio1
FROM stan_ag_wunsch_vw FROM stan_ag_wunsch_vw
WHERE uid= '$row[uid]' WHERE uid= '$row[uid]'
AND block='$block_cur'"); AND block='$block_cur'");
$row_standort = $result1->fetch_array(); $row_standort = $result1->fetch_array();
if($row_standort[prio0] == NULL OR $row_standort[prio0] == ''){ if($row_standort['prio0'] == NULL OR $row_standort['prio0'] == ''){
$stelle_ag_standort = $row_standort[prio1]; $stelle_ag_standort = $row_standort['prio1'];
}else{ }else{
$stelle_ag_standort = $row_standort[prio0]; $stelle_ag_standort = $row_standort['prio0'];
} }
#2 #2
@ -492,7 +492,7 @@ a{
$row4 = $result4->fetch_array(); $row4 = $result4->fetch_array();
if($row4[vert_bereich] != $row3[vbid] AND $stelle_ag_standort != '' AND $stelle_ag_standort != '8888' AND $stelle_ag_standort != '9999'){ if($row4['vert_bereich'] != $row3['vbid'] AND $stelle_ag_standort != '' AND $stelle_ag_standort != '8888' AND $stelle_ag_standort != '9999'){
# Vertiefungsbereich wurde geändert # Vertiefungsbereich wurde geändert
#$zuw_alle_sperre ='X'; #$zuw_alle_sperre ='X';