Exemple #1
0
        ?>
	<div class="row padding-bottom">
		<div class="col-md-4">
			<a class="thumb" href=""><img class="img-responsive hidden-xs" src="<?php 
        echo base_url($blogpost->image);
        ?>
"></a>
		</div>
		<div class="col-md-8">
			<div class="post-summary">      
				<h3 style="margin-top: 0px;"><a href=""><?php 
        echo htmlentities($blogpost->title);
        ?>
</a></h3>
				<p class="text-sm"><?php 
        echo zero_date($blogpost->creation_time);
        ?>
 par <?php 
        echo htmlentities($blogpost->author);
        ?>
</p>
				<p>
					<?php 
        echo htmlentities($blogpost->description);
        ?>
				</p>
				<p>
					<a href="<?php 
        echo base_url('blog/see/basic/' . $blogpost->id);
        ?>
" class="btn btn-default btn-sm">Lire</a>
?>
	</p>
	<p class="blogpost-footer">
		<span class="blogpost-date-add">
			publié <?php 
echo zero_date($blogpost->creation_time);
?>
		</span>
		par <?php 
echo $blogpost->author;
?>
		<?php 
if ($blogpost->creation_time != $blogpost->update_time) {
    ?>
			<span class="blogpost-date-add">
				dernière mise à jour 
				<?php 
    echo zero_date($blogpost->update_time);
    ?>
			</span>
		<?php 
}
?>
	</p>
	<p class="blogpost-action">
		<a href="">

		</a>
	</p>

</ul>