kleine constant Fehler geändert

This commit is contained in:
aschwarz 2023-03-14 08:08:16 +01:00
parent 2158fc84ce
commit d075d2b9a0
2 changed files with 23 additions and 23 deletions

View File

@ -264,11 +264,11 @@ if ( $row1EW=$resEW->fetch_array() ) {
$result_istEW=$row1EW[0];
} else $result_istEW=0;
} else $result_istEW=0;
echo $result_istEW; echo "/"; echo $rowEW[TN_max];
echo $result_istEW; echo "/"; echo $rowEW['TN_max'];
echo "<br>";
if ($result_istEW >= $rowEW[TN_max])
if ($result_istEW >= $rowEW['TN_max'])
{
echo "<img border=\"0\" src=\"cross.jpg\">";
} else {
@ -290,11 +290,11 @@ if ( $row1ZW=$resZW->fetch_array() ) {
$result_istZW=$row1ZW[0];
} else $result_istZW=0;
} else $result_istZW=0;
echo $result_istZW; echo "/"; echo $rowZW[TN_max];
echo $result_istZW; echo "/"; echo $rowZW['TN_max'];
echo "<br>";
if ($result_istZW >= $rowZW[TN_max])
if ($result_istZW >= $rowZW['TN_max'])
{
echo "<img border=\"0\" src=\"cross.jpg\">";
} else {
@ -316,11 +316,11 @@ if ( $row1DW=$resDW->fetch_array() ) {
$result_istDW=$row1DW[0];
} else $result_istDW=0;
} else $result_istDW=0;
echo $result_istDW; echo "/"; echo $rowDW[TN_max];
echo $result_istDW; echo "/"; echo $rowDW['TN_max'];
echo "<br>";
if ($result_istDW >= $rowDW[TN_max])
if ($result_istDW >= $rowDW['TN_max'])
{
echo "<img border=\"0\" src=\"cross.jpg\">";
} else {
@ -343,11 +343,11 @@ if ( $row1VW=$resVW->fetch_array() ) {
$result_istVW=$row1VW[0];
} else $result_istVW=0;
} else $result_istVW=0;
echo $result_istVW; echo "/"; echo $rowVW[TN_max];
echo $result_istVW; echo "/"; echo $rowVW['TN_max'];
echo "<br>";
if ($result_istVW >= $rowVW[TN_max])
if ($result_istVW >= $rowVW['TN_max'])
{
echo "<img border=\"0\" src=\"cross.jpg\">";
} else {
@ -457,4 +457,4 @@ echo "
";
} //Ende Action Abfrage
?>
?>

View File

@ -147,7 +147,7 @@ select{
<option value=\"".$row[0]."\">
".$row['nachname'].",&nbsp;"
.$row['vorname']."";
IF ($row[durchgefallen] == "Y")
IF ($row['durchgefallen'] == "Y")
echo " *";
echo "
@ -234,8 +234,8 @@ case "beleg1":
if($_POST[stud]!=''){
$stud = $_POST[stud];
if($_POST['stud']!=''){
$stud = $_POST['stud'];
$pos1 = strpos ($stud, '(')+1;
$pos2 = strpos ($stud, ')')-$pos1;
@ -248,7 +248,7 @@ if($_POST[stud]!=''){
if($_POST[stud] == ''){
if($_POST['stud'] == ''){
echo "
<html>
<head>
@ -311,7 +311,7 @@ if($_POST[stud]!=''){
}
}
if($_POST[studbe] != ''){ // Wenn Stud über dropdown gewählt wurde
if($_POST['studbe'] != ''){ // Wenn Stud über dropdown gewählt wurde
$db = dbconnect();
$result = $db->query("SELECT uid, stg, vorname, nachname
FROM stud
@ -422,10 +422,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>
@ -499,7 +499,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>
@ -572,8 +572,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'
@ -767,7 +767,7 @@ echo "
break;
case "beleg3":
$Prio0 = $_POST[FPRNr_Prio0];
$Prio0 = $_POST['FPRNr_Prio0'];
if($Prio0 == "")
{
@ -992,4 +992,4 @@ echo "
} // Ende Action script
?>
?>