Kleinere Fehlerkorrekturen
This commit is contained in:
@ -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'].", ".$row['vorname']." ".$row['doz_titel']." </option>\n";
|
||||
echo "<option value=\"".$row['faid']."\">".$row['nachname'].", ".$row['vorname']." ".$row['doz_titel']." </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']." </option>\n";
|
||||
echo "<option value=\"".$row['fach_admin_rolle']."\""; if($admin[0] == 1){echo "selected";} echo">".$row['Beschreibung']." </option>\n";
|
||||
}
|
||||
echo "</select>
|
||||
</td>
|
||||
@ -320,4 +320,4 @@ echo "
|
||||
</html>";
|
||||
} // Ende Action script
|
||||
|
||||
?>
|
||||
?>
|
||||
|
@ -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ück: 0 wenn Datum falsch, 1 wenn Datum richtig
|
||||
echo "
|
||||
|
@ -84,7 +84,7 @@ echo "
|
||||
<option value=\"".$row[0]."\">
|
||||
".$row['nachname'].", "
|
||||
.$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 </option>
|
||||
<option value=\"R\""; if ($stud[stg] == 'R'){echo " selected";} echo ">Rentenversicherung </option>
|
||||
<option value=\"I\""; if ($stud[stg] == 'I'){echo " selected";} echo ">Innenverwaltung </option>
|
||||
<option value=\"S\""; if ($stud[stg] == 'S'){echo " selected";} echo ">Steuerverwaltung </option>
|
||||
<option value=\"F\""; if ($stud['stg'] == 'F'){echo " selected";} echo ">Finanzverwaltung </option>
|
||||
<option value=\"R\""; if ($stud['stg'] == 'R'){echo " selected";} echo ">Rentenversicherung </option>
|
||||
<option value=\"I\""; if ($stud['stg'] == 'I'){echo " selected";} echo ">Innenverwaltung </option>
|
||||
<option value=\"S\""; if ($stud['stg'] == 'S'){echo " selected";} echo ">Steuerverwaltung </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
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user