mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-17 20:19:28 +00:00
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Zeitsperren <?php echo $studiensemester; ?></title>
|
||||
<title>Zeitsperren</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<link rel="stylesheet" href="../../../skin/cis.css" type="text/css">
|
||||
</head>
|
||||
|
||||
@@ -81,8 +81,45 @@
|
||||
<td colspan="3">Genauere Informationen über Ihre persönliche Fahrtroute erfahren Sie bei den <a href="http://www.wienerlinien.at/" target="_blank">Wiener Linien</a>.</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="ContentHeader2"> Öffnungszeiten</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>Freischaltung Haupteingastüre</td>
|
||||
<td colspan="2">Mo-Fr 7:30 - 17:00 Uhr</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Freischaltung Gantüren</td>
|
||||
<td colspan="2">Mo-Fr 7:30 - 20:00 Uhr; Sa 7:30 - 15:30 Uhr</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zugang mittels Zutrittskarte für Lektoren</td>
|
||||
<td colspan="2">Immer!</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zugang mittels Zutrittskarte für Studenten </td>
|
||||
<td colspan="2">Mo-Fr 7:30 - 21:00 Uhr; Sa 7:30 - 15:30 Uhr</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td colspan="2">An Feiertagen und in Ferienzeiten ist KEIN Zugang für Studenten!</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="30"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -41,7 +41,23 @@ function sortByField($multArray,$sortField,$desc=true)
|
||||
if (!$conn = pg_pconnect(CONN_STRING))
|
||||
die("Es konnte keine Verbindung zum Server aufgebaut werden.");
|
||||
|
||||
// Vorkommende Gebiet laden
|
||||
// Reihungstests laden
|
||||
$sql_query="SELECT * FROM public.tbl_reihungstest WHERE date_part('year',datum)=date_part('year',now()) ORDER BY datum,uhrzeit";
|
||||
//echo $sql_query;
|
||||
if(!($result=pg_query($conn, $sql_query)))
|
||||
die(pg_errormessage($conn));
|
||||
while ($row=pg_fetch_object($result))
|
||||
{
|
||||
$rtest[$row->reihungstest_id]->reihungstest_id=$row->reihungstest_id;
|
||||
$rtest[$row->reihungstest_id]->studiengang_kz=$row->studiengang_kz;
|
||||
$rtest[$row->reihungstest_id]->ort_kurzbz=$row->ort_kurzbz;
|
||||
$rtest[$row->reihungstest_id]->anmerkung=$row->anmerkung;
|
||||
$rtest[$row->reihungstest_id]->datum=$row->datum;
|
||||
$rtest[$row->reihungstest_id]->uhrzeit=$row->uhrzeit;
|
||||
}
|
||||
|
||||
|
||||
// Vorkommende Gebiete laden
|
||||
$sql_query="SELECT DISTINCT gebiet_id, gebiet FROM testtool.vw_auswertung";
|
||||
//echo $sql_query;
|
||||
if(!($result=pg_query($conn, $sql_query)))
|
||||
@@ -137,6 +153,17 @@ while ($row=pg_fetch_object($result))
|
||||
<body>
|
||||
|
||||
<h1>Technischer Teil</h1>
|
||||
|
||||
<form method="POST">
|
||||
<SELECT name="reihungstest">';
|
||||
<?php
|
||||
foreach($rtest as $rt)
|
||||
echo '<OPTION value="'.$rt->reihungstest_id.'">'.$rt->studiengang_kz.' '.$rt->ort_kurzbz.' '.$rt->anmerkung.' '.$rt->datum.' '.$prestd->rt."</OPTION>\n";
|
||||
?>
|
||||
</SELECT>
|
||||
<INPUT type="submit" value="select" />
|
||||
</form>
|
||||
|
||||
|
||||
<table id="zeitsperren">
|
||||
<tr>
|
||||
@@ -208,7 +235,5 @@ while ($row=pg_fetch_object($result))
|
||||
echo '</tr>';
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
|
||||
</table>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user