Listing du fichier l2xmlcl.php
00001 <?php
00002 # # (gH) -_- l2xmlcl.php ; TimeStamp (unix) : 08 Août 2017 vers 11:32
00003 include("std.php") ;
00004 debutPage("XML en L2","strict") ;
00005 debutSection() ;
00006 h1("XML en L2, université d'Angers ") ;
00007 h2(s_nbsp(4).href("../","gilles.hunault@univ-angers.fr","gvert nou")) ;
00008 pvide() ;
00009 h2("Utilisez les rubriques du menu pour accéder à la partie du cours qui vous intéresse ","gbleu") ;
00010 pvide() ;
00011 h3("Une interface ".s_span("« à la ".em("responsive Web design")." » ","gnoir")." est ".href("l2xml.php","ici").".","grouge") ;
00012 pvide() ;
00013
00014 ###################################################################
00015
00016 $rubs = array(
00017 "l2xml_1_introduction.php" => "Introduction" ,
00018 "l2xml_2_structure.php" => "Structuration" ,
00019 "l2xml_3_valide.php" => "Validation" ,
00020 "l2xml_4_transforme.php" => "Transformation" ,
00021 "l2xml_5_conclusion.php" => "Conclusion" ,
00022 "l2xml_6_tp1.php" => "T.P. numéro 1" ,
00023 "l2xml_6_tp2.php" => "T.P. numéro 2"
00024 ) ; # fin de array
00025
00026 ###################################################################
00027
00028 blockquote() ;
00029
00030 $irub = 0 ;
00031 foreach ($rubs as $url=>$rub) {
00032 $irub++ ;
00033 if ($irub<=5) {
00034 $jrub = $irub.". " ;
00035 } else {
00036 $jrub = "" ;
00037 } ; # fin si
00038 if ($irub==6) { pvide() ; } ;
00039 h3($jrub.href($url,$rub,"nou")) ;
00040 } ; # fin pour chaque
00041
00042 pvide() ;
00043 p() ;
00044 echo href("montresource.php?nomfic=l2xmlcl.php","Code-source php de cette page","orange_stim nou")."." ;
00045 finp() ;
00046
00047 finblockquote() ;
00048 finSection() ;
00049 finPage() ;
00050 ?>
La coloration syntaxique est réalisée par un enrobage de la function php nommée highlight_file
mais si vous préférez, vous pouvez utiliser celle de SyntaxHighlighter ou même celle de geshi.
Pour ne pas voir les numéros de ligne, ajoutez &nl=non à la suite du nom du fichier.
Retour à la page principale de (gH)