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/blog_tags.php

59 lines
2.6 KiB
PHP
Raw Normal View History

2018-10-16 16:28:42 +00:00
<?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>Blog-Tags</h2>
<div class="clearfix"></div>
</div>
<div class="x_content">
<p class="text-muted font-13 m-b-30">
Hier sind alle existierenden Blog-Tags aufgelistet.
</p>
<div style="overflow-x: auto">
<table id="datatable-fixed-header" class="table table-striped table-bordered" data-order='[[ 0, "desc" ]]' data-page-length="25">
<thead>
<tr>
<th>ID</th>
<th>Tag</th>
<th>Häufigkeit</th>
<th>Gesamte Aufrufe</th>
<th>Aktionen</th>
</tr>
</thead>
<tbody>
<?php foreach ($tags as $tag): ?>
<tr>
<td>
<?= $tag['ID'] ?>
</td>
<td>
<a href="<?= base_url('blog/tag/' . $tag['name']) ?>" target="_blank">
<?= $tag['display_name'] ?>
</a>
</td>
<td>
<?= $tag['countUsed'] ?>
</td>
<td>
<i class="far fa-eye"></i>
<?= $tag['totalViews'] ?>
</td>
<td>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>