kleine constant Fehler geändert
This commit is contained in:
@ -147,7 +147,7 @@ select{
|
||||
<option value=\"".$row[0]."\">
|
||||
".$row['nachname'].", "
|
||||
.$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 </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>
|
||||
@ -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
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user