theme_pluxml_hadoly/home.php

73 lines
1.6 KiB
PHP

<?php include(dirname(__FILE__).'/header.php'); ?>
<main class="main">
<div class="container">
<div class="grid">
<div class="content col sml-12 med-9">
<?php while($plxShow->plxMotor->plxRecord_arts->loop()): ?>
<article class="article" id="post-<?php echo $plxShow->artId(); ?>">
<header>
<span class="art-date">
<time datetime="<?php $plxShow->artDate('#num_year(4)-#num_month-#num_day'); ?>">
<?php $plxShow->artDate('#num_day #month #num_year(4)'); ?>
</time>
</span>
<h2>
<?php $plxShow->artTitle('link'); ?>
</h2>
<div>
<small>
<span class="written-by">
<?php $plxShow->lang('WRITTEN_BY'); ?> <?php $plxShow->artAuthor() ?>
</span>
<span class="art-nb-com">
<?php $plxShow->artNbCom(); ?>
</span>
</small>
</div>
<div>
<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>
</div>
</header>
<?php $plxShow->artThumbnail(); ?>
<?php $plxShow->artChapo(); ?>
</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'); ?>