kleine constant Fehler geändert

This commit is contained in:
aschwarz 2023-02-27 15:49:00 +01:00
parent a45578c1d8
commit 00102faeb5
5 changed files with 13 additions and 13 deletions

View File

@ -176,7 +176,7 @@ echo "
exit;
}
if ($_POST['doz_uid'] != $row[doz_uid]) {
if ($_POST['doz_uid'] != $row['doz_uid']) {
echo"
<html>
<head>
@ -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 "
<html>
@ -315,7 +315,7 @@ exit;
}
setcookie("doz_uid1","");
setcookie("doz_uid1",$row[doz_uid]);
setcookie("doz_uid1",$row['doz_uid']);
echo "
<meta http-equiv=\"refresh\" content=\"0; URL=index_doz.htm\">

View File

@ -85,7 +85,7 @@ case "jahr":
setcookie("jahrgang","");
setcookie("jahrgang",$_POST[jahr]);
setcookie("jahrgang",$_POST['jahr']);
echo "
<meta http-equiv=\"refresh\" content=\"0; URL=hauptframe_jahr.php\">";

View File

@ -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&auml;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
?>
?>

View File

@ -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&auml;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 "
<html>
@ -233,4 +233,4 @@ echo"
</html>";
?>
?>

View File

@ -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&auml;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 "
<meta http-equiv=\"refresh\" content=\"0; URL=../admin/bescheinigung/seminarscheine.php?stud=$uid1&ck_SID=$ck_SID\">
";
?>
?>