From 231a5783cfe57e766e65a1c63aba167809daf0a8 Mon Sep 17 00:00:00 2001
From: Antoine Pitrou <pitrou@free.fr>
Date: Wed, 14 Aug 2002 00:01:39 +0000
Subject: [PATCH] =?UTF-8?q?modifs=20squelettes=20par=20d=C3=A9faut?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 article-dist.html   |  18 +------
 breve-dist.html     |  19 +------
 forum-dist.html     |  24 +--------
 pied-dist.html      |  19 +++++++
 pied.php3           |   7 +++
 plan-dist.html      |  23 +-------
 recherche-dist.html |  20 +------
 resume-dist.html    | 125 ++++++++++++++++++++++++++++++++++++++++++++
 resume.php3         |   7 +++
 rubrique-dist.html  |  19 +------
 sommaire-dist.html  |  19 +------
 11 files changed, 165 insertions(+), 135 deletions(-)
 create mode 100644 pied-dist.html
 create mode 100644 pied.php3
 create mode 100644 resume-dist.html
 create mode 100644 resume.php3

diff --git a/article-dist.html b/article-dist.html
index 1197c06ad2..2a6d7f50e9 100644
--- a/article-dist.html
+++ b/article-dist.html
@@ -365,27 +365,11 @@
 
 <CENTER>
 
