This commit is contained in:
Rudolf Hangl
2009-01-27 13:25:50 +00:00
parent 732e84ee8a
commit e28ee4ca97
2 changed files with 431 additions and 57 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ else
$qry="SELECT * FROM campus.tbl_paabgabe WHERE projektarbeit_id='".$projektarbeit_id."' ORDER BY datum;";
$htmlstr .= "<table width=100%>\n";
$htmlstr .= "<tr><td style='font-size:16px'>Student: <b>".$uid."</b></td>";
$htmlstr .= "<td width=20% align=center><form action='../../../include/'.EXT_FKT_PATH.'/abgabe_lektor_benotung.php' target='_blank' method='GET'>";
$htmlstr .= "<td width=20% align=center><form action='../../../include/".EXT_FKT_PATH."/abgabe_lektor_benotung.php' target='_blank' method='GET'>";
$htmlstr .= "<input type='hidden' name='projektarbeit_id' value='".$projektarbeit_id."'>\n";
$htmlstr .= "<input type='hidden' name='titel' value='".$titel."'>\n";
$htmlstr .= "<input type='hidden' name='uid' value='".$uid."'>\n";
+430 -56
View File
@@ -25,6 +25,11 @@
* für Diplom- und Bachelorarbeiten
*******************************************************************************************************/
// Pfad zu fpdf
define('FPDF_FONTPATH','../../include/pdf/font/');
// library einbinden
require_once('../../include/pdf/fpdf.php');
require_once('../../cis/config.inc.php');
require_once('../../include/functions.inc.php');
require_once('../../include/datum.class.php');
@@ -32,6 +37,11 @@ require_once('../../include/person.class.php');
require_once('../../include/benutzer.class.php');
require_once('../../include/mitarbeiter.class.php');
require_once('../../include/pdf.inc.php');
error_reporting(E_ALL);
ini_set('display_errors','1');
//DB Verbindung herstellen
if (!$conn = @pg_pconnect(CONN_STRING))
die('Es konnte keine Verbindung zum Server aufgebaut werden.');
@@ -53,70 +63,394 @@ $note='';
$weight1='';
$weight2='';
$weight3='';
$stgbezeichnung='';
$stgtyp='';
$projektarbeit_id='';
$uid='';
$titel='';
$beurteiler='';
$ende='';
if(isset($_REQUEST['projektarbeit_id']))
function getmax($val1,$val2)
{
if(!isset($_POST['projektarbeit_id']))
{
$uid = (isset($_GET['uid'])?$_GET['uid']:'-1');
$projektarbeit_id = (isset($_GET['projektarbeit_id'])?$_GET['projektarbeit_id']:'-1');
$titel = (isset($_GET['titel'])?$_GET['titel']:'-1');
}
else
{
session_start();
$_SESSION['projektarbeit_id']=(isset($_POST['projektarbeit_id'])?$_POST['projektarbeit_id']:'-1');
$_SESSION['uid']=(isset($_POST['uid'])?$_POST['uid']:'-1');
$_SESSION['titel']=(isset($_POST['titel'])?$_POST['titel']:'');
$_SESSION['qualitaet']=(isset($_POST['qualitaet'])?$_POST['qualitaet']:'');
$_SESSION['form']=(isset($_POST['form'])?$_POST['form']:'');
$_SESSION['hintergrund']=(isset($_POST['hintergrund'])?$_POST['hintergrund']:'');
$_SESSION['punkte1']=(isset($_POST['punkte1'])?$_POST['punkte1']:'');
$_SESSION['punkteges1']=(isset($_POST['punkteges1'])?$_POST['punkteges1']:'');
$_SESSION['punkte2']=(isset($_POST['punkte2'])?$_POST['punkte2']:'');
$_SESSION['punkteges2']=(isset($_POST['punkteges2'])?$_POST['punkteges2']:'');
$_SESSION['punkte3']=(isset($_POST['punkte3'])?$_POST['punkte3']:'');
$_SESSION['punkteges3']=(isset($_POST['punkteges3'])?$_POST['punkteges3']:'');
$_SESSION['summe1']=(isset($_POST['summe1'])?$_POST['summe1']:'');
$_SESSION['summe2']=(isset($_POST['summe2'])?$_POST['summe2']:'');
$_SESSION['note']=(isset($_POST['note'])?$_POST['note']:'');
return ($val1>$val2)?$val1:$val2;
Header("Location:test.php");
}
}
if(!isset($_POST['projektarbeit_id']))
{
$uid = (isset($_GET['uid'])?$_GET['uid']:'-1');
$projektarbeit_id = (isset($_GET['projektarbeit_id'])?$_GET['projektarbeit_id']:'-1');
$titel = (isset($_GET['titel'])?$_GET['titel']:'-1');
}
else
{
session_start();
$projektarbeit_id=$_SESSION['projektarbeit_id'];
$uid=$_SESSION['uid'];
$titel=$_SESSION['titel'];
$projektarbeit_id=(isset($_POST['projektarbeit_id'])?$_POST['projektarbeit_id']:'-1');
$uid=(isset($_POST['uid'])?$_POST['uid']:'-1');
$titel=(isset($_POST['titel'])?$_POST['titel']:'');
$studiengang=(isset($_POST['studiengang'])?$_POST['studiengang']:'');
$stgtyp=(isset($_POST['stgtyp'])?$_POST['stgtyp']:'');
$autor=(isset($_POST['autor'])?$_POST['autor']:'');
$perskz=(isset($_POST['perskz'])?$_POST['perskz']:'');
$qualitaet=$_SESSION['qualitaet'];
$form=$_SESSION['form'];
$hintergrund=$_SESSION['hintergrund'];
$punkte1=$_SESSION['punkte1'];
$punkteges1=$_SESSION['punkteges1'];
$punkte2=$_SESSION['punkte2'];
$punkteges2=$_SESSION['punkteges2'];
$punkte3=$_SESSION['punkte3'];
$punkteges3=$_SESSION['punkteges3'];
$summe1=$_SESSION['summe1'];
$summe2=$_SESSION['summe2'];
$note=$_SESSION['note'];
$qualitaet=(isset($_POST['qualitaet'])?$_POST['qualitaet']:'');
$form=(isset($_POST['form'])?$_POST['form']:'');
$hintergrund=(isset($_POST['hintergrund'])?$_POST['hintergrund']:'');
$punkte1=(isset($_POST['punkte1'])?$_POST['punkte1']:'');
$punkteges1=(isset($_POST['punkteges1'])?$_POST['punkteges1']:'');
$punkte2=(isset($_POST['punkte2'])?$_POST['punkte2']:'');
$punkteges2=(isset($_POST['punkteges2'])?$_POST['punkteges2']:'');
$punkte3=(isset($_POST['punkte3'])?$_POST['punkte3']:'');
$punkteges3=(isset($_POST['punkteges3'])?$_POST['punkteges3']:'');
$summe1=(isset($_POST['summe1'])?$_POST['summe1']:'');
$summe2=(isset($_POST['summe2'])?$_POST['summe2']:'');
$note=(isset($_POST['note'])?$_POST['note']:'');
$ende=(isset($_POST['ende'])?$_POST['ende']:'');
//Ausdruck generieren
//PDF erzeugen
$pdf = new PDF('P','pt');
$pdf->Open();
$pdf->AddPage();
$pdf->AliasNbPages();
$pdf->SetFillColor(111,111,111);
$pdf->SetXY(30,30);
//Logo
$pdf->Image("../../skin/images/logo.jpg","430","25","120","35","jpg","");
//$pdf->Image("../../../skin/images/tw_logo_02.jpg","400","30","116","43","jpg","");
$pdf->SetFont('Arial','',12);
$pdf->SetFillColor(190,190,190);
$pdf->SetXY(40,80);
$pdf->SetFont('Arial','',10);
$pdf->MultiCell(0,15,'Studiengang: ');
$pdf->SetXY(40,95);
$pdf->SetFont('Arial','',12);
$pdf->MultiCell(0,15,$stgtyp.'studiengang '.$studiengang);
$pdf->SetFont('Arial','',14);
$pdf->SetXY(40,115);
if($stgtyp=='Bachelor')
{
$pdf->MultiCell(0,15,'Beurteilung Bachelorarbeit');
}
else
{
$pdf->MultiCell(0,15,'Beurteilung Diplomarbeit');
}
$qry_beu="SELECT * FROM public.tbl_person JOIN public.tbl_benutzer using(person_id) WHERE uid='".$getuid."';";
if(!$erg_beu=pg_query($conn, $qry_beu))
{
die('Fehler beim Laden des Betreuernamens');
}
else
{
if($row_beu=@pg_fetch_object($erg_beu))
{
$beurteiler=trim($row_beu->titelpre.' '.$row_beu->vorname.' '.$row_beu->nachname.' '.$row_beu->titelpost);
}
else
{
die('Betreuer nicht gefunden!');
}
}
//Zeile Titel
$pdf->SetFont('Arial','',12);
$maxY=$pdf->GetY()+5;
$maxX=30;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(80,42,'Titel',1,'L',0);
$maxX +=80;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(450,14,$titel,0,'L',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(450,42,'',1,'L',0);
//Autor
$maxY=$pdf->GetY();
$maxX=30;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(80,14,'Autor',1,'L',0);
$maxX +=80;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(291,14,$autor,1,'L',0);
$maxX +=291;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(159,14,trim('Personenkz.: '),1,'L',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(159,14,trim($perskz),0,'R',0);
//Zeile Beurteilt von
$maxY=$pdf->GetY();
$maxX=30;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(80,14,'Beurteilt von',1,'L',0);
$maxX +=80;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(291,14,$beurteiler,1,'L',0);
$maxX +=291;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(159,14,'Datum.: ',1,'L',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(159,14,date('d.m.Y',mktime(0, 0, 0, date("m") , date("d"), date("Y"))),1,'R',0);
//Feld Beurteilung
//Zeile Überschrift
$pdf->SetFont('Arial','',9);
$maxY=$pdf->GetY()+2;
$maxX=30;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(159,36,'',1,'L',0);
$maxX +=159;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(212,36,'Kurze verbale Beurteilung',1,'C',0);
$maxX +=212;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,'Punkte (0-100)',0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,36,'',1,'L',0);
$maxX +=53;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,'Gewicht',0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,36,'',1,'L',0);
$maxX +=53;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,' Punkte * Gewicht',0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,36,'',1,'L',0);
//Zeile Qualität
$pdf->SetFont('Arial','',9);
if($stgtyp=='Bachelor')
{
$maxY=$pdf->GetY();
$maxX=30;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(159,12,"Qualität des eigenen Beitrags\nAngewandte Methodik, z.B.\n - wissenschaftlich fundierte,\n systematische, ingenieurmäßige\n Vorgangsweise\n - Ist der eigene Beitrag\n deutlich sichtbar?\n - Qualität der Lösung",0,'L',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(159,144,'',1,'L',0);
$maxX +=159;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(212,12,$qualitaet,0,'L',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(212,144,'',1,'L',0);
$maxX +=212;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,$punkte1,0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,144,'',1,'L',0);
$maxX +=53;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,'0.60',0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,144,'',1,'L',0);
$maxX +=53;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,$punkteges1,0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,144,'',1,'L',0);
}
else
{
$maxY=$pdf->GetY();
$maxX=30;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(159,12,"Qualität des eigenen Beitrags\nAngewandte Methodik, z.B.\n - Projektmäßige Vorgehensweise\n - Wissenschaftlich - systematische\n Methoden in der Analyse\n bzw. Lösungsfindung",0,'L',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(159,144,'',1,'L',0);
$maxX +=159;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(212,12,$qualitaet,0,'L',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(212,144,'',1,'L',0);
$maxX +=212;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,$punkte1,0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,144,'',1,'L',0);
$maxX +=53;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,'0.55',0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,144,'',1,'L',0);
$maxX +=53;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,$punkteges1,0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,144,'',1,'L',0);
}
//Zeile Form
$pdf->SetFont('Arial','',9);
if($stgtyp=='Bachelor')
{
$maxY=$pdf->GetY();
$maxX=30;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(159,12,"Form / Stil\n - Hat die Bachelorarbeit eine\n klare Struktur, entspricht der\n Vorgabe\n - Wird einwandfrei zitiert\n - Abbildungen\ - Sprache",0,'L',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(159,144,'',1,'L',0);
$maxX +=159;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(212,12,$form,0,'L',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(212,144,'',1,'L',0);
$maxX +=212;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,$punkte2,0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,144,'',1,'L',0);
$maxX +=53;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,'0.40',0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,144,'',1,'L',0);
$maxX +=53;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,$punkteges2,0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,144,'',1,'L',0);
}
else
{
$maxY=$pdf->GetY();
$maxX=30;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(159,12,"Form / Stil\n - Hat die Diplomarbeit eine\n klare Struktur, entspricht der\n Vorgabe\n - Wird einwandfrei zitiert\n - Abbildungen\n - Sprache: benötigte Überarbeitung\n seitens der Betreuerin / \n des Betreuers",0,'L',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(159,144,'',1,'L',0);
$maxX +=159;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(212,12,$form,0,'L',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(212,144,'',1,'L',0);
$maxX +=212;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,$punkte2,0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,144,'',1,'L',0);
$maxX +=53;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,'0.20',0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,144,'',1,'L',0);
$maxX +=53;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,$punkteges2,0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,144,'',1,'L',0);
}
//Zeile Hintergrundinfo
$pdf->SetFont('Arial','',9);
if($stgtyp=='Bachelor')
{
}
else
{
$maxY=$pdf->GetY();
$maxX=30;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(159,12,"Qualität der Hintergrundinformation\n - werden Gesamtzusammenhänge\n erkannt, wird Bedeutung\n und Gewicht der Einflussfaktoren\n /Daten/Informationen richtig\n bewertet\n - Intelligente Darstellung des\n relevanten Stands der Technik\n und des Firmenumfelds\n - Aufdecken und Darstellen von\n größeren (z.B. wirtschaftlichen\n oder sozialen) Zusammenhängen\n und entsprechende Diskussion",0,'L',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(159,156,'',1,'L',0);
$maxX +=159;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(212,12,$hintergrund,0,'L',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(212,156,'',1,'L',0);
$maxX +=212;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,$punkte3,0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,156,'',1,'L',0);
$maxX +=53;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,'0.25',0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,156,'',1,'L',0);
$maxX +=53;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,$punkteges3,0,'C',0);
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,156,'',1,'L',0);
}
//Zeile Gesamtpunkte
$maxY=$pdf->GetY();
$maxX=30;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(371,12,'Gesamtpunkte',1,'L',0);
$maxX +=371;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,$summe1,1,'C',0);
$maxX +=53;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,'1',1,'C',0);
$maxX +=53;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(53,12,$summe2,1,'C',0);
//Feld Umrechnung Punkte=>Note
$pdf->SetFont('Arial','',7);
$maxY=705;
$maxX=160;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(80,12,'0 - 50 Punkte = 5',1,'C',0);
$maxX +=80;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(80,12,'51 - 64 Punkte = 4',1,'C',0);
$maxX +=80;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(80,12,'65 - 77 Punkte = 3',1,'C',0);
$maxX +=80;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(80,12,'78 - 90 Punkte = 2',1,'C',0);
$maxX +=80;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(80,12,'91 - 100 Punkte = 1',1,'C',0);
$maxY=$pdf->GetY();
$maxX=160;
$pdf->SetXY($maxX,$maxY);
if($stgtyp=='Bachelor')
{
$pdf->MultiCell(240,12,'1 Gruppe < 50 Punkte => Bachelorarbeit gesamt negativ',1,'L',0);
}
else
{
$pdf->MultiCell(240,12,'1 Gruppe < 50 Punkte => Diplomarbeit gesamt negativ',1,'L',0);
}
$maxX +=240;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(80,12,'',1,'C',0);
$maxX +=80;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(80,12,'',1,'C',0);
//Zeile Note undUnterschrift
$pdf->SetFont('Arial','',10);
$maxY=760;
$maxX=+40;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(80,12,'Note: '.$note,0,'L',0);
$maxX=+40;
$maxY=$pdf->GetY();
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(160,12,'Letzter Abgabetermin: '.$ende,0,'L',0);
$maxX +=300;
$pdf->SetXY($maxX,$maxY);
$pdf->MultiCell(240,12,"Unterschrift:__________________________",0,'C',0);
$maxY=$pdf->GetY();
$pdf->footerset[1]=1;
$pdf->Output('Beurteilung.pdf','I');
}
$sql_query = "SELECT * FROM (SELECT DISTINCT ON(tbl_projektarbeit.projektarbeit_id) * FROM lehre.tbl_projektarbeit LEFT JOIN lehre.tbl_projektbetreuer using(projektarbeit_id)
$sql_query = "SELECT * FROM (SELECT DISTINCT ON(tbl_projektarbeit.projektarbeit_id) tbl_studiengang.bezeichnung as stgbezeichnung, tbl_studiengang.typ as stgtyp, *
FROM lehre.tbl_projektarbeit LEFT JOIN lehre.tbl_projektbetreuer using(projektarbeit_id)
LEFT JOIN public.tbl_benutzer on(uid=student_uid)
LEFT JOIN public.tbl_student on(tbl_benutzer.uid=tbl_student.student_uid)
LEFT JOIN public.tbl_person on(tbl_benutzer.person_id=tbl_person.person_id)
LEFT JOIN lehre.tbl_lehreinheit using(lehreinheit_id)
LEFT JOIN lehre.tbl_lehrveranstaltung using(lehrveranstaltung_id)
LEFT JOIN public.tbl_studiengang using(studiengang_kz)
LEFT JOIN public.tbl_studiengang on(tbl_lehrveranstaltung.studiengang_kz=tbl_studiengang.studiengang_kz)
WHERE (projekttyp_kurzbz='Bachelor' OR projekttyp_kurzbz='Diplom')
AND tbl_projektbetreuer.person_id IN (SELECT person_id FROM public.tbl_benutzer
WHERE public.tbl_benutzer.person_id=lehre.tbl_projektbetreuer.person_id
@@ -225,27 +559,59 @@ else
document.getElementById("note").value=ergebnis.toFixed(0);';
}
echo '}
function txtcount(field, countfield, maxlimit)
{
if(field.value.length>maxlimit)
{
field.value=field.value.substring(0,maxlimit);
}
else
{
countfield.value=maxlimit-field.value.length;
}
}
</script>
</head>
<body class="Background_main" style="background-color:#eeeeee;" onload="berechne()">';
$htmlstr = "<br><br>";
$htmlstr = "<br>";
$htmlstr .= "<table class='detail' border='1'>\n";
$htmlstr .= "<form action='$PHP_SELF' method='POST' name='note'>";
$htmlstr .= "<tr><td style='font-size:16px' colspan='5'>Student: <b>".$uid.", ".$row->vorname." ".$row->nachname."</b></td>";
$htmlstr .= "<tr><td style='font-size:16px' colspan='5'>Titel: <b>".$titel."</b>";
$htmlstr .= "<input type='hidden' name='projektarbeit_id' value='".$projektarbeit_id."'>\n";
$htmlstr .= "<input type='hidden' name='titel' value='".$titel."'>\n";
$htmlstr .= "<input type='hidden' name='uid' value='".$uid."'>\n";
$htmlstr .= "<input type='hidden' name='titel' value='".$titel."'>\n";
$htmlstr .= "<input type='hidden' name='perskz' value='".$row->matrikelnr."'>\n";
$htmlstr .= "<input type='hidden' name='studiengang' value='".$row->stgbezeichnung."'>\n";
$htmlstr .= "<input type='hidden' name='autor' value='".$row->vorname." ".$row->nachname."'>\n";
$htmlstr .= "<input type='hidden' name='ende' value='".$row->ende."'>\n";
if($row->stgtyp=='b')
{
$stgtyp='Bachelor';
}
elseif($row->stgtyp=='m')
{
$stgtyp='Master';
}
elseif($row->stgtyp=='d')
{
$stgtyp='Diplom';
}
else
{
$stgtyp='';
}
$htmlstr .= "<input type='hidden' name='stgtyp' value='".$stgtyp."'>\n";
$htmlstr .= "</td></tr>";
$htmlstr .= "<td>&nbsp;</td><td align='center'>Kurze verbale Beurteilung</td><td align='center'>Punkte (0-100)</td><td align='center'>Gewicht</td><td align='center'>Punkte * Gewicht</td>\n";
$htmlstr .= "<tr>\n";
if($row->projekttyp_kurzbz=='Diplom')
{
$htmlstr .= "<td width='30%'><b>Qualit&auml;t des eigenen Beitrags<br>
Angewandte Methodik</b><br>z.B. Projektm&auml;&szlig;ige Vorgangsweise<br>
Angewandte Methodik, z.B.</b><br>Projektm&auml;&szlig;ige Vorgangsweise<br>
Wissenschaftlich - systematische Methoden in der Analyse bzw. L&ouml;sungsfindung<br>
<b>Art der Probleml&ouml;sung</b><br>
Wurde das Problem tats&auml;chlich gel&ouml;st?<br>
@@ -257,14 +623,16 @@ else
else
{
$htmlstr .= "<td width='30%'><b>Qualit&auml;t des eigenen Beitrags<br>
Angewandte Methodik</b><br>z.B. wissenschaftlich fundierte, systematische, ingenieurm&auml;&szlig;ige Vorgangsweise<br>
Angewandte Methodik, z.B.</b><br>wissenschaftlich fundierte, systematische, ingenieurm&auml;&szlig;ige Vorgangsweise<br>
Ist der eigene Beitrag deutlich sichtbar?<br>
Eigenst&auml;ndigkeit und Kreativit&auml;t der L&ouml;sung<br>
Ist der eigene Beitrag deutlich sichtbar?<br>
Qualit&auml;t der L&ouml;sung</td>";
$weight1='0.6';
}
$htmlstr .= "<td width='40%'><textarea name='qualitaet' value='".$qualitaet."' cols='60' rows='10'></textarea></td>\n
$htmlstr .= "<td width='40%'><textarea name='qualitaet' value='".$qualitaet."' cols='60' rows='10'
onKeyDown='txtcount(this.form.qualitaet,this.form.remLen,125);' onKeyUp='txtcount(this.form.qualitaet,this.form.remLen,125);'></textarea>
<br>Buchstaben noch zur Verf&uuml;gung<input readonly type=text name=remLen size=3 maxlength=3 value='125' style='text-align:right'> </td>\n
<td width='10%' align='center'><input type='hidden' name='weight' id='weight1' value='".$weight1."'>
<input type='text' name='punkte1' value='".$punkte1."' size='5' maxlength='5' id='punkte1' onkeyup='berechne()' style='text-align:right'></td>\n";
if($row->projekttyp_kurzbz=='Diplom')
@@ -283,7 +651,9 @@ else
Wird einwandfrei zitiert?<br>
Abbildungen<br>
Sprache: benötigte &Uuml;berarbeitungen seitens der Betreuerin / des Betreuers</td>
<td width='40%'><textarea name='form' value='".$form."' cols='60' rows='10'></textarea></td>\n";
<td width='40%'><textarea name='form' value='".$form."' cols='60' rows='10'
onKeyDown='txtcount(this.form.form,this.form.remLen2,125);' onKeyUp='txtcount(this.form.form,this.form.remLen2,125);'></textarea>
<br>Buchstaben noch zur Verf&uuml;gung<input readonly type=text name=remLen2 size=3 maxlength=3 value='125' style='text-align:right'></td>\n";
$weight2='0.2';
}
else
@@ -293,7 +663,9 @@ else
Wird einwandfrei zitiert?<br>
Abbildungen<br>
Sprache</td>
<td width='40%'><textarea name='form' value='".$form."' cols='60' rows='10'></textarea></td>\n";
<td width='40%'><textarea name='form' value='".$form."' cols='60' rows='10'
onKeyDown='txtcount(this.form.form,this.form.remLen2,125);' onKeyUp='txtcount(this.form.form,this.form.remLen2,125);'></textarea>
<br>Buchstaben noch zur Verf&uuml;gung<input readonly type=text name=remLen2 size=3 maxlength=3 value='125' style='text-align:right'></td>\n";
$weight2='0.4';
}
$htmlstr .= "<td width='10%' align='center'><input type='hidden' name='weight' id='weight2' value='".$weight2."'>
@@ -313,7 +685,9 @@ else
Werden Gesamtzusammenhänge erkannt, wird Bedeutung und Gewicht der Einflussfaktoren / Daten / Informationen richtig bewertet?<br>
Intelligente Darstellung des relevanten Stands der Technik und des Firmenumfelds<br>
Aufdecken und Darstellen von gr&ouml;&szlig;eren (z.B. wirtschaftlichen und sozialen) Zusammenh&auml;ngen und entsprechende Diskussion</td>
<td width='40%'><textarea name='hintergrund' value='".$hintergrund."' cols='60' rows='10'></textarea></td>\n
<td width='40%'><textarea name='hintergrund' value='".$hintergrund."' cols='60' rows='10'
onKeyDown='txtcount(this.form.hintergrund,this.form.remLen3,125);' onKeyUp='txtcount(this.form.hintergrund,this.form.remLen3,125);'></textarea>
<br>Buchstaben noch zur Verf&uuml;gung<input readonly type=text name=remLen3 size=3 maxlength=3 value='125' style='text-align:right'></td>\n
<td width='10%' align='center'><input type='hidden' name='weight' id='weight3' value='0.25'>
<input type='text' name='punkte3' value='".$punkte3."' size='5' maxlength='5' id='punkte3' style='text-align:right' onkeyup='berechne()'></td>\n
<td width='10%' align='center'>0.25</td>