Subversion Repositories Applications.papyrus

Rev

Rev 1988 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1988 Rev 1998
Line 24... Line 24...
24
  <?php array_multisort($date_flux, SORT_DESC, $flux); ?>
24
  <?php array_multisort($date_flux, SORT_DESC, $flux); ?>
Line 25... Line 25...
25
	
25
	
26
	<?php foreach ($flux as $key=>$news) : ?>
26
	<?php foreach ($flux as $key=>$news) : ?>
27
  	<h2 class="rss_titre_article"><a href="<?=$news[0];?>" class="lien_ext"><?php echo preg_replace('/^\d+-\d+&nbsp;:/', '', $news[1]);?></a></h2>
27
  	<h2 class="rss_titre_article"><a href="<?=$news[0];?>" class="lien_ext"><?php echo preg_replace('/^\d+-\d+&nbsp;:/', '', $news[1]);?></a></h2>
28
  	<h1 class="rss_titre_site"><?= $news[2]; ?> - <span class="date"><?php echo $GLOBALS['jours'][date ('w', $news[3])].' '.date('d',$news[3]).
28
  	<h1 class="rss_titre_site"><?= $news[2]; ?> - <span class="date"><?php echo $GLOBALS['jours'][date ('w', $news[3])].' '.date('d',$news[3]).
29
		 ' '.$GLOBALS['mois'][date('n',  $news[3])].' '.date ('Y', strtotime ($news[3]));  ?></span></h1>
-
 
30
	  
29
		 ' '.$GLOBALS['mois'][date('n',  $news[3])].' '.date ('Y', $news[3]);  ?></span></h1>
31
	<?php endforeach; ?>
-
 
32
 
-
 
33
	<!--
-
 
34
	<?php foreach ($sites as $site) : ?>
-
 
35
		<?php foreach ($site['pages'] as $page) : ?>
-
 
36
		<h2 class="rss_titre_article"><a href="<?=$page['url'];?>" class="lien_ext"><?php echo preg_replace('/^\d+-\d+&nbsp;:/', '', $page['titre']);?></a></h2>
-
 
37
		<h1 class="rss_titre_site"><?= $site['titre']; ?> - <span class="date"><?php echo $GLOBALS['jours'][date ('w', strtotime ($page['date']))].' '.date('d', strtotime($page['date'])).
-
 
38
		 ' '.$GLOBALS['mois'][date('n',  strtotime ($page['date']))].' '.date('Y'); ?></span></h1>
-
 
39
 
-
 
40
		<?php endforeach; ?>
-
 
41
	<?php endforeach; ?>
-
 
42
	-->
30
	<?php endforeach; ?>
43
	</div>
31
	</div>
44
<?php endif; ?>
32
<?php endif; ?>