<?php

$include_level_up = 0;
$g_public_page = true;

include('./ladybug_include/generic_include.php');
include('./include/site_include.php');

$g_page_title = "Contact";
//$g_page_meta_description = "";

$g_background_image = "./image/background/bg-lounge.jpg";


include('./ladybug_include/header_include.php');
include('./include/site_header.php'); # Header for this project
?>

<section class="content-section border-top-orange-15">
   
	<div class="container">

		<div class="row">

			<div class="col-sm">

<!--				<p><strong>Address:</strong><br />
					2c Station St<br />
				Ringwood VIC 3134</p>
-->

		<h1>Contact Us</h1>
				<p><strong>Phone</strong><br />
					1800 CABLED (<a href="tel:1800222533">1800 222 533</a>)</p>
				<p><strong>Mobile</strong><br />
					<a href="tel:0425808153">0425 808 153</a></p>

				<p><strong>Email</strong><br />
					<a href="mailto:enquiries@cabled.co" target="_blank">enquiries@cabled.co</a><br /><br /></p>

				<p><h2>Book a free quote</h2>
					<a href="http://www.cabled.co/bookquote" target="_blank">www.cabled.co/bookquote</a></p>

			</div>

			<div class="col-sm">

				<form id="enquiry-form">
				<input type="hidden" name="_action_id" value="mail_form" />
				<input type="hidden" name="_title" value="Enquiry form" />
				<span class="form-message" style="color: #ff0000"></span>
				<h1>Send us your Enquiry</h1>

				<div class="form-group">
					<label for="enquiry-form_name">Name</label>
					<input id="enquiry-form_name" class="form-control" type="text" name="Name" />
				</div>

				<div class="form-group">
					<label for="enquiry-form_email">Email</label>
					<input id="enquiry-form_email" class="form-control" type="email" name="Email" />
				</div>


				<div class="form-group">
					<label for="enquiry-form_phone-number">Phone</label>
					<input id="enquiry-form_phone-number" class="form-control" type="tel" name="Phone Number" />
				</div>

				<div class="form-group">
					<label for="enquiry-form_enquiry">Enquiry</label>
					<textarea id="enquiry-form_enquiry" class="form-control" rows="4" cols="100" name="Enquiry"></textarea>
				</div>

<!--				<input id="form-terms" class="form-terms no-fancy-checkbox" type="checkbox" name="Terms" tabindex="-1" />
				<span class="form-terms"><label for="form-terms">Do you agree to the terms and conditions of this website?</label></span>
-->
				<div id="submit-button-container">
					<input class="btn btn-primary" id="submit-button" type="submit" name="_enquiry-form_submit-button" value="Submit" role="button" />
				</div>

				<script>
					$('#enquiry-form').on('submit', function(e) {
						var that = $(this);
						e.preventDefault();
						// Makes sure all required fields are entered
						if ($(that).find(':input[required]').filter(function() { return $(this).val() == ""; }).exists()) {
							fancyAlert('Please ensure you fill in all required fields');
							$(that).find(':input[required]').filter(function() { return $(this).val() == ""; }).first().focus();
							return;
						}
						// Makes sure at least one field is entered
						if ($(that).find(':input:visible:not(.form-terms):not([type=submit])').filter(function() { return $(this).val() != ""; }).exists() == false) {
							fancyAlert('Please ensure you fill in at least one field');
							$(that).find(':input:visible:not(.form-terms):not([type=submit])').filter(function() { return $(this).val() != ""; }).first().focus();
							return;
						}
						// Send the form
						$.ajax({
							type: 'POST',
							url: fw_ajax_url,
							data: {
								'_action_id': 'mail_form',
								'_data': $(that).serialize()
							},
							success: function(data, textStatus, jqXHR) {
								$(that).find('.form-message').html('Thank you, your enquiry has been sent<br /><br />');
								$(that)[0].reset();
							},
							error: function(jqXHR, textStatus, errorThrown) {
								$(that).html('There was an error when attempting to submit this enquiry<br /><br />');
							}
						});
					});
				</script>

				</form>
    	
    		</div>

    	</div>
    	
	</div>
	
</section>



<section class="content-section background-color-orange">

    <div class="container">

        <div class="row align-items-center">

            <div class="col-sm text-center">

                <img src="./image/contact/cabled-services-all-of-australia.png" alt="Cabled - Australia wide" title="Cabled - Australia wide" class="img-fluid margin-bottom-20-xs-sm no-border" />

            </div>

            <div class="col-sm">

                <p class="font-size-24-lg"><strong>CABLED</strong><br />Specialist electricians. Any project. Anywhere.</p>

            </div>

        </div>

    </div>

</section>

<section class="text-center pt-4 pb-4 content-section background-color-white">
    <h2><a href="http://www.cabled.co/bookquote" target="_blank">Book your free quote quickly and easily online now!</a></h2>
</section>
	

<?php

$hide_contact = true;
include('./include/site_footer.php'); # Footer for this project
include('./ladybug_include/footer_include.php');

?>
