diff --git a/__cms__/cms.php b/__cms__/cms.php index 6360cdb..7ae4832 100644 --- a/__cms__/cms.php +++ b/__cms__/cms.php @@ -25,8 +25,31 @@ class CMS { public static function affiche($uri) { $p = Page::_new(CMS::uri_vers_chemin($uri)); - echo "

Test

"; - echo $p->vue(); + echo CMS::en_tete($uri) // TODO + . $p->vue() + . CMS::pied(); + } + + public static function en_tete($titre) { + return +' + + + ' . $titre . ' + + + + +

' . $titre . '

'; +// +// +// + } + + public static function pied() { + return +' +'; } } ?> \ No newline at end of file