mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 09:04:28 +00:00
This commit is contained in:
@@ -125,13 +125,13 @@ if($sent)
|
|||||||
if(!$error)
|
if(!$error)
|
||||||
{
|
{
|
||||||
//Von Zeit pruefen
|
//Von Zeit pruefen
|
||||||
if(!preg_match('/^[1-9]{2}:[0-9]{2}$/', $vonzeit))
|
if(!preg_match('/^[0-9]{2}:[0-9]{2}$/', $vonzeit))
|
||||||
{
|
{
|
||||||
echo "<br>VON-Zeit muss im Format hh:mm (12:30) angegeben werden";
|
echo "<br>VON-Zeit muss im Format hh:mm (12:30) angegeben werden";
|
||||||
$error = true;
|
$error = true;
|
||||||
}
|
}
|
||||||
//Bis Zeit pruefen
|
//Bis Zeit pruefen
|
||||||
if(!preg_match('/^[1-9]{2}:[0-9]{2}$/', $biszeit))
|
if(!preg_match('/^[0-9]{2}:[0-9]{2}$/', $biszeit))
|
||||||
{
|
{
|
||||||
echo "<br>BIS-Zeit muss im Format hh:mm (12:30) angegeben werden";
|
echo "<br>BIS-Zeit muss im Format hh:mm (12:30) angegeben werden";
|
||||||
$error = true;
|
$error = true;
|
||||||
@@ -149,9 +149,9 @@ if($sent)
|
|||||||
$ort->search($datum, $vonzeit, $biszeit, $raumtyp, $anzahlpersonen, true);
|
$ort->search($datum, $vonzeit, $biszeit, $raumtyp, $anzahlpersonen, true);
|
||||||
|
|
||||||
echo '<br><table>';
|
echo '<br><table>';
|
||||||
echo '<tr class="liste"><td>Raum</td><td>Bezeichnung</td><td>Nummer</td><td>Personen</td><td>Reservieren</td></tr>';
|
echo '<tr class="liste"><td>Raum</td><td>Bezeichnung</td><td>Nummer</td><td>Personen</td></tr>';
|
||||||
$i=0;
|
$i=0;
|
||||||
$datum_sec = $datum_obj->mktime_datum($datum);
|
$datum_sec = $datum_obj->mktime_datum($datum)-1;
|
||||||
foreach ($ort->result as $row)
|
foreach ($ort->result as $row)
|
||||||
{
|
{
|
||||||
$i++;
|
$i++;
|
||||||
@@ -160,7 +160,7 @@ if($sent)
|
|||||||
echo "<td>$row->bezeichnung</td>";
|
echo "<td>$row->bezeichnung</td>";
|
||||||
echo "<td>$row->planbezeichnung</td>";
|
echo "<td>$row->planbezeichnung</td>";
|
||||||
echo "<td>$row->max_person</td>";
|
echo "<td>$row->max_person</td>";
|
||||||
echo "<td><a href='stpl_week.php?type=ort&ort_kurzbz=$row->ort_kurzbz&datum=".$datum_sec."' class='Item'>Reservieren</a></td>";
|
echo "<td><a href='stpl_week.php?type=ort&ort_kurzbz=$row->ort_kurzbz&datum=".$datum_sec."' class='Item'>zur Reservierung</a></td>";
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
}
|
}
|
||||||
echo '</table>';
|
echo '</table>';
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
<td class="tdwidth10"> </td>
|
<td class="tdwidth10"> </td>
|
||||||
<td><table class="tabcontent">
|
<td><table class="tabcontent">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="ContentHeader"><font class="ContentHeader"> Personensuche Technikum Wien</font></td>
|
<td class="ContentHeader"><font class="ContentHeader"> Personensuche <?php echo CAMPUS_NAME;?></font></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
|
|||||||
Reference in New Issue
Block a user