Initial commit as of 2018-10-16
This commit is contained in:
24
application/views/network/blog/blog_post_item.php
Normal file
24
application/views/network/blog/blog_post_item.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?>
|
||||
<li class="blog-post-item">
|
||||
<div class="well comment-well">
|
||||
<a href="<?= base_url('blog/post/' . $post['postUrl']) ?>" target="_blank">
|
||||
<div class="entry-image" style="background-image:url(<?= $post['postImage'] ?>?w=150"></div>
|
||||
</a>
|
||||
<div class="content">
|
||||
<h3>
|
||||
<a href="<?= base_url('blog/post/' . $post['postUrl']) ?>" target="_blank">
|
||||
<?= $post['postTitle'] ?>
|
||||
</a>
|
||||
|
||||
<small><?= lang('person_by') ?> <a
|
||||
href="<?= base_url('user/' . $data['username']) ?>"
|
||||
target="_blank"><?= $data['displayname'] ?></a>
|
||||
/ <?= date("d.m.Y H:i \\U\\h\\r ", strtotime($post['postPublishDate'])) ?>
|
||||
</small>
|
||||
</h3>
|
||||
<p class="comment"><?= $post['postDesc'] ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
Reference in New Issue
Block a user