<?php
/**
 * The template for displaying the footer
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package WP_Bootstrap_Starter
 */

?>

			</article>
		</main>
		<footer>
			<div class="container">
				<div class="row">
					<div class="col-12">
						<div class="logo-footer">
							<img src="<?php echo get_template_directory_uri(); ?>/IMG/logo-footer.svg" alt="logo repose-pied bureau .fr">
						</div>
						<div class="mentions">
							<p>repose-pied-bureau.fr, comparez les repose-pieds de bureau </p> <div class="liens-footer"><a href="/mentions">Mentions légales</a> - <a href="/contact">Contact</a></div> <p> 13/02/2020 - <?php echo date('d/m/Y'); ?></p>
						</div>
					</div>
				</div>
			</div>
		</footer>
		<?php wp_footer(); ?>
		<script src="<?php echo get_template_directory_uri(); ?>/js/jquery-1.11.2.min.js"></script>
		<script src="<?php echo get_template_directory_uri(); ?>/js/popper.min.js" crossorigin="anonymous"></script>
		<script src="<?php echo get_template_directory_uri(); ?>/js/bootstrap.min.js" crossorigin="anonymous"></script>
		<script src="<?php echo get_template_directory_uri(); ?>/js/slick.js"></script>
		<script src="<?php echo get_template_directory_uri(); ?>/js/script.js"></script>
		<?php if ( $post->ID == 22  ) { ?> 
		<script type="text/javascript">
			$(document).ready(function(){

				$("select").change(function(){
					$("div.produit").removeClass('produit-visible').addClass('produit-invisible');
					var selector = '';
					$("select").each(function(i, e, a){
						selector+=$(this).val();
						if(i == $("select").length-1)
							$("div.produit"+selector).removeClass('produit-invisible').addClass('produit-visible');
					});
				});
			});
		</script>
		<?php } ?>
	</body>
</html>