aboutsummaryrefslogtreecommitdiff
path: root/Html/includes/footer.php
blob: 1d1c808140f8548806d6a3acce8917c2e1c1e9a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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>