diff options
Diffstat (limited to '')
-rw-r--r-- | Html/includes/footer.php | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Html/includes/footer.php b/Html/includes/footer.php new file mode 100644 index 0000000..1d1c808 --- /dev/null +++ b/Html/includes/footer.php @@ -0,0 +1,40 @@ +<div style="text-align:center; padding:35px 0 35px 0;"> + <a style="color:white; font-weight:bold; font-size:43px; padding-left: 20px;" href="<?php echo SITEURL; ?>"><?php echo SITENAMELONG; ?></a><br /> +</div> + +<div class="clear"></div> + +<div class="footer-width footer-bottom"> + <p>Copyleft <span style="font-weight: bold;"><?php echo SITEURL; ?></span> | <?php echo COPYDATE; ?> | + + <?php + /** + * Mesurer le temps de chargement d'une page HTML + */ + + // relever le point de départ + $timestart=microtime(true); + + /** + * Charger la page index de google + */ + file_get_contents('http://www.google.fr'); + + //Fin du code PHP + $timeend=microtime(true); + $time=$timeend-$timestart; + + //Afficher le temps de chargement + $page_load_time = number_format($time, 3); + //echo "Debut du chargement: ".date("H:i:s", $timestart); + //echo "<br>Fin de reception: ".date("H:i:s", $timeend); + echo "Page chargée en " . $page_load_time . " sec"; + ?> + + <span style="float:right; font-style: italic;"> + Version du site : <?php echo SITEVERSION; ?> du <?php echo SITEDATE; ?> + </span> + + <br /> + </p> +</div> |