mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-03 13:19:28 +00:00
This commit is contained in:
@@ -125,13 +125,13 @@ if($sent)
|
||||
if(!$error)
|
||||
{
|
||||
//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";
|
||||
$error = true;
|
||||
}
|
||||
//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";
|
||||
$error = true;
|
||||
@@ -149,9 +149,9 @@ if($sent)
|
||||
$ort->search($datum, $vonzeit, $biszeit, $raumtyp, $anzahlpersonen, true);
|
||||
|
||||
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;
|
||||
$datum_sec = $datum_obj->mktime_datum($datum);
|
||||
$datum_sec = $datum_obj->mktime_datum($datum)-1;
|
||||
foreach ($ort->result as $row)
|
||||
{
|
||||
$i++;
|
||||
@@ -160,7 +160,7 @@ if($sent)
|
||||
echo "<td>$row->bezeichnung</td>";
|
||||
echo "<td>$row->planbezeichnung</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 '</table>';
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
<td class="tdwidth10"> </td>
|
||||
<td><table class="tabcontent">
|
||||
<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>
|
||||
<td> </td>
|
||||
|
||||
Reference in New Issue
Block a user