surleweb.html 1 KB
Newer Older
Pierre's avatar
Pierre committed
1 2
#SET{syndic_artis, #ARRAY}
<B_syndication_prepa>
Pierre's avatar
Pierre committed
3
		<BOUCLE_syndication_prepa(SYNDIC_ARTICLES){!par date}{0,1000}{tous}>
Pierre's avatar
Pierre committed
4 5 6
			#SET{syndic_artis, #GET{syndic_artis}|push{#ID_SYNDIC}|array_unique}
		</BOUCLE_syndication_prepa>
</B_syndication_prepa>
Pierre's avatar
Pierre committed
7 8 9 10 11 12
<B_syndication>
	<div class="liste articles nav-shortcuts well hu-yellow hero-unit articles_syndique">
		#ANCRE_PAGINATION

	   <h2>Sur le Web</h2>
		<UL class="nav nav-list">
Pierre's avatar
Pierre committed
13 14
		<BOUCLE_syndication(DATA){source tableau, #GET{syndic_artis}}{pagination #ENV{pagi,3}}{par cle}>
		<BOUCLE_syndication_items(SYNDIC_ARTICLES){id_syndic=#VALEUR}{!par date}{0,1}>
Pierre's avatar
Pierre committed
15 16 17 18
		[<b>[(#DATE|nom_jour) ](#DATE|affdate_jourcourt|unique)</b><br />]
		<LI>
		<span>[(#NOM_SITE)&nbsp;]</span>
		<a href="#URL_ARTICLE" title="A lire sur : #NOM_SITE" target="_blank" class="spip_out">[(#TITRE)]</a>
Pierre's avatar
Pierre committed
19 20
	</LI>
</BOUCLE_syndication_items>
Pierre's avatar
Pierre committed
21 22 23 24 25 26 27
	</BOUCLE_syndication>
			[<li class="menu-entree item">
				<div class="pagination" style="text-align:center;">(#PAGINATION)</div>
			</li>]
		</UL>
	</div>
</B_syndication>