<?php
$title = 'Support';
$support = 'active';
require_once('head.php') ?>

<!-- Document Wrapper
	============================================= -->
<div id="wrapper" class="wrapper clearfix">
    <?php require_once('header.php') ?>

<!-- Page Title #1
============================================= -->
<section id="page-title" class="page-title bg-overlay bg-overlay-dark bg-parallax">
	<div class="bg-section">
		<img src="assets/images/New/4.jpeg" alt="Background"/>
	</div>
	<div class="container">
		<div class="row">
			<div class="col-xs-12 col-sm-12 col-md-12">
				<div class="title title-6 text-center">
                    <div class="title--heading">
                        <h1>Contact Us</h1>
                    </div>
					<div class="clearfix"></div>
					<ol class="breadcrumb">
						<li><a href="index.html">Home</a></li>
						<li class="active">Contact Us</li>
					</ol>
				</div><!-- .title end -->
			</div><!-- .col-md-12 end -->
		</div><!-- .row end -->
	</div><!-- .container end -->
</section><!-- #page-title end -->

<!-- Contact Info
============================================= -->
<section id="contactInfo" class="contact contact-info bg-white text--center pt-90 pb-90">
	<div class="container">
		<div class="row">
			<!-- <div class="col-xs-12 col-sm-4 col-md-4">
				<div class="contact--info">
					<h3>Our Address</h3>
					<p>99 S Almaden Blvd , San Jose,</p>
					<p>CA 95113, United States</p>
				</div>
			</div>
			<div class="col-xs-12 col-sm-4 col-md-4">
				<div class="contact--info">
					<h3>Our Phone</h3>
					<p>+1 9093101668</p>
				</div>
			</div> -->
			<div class="col-xs-12 col-sm-12 col-md-12">
				<div class="contact--info">
					<h3>Our Support</h3>
					<p>support@bittrade.com</p>
					<!-- <p>Sales : Sales@7oroof.com</p> -->
					<!-- <a class="link--styled" href="#">Open a Ticket</a> -->
				</div>
			</div><!-- .col-md-4 end -->
		</div><!-- .row end -->
	</div><!-- .container end -->
</section>
<!-- #contactInfo end -->


<?php require_once('footer.php') ?>
    <?php require_once('scripts.php') ?>
	
    <script>
        $('.contact_us_btn').click(async function(e) {
            e.preventDefault();
            let contact_us_form = $('.contact_us_form').serializeArray();
            let form_data = set_form_data(contact_us_form);
            // console.log(contact_us_form);return;
            // let returned = await ajaxRequest('ajax-process.php', form_data);
			// if(returned !== 'Ticket Sent Succssfully! We will reply shortly.'){
            //     sweetAlert('Sorry', returned, 'error');
			// }else{
				sweetAlert('Congratulations',returned,'success');
				setTimeout(() => {
					window.location.href = 'support';
				}, 2000);
			// }
        });
    </script>