<footer>
	<div id="footer">
		<div class="ft-top">
			<div class="row">
				<div class="socials">
					<a href="<?php $this->info('fb_link') ?>" target="_blank">F</a>
					<a href="<?php $this->info('tt_link') ?>" target="_blank">L</a>
					<a href="<?php $this->info('yt_link') ?>" target="_blank">X</a>
					<a href="<?php $this->info('rs_link') ?>" target="_blank">R</a>
					<a href="<?php $this->info('ig_link') ?>" target="_blank"><img src="public/images/common/ft-ig.png" alt=""></a>
				</div> 
			</div>
		</div>
		<div class="ft-mid">
			<div class="row">
				<div id="details">
					<div id="dt-cont">
						<div id="tel">
							<img src="public/images/common/ft-tel.png" alt="ft-tel">
							<?php $this->info(["phone","tel"]);?>
						</div>
						<div id="msg">
							<img src="public/images/common/ft-msg.png" alt="ft-msg">
							<?php $this->info(["email","mailto"]);?>
						</div>
						<div id="loc">
							<img src="public/images/common/ft-loc.png" alt="ft-loc">
							<div>
								<h4>Serving Areas in New York</h4>
								<ul>
									<li>Brooklyn</li>
									<li>Manhattan</li>
									<li>The Bronx</li>
									<li>Long Island</li>
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="ft-bot">
			<div class="row">
				<div id="ft-left">
					<div class="socials">
						<a href="<?php $this->info('fb_link') ?>" target="_blank">F</a>
						<a href="<?php $this->info('tt_link') ?>" target="_blank">L</a>
						<a href="<?php $this->info('yt_link') ?>" target="_blank">X</a>
						<a href="<?php $this->info('rs_link') ?>" target="_blank">R</a>
						<a href="<?php $this->info('ig_link') ?>" target="_blank"><img src="public/images/common/ig-gold.png" alt=""></a>
					</div> 
					<ul>
						<li <?php $this->helpers->isActiveMenu("home"); ?>><a href="<?php echo URL ?>">HOME</a></li>
						<li <?php $this->helpers->isActiveMenu("orders"); ?>><a href="<?php echo URL ?>orders">ORDERS</a></li>
						<li <?php $this->helpers->isActiveMenu("flavors"); ?>><a href="<?php echo URL ?>flavors">FLAVORS</a></li>
						<li <?php $this->helpers->isActiveMenu("cakes"); ?>><a href="<?php echo URL ?>cakes">CAKES</a></li>
						<li <?php $this->helpers->isActiveMenu("about"); ?>><a href="<?php echo URL ?>about">ABOUT</a></li>
						<li <?php $this->helpers->isActiveMenu("testimonials"); ?>><a href="<?php echo URL ?>testimonials">TESTIMONIALS</a></li>
						<li <?php $this->helpers->isActiveMenu("contact"); ?>><a href="<?php echo URL ?>contact">CONTACT US</a></li>
					</ul>
					<p class="copy">
						Copyright © <?php echo date("Y"); ?>. <?php $this->info("company_name"); ?>. All Rights Reserved.
						<?php if ($this->siteInfo['policy_link']) : ?>
							<a href="<?php $this->info("policy_link"); ?>">Privacy Policy</a>.
						<?php endif ?>
					</p>
					<p class="silver"><img src="public/images/scnt.png" alt="" class="company-logo" /><a href="https://technodreamwebdesign.com/" rel="external" target="_blank">Web Design</a> Done by <a href="https://technodreamwebdesign.com/" rel="external" target="_blank">Technodream Web Development Services</a></p>
				</div>
				<div id="ft-right">
					<a href=""><img src="public/images/common/footer-logo.png" alt="footer-logo"></a>
				</div>
			</div>
		</div>
	</div>
</footer>
<textarea class="destroy-on-load"></textarea>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="<?php echo URL; ?>public/scripts/sendform.js" data-view="<?php echo $view; ?>" id="sendform"></script>
<!-- <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>  -->
<script src="<?php echo URL; ?>public/scripts/responsive-menu.js"></script>
<script src="https://unpkg.com/sweetalert2@7.20.10/dist/sweetalert2.all.js"></script>

<?php if ($this->siteInfo['cookie']) : ?>
	<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
	<script src="<?php echo URL; ?>public/scripts/cookie-script.js"></script>
<?php endif ?>

<?php if (in_array($view, ["home", "contact"])) : ?>
	<textarea id="g-recaptcha-response" class="destroy-on-load"></textarea>
	<script src='//www.google.com/recaptcha/api.js?onload=captchaCallBack&render=explicit' async defer></script>
	<script>
		var captchaCallBack = function() {
			$('.g-recaptcha').each(function(index, el) {
				var recaptcha = grecaptcha.render(el, {
					'sitekey': '<?php $this->info("site_key"); ?>'
				});
				$('.destroy-on-load').remove();
			})
		};

		$('.consentBox').click(function() {
			if ($(this).is(':checked')) {
				if ($('.termsBox').length) {
					if ($('.termsBox').is(':checked')) {
						$('.ctcBtn').removeAttr('disabled');
					}
				} else {
					$('.ctcBtn').removeAttr('disabled');
				}
			} else {
				$('.ctcBtn').attr('disabled', true);
			}
		});

		$('.termsBox').click(function() {
			if ($(this).is(':checked')) {
				if ($('.consentBox').is(':checked')) {
					$('.ctcBtn').removeAttr('disabled');
				}
			} else {
				$('.ctcBtn').attr('disabled', true);
			}
		});
	</script>

<?php endif; ?>


<?php if ($view == "gallery") : ?>
	<script type="text/javascript" src="<?php echo URL; ?>public/fancybox/source/jquery.fancybox.js?v=2.1.5"></script>
	<script type="text/javascript" src="<?php echo URL; ?>public/scripts/jquery.pajinate.js"></script>
	<script>
		$('#gall1').pajinate({
			num_page_links_to_display: 3,
			items_per_page: 10
		});
		$('.fancy').fancybox({
			helpers: {
				title: {
					type: 'over'
				}
			}
		});
	</script>
<?php endif; ?>

<a class="cta" href="tel:<?php $this->info("phone"); ?>"><span style="display: block; width: 1px; height: 1px; overflow: hidden;">Call To Action Button</span></a>

<?php $this->checkSuspensionFooter(); ?>
</body>

</html>