Kleinere Fehlerkorrekturen

This commit is contained in:
aschwarz
2023-04-24 08:07:53 +02:00
parent 9943b7fed9
commit 4236ab626b
6 changed files with 35 additions and 35 deletions

View File

@ -84,7 +84,7 @@ echo "
<option value=\"".$row[0]."\">
".$row['nachname'].",&nbsp;"
.$row['vorname']."";
IF ($row[durchgefallen] == "Y")
IF ($row['durchgefallen'] == "Y")
echo " *";
echo "
@ -168,7 +168,7 @@ echo "
break;
case "beleg1":
setcookie("ck_studbe","");
setcookie("ck_studbe",$_POST[studbe]);
setcookie("ck_studbe",$_POST['studbe']);
$db = dbconnect();
$bearb_stud = $db->query ("SELECT uid, nachname, vorname, mtknr, stg, poplz, poOrt, poStrasse, AG, Jahrgang, Pwd, Mail, durchgefallen
@ -253,10 +253,10 @@ echo "
</td>
<td width=\"60%\" align=\"left\">
<select size=\"5\" name=\"zweig\">
<option value=\"F\""; if ($stud[stg] == 'F'){echo " selected";} echo ">Finanzverwaltung &nbsp;&nbsp;&nbsp;</option>
<option value=\"R\""; if ($stud[stg] == 'R'){echo " selected";} echo ">Rentenversicherung &nbsp;&nbsp;&nbsp;</option>
<option value=\"I\""; if ($stud[stg] == 'I'){echo " selected";} echo ">Innenverwaltung &nbsp;&nbsp;&nbsp;</option>
<option value=\"S\""; if ($stud[stg] == 'S'){echo " selected";} echo ">Steuerverwaltung &nbsp;&nbsp;&nbsp;</option>
<option value=\"F\""; if ($stud['stg'] == 'F'){echo " selected";} echo ">Finanzverwaltung &nbsp;&nbsp;&nbsp;</option>
<option value=\"R\""; if ($stud['stg'] == 'R'){echo " selected";} echo ">Rentenversicherung &nbsp;&nbsp;&nbsp;</option>
<option value=\"I\""; if ($stud['stg'] == 'I'){echo " selected";} echo ">Innenverwaltung &nbsp;&nbsp;&nbsp;</option>
<option value=\"S\""; if ($stud['stg'] == 'S'){echo " selected";} echo ">Steuerverwaltung &nbsp;&nbsp;&nbsp;</option>
</select>
</td>
</tr>
@ -330,7 +330,7 @@ echo "
break;
case "beleg2":
if ($_POST[zweig] == "" or $_POST[ag] == "" or $_POST[jahr] == "" or $_POST[mail] == "" ){
if ($_POST['zweig'] == "" or $_POST['ag'] == "" or $_POST['jahr'] == "" or $_POST['mail'] == "" ){
echo"
<html>
<head>
@ -403,8 +403,8 @@ $db = dbconnect();
$uid = $_COOKIE["ck_studbe"]; //Cookie in Variable schreiben
$jahr_neu = $_POST[jahr];
$stg = $_POST[zweig];
$jahr_neu = $_POST['jahr'];
$stg = $_POST['zweig'];
$sql = $db->query ("UPDATE stud SET
stg='$stg'
@ -598,7 +598,7 @@ echo "
break;
case "beleg3":
$Prio0 = $_POST[FPRNr_Prio0];
$Prio0 = $_POST['FPRNr_Prio0'];
if($Prio0 == "")
{
@ -823,4 +823,4 @@ echo "
} // Ende Action script
?>
?>