91 lines
3 KiB
PHP
91 lines
3 KiB
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: jedi
|
|
* Date: 12/27/18
|
|
* Time: 4:48 AM
|
|
*/
|
|
?>
|
|
<div id="content-wrapper">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<!-- Breadcrumbs-->
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item">
|
|
<a href="#">Dashboard</a>
|
|
</li>
|
|
<li class="breadcrumb-item active">Tables</li>
|
|
</ol>
|
|
|
|
<!-- DataTables Example -->
|
|
<div class="card mb-3">
|
|
<div class="card-header">
|
|
<i class="fas fa-table"></i>
|
|
Data Table Example</div>
|
|
<div class="card-body">
|
|
<div class="table-responsive">
|
|
<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>
|
|
</tr>
|
|
</thead>
|
|
<tfoot>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>was</th>
|
|
<th>wann</th>
|
|
<th>wo</th>
|
|
</tr>
|
|
</tfoot>
|
|
<tbody>
|
|
<?php
|
|
foreach( get_items() 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
|
|
foreach(explode(",",$item["tags"]) as $tag){
|
|
?>
|
|
<span class="label label-default"><?php echo $tag; ?></span>
|
|
<?php
|
|
}
|
|
?>
|
|
</td>
|
|
<td><?php echo $item["id"]; ?></td-->
|
|
</tr>
|
|
<?php
|
|
}
|
|
?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="card-footer small text-muted">Updated yesterday at 11:59 PM</div>
|
|
</div>
|
|
|
|
<p class="small text-center text-muted my-5">
|
|
<em>More table examples coming soon...</em>
|
|
</p>
|
|
|
|
</div>
|
|
<!-- /.container-fluid -->
|
|
|
|
<!-- Sticky Footer -->
|
|
<footer class="sticky-footer">
|
|
<div class="container my-auto">
|
|
<div class="copyright text-center my-auto">
|
|
<span>Copyright © j3d1 2018</span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
</div>
|