-<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-<TR WIDTH=100%>
-<TD WIDTH=100% BACKGROUND="NAVPICS/point.gif"><img src="NAVPICS/rien.gif" alt="" width="8" height="8" border="0"></TD>
-</TR></TABLE>
-<TABLE WIDTH=95% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-<TR>
-<TD ALIGN="right">
-	<FONT FACE="arial,helvetica,sans-serif" SIZE=1>
-	[<A HREF="#URL_SITE_SPIP">(#NOM_SITE_SPIP|majuscules)</A>]
-	| <A HREF="plan.php3">PLAN DU SITE</A>
-	| <A HREF="ecrire/">ADMIN</A>
-	 &nbsp; 
-	</FONT>
+<INCLURE(pied.php3)>
 
-</TD>
-</TR>
-</TABLE>
 </CENTER>
 
 
-<BR><BR><BR>
 
 </BODY>
 </HTML>
diff --git a/breve-dist.html b/breve-dist.html
index b7936b4f98..2a23938a2d 100644
--- a/breve-dist.html
+++ b/breve-dist.html
@@ -202,28 +202,11 @@
 
 <CENTER>
 
-<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-<TR WIDTH=100%>
-<TD WIDTH=100% BACKGROUND="NAVPICS/point.gif"><img src="NAVPICS/rien.gif" alt="" width="8" height="8" border="0"></TD>
-</TR></TABLE>
-<TABLE WIDTH=95% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-<TR>
-<TD ALIGN="right">
-	<FONT FACE="arial,helvetica,sans-serif" SIZE=1>
-	[<A HREF="#URL_SITE_SPIP">(#NOM_SITE_SPIP|majuscules)</A>]
-	| <A HREF="plan.php3">PLAN DU SITE</A>
-	| <A HREF="ecrire/">ADMIN</A>
-	 &nbsp; 
-	</FONT>
+<INCLURE(pied.php3)>
 
-</TD>
-</TR>
-</TABLE>
 </CENTER>
 
 
-<BR><BR><BR>
-
 </BODY>
 </HTML>
 
diff --git a/forum-dist.html b/forum-dist.html
index 722b155686..fbcc5c3601 100644
--- a/forum-dist.html
+++ b/forum-dist.html
@@ -105,30 +105,8 @@
 </TD></TR></TABLE>
 
 
+<INCLURE(pied.php3)>
 
-
-
-
-
-
-
-<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-<TR WIDTH=100%>
-<TD WIDTH=100% BACKGROUND="NAVPICS/point.gif"><img src="NAVPICS/rien.gif" alt="" width="8" height="8" border="0"></TD>
-</TR></TABLE>
-<TABLE WIDTH=95% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-<TR>
-<TD ALIGN="right">
-	<FONT FACE="arial,helvetica,sans-serif" SIZE=1>
-	[<A HREF="#URL_SITE_SPIP">(#NOM_SITE_SPIP|majuscules)</A>]
-	| <A HREF="plan.php3">PLAN DU SITE</A>
-	| <A HREF="ecrire/">ADMIN</A>
-	</FONT>
-
-</TD>
-</TR>
-</TABLE>
-<BR><BR><BR>
 </CENTER>
 
 </BODY>
diff --git a/pied-dist.html b/pied-dist.html
new file mode 100644
index 0000000000..2bf8e08389
--- /dev/null
+++ b/pied-dist.html
@@ -0,0 +1,19 @@
+<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
+<TR WIDTH=100%>
+<TD WIDTH=100% BACKGROUND="NAVPICS/point.gif"><img src="NAVPICS/rien.gif" alt="" width="8" height="8" border="0"></TD>
+</TR></TABLE>
+<TABLE WIDTH=95% CELLPADDING=0 CELLSPACING=0 BORDER=0>
+<TR>
+<TD ALIGN="right">
+<A HREF="http://www.uzine.net/spip"><img src="NAVPICS/petit-logo-spip.gif" alt="LOGO SPIP" width="88" height="31" border="0" align="left"></A>
+	<FONT FACE="arial,helvetica,sans-serif" SIZE=1>
+	[<A HREF="#URL_SITE_SPIP">(#NOM_SITE_SPIP|majuscules)</A>]
+	| <A HREF="resume.php3">EN R&Eacute;SUM&Eacute;</A>
+	| <A HREF="plan.php3">PLAN DU SITE</A>
+	| <A HREF="ecrire/">ADMIN</A>
+	</FONT>
+
+</TD>
+</TR>
+</TABLE>
+<BR><BR>
diff --git a/pied.php3 b/pied.php3
new file mode 100644
index 0000000000..9d9b527bf4
--- /dev/null
+++ b/pied.php3
@@ -0,0 +1,7 @@
+<?php
+$fond = "pied";
+$delais = 24 * 3600;
+
+include ("inc-public.php3");
+
+?>
diff --git a/plan-dist.html b/plan-dist.html
index 6c159c5c09..8259833a41 100644
--- a/plan-dist.html
+++ b/plan-dist.html
@@ -159,29 +159,8 @@
 </BOUCLE_secteurs>
 
 
+<INCLURE(pied.php3)>
 
-
-
-
-
-
-
-<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-<TR WIDTH=100%>
-<TD WIDTH=100% BACKGROUND="NAVPICS/point.gif"><img src="NAVPICS/rien.gif" alt="" width="8" height="8" border="0"></TD>
-</TR></TABLE>
-<TABLE WIDTH=95% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-<TR>
-<TD ALIGN="right">
-	<FONT FACE="arial,helvetica,sans-serif" SIZE=1>
-	[<A HREF="#URL_SITE_SPIP">(#NOM_SITE_SPIP|majuscules)</A>]
-	| <A HREF="ecrire/">ADMIN</A>
-	</FONT>
-
-</TD>
-</TR>
-</TABLE>
-<BR><BR><BR>
 </CENTER>
 
 </BODY>
diff --git a/recherche-dist.html b/recherche-dist.html
index d26a9c2225..e924168b45 100644
--- a/recherche-dist.html
+++ b/recherche-dist.html
@@ -252,28 +252,10 @@
 
 <CENTER>
 
-<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-<TR WIDTH=100%>
-<TD WIDTH=100% BACKGROUND="NAVPICS/point.gif"><img src="NAVPICS/rien.gif" alt="" width="8" height="8" border="0"></TD>
-</TR></TABLE>
-<TABLE WIDTH=95% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-<TR>
-<TD ALIGN="right">
-	<FONT FACE="arial,helvetica,sans-serif" SIZE=1>
-	[<A HREF="#URL_SITE_SPIP">(#NOM_SITE_SPIP|majuscules)</A>]
-	| <A HREF="plan.php3">PLAN DU SITE</A>
-	| <A HREF="ecrire/">ADMIN</A>
-	 &nbsp; 
-	</FONT>
+<INCLURE(pied.php3)>
 
-</TD>
-</TR>
-</TABLE>
 </CENTER>
 
-
-<BR><BR><BR>
-
 </BODY>
 </HTML>
 
diff --git a/resume-dist.html b/resume-dist.html
new file mode 100644
index 0000000000..474057a954
--- /dev/null
+++ b/resume-dist.html
@@ -0,0 +1,125 @@
+<HTML>
+<HEAD>
+<title>[#NOM_SITE_SPIP] </title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="spip_style.css" type="text/css" />
+</HEAD>
+<BODY bgcolor="#FFFFFF" text="#000000" link="#E86519" vlink="#6E003A" alink="#FF9900" TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">
+
+
+<TABLE WIDTH=100% CELLPADDING=5 CELLSPACING=0 BORDER=0 BGCOLOR="#000000">
+<B_haut>
+	<TR BGCOLOR="#000000">
+	<TD ALIGN="center">
+	<A HREF="#URL_SITE_SPIP"><B><FONT COLOR="#E86519" FACE="arial,helvetica,sans-serif" SIZE=2>#NOM_SITE_SPIP</FONT></B></A>
+	</TD>	
+	
+	<BOUCLE_haut(RUBRIQUES){id_parent=0}{par titre}{0,5}>
+	<TD ALIGN="center">
+	<A HREF="#URL_RUBRIQUE"><FONT COLOR="#FFFFFF" FACE="arial,helvetica,sans-serif" SIZE=2>#TITRE</FONT></A>
+	</TD>
+	</BOUCLE_haut>
+	</TR>
+</B_haut>
+<B_haut2>
+	<TR BGCOLOR="#000000">
+	<BOUCLE_haut2(RUBRIQUES){id_parent=0}{par titre}{5,6}>
+	<TD ALIGN="center">
+	<A HREF="#URL_RUBRIQUE"><FONT COLOR="#FFFFFF" FACE="arial,helvetica,sans-serif" SIZE=2>#TITRE</FONT></A>
+	</TD>
+	</BOUCLE_haut2>
+	</TR>
+</B_haut2>
+<B_haut3>
+	<TR BGCOLOR="#000000">
+	<BOUCLE_haut3(RUBRIQUES){id_parent=0}{par titre}{11,6}>
+	<TD ALIGN="center">
+	<A HREF="#URL_RUBRIQUE"><FONT COLOR="#FFFFFF" FACE="arial,helvetica,sans-serif" SIZE=2>#TITRE</FONT></A>
+	</TD>
+	</BOUCLE_haut3>
+	</TR>
+</B_haut3>
+<B_haut4>
+	<TR BGCOLOR="#000000">
+	<BOUCLE_haut4(RUBRIQUES){id_parent=0}{par titre}{17,5}>
+	<TD ALIGN="center">
+	<A HREF="#URL_RUBRIQUE"><FONT COLOR="#FFFFFF" FACE="arial,helvetica,sans-serif" SIZE=2>#TITRE</FONT></A>
+	</TD>
+	</BOUCLE_haut4>
+	</TR>
+</B_haut4>
+</TABLE>
+
+<CENTER>
+
+<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=632>
+<TR>
+<TD WIDTH=300 ALIGN="left" VALIGN="top">
+	<FONT FACE="arial,helvetica,sans-serif" SIZE=3>
+	<p align='right'><font size='4'><b>Les articles les plus populaires</b></font>
+
+	<BOUCLE_articles(ARTICLES){tout}{par popularite}{inverse}{0,7}> 
+		<P align="right">
+		<FONT SIZE=2>
+		[(#SURTITRE)<BR>]
+		<FONT SIZE=3><A HREF="#URL_ARTICLE"[ TITLE="(#DESCRIPTIF|textebrut|attribut_html)"]>#TITRE</A></FONT>
+		[<BR>(#SOUSTITRE)]
+		<B_AUTEUR2><BR><B>par 
+		<BOUCLE_AUTEUR2(AUTEURS){id_article}{", "}{par nom}>#NOM</BOUCLE_AUTEUR2>
+		</B></B_AUTEUR2>
+		</FONT>
+		[<BR><small>Popularité: (#POPULARITE)%</small>]
+	</BOUCLE_articles>
+
+	[
+	<P>
+	<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
+	<TR WIDTH=100%>
+	<TD WIDTH=100% BACKGROUND="NAVPICS/point.gif"><img src="NAVPICS/rien.gif" alt="" width="8" height="8" border="0"></TD>
+	</TR>
+	</TABLE>
+	<P>
+	<DIV ALIGN="right">
+	<FONT SIZE="2">
+	<B>Rechercher</B> dans ce site : (#FORMULAIRE_RECHERCHE|recherche.php3)
+	</FONT>
+	</DIV>
+	]
+
+	</FONT>
+	<BR>
+</TD>
+
+<TD WIDTH=8><img src="NAVPICS/rien.gif" alt="" width="8" height="8" border="0"></TD>
+<TD WIDTH=8 BACKGROUND="NAVPICS/point.gif"><img src="NAVPICS/rien.gif" alt="" width="8" height="8" border="0"></TD>
+<TD WIDTH=8><img src="NAVPICS/rien.gif" alt="" width="8" height="8" border="0"></TD>
+<TD WIDTH=300 VALIGN="top">
+	<FONT FACE="arial,helvetica,sans-serif" SIZE=2>
+	<p align='left'><font size='4'><b>Les derniers commentaires</b></font>
+
+	<BOUCLE_Forums(FORUMS){plat}{par date}{inverse}{0,12}>
+	<p>
+	<BOUCLE_ArticleForum(ARTICLES){id_article}><a href="#URL_ARTICLE#forum#ID_FORUM"></BOUCLE_ArticleForum>
+	<BOUCLE_BreveForum(BREVES){id_breve}><a href="#URL_BREVE#forum#ID_FORUM"></BOUCLE_BreveForum>
+	<BOUCLE_RubriqueForum(RUBRIQUES){id_rubrique}><a href="#URL_RUBRIQUE#forum#ID_FORUM"></BOUCLE_RubriqueForum>
+	<//B_RubriqueForum><//B_BreveForum><//B_ArticleForum>
+	#TITRE
+	</a>
+	<br>
+	Le [(#DATE|nom_jour)] [(#DATE|affdate)][, par <b>(#NOM)</b>]
+	</BOUCLE_Forums>
+
+	</font>
+
+</TD>
+</TR>
+</TABLE>
+
+<INCLURE(pied.php3)>
+
+</CENTER>
+
+</BODY>
+</HTML>
+
+
diff --git a/resume.php3 b/resume.php3
new file mode 100644
index 0000000000..2f2f87c12d
--- /dev/null
+++ b/resume.php3
@@ -0,0 +1,7 @@
+<?php
+$fond = "resume";
+$delais = 2 * 3600;
+
+include ("inc-public.php3");
+
+?>
diff --git a/rubrique-dist.html b/rubrique-dist.html
index 52c680e7d6..68904d90b7 100644
--- a/rubrique-dist.html
+++ b/rubrique-dist.html
@@ -336,28 +336,11 @@
 
 <CENTER>
 
-<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-<TR WIDTH=100%>
-<TD WIDTH=100% BACKGROUND="NAVPICS/point.gif"><img src="NAVPICS/rien.gif" alt="" width="8" height="8" border="0"></TD>
-</TR></TABLE>
-<TABLE WIDTH=95% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-<TR>
-<TD ALIGN="right">
-	<FONT FACE="arial,helvetica,sans-serif" SIZE=1>
-	[<A HREF="#URL_SITE_SPIP">(#NOM_SITE_SPIP|majuscules)</A>]
-	| <A HREF="plan.php3">PLAN DU SITE</A>
-	| <A HREF="ecrire/">ADMIN</A>
-	 &nbsp; 
-	</FONT>
+<INCLURE(pied.php3)>
 
-</TD>
-</TR>
-</TABLE>
 </CENTER>
 
 
-<BR><BR><BR>
-
 </BODY>
 </HTML>
 
diff --git a/sommaire-dist.html b/sommaire-dist.html
index 37d4a6eade..3e84902299 100644
--- a/sommaire-dist.html
+++ b/sommaire-dist.html
@@ -167,25 +167,8 @@
 </TR>
 </TABLE>
 
+<INCLURE(pied.php3)>
 
-<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-<TR WIDTH=100%>
-<TD WIDTH=100% BACKGROUND="NAVPICS/point.gif"><img src="NAVPICS/rien.gif" alt="" width="8" height="8" border="0"></TD>
-</TR></TABLE>
-<TABLE WIDTH=95% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-<TR>
-<TD ALIGN="right">
-<A HREF="http://www.uzine.net/spip"><img src="NAVPICS/petit-logo-spip.gif" alt="LOGO SPIP" width="88" height="31" border="0" align="left"></A>
-	<FONT FACE="arial,helvetica,sans-serif" SIZE=1>
-	[<A HREF="#URL_SITE_SPIP">(#NOM_SITE_SPIP|majuscules)</A>]
-	| <A HREF="plan.php3">PLAN DU SITE</A>
-	| <A HREF="ecrire/">ADMIN</A>
-	</FONT>
-
-</TD>
-</TR>
-</TABLE>
-<BR><BR><BR>
 </CENTER>
 
 </BODY>
-- 
GitLab