Initial commit as of 2018-10-16
This commit is contained in:
37
application/views/post_list_entry.php
Normal file
37
application/views/post_list_entry.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?>
|
||||
|
||||
<li class="col-4 p-2 <?= strtolower($post_plattform) ?>">
|
||||
<div class="card">
|
||||
<a href="<?= $post_url ?>">
|
||||
<div class="card-header bg-<?= strtolower($post_plattform) ?> text-white">
|
||||
<i class="fab fa-<?= strtolower($post_plattform) ?>"></i>
|
||||
<?= $post_plattform ?>
|
||||
</div>
|
||||
<?php if (!empty($post_img_source)): ?>
|
||||
<div style="height: 200px; background: url(<?= $post_img_source ?>) center; background-size: cover;">
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
<div class="card-body">
|
||||
<a href="<?= $post_url ?>">
|
||||
<p class="card-text">
|
||||
<?= $post_content ?>
|
||||
</p>
|
||||
</a>
|
||||
<p class="card-text">
|
||||
<small class="text-muted">
|
||||
<i class="far fa-clock"></i>
|
||||
<?= $post_date ?>
|
||||
<br>
|
||||
<i class="far fa-user"></i>
|
||||
<?= lang('person_by') ?>
|
||||
<a href="<?= $post_author_url ?>" target="_blank">
|
||||
<?= $post_author ?>
|
||||
</a>
|
||||
</small>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
Reference in New Issue
Block a user