kleine constant Fehler geändert
This commit is contained in:
parent
41585c1390
commit
31a4c3c5bc
@ -182,7 +182,7 @@ echo "
|
||||
exit;
|
||||
}
|
||||
|
||||
if ($_POST['user'] != $row[user]) {
|
||||
if ($_POST['user'] != $row['user']) {
|
||||
echo"
|
||||
<html>
|
||||
<head>
|
||||
|
@ -146,7 +146,7 @@ $abfrage = "SELECT stud.uid, Vorname, Nachname, AG, Jahrgang
|
||||
AND stud.durchgefallen !=\"Y\"
|
||||
";
|
||||
|
||||
setcookie ("ck_SozkomID", $_POST[ausw_ausg]);
|
||||
setcookie ("ck_SozkomID", $_POST['ausw_ausg']);
|
||||
|
||||
echo "
|
||||
<html>
|
||||
@ -237,4 +237,4 @@ echo "
|
||||
|
||||
</html>";
|
||||
} //Ende Action Abfrage
|
||||
?>
|
||||
?>
|
||||
|
@ -50,20 +50,20 @@ $tplidx = $pdf->ImportPage(1);
|
||||
|
||||
while ($row = $result->fetch_array()){
|
||||
// Definitionen
|
||||
$Jahr = $row[Jahrgang];
|
||||
$Jahr = $row['Jahrgang'];
|
||||
|
||||
$Jahr2 = $row[Jahrgang] + 1; //wandelt '04' in '5' umd
|
||||
$Jahr2 = $row['Jahrgang'] + 1; //wandelt '04' in '5' umd
|
||||
|
||||
if ($Jahr2 < 10){
|
||||
$Jahr2='0'.$Jahr2; // wenn Jahr2 unter 10 ist eine Prefix 0 anfügen, damit es zb. 20'05' gibt
|
||||
}
|
||||
|
||||
|
||||
if($row[Note] >= "1,0" AND $row[Note] <="1,5"){$ergebnis="sehr gut";}
|
||||
if($row[Note] >= "1,6" AND $row[Note] <="2,5"){$ergebnis="gut";}
|
||||
if($row[Note] >= "2,6" AND $row[Note] <="3,5"){$ergebnis="befriedigend";}
|
||||
if($row[Note] >= "3,6" AND $row[Note] <="4,0"){$ergebnis="ausreichend";}
|
||||
if($row[Note] >= "4,1" AND $row[Note] <="5,0"){$ergebnis="nicht ausreichend";}
|
||||
if($row['Note'] >= "1,0" AND $row['Note'] <="1,5"){$ergebnis="sehr gut";}
|
||||
if($row['Note'] >= "1,6" AND $row['Note'] <="2,5"){$ergebnis="gut";}
|
||||
if($row['Note'] >= "2,6" AND $row['Note'] <="3,5"){$ergebnis="befriedigend";}
|
||||
if($row['Note'] >= "3,6" AND $row['Note'] <="4,0"){$ergebnis="ausreichend";}
|
||||
if($row['Note'] >= "4,1" AND $row['Note'] <="5,0"){$ergebnis="nicht ausreichend";}
|
||||
|
||||
|
||||
|
||||
@ -80,7 +80,7 @@ while ($row = $result->fetch_array()){
|
||||
$pdf->SetFont('ARIAL', 'B', 14);
|
||||
|
||||
$pdf->SetY(96);
|
||||
$pdf->Cell(0, 0, $row[vorname] . ' ' . $row[nachname], 0, 0, 'C');
|
||||
$pdf->Cell(0, 0, $row['vorname'] . ' ' . $row['nachname'], 0, 0, 'C');
|
||||
|
||||
$pdf->SetFont('ARIAL', '', 12);
|
||||
|
||||
@ -101,7 +101,7 @@ while ($row = $result->fetch_array()){
|
||||
$pos = $pdf->GetY()+35;
|
||||
$pdf->SetY($pos);
|
||||
$pdf->SetX(24);
|
||||
$pdf->MultiCell(160, 0, $row[ansprechpart], 0, 'C');
|
||||
$pdf->MultiCell(160, 0, $row['ansprechpart'], 0, 'C');
|
||||
|
||||
|
||||
$pos = $pdf->GetY()+35;
|
||||
@ -117,7 +117,7 @@ while ($row = $result->fetch_array()){
|
||||
|
||||
//$pdf->Image('fusszeile.jpg', 20, 267, 5.1, 12.7);
|
||||
|
||||
$PDF_Name = "Soziale Kompetenz_" . $row[FPRNr] . '_' . $row[Jahrgang] . ".pdf";
|
||||
$PDF_Name = "Soziale Kompetenz_" . $row['FPRNr'] . '_' . $row['Jahrgang'] . ".pdf";
|
||||
$ergebnis = "";
|
||||
}
|
||||
|
||||
@ -127,4 +127,4 @@ $pdf->SetAuthor('FH-Ludwigsburg');
|
||||
// $pdf->SetSubject('SetSubject');
|
||||
$pdf->Output($PDF_Name, "D");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user