54 lines
1.1 KiB
PHP
54 lines
1.1 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* Created by PhpStorm.
|
||
|
* User: jedi
|
||
|
* Date: 2/22/19
|
||
|
* Time: 9:50 PM
|
||
|
*/
|
||
|
?>
|
||
|
|
||
|
<table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>ID</th>
|
||
|
<th>was</th>
|
||
|
<th>wann</th>
|
||
|
<th>wo</th>
|
||
|
<th>kontakt</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tfoot>
|
||
|
<tr>
|
||
|
<th>ID</th>
|
||
|
<th>was</th>
|
||
|
<th>wann</th>
|
||
|
<th>wo</th>
|
||
|
<th>kontakt</th>
|
||
|
</tr>
|
||
|
</tfoot>
|
||
|
<tbody>
|
||
|
<?php
|
||
|
foreach( get_lostitems(true) as $item){
|
||
|
?>
|
||
|
<tr>
|
||
|
<td><?php echo $item["id"]; ?></td>
|
||
|
<td><?php echo $item["was"]; ?></td>
|
||
|
<td><?php echo $item["wann"]; ?></td>
|
||
|
<td><?php echo $item["wo"]; ?></td>
|
||
|
<td><?php echo $item["contact"]; ?></td>
|
||
|
<!--td>
|
||
|
<?php
|
||
|
foreach(explode(",",$item["tags"]) as $tag){
|
||
|
?>
|
||
|
<span class="label label-default"><?php echo $tag; ?></span>
|
||
|
<?php
|
||
|
}
|
||
|
?>
|
||
|
</td-->
|
||
|
</tr>
|
||
|
<?php
|
||
|
}
|
||
|
?>
|
||
|
</tbody>
|
||
|
</table>
|