<?php
	include('library/php/functions.php');

	$sinceFirstKiss = timeDifference('2014-02-24');
	$html_sinceFirstKiss = $sinceFirstKiss[1];

	$sinceMariage = timeDifference('2018-10-11');
	$html_sinceMariage = $sinceMariage[1];

?><!DOCTYPE html>
<html class="no-js" lang="en">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<title>Some important dates</title>
		<meta name="description" content="A simple countdown to the moment I'll be with my turtle">
		<meta name="viewport" content="width=device-width, initial-scale=1">

		<link rel="stylesheet" href="library/css/style.css">
	</head>
	<body>

		<div id="body">
			<div class="message">
				<div class="counter"><?php echo $html_sinceFirstKiss; ?></div>
				<p>Since Feb. 24th 2014<br />Just because we never remember</p>
			</div>
			<div class="message">
				<div class="counter"><?php echo $html_sinceMariage ?></div>
				<p>Since Oct. 11th 2018</p>
			</div>
		</div>

		<script type="text/javascript">
		  var _gaq = _gaq || [];
		  _gaq.push(['_setAccount', 'UA-4005134-2']);
		  _gaq.push(['_trackPageview']);
		  (function() {
			var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
			ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
			var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
		  })();
		</script>
	</body>
</html>
