pluxml-theme-4arts/home.php

71 lines
1.7 KiB
PHP
Raw Normal View History

2018-03-11 00:58:09 +01:00
<?php include(dirname(__FILE__).'/header.php'); ?>
<main class="main">
<div class="container">
<div class="grid">
<div class="content col sml-12">
<?php while($plxShow->plxMotor->plxRecord_arts->loop()): ?>
<article class="article" id="post-<?php echo $plxShow->artId(); ?>">
<header>
<h2>
<?php $plxShow->artTitle('link'); ?>
</h2>
<small>
<span class="written-by">
<?php $plxShow->lang('WRITTEN_BY'); ?> <?php $plxShow->artAuthor() ?>
</span>
<time class="art-date" datetime="<?php $plxShow->artDate('#num_year(4)-#num_month-#num_day'); ?>">
<?php $plxShow->artDate('#num_day #month #num_year(4)'); ?>
</time>
<span class="art-nb-com">
<?php $plxShow->artNbCom(); ?>
</span>
</small>
</header>
<?php $plxShow->artThumbnail(); ?>
<?php $plxShow->artChapo(); ?>
<footer>
<small>
<span class="classified-in">
<?php $plxShow->lang('CLASSIFIED_IN') ?> : <?php $plxShow->artCat() ?>
</span>
<span class="tags">
<?php $plxShow->lang('TAGS') ?> : <?php $plxShow->artTags() ?>
</span>
</small>
</footer>
</article>
<?php endwhile; ?>
<nav class="pagination text-center">
<?php $plxShow->pagination(); ?>
</nav>
<span>
<?php $plxShow->artFeed('rss',$plxShow->catId()); ?>
</span>
</div>
<?php //include(dirname(__FILE__).'/sidebar.php'); ?>
</div>
</div>
</main>
<?php include(dirname(__FILE__).'/footer.php'); ?>