Beispiel #1
0
	by <a href="index.html"><?php 
if (isset($this->tJoinmodel_users[$this->oPosts->user_id])) {
    echo $this->tJoinmodel_users[$this->oPosts->user_id];
}
?>
</a> on <em><?php 
$oDate = new plugin_datetime($this->oPosts->created);
echo $oDate->toString('D dS Y');
?>
</em>
	</small></p>
</div>

<article>
	<?php 
echo plugin_markdown::tr($this->oPosts->content);
?>
</article>

<hr>

<section class="comments">
	
<?php 
echo $this->oCommentsAdd->show();
?>

<?php 
echo $this->oComments->show();
?>
Beispiel #2
0
        ?>
</a>,
				by <a href="<?php 
        echo _root::getLink('default::index');
        ?>
"><?php 
        echo $this->tJoinmodel_users[$oPosts->user_id];
        ?>
</a> on <em><?php 
        $oDate = new plugin_datetime($oPosts->created);
        echo $oDate->toString('D dS Y');
        ?>
</em>
			</small></p>
			<p><?php 
        echo substr(trim(plugin_markdown::tr($oPosts->content)), 0, 190);
        ?>
...</p>
			<p class="text-right"><a href="<?php 
        echo module_posts::getLink('show', array('slug' => $oPosts->slug));
        ?>
" class="btn btn-primary">Read more...</a></p>
		</article>
	<?php 
    }
}
?>


<?php 
echo $this->oPagination->build()->show();