<footer>
	<div id="footer">
		<div class="row">
			<div class="ctc-info flex">
				<div class="phone">
					<img src="public/images/common/ft-phone.jpg" alt="phone icon">
					<a href="tel:<?php $this->info("phone"); ?>"><?php $this->info("phone"); ?></a>
				</div>
				<div class="email">
					<img src="public/images/common/ft-email.jpg" alt="email icon">
					<a href="mailto:<?php $this->info("email"); ?>"><?php $this->info("email"); ?></a>
				</div>
				<div class="address">
					<img src="public/images/common/address.jpg" alt="address icon">
					<a href="mailto:<?php $this->info("address"); ?>"><?php $this->info("address"); ?></a>
				</div>
			</div>

			<div class="flex-holder flex">
				<div class="image">
					<img src="public/images/common/footer-image.png" alt="footer image">
				</div>
				<div class="form">
					<h2>CONTACT US</h2>
					<p>Please fill out the form below and we will get back to you as soon as we can with a reply. Thank you.</p>
					<form action="sendContactForm" method="post"  class="sends-email ctc-form" >
						<label><span class="ctc-hide">Name</span>
							<input type="text" name="name" placeholder="Name:">
						</label>
						<label><span class="ctc-hide">Phone</span>
							<input type="text" name="phone" placeholder="Phone:">
						</label>
						<label><span class="ctc-hide">Email</span>
							<input type="text" name="email" placeholder="Email:">
						</label>
						<label><span class="ctc-hide">Address</span>
							<input type="text" name="address" placeholder="Location:">
						</label>
						<label><span class="ctc-hide">Message</span>
							<textarea name="message" cols="30" rows="10" placeholder="Message:"></textarea>
						</label>
						<div class="flex">
							<div class="gdpr">
								<label>
									<input type="checkbox" name="consent" class="consentBox">I hereby consent to having this website store my submitted information so that they can respond to my inquiry.
								</label><br>
								<?php if( $this->siteInfo['policy_link'] ): ?>
								<label>
									<input type="checkbox" name="termsConditions" class="termsBox"/> I hereby confirm that I have read and understood this website's <a href="<?php $this->info("policy_link"); ?>" target="_blank">Privacy Policy.</a>
								</label>
								<?php endif ?>
							</div>
							<div class="recaptcha">
								<label for="g-recaptcha-response"><span class="ctc-hide">Recaptcha</span></label>
								<div class="g-recaptcha"></div>
							</div>
						</div>
						<button type="submit" class="ctcBtn buttons btn" disabled>SUBMIT FORM</button>
					</form>
				</div>
			</div>
			<div class="navi flex">
				<div class="left">
					<nav>
						<ul>
						<li <?php $this->helpers->isActiveMenu("home"); ?>><a href="<?php echo URL ?>">HOME</a></li>
						<li <?php $this->helpers->isActiveMenu("about"); ?>><a href="<?php echo URL ?>about#content">ABOUT</a></li>
						<li <?php $this->helpers->isActiveMenu("services"); ?>><a href="<?php echo URL ?>services#content">SERVICES</a></li>
						<li <?php $this->helpers->isActiveMenu("gallery"); ?>><a href="<?php echo URL ?>gallery#content">GALLERY</a></li>
						<li <?php $this->helpers->isActiveMenu("testimonials"); ?>><a href="<?php echo URL ?>testimonials#content">TESTIMONIALS</a></li>
						<li <?php $this->helpers->isActiveMenu("faqs"); ?>><a href="<?php echo URL ?>faqs#content">FAQ'S</a></li>
						<li <?php $this->helpers->isActiveMenu("pci-compliance-certification"); ?>><a href="<?php echo URL ?>pci-compliance-certification#content">PCI COMPLIANCE CERTIFICATION</a></li>
						<!-- <li <?php $this->helpers->isActiveMenu("terms-and-condition"); ?>><a href="<?php echo URL ?>terms-and-condition#content">TERMS AND CONDITION</a></li> -->
						<li <?php $this->helpers->isActiveMenu("contact"); ?>><a href="<?php echo URL ?>contact#content">CONTACT US</a></li>
						</ul>
					</nav>
					<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>.
							<a href="<?php echo URL ?>terms-and-condition#content">TERMS AND CONDITION</a>
						<?php endif ?>
					</p>
					<p class="silver">Web Design Done by <img src="public/images/scnt.png" alt="" class="company-logo" /></p>
				</div>
				<div class="logo">
					<a href="<?php echo URL ?>"><img src="public/images/common/ft-logo.png" alt="<?php $this->info("company_name"); ?> 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>

<script>
var acc = document.getElementsByClassName("accordion");
var i;

for (i = 0; i < acc.length; i++) {
  acc[i].addEventListener("click", function() {
    this.classList.toggle("active");
    var panel = this.nextElementSibling;
    if (panel.style.display === "block") {
      panel.style.display = "none";
    } else {
      panel.style.display = "block";
    }
  });
}
</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>