<footer>
	<div id="footer">
		<div class="top">
			<div class="row">
				<a href="home" class="logo hvr-wobble-vertical"><img src="public/images/common/ft-logo.png" alt="logo"></a>
				<div class="form">
					<div class="in">
						<h3><strong>CONTACT</strong> US</h3>
						<p>We will be glad to answer your questions, feel free to ask a piece of information or a quotation. <br> We are looking forward to working with you.</p>
						<form action="sendContactForm" method="post"  class="sends-email ctc-form">
							<label for="name">Name</label>
							<label for="phone">Phone</label>
							<label for="email">Email</label>
							<label for="subject">Subject</label>
							<label for="message">Message</label>
							<label for="consentBox">ConsentBox</label>
							<label for="termsBox">TermsBox</label>
							<label for="g-recaptcha-response">Recaptcha</label>
							<div class="flex">
								<input type="text" id="name" name="name" placeholder="Name">
								<input type="text" id="phone" name="phone" placeholder="Phone">
							</div>
							<div class="flex">
								<input type="text" id="email" name="email" placeholder="Email">
								<input type="text" id="subject" name="subject" placeholder="Subject">
							</div>
							<textarea name="message" id="message" cols="30" rows="10" placeholder="Message"></textarea>
							<div class="flex">
								<div class="consent">
									<input type="checkbox" id="consentBox" name="consent" class="consentBox">I hereby consent to having this website store my submitted information so that they can respond to my inquiry.
									<br>
									<?php if( $this->siteInfo['policy_link'] ): ?>
										<input type="checkbox" id="termsBox" 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>
									<?php endif ?>
								</div>
								<div class="g-recaptcha"></div>
								<button type="submit" class="btn">SUBMIT</button>
							</div>
						</form>
					</div>
				</div>
				<div class="social">
					<a href="<?php $this->info("fb_link"); ?>" target="_blank" class="hvr-pop"><img src="public/images/common/fb.png" alt="fb"></a>
					<a href="<?php $this->info("x_link"); ?>" target="_blank" class="hvr-pop"><img src="public/images/common/x.png" alt="x"></a>
					<a href="<?php $this->info("ig_link"); ?>" target="_blank" class="hvr-pop"><img src="public/images/common/ig.png" alt="ig"></a>
					<a href="<?php $this->info("yt_link"); ?>" target="_blank" class="hvr-pop"><img src="public/images/common/yt.png" alt="yt"></a>
				</div>
				<div class="content">
					<div class="item hvr-buzz-out">
						<a href="tel:<?php $this->info("phone"); ?>">
							<img src="public/images/common/ft-phone.png" alt="phone">
							<span>PHONE</span>
							<?php $this->info("phone"); ?>
						</a>
					</div>
					<div class="item hvr-buzz-out">
						<a href="mailto:<?php $this->info("email"); ?>">
							<img src="public/images/common/ft-email.png" alt="email">
							<span>EMAIL</span>
							<?php $this->info("email"); ?>
						</a>
					</div>
					<div class="item hvr-buzz-out">
						<a href="https://www.google.com/maps/place/Phoenix,+AZ,+USA/@33.604976,-112.4553702,10z/data=!3m1!4b1!4m6!3m5!1s0x872b12ed50a179cb:0x8c69c7f8354a1bac!8m2!3d33.4483771!4d-112.0740373!16zL20vMGQzNXk?entry=ttu" target="_blank">
							<img src="public/images/common/ft-address.png" alt="address">
							<span>SERVICE AREA</span>
							<?php $this->info("address"); ?>
						</a>
					</div>
					<div class="item hvr-buzz-out">
						<a href="#">
							<img src="public/images/common/ft-time.png" alt="time">
							<div class="in">
								<span>SCHEDULE</span>
								<strong>MON - SUN</strong> 6:00 AM - 12:00 AM
							</div>
						</a>
					</div>
				</div>
			</div>
		</div>
		<div class="bot">
			<div class="row">
				<div class="content">
				<div class="copy">© <?php echo date("Y"); ?>. <?php $this->info("company_name"); ?>. All Rights Reserved. Web Design Done by <img src="public/images/td.png" alt="Technodream LLC Company Logo"></div>
					<ul>
						<li <?php $this->helpers->isActiveMenu("home"); ?>><a href="home">Home</a></li>
						<li <?php $this->helpers->isActiveMenu("services"); ?>><a href="services#content">Services</a></li>
						<li <?php $this->helpers->isActiveMenu("about"); ?>><a href="about#content">About</a></li>
						<li <?php $this->helpers->isActiveMenu("reviews"); ?>><a href="reviews#content">Reviews</a></li>
						<li <?php $this->helpers->isActiveMenu("gallery"); ?>><a href="gallery#content">Gallery</a></li>
						<li <?php $this->helpers->isActiveMenu("contact"); ?>><a href="contact#content">Contact Us</a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
</footer>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script src="public/slick/slick.min.js"></script>
<script src="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="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="public/scripts/cookie-script.js"></script>
<?php endif ?>

<script>
	$('#projects .slide').slick({
		slidesToShow: 3,
		autoplay: true,
		autoplaySpeed: 5000,
		centerMode: true,
		variableWidth: true
	});

	$('#reviews .slide').slick({
		slidesToShow: 1,
		dots: false,
		arrows: true,
		autoplay: true,
		autoplaySpeed: 5000
	});
</script>

<script>
	jQuery(document).ready(function($) {
		// Hide all content divs initially
		$('.bot .row > div[id^="sv"]').hide();

		// Show the initial active content
		$('.bot .list li a.active').each(function() {
			$($(this).attr('href')).show();
		});

		// Handle link clicks
		$('.bot .list li a').on('click', function(e) {
			e.preventDefault();

			// Hide all content divs
			$('.bot .row > div[id^="sv"]').hide();

			// Remove 'active' class from all links
			$('.bot .list li a').removeClass('active');

			// Add 'active' class to the clicked link
			$(this).addClass('active');

			// Show the corresponding content
			$($(this).attr('href')).show();
		});
	});
</script>

<?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 src="public/fancybox/source/jquery.fancybox.js?v=2.1.5"></script>
	<script src="public/scripts/jquery.pajinate.js"></script>
	<script>
		$('#gall1').pajinate({ num_page_links_to_display : 3, items_per_page : 8 });
		$('.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>