kleine constant Fehler geändert

This commit is contained in:
aschwarz
2023-03-01 16:53:57 +01:00
parent e713868110
commit 55ee2af22e
5 changed files with 56 additions and 56 deletions

View File

@ -825,7 +825,7 @@ echo"
or die ("Cannot execute query");
echo "<select class='select_form' size=\"1\" name=\"stellenart2\" id='stellenart2'>";
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>
@ -1041,7 +1041,7 @@ echo"
or die ("Cannot execute query");
echo "<select class='select_form' size=\"1\" name=\"stellenart3\" id='stellenart3'>";
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>
@ -1511,7 +1511,7 @@ echo"
or die ("Cannot execute query");
echo "<select class='select_form' size=\"1\" name=\"stellenart5\" id='stellenart5'>";
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>
@ -1725,7 +1725,7 @@ echo"
or die ("Cannot execute query");
echo "<select class='select_form' size=\"1\" name=\"stellenart6\" id='stellenart6'>";
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>
@ -2192,7 +2192,7 @@ echo"
or die ("Cannot execute query");
echo "<select class='select_form' size=\"1\" name=\"stellenart8\" id='stellenart8'>";
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>
@ -2407,7 +2407,7 @@ echo"
or die ("Cannot execute query");
echo "<select class='select_form' size=\"1\" name=\"stellenart9\" id='stellenart9'>";
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[i'artid'] == $art){echo " selected ";} echo">$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
}
echo"</select>
@ -2877,7 +2877,7 @@ echo"
or die ("Cannot execute query");
echo "<select class='select_form' size=\"1\" name=\"stellenart11\" id='stellenart11'>";
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>
@ -3572,7 +3572,7 @@ if(trim($db_vertiefungsbereich) == trim($vertiefungsbereich) AND
");
$row_art = $res_stellanrt->fetch_array();
if($row_art[Merkmal] == 'A' AND $bezeichnung == ''){ //wenn Textfelder bei Auslandspraktikum leer gelassen werden, dann wird 0 als dst_id eingetragen. Dies geht nur mit bei Ausland (StellenartID=6)
if($row_art['Merkmal'] == 'A' AND $bezeichnung == ''){ //wenn Textfelder bei Auslandspraktikum leer gelassen werden, dann wird 0 als dst_id eingetragen. Dies geht nur mit bei Ausland (StellenartID=6)
$dst_id = 0;
}
@ -3582,7 +3582,7 @@ if(trim($db_vertiefungsbereich) == trim($vertiefungsbereich) AND
VALUES ($dst_id, '$bezeichnung', '$str', '$plz_postfach', '$postfach', '$plz', '$ort', '$bundesland', '$staat', '$maildst')");
}
if($row_art[Merkmal] == 'A' AND $bezeichnung == ''){ //Wenn Auslandspraktikum leer gelassen wird, soll nicht ein leerer Ort in die tmp Tabelle eingetragen werden.
if($row_art['Merkmal'] == 'A' AND $bezeichnung == ''){ //Wenn Auslandspraktikum leer gelassen wird, soll nicht ein leerer Ort in die tmp Tabelle eingetragen werden.
$result_tmp1 = $db->query("DELETE FROM stan_dienststellen_tmp WHERE dst_id='$dst_id'");
}
}else{