Voila la fonction qui genere les entetes html, elle utilise des constantes pour les elementrs que l'on voudrait modifier les constantes sont dans ../data/constant.php

[code:1:3fe08601b3]
&lt;?php
 
/* Purpose &#58; Thi script generates pages headers for the fede site
// written by Olivier Cant
// Created on  April 1 2004
// Last Update April 1 2004
// Current version &#58; 0.1
 
/* changelog
 
fonctions
---------
 
f_siteHeader&#40;&#41;; =&gt; outputs the html header for the fede site
*/
 
require_once&#40;&quot;../data/constant.php&quot;&#41;;
 
function f_siteHeader&#40;&#41;
&#123;
    //  We only echo some stuff all the headers but some of it is stored in constants
    echo &quot;&lt;!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'DTD/xhtml1-transitional.dtd'&gt;\n&quot;;
    echo &quot;&lt;html xmlns='http&#58;//www.w3.org/1999/xhtml' xml&#58;lang='fr' lang='fr'&gt;\n&quot;;
    echo &quot;&lt;head&gt;\n&quot;;
    echo &quot;&lt;title&gt;&quot; . CST_HEADER_TITLE . &quot;&lt;/title&gt;\n&quot;;
    echo &quot;&lt;meta http-equiv='Content-Type' content='text/html' charset='iso-8859-1'&gt;\n&quot;;
    echo &quot;&lt;meta name='keywords' content='&quot; . CST_HEADER_KEYWORDS . &quot;'&gt;\n&quot;;
    echo &quot;&lt;meta name='description' content='&quot; . CST_HEADER_DESC . &quot;'&gt;\n&quot;;
    echo &quot;&lt;link rel='Shortcut Icon' href='&quot; . CST_HEADER_ICON_PATH . &quot;' type='image/x-icon'&gt;\n&quot;;
    echo &quot;&lt;link rel='stylesheet' href='&quot; . CST_HEADER_STYLESHEET_PATH . &quot;' type='text/css' title='&quot; . CST_HEADER_STYLESHEET_TITLE . &quot;'&gt;\n&quot;;
    echo &quot;&lt;/head&gt;\n&quot;;
&#125;
[/code:1:3fe08601b3]