Archived
1
0
This repository has been archived on 2020-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
old/application/views/admin/downloads.php
2018-10-16 18:28:42 +02:00

50 lines
2.1 KiB
PHP

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<div class="right_col" role="main">
<div class="">
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Downloads</h2>
<div class="clearfix"></div>
</div>
<div class="x_content">
<p class="text-muted font-13 m-b-30">
Hier sind alle derzeitigen Downloads zu finden!
</p>
<table id="datatable-fixed-header" class="table table-striped table-bordered">
<thead>
<tr>
<th>ID</th>
<th>Titel</th>
<th>Beschreibung</th>
<th>Bild</th>
<th>Datum</th>
<th>URL</th>
<th>Tools</th>
</tr>
</thead>
<tbody>
<?php foreach ($downloads as $dl) { ?>
<tr>
<td><?= $dl['ID'] ?></td>
<td><?= $dl['title'] ?></td>
<td><?= $dl['description'] ?></td>
<td><img src="<?= $dl['image'] ?>" class="img-fluid"></td>
<td><?= date('d.m.Y', strtotime($dl['date'])) ?></td>
<td><a href="<?= $dl['url'] ?>" target="_blank"><?= $dl['url'] ?></a></td>
<td></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>