Valid XHTML     Valid CSS2    

Listing du fichier calcstat.php

 

00001     <?php
00002     
00003     
# ceci est le fichier calcstat.php
00004     
00005     
error_reporting(E_ALL | E_NOTICE ) ;
00006     include_once(
"../std7.php") ;
00007     include(
"progstat.php") ;
00008     
debutPage
("calculs statistiques simples") ;
00009     
debutSection() ;
00010     
blockquote() ;
00011     
00012     
$calc
= "?" ;
00013     
00014      if (isset(
$_GET
["calc"])) { $calc = $_GET["calc"] ; } ;
00015      if (isset(
$_POST
["calc"])) { $calc = $_POST["calc"] ; } ;
00016     
00017      if (
$calc
=="comppct") { compPct() ; } ;
00018      if (
$calc
=="compmoy") { compMoy() ; } ;
00019      if (
$calc
=="chideux") { chiDeux() ; } ;
00020      if (
$calc
=="deccl") { deccl() ; } ;
00021      if (
$calc
=="tigef") { tigef() ; } ;
00022      if (
$calc
=="gdr") { gdr() ; } ;
00023      if (
$calc
=="comproc") { comproc() ; } ;
00024      if (
$calc
=="aqtdet") { aqtdet() ; } ;
00025      if (
$calc
=="smax") { smax() ; } ;
00026     
00027      if (
$calc
=="?") { erreur("calcul") ; } ;
00028     
00029     
pvide() ;
00030     
00031     
p() ;
00032     echo
href
("montresource.php?nomfic=calcstat.php","Code-source de cette page","orange_stim nou")."&nbsp;;&nbsp;" ;
00033     echo
" fichiers inclus&nbsp;: "
.href("montresource.php?nomfic=progstat.php","progstat","orange_stim nou")." et " ;
00034     echo
" "
.href("../montresource.php?nomfic=statuno.php","statuno","orange_stim nou").". " ;
00035     
finp() ;
00036     
00037     
finblockquote() ;
00038     
finSection() ;
00039     
finPage() ;
00040     exit(-
1) ;
00041     
?>

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)