aboutsummaryrefslogtreecommitdiff
path: root/Html/includes/footer.php
diff options
context:
space:
mode:
authorcitizenz7 <citizenz7@protonmail.com>2017-04-20 18:50:55 +0200
committercitizenz7 <citizenz7@protonmail.com>2017-04-20 18:50:55 +0200
commit5fd9fa480f302902328b81f912dd67ce378284f8 (patch)
tree66234843ae2857fda12442e4f7577c527d48977c /Html/includes/footer.php
parentebe731862c7c741171138b1083906f391fc35aff (diff)
downloadfreetorrent-5fd9fa480f302902328b81f912dd67ce378284f8.tar.xz
freetorrent-5fd9fa480f302902328b81f912dd67ce378284f8.zip
V.1.4.6
Diffstat (limited to '')
-rw-r--r--Html/includes/footer.php40
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>