diff --git a/doz/index.php b/doz/index.php index 816533f..cc22f9a 100755 --- a/doz/index.php +++ b/doz/index.php @@ -176,7 +176,7 @@ echo " exit; } -if ($_POST['doz_uid'] != $row[doz_uid]) { +if ($_POST['doz_uid'] != $row['doz_uid']) { echo" @@ -242,10 +242,10 @@ exit; } $passwd = md5($_POST['doz_pwd']); -if ($passwd != $row[doz_pwd]){ +if ($passwd != $row['doz_pwd']){ setcookie("doz_uid1",""); -setcookie("doz_uid1",$row[doz_uid]); +setcookie("doz_uid1",$row['doz_uid']); echo " @@ -315,7 +315,7 @@ exit; } setcookie("doz_uid1",""); -setcookie("doz_uid1",$row[doz_uid]); +setcookie("doz_uid1",$row['doz_uid']); echo " diff --git a/doz/jahrgang_doz.php b/doz/jahrgang_doz.php index cdc2b1d..158cddf 100755 --- a/doz/jahrgang_doz.php +++ b/doz/jahrgang_doz.php @@ -85,7 +85,7 @@ case "jahr": setcookie("jahrgang",""); -setcookie("jahrgang",$_POST[jahr]); +setcookie("jahrgang",$_POST['jahr']); echo " "; diff --git a/stud/auswahl.php b/stud/auswahl.php index e9c4031..06abcf2 100755 --- a/stud/auswahl.php +++ b/stud/auswahl.php @@ -23,8 +23,8 @@ $anm_schluss = $db->query("SELECT DATE_Format(skik_beginn, '%Y-%m-%d')AS beginnd $row_schluss = $anm_schluss->fetch_array(); // Herausfinden des Beginndatums des vom Studenten gewählten Kurses $a = strtotime ($heute_format); //Umrechnung des Fristgrenztages in eine Zahl -$b = strtotime ($row_schluss[enddatum]); // Umrechnung des Enddatums in eine Zahl -$c = strtotime ($row_schluss[beginndatum]); // Umrechnung des Beginndatums in eine Zahl +$b = strtotime ($row_schluss['enddatum']); // Umrechnung des Enddatums in eine Zahl +$c = strtotime ($row_schluss['beginndatum']); // Umrechnung des Beginndatums in eine Zahl if ($a < $c){ echo " @@ -921,4 +921,4 @@ include("kurs/wpf/erg_auswahl1.php"); // Auswertung der Erstwahl der Sprachk } // If Anweisung Action-Abfrage -?> \ No newline at end of file +?> diff --git a/stud/liste.php b/stud/liste.php index 76b9cd6..696d801 100755 --- a/stud/liste.php +++ b/stud/liste.php @@ -16,7 +16,7 @@ $anm_schluss = $db->query("SELECT DATE_Format(skik_einsicht, '%Y-%m-%d')AS datum $row_schluss = $anm_schluss->fetch_array(); // Herausfinden des Beginndatums des vom Studenten gewählten Kurses $a = strtotime ($heute_format); //Umrechnung des Fristgrenztages in eine Zahl -$b = strtotime ($row_schluss[datum]); // Umrechnung des Beginndatums in eine Zahl +$b = strtotime ($row_schluss['datum']); // Umrechnung des Beginndatums in eine Zahl if ($a < $b){ echo " @@ -87,7 +87,7 @@ exit; $psn_abg = $db->query("SELECT uid FROM skik_wunsch WHERE uid=\"$uid1\""); $abgegeben = $psn_abg->fetch_array(); -if ($abgegeben[uid] == ""){ +if ($abgegeben['uid'] == ""){ echo " @@ -233,4 +233,4 @@ echo" "; -?> \ No newline at end of file +?> diff --git a/stud/seminarsschein_stud.php b/stud/seminarsschein_stud.php index 6554a0f..e543a55 100755 --- a/stud/seminarsschein_stud.php +++ b/stud/seminarsschein_stud.php @@ -16,7 +16,7 @@ $anm_schluss = $db->query("SELECT DATE_Format(druck_schein, '%Y-%m-%d')AS datum, $row_schluss = $anm_schluss->fetch_array(); // Herausfinden des Beginndatums des vom Studenten gewählten Kurses $a = strtotime ($heute_format); //Umrechnung des Fristgrenztages in eine Zahl -$b = strtotime ($row_schluss[datum]); // Umrechnung des Beginndatums in eine Zahl +$b = strtotime ($row_schluss['datum']); // Umrechnung des Beginndatums in eine Zahl # Kein Druckdatum eingetragen if($row_schluss['datum'] == '0000-00-00'){ @@ -302,4 +302,4 @@ echo " "; -?> \ No newline at end of file +?>