stattbuchung_php_open/templates/table_row.inc

21 lines
883 B
HTML

<div class="row align-items-center tr brd-bottom" itemscope itemtype="http://schema.org/Event">
<div class="col-5 brd-right">
<a href='index.php?modul=<?=$this->oid?>'><?=$this->produkt_titel?></a>
<details itemprop='desciption'> <?=$this->produkt_beschreibung?></details>
</div>
<div class="col " ><time itemprop='startDate' dateTime='<?=$this->von->format(DateTime::ATOM)?>'><?=$this->von->format('j.m.y')?></time></div>
<div class="col "><?=$this->von->format('H:i')?></div>
<div class="col var_hidden"><?=$this->maxtn?></div>
<div class="col var_hidden"><?=$this->tn?></div>
<div class="col var_hidden"><?=$this->freitn?></div>
<div class="col-2 ">
<?php
if($this->freitn>0) {
echo "<a class='btn btn-primary' href='index.php?form=".$this->oid."'>Anmeldung</a>";
} else {
echo "Ausgebucht";
}
?>
</div>
</div>