コード例 #1
0
}
echo '<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link href="../../../../skin/style.css.php" rel="stylesheet" type="text/css">
    <link href="../../../../skin/jquery.css" rel="stylesheet"  type="text/css"/>
    <link href="../../../../skin/tablesort.css" rel="stylesheet"  type="text/css"/>
    <link href="../../../../skin/jquery-ui-1.9.2.custom.min.css" rel="stylesheet" type="text/css">
    <script src="../../../../include/js/jquery1.9.min.js" type="text/javascript"></script> 
	<title>Grade</title>
</head>
<body>';
$notenschluessel = new notenschluessel();
if ($kurzbz = $notenschluessel->getNotenschluessel($lehrveranstaltung_id, $studiensemester_kurzbz)) {
    if ($notenschluessel->loadAufteilung($kurzbz)) {
        echo '<table id="t1" class="tablesorter">
				<thead>
				<tr>
					<th>' . $p->t('benotungstool/note') . '</th>
					<th>' . $p->t('benotungstool/punkte') . '</th>
				</tr>
				</thead>
				<tbody>';
        foreach ($notenschluessel->result as $row) {
            echo '<tr>';
            echo '<td>' . $row->notenbezeichnung . '</td>';
            echo '<td>' . $row->punkte . '</td>';
            echo '</tr>';
        }
        echo '</tbody></table>';