Valid XHTML    Valid CSS2    

Listing du fichier mesfonctions.php

 

00001     <?php
00002     
# (gH) -_- mesfonctions.php ; TimeStamp (unix) : 29 Octobre 2008 vers 21:44
00003     
00004     #####################################################################
00005     # #
00006     # ceci est le fichier mesfonctions.php et il permet d'avoir #
00007     # toujours le même début de fichier et la même fin. #
00008     # #
00009     #####################################################################
00010     
00011     
function debutPage() {
00012      echo
"<?xml version='1.0' encoding='ISO-8859-1' ?>\n" ;
00013      echo
"<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> \n" ;
00014      echo
"<html xmlns='http://www.w3.org/1999/xhtml' lang='fr' xml:lang='fr'> \n" ;
00015      echo
"<head> \n" ;
00016      echo
"<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' /> \n" ;
00017      echo
"<title> \n" ;
00018      echo
"L3SEN \n" ;
00019      echo
"</title> \n" ;
00020      echo
"</head> \n" ;
00021      echo
"<body> \n" ;
00022     } ;
# fin de fonction debutPage
00023     
00024     
function
finPage() {
00025      echo
"</body> \n" ;
00026      echo
"</html> \n" ;
00027     } ;
# fin de fonction finPage
00028     
00029     
?>

Pour ne pas voir les numéros de ligne, ajoutez &nl=non à la suite du nom du fichier.

 

 

retour gH    Retour à la page principale de   (gH)