Skip to content

Instantly share code, notes, and snippets.

@mistergraphx
Created January 20, 2015 09:07
Show Gist options
  • Save mistergraphx/63936e1ceb87d66eb792 to your computer and use it in GitHub Desktop.
Save mistergraphx/63936e1ceb87d66eb792 to your computer and use it in GitHub Desktop.
PluXML : Affichage d'une liste d'articles dans une page statique From http://forum.pluxml.org/viewtopic.php?pid=39206
<?php
$plxShow = plxShow::getInstance();
//var_dump($plxShow);
include(dirname(__FILE__).'/header.php'); # On insere le header ?>
<!-- primary content -->
<div id="primary-content">
<div class="blocks">
<strong><?php echo plxDate::formatDate($plxShow->plxMotor->cible, $plxShow->lang('ARCHIVES').' #month #num_year(4)') ?></strong>
<?php $plxShow->lastArtList('<li><a class="#art_status" href="#art_url" title="#art_title">#art_title</a></li>'); ?>
<?php # On affiche le fil Atom des articles de cette categorie ?>
<div class="feed_categorie"><?php $plxShow->artFeed('rss',$plxShow->catId()); ?></div>
<?php # On affiche la pagination ?>
<p class="pagination">
<?php $plxShow->pagination(); ?>
</p>
<!-- /page navigation -->
</div>
</div>
<!-- /primary content -->
<?php include(dirname(__FILE__).'/footer.php'); # On insere le footer ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment