Initial commit as of 2018-10-16
This commit is contained in:
49
application/views/admin/downloads.php
Normal file
49
application/views/admin/downloads.php
Normal file
@@ -0,0 +1,49 @@
|
||||
<?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>
|
||||
|
Reference in New Issue
Block a user