Subversion Repositories Applications.papyrus

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1971 aperonnet 1
<!-- SYNDICATION - DEBUT -->
2
<?php if ($erreurs) : ?>
3
	<?php foreach ($erreurs as $erreur) : ?>
4
		<p class="pap_erreur"><?=$erreur;?></p>
5
	<?php endforeach; ?>
6
<?php elseif ($informations) : ?>
7
	<?php foreach ($informations as $information) : ?>
8
		<p class="pap_info"><?=$information;?></p>
9
	<?php endforeach; ?>
10
<?php else : ?>
11
	<?php foreach ($sites as $site) : ?>
12
		<?php foreach ($site['pages'] as $page) : ?>
13
		 <div class="menu_titre">
14
		 <h1 class="intituler_rubrique"><a class="lien_rss" href="<?=$page['url'];?>" <?=($site['ext'])? 'onclick="window.open(this.href); return false;"':'';?>><?=$page['titre'];?></a></h1>
15
		 <p class="date"><?php echo $page['category']; ?> début le <?php echo $GLOBALS['jours'][date ('w', strtotime ($page['date']))].' '.date('d', strtotime($page['date'])).
16
		 ' '.$GLOBALS['mois'][date('n',  strtotime ($page['date']))].' '.date ('Y', strtotime ($page['date']));  ?> par <?php echo $page['author']; ?></p>
17
		 <p class="descriptif_contenu"><?php echo substr($page['description'], 0, 400); ?></p>
18
		</div>
19
		<hr />
20
		<?php endforeach; ?>
21
	<?php endforeach; ?>
22
<?php endif; ?>
23
<!-- SYNDICATION - FIN -->