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

@ -74,7 +74,7 @@ echo "
or die ("Cannot execute query");
echo "<select size=\"5\" name=\"adminre\">";
while ($row = $result->fetch_array()){
echo "<option value=\"".$row[faid]."\">".$row['nachname'].",&nbsp;".$row['vorname']."&nbsp;&nbsp;&nbsp;".$row['doz_titel']."&nbsp;&nbsp;&nbsp;</option>\n";
echo "<option value=\"".$row['faid']."\">".$row['nachname'].",&nbsp;".$row['vorname']."&nbsp;&nbsp;&nbsp;".$row['doz_titel']."&nbsp;&nbsp;&nbsp;</option>\n";
}
echo "</select>";
echo "
@ -125,7 +125,7 @@ echo "
break;
case "dozbearb":
setcookie("ck_admre",$_POST[adminre]); // Inhalt doz_nr
setcookie("ck_admre",$_POST['adminre']); // Inhalt doz_nr
echo"
@ -191,7 +191,7 @@ echo"
$admin = $bearb_adm->fetch_array();
echo "<option value=\"".$row[fach_admin_rolle]."\""; if($admin[0] == 1){echo "selected";} echo">".$row['Beschreibung']."&nbsp;&nbsp;&nbsp;</option>\n";
echo "<option value=\"".$row['fach_admin_rolle']."\""; if($admin[0] == 1){echo "selected";} echo">".$row['Beschreibung']."&nbsp;&nbsp;&nbsp;</option>\n";
}
echo "</select>
</td>
@ -320,4 +320,4 @@ echo "
</html>";
} // Ende Action script
?>
?>

View File

@ -1137,7 +1137,7 @@ if (checkdate($_POST['schein_Mon_anfang_r'], $_POST['schein_Tag_anfang_r'], $_PO
}
if($_POST['bel_Jahr_Beginn_f]' != '0000'){
if($_POST['bel_Jahr_Beginn_f'] != '0000'){
if($_POST['bel_Jahr_Beginn_f'] != ''){
if (checkdate($_POST['bel_Mon_Beginn_f'], $_POST['bel_Tag_Beginn_f'], $_POST['bel_Jahr_Beginn_f']) == 0) { // checkdate liefert 0 & 1 zur&uuml;ck: 0 wenn Datum falsch, 1 wenn Datum richtig
echo "

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
?>
?>