Valid XHTML     Valid CSS2    

Listing du fichier f_jphistopct2.php

 

00001     <?php
00002     
# # (gH) -_- f_jphistopct2.php ; TimeStamp (unix) : 23 Décembre 2015 vers 20:35
00003     
00004     
include("std.php") ;
00005     
$titre
= "Formulaire pour jphistopct2.php" ;
00006     
debutPage
($titre,"strict","","f_jphistopct2.js") ;
00007     
debutSection() ;
00008     
h1
($titre) ;
00009     
00010     
form
("jphistopct2.php","get","onsubmit='jphistopct2(this) ; return false'") ;
00011     
00012     
p() ;
00013     echo
"1. Entrez le titre de l'histogramme" ;
00014     
finp() ;
00015     
00016     
p() ;
00017     
nbsp
(7) ;
00018     
input_text
("titr","",70,"tarose") ;
00019     
finp() ;
00020     
00021     
p() ;
00022     echo
"2. Donner les modalités séparées par des virgules" ;
00023     
finp() ;
00024     
00025     
p() ;
00026     
nbsp
(7) ;
00027     
input_text
("xmrks","",70,"tarose") ;
00028     
finp() ;
00029     
00030     
p() ;
00031     echo
"3. Donner les effectifs absolus (comptages) séparés par des virgules." ;
00032     
finp() ;
00033     
00034     
p() ;
00035     echo
"Il en faut bien s&ucirc;r autant que de modalités." ;
00036     
finp() ;
00037     
00038     
p() ;
00039     
nbsp
(7) ;
00040     
input_text
("vdata","",70,"tarose") ;
00041     
finp() ;
00042     
00043     
p() ;
00044     echo
"4. Indiquer une couleur de tracé." ;
00045     
finp() ;
00046     
00047     
p() ;
00048     
$url
= "http://jpgraph.net/download/manuals/chunkhtml/apd.html" ;
00049     echo
"La liste officielle des couleurs est " ;
00050     echo
href
($url,"ici")."." ;
00051     
finp() ;
00052     
00053     
p() ;
00054     
nbsp
(7) ;
00055     
input_text
("couleur","",70,"tajaunec") ;
00056     
finp() ;
00057     
00058     
p() ;
00059     echo
"5. Enfin, clickez sur le bouton "
.b("Ok")." ci-dessous&nbsp;:" ;
00060     
finp() ;
00061     
00062     
p() ;
00063     
nbsp
(15) ;
00064     
input_submit
("&nbsp;Ok&nbsp;","ok","bouton_fin nou vert_pastel") ;
00065     
input_hidden
("formulaire","1") ;
00066     
finp() ;
00067     
00068     
finform() ;
00069     
00070     
p() ;
00071     echo
"Vous pouvez aussi utiiser les exemples suivants&nbsp;:" ;
00072     
finp() ;
00073     
00074     
p() ;
00075     for (
$idx
=1;$idx<=3;$idx++) {
00076     
nbsp
(7) ;
00077     
bouton
("b$idx","class='bouton_fin jaune_pastel' onclick='xmp($idx)'","button","&nbsp;exemple&nbsp;$idx&nbsp;") ;
00078     } ;
# fin pour idx
00079     
nbsp
(7) ;
00080     
bouton
("b0","class='bouton_fin bleu_pastel' onclick='xmp(0)'","button","&nbsp;reset&nbsp;") ;
00081     
finp() ;
00082     
00083     
pvide() ;
00084     
00085     
p() ;
00086     echo
href
("montresource.php?nomfic=f_jphistopct2.php","Code-source de cette page","orange_stim nou")."&nbsp;;&nbsp;" ;
00087     echo
" fichier inclus&nbsp;: "
.href("montresource.php?nomfic=f_jphistopct2.js","f_jphistopct2.js","orange_stim nou")."." ;
00088     
finp() ;
00089     
00090     
finSection() ;
00091     
finPage() ;
00092     
?>

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)