<?php
//If the form is submitted
if(isset($_POST['submit'])) {

	//Check to make sure that the NAME field is not empty
	if(trim($_POST['contactname']) == '') {
		$hasError = true;
	} else {
		$name = trim($_POST['contactname']);
	}

	//Check to make sure that the PHONE field is not empty
	if(trim($_POST['phone']) == '') {
		$hasError = true;
	} else {
		$phone = trim($_POST['phone']);
	}

	//Check to make sure sure that a valid EMAIL address is submitted
	if(trim($_POST['email']) == '')  {
		$hasError = true;
	} else if (!filter_var( trim($_POST['email'], FILTER_VALIDATE_EMAIL ))) {
		$hasError = true;
	} else {
		$email = trim($_POST['email']);
	}

	//Check to make sure COMMENTS were entered
	if(trim($_POST['message']) == '') {
		$hasError = true;
	} else {
		if(function_exists('stripslashes')) {
			$comments = stripslashes(trim($_POST['message']));
		} else {
			$comments = trim($_POST['message']);
		}
	}

	// Subject
	$subject = "From Method Electrical Web Site";

	//If there is no error, send the email
	if(!isset($hasError)) {
		$emailTo = 'info@methodelectrical.co.nz'; // Put your own email address here
		$body = "Name: $name \n\nEmail: $email \n\nPhone Number: $phone \n\nSubject: $subject \n\nComments:\n $comments";
		$headers = 'From: Method Electrical Web Site <info@methodelectrical.co.nz>' . "\r\n" . 'Reply-To: ' . $email;

		mail($emailTo, $subject, $body, $headers);
		$emailSent = true;
	}
}
?>
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html lang="en">
<!--<![endif]-->
	<head>
		<!-- Google Tag Manager -->
		<!-- <script>
			(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
			new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
			j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
			'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
			})(window,document,'script','dataLayer','GTM-WDS2C22');
		</script> -->
		<!-- End Google Tag Manager -->
		<script type="application/ld+json">
		{
			"@context": "https://schema.org",
			"@type": "LocalBusiness",
			"name": "Method Electrical",
			"image": "https://www.methodelectrical.co.nz/images/hero-image-full.jpg",
			"@id": "https://www.methodelectrical.co.nz/images/hero-image-full.jpg/#website",
			"url": "https://www.methodelectrical.co.nz/",
			"telephone": "+64800223330",
			"priceRange": "$$",
			"address": {
				"@type": "PostalAddress",
				"streetAddress": "136c Marua Road",
				"addressLocality": "Ellerslie",
				"postalCode": "1051",
				"addressCountry": "NZ"
			},
			"geo": {
				"@type": "GeoCoordinates",
				"latitude": -36.8920355,
				"longitude": 174.827599
			},
			"openingHoursSpecification": {
				"@type": "OpeningHoursSpecification",
				"dayOfWeek": [
				"Monday",
				"Tuesday",
				"Wednesday",
				"Thursday",
				"Friday",
				"Saturday",
				"Sunday"
				],
				"opens": "00:00",
				"closes": "23:59"
			} 
		}
		</script>
		<!-- Basic Page Needs
		================================================== -->
		<meta charset="utf-8">
		<title>Electrician East Auckland | Method Electrical </title>
		<meta name="description" content="When you need an expert electrician in East Auckland, call Method Electrical. 
		We provide a range of electrical solutions to all kinds of clients. Contact our reliable team today.">
		<meta property="og:title" content="Electrician East Auckland | Method Electrical ">
        <meta property="og:description" content="When you need an expert electrician in East Auckland, call Method Electrical. 
		We provide a range of electrical solutions to all kinds of clients. Contact our reliable team today.">
		<meta name="author" content="Method Electrical">
		<meta name="google-site-verification" content="uAvgSc88T3ggCN9bnAwVzHxTBKGWogSWGyQBWreWutI" />
		<!-- Mobile Specific Metas
		================================================== -->
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<!-- CSS
		================================================== -->
		<!-- Bootstrap  -->
		<link type="text/css" rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
		<!-- web font  -->
		<link href='http://fonts.googleapis.com/css?family=Ubuntu:400,700,300' rel='stylesheet' type='text/css'>
		<!-- plugin css  -->
		<link rel="stylesheet" type="text/css" href="js-plugin/animation-framework/animate.css" />
		<!-- <link rel="stylesheet" type="text/css" href="js-plugin/magnific-popup/magnific-popup.css" /> -->
		<!-- <link type="text/css" rel="stylesheet" href="js-plugin/isotope/css/style.css"> -->
		<!-- <link rel="stylesheet" type="text/css" href="js-plugin/flexslider/flexslider.css" /> -->
		<!-- <link rel="stylesheet" type="text/css" href="js-plugin/pageSlide/jquery.pageslide.css" /> -->
		<!-- Owl carousel-->
		<!-- <link rel="stylesheet" href="js-plugin/owl.carousel/owl-carousel/owl.carousel.css"> -->
		<!-- <link rel="stylesheet" href="js-plugin/owl.carousel/owl-carousel/owl.theme.css"> -->
		<!-- icon fonts -->
		<link type="text/css" rel="stylesheet" href="font-icons/custom-icons/css/custom-icons.css">
		<!-- <link type="text/css" rel="stylesheet" href="font-icons/custom-icons/css/custom-icons-ie7.css"> -->
		<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
		<!-- Custom css -->
		<link type="text/css" rel="stylesheet" href="css/custom.css">
		<link type="text/css" rel="stylesheet" href="css/layout.css">
		<link type="text/css" id="colors" rel="stylesheet" href="css/blue.css">
		<link rel="canonical" href="https://www.methodelectrical.co.nz/electrician-east-auckland.php"/>
		<style>
		/* For full width Google Maps */
			.google-map {
			        position: relative;
			        padding-bottom: 75%; /* 4:3 ratio*/
			        height: 0;
			        overflow: hidden;
			}

			.google-map iframe {
			    position: absolute;
			    top: 0;
			    left: 0;
			    width: 100% !important;
			    height: 100% !important;
			}
			.paralaxMask {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    background: transparent;
}

#paralaxSlice2 {
    background-image: url(blue.jpg);
}


		</style>
		<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]-->
		<script src="js/modernizr-2.6.1.min.js"></script>
		<!-- Favicons
		================================================== -->
		<link rel="shortcut icon" href="images/favicon.png">
		<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
		<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
		<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
		<link rel="apple-touch-icon" sizes="144x144" href="images/apple-touch-icon-144x144.png">
		<script type="text/javascript">
		var _gaq = _gaq || [];
		_gaq.push(['_setAccount', 'UA-47689993-1']);
		_gaq.push(['_trackPageview']);

		(function() {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
		})();
		</script>
 <!-- .................................... $Contact Form Scripts .................................... -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.pack.js" type="text/javascript"></script>
<script src="js/bootstrap-contact.js" type="text/javascript"></script>
	</head>
	<body data-spy="scroll" data-target="#scrollTarget" data-offset="150">
		<!-- Google Tag Manager (noscript) -->
		<!-- <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WDS2C22"
		height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> -->
		<!-- End Google Tag Manager (noscript) -->

		<!-- Primary Page Layout
		================================================== -->
		<!-- globalWrapper -->
		<div id="globalWrapper" class="localscroll">
			<!-- Nav -->
			<?php include('./includes/nav.inc-2.php'); ?>
				<!-- end nav -->

				<!-- TITLE AREA -->

				<section id="home" class="me-hero-title" data-stellar-background-ratio="0.5">
				<img src="blogs/seo-images/electrician-east-auckland1.jpg" alt="Electrician East Auckland" class="img-responsive center-block text-center center-magic">
					<!-- <img src="images/banner-f.png" alt="services" class="img-responsive"> -->
					<div class="container">
						<div class="hero-text-title visible-lg">
							<h1 class="me-title-text">Electrician East Auckland</h1>
						</div>
					</div>
				</section>

				<!-- SEO BLOCK 1 -->

				<section class="slice" id="about">
					<div class="container">
						<div class="row me-equal-heights mobile_cols">
							<div class="col-sm-6">
								<h2>Method Electrical — Your Trusted Electrician in East Auckland</h2>

								<p>Are you searching for an expert <b>electrician in East Auckland</b>? Our team at Method Electrical will handle your 
									power problems. With our skills and expertise, we can offer services to different clients, including 
									million-dollar, premium quality homeowners.  </p>
                                <p>With 15 years of experience, our electricians can efficiently deal with any electrical problem. They are also 
									excellent at providing solutions that will work long-term. As a result, your system will run effortlessly 
									for many years to come.  </p>
								<p>No matter how big or small the issue is in your Auckland property, our <a href="http://www.methodelectrical.co.nz/#services">expert electrician</a> is ready to take on 
									the job. Aside from keeping your power system safe, we also exceed your expectations. We serve clients with 
									emergency electrical problems 24/7, as these instances happen without warning.  </p>
								<p>Our team prides itself on having the qualifications and ability to assist you when you have electrical issues. 
									Our dedication to providing positive outcomes has earned us satisfied clients.</p>
							</div>
							<!-- SEO IMAGE -->
							<div class="col-sm-6" id="centerdiv">
							<img src="blogs/seo-images/electrician-east-auckland2.jpg" alt="Electrician East Auckland" class="img-responsive">
							</div>
						</div>
					</div>
				</section>

                <!-- SEO BLOCK 2 -->

				<section class="slice" id="about">
					<div class="container">
						<div class="row me-equal-heights me_mobile_flex_off">
                 
                        
							<div class="col-sm-12">
								<center style="padding-bottom: 30px;">
								<h2 style="color: #055A9C;font-weight: 600;margin-top: 10px;">Electrician in East Auckland | Our Services</h2>

								<p>Every <b>electrician</b> on our team servicing <b>East Auckland</b> and beyond delivers top-tier customer service with 
									honesty and transparency. Our fine workmanship delivers excellent results to our happy customers.  
                                </p>
								<p>What sets us apart from the rest of East Auckland electricians is our passion and excellent approach to solving issues. 
									Moreover, our ability to be flexible allows us to cater to your unique requirements.</p>
								<p>Below are some of the services we offer:</p>
								</center>
								<div class="col-sm-4">
								<p><b>Domestic Services:</b></p>
									<ul>
									<li style="display: list-item;">Lighting</li>
										<li style="display: list-item;">40-point safety check. For houses more than 40 years old, this is our recommended service.</li>
										<li style="display: list-item;">Kitchens</li>
										<li style="display: list-item;">Faults</li>
										<li style="display: list-item;">Bathrooms</li>
										<li style="display: list-item;">Heat transfer systems</li>
										<li style="display: list-item;">Rewires</li>
										<li style="display: list-item;">Appliances</li>
										<li style="display: list-item;">LED lighting</li>
										<li style="display: list-item;">Switchboard upgrades</li>
									</ul>
								</div>	
								<div class="col-sm-4">
                                <p><b>Commercial Services:</b>  
                                </p>
									<ul>
										<li style="display: list-item;">Lighting</li>
										<li style="display: list-item;">Office Refits</li>
										<li style="display: list-item;">Repairs</li>
										<li style="display: list-item;">Hot water</li>
										<li style="display: list-item;">COV</li>
										<li style="display: list-item;">Power points and switches</li>
									</ul></div>
									<div class="col-sm-4">
								<p><b>Industrial Services:</b></p> 
									<ul>
										<li style="display: list-item;">New installations</li>
										<li style="display: list-item;">Lighting</li>
										<li style="display: list-item;">Machinery repairs</li>
									</ul>  
								<p>Our electricians have a solid background in new builds, renovations, installations, maintenance, upgrades, and much more. 
									So, when it comes to your residential, commercial, and industrial needs, let us do all the work.</p>	
									</div>                                 
							</div>
						</div>
					</div>
				</section>
                
                <!-- SEO BLOCK 3 -->

				<section class="slice" id="about">
					<div class="container">
						<div class="row me-equal-heights mobile_cols">
							<div class="col-sm-6">
								<h2>Electrician in East Auckland | Providing Quality Electrical Solutions</h2>
								<p>We prioritise the highest satisfaction of our clients requiring the service of an <b> electrician in East Auckland</b>. 
									Part of our ongoing efforts is to offer cost-effective solutions. In other words, we only offer the best deals.</p>
								<p>Every East Auckland electrician on our team delivers top workmanship. We also respect the schedules of our clients 
									by finishing the work on time. Additionally, we guarantee that the work we perform is correct on the first visit.</p>
								<p>Our commitment doesn't end after the work is done. If there are any problems or issues with your work, we will 
									be back out promptly to fix the problem.
								</p>
								<p>We are proud to have built our business on the foundations of honesty, integrity, and value for money and are 
									committed to upholding these values. You can always trust that your job will be done professionally and with 
									care.</p>

							</div>
							<!-- SEO IMAGE -->
							<div class="col-sm-6" id="centerdiv">
								<img src="blogs/seo-images/electrician-east-auckland4.jpg" alt="Electrician East Auckland" class="img-responsive">
							</div>
						</div>
					</div>
				</section>                

                <!-- CTA SECTION -->

				<div id="paralaxSlice2" data-stellar-background-ratio="0.5">
					<div class="maskParent">
						<div class="paralaxMask"></div>
						<div class="paralaxText container">
							<h3 class="me-cta-text">Our qualified and highly skilled electricians in East Auckland can help you with all your needs, 
								from electrical repairs and installations to rewiring and more! 
                            </h3>
						</div>
					</div>

                    <div class="container">
                        <div class="row me-btn-row">
                            <div class="col-sm-6 me-mobile-btn">
                                <a class="me-btn me-btn-left" href="tel:0800 22 333 0">0800 22 333 0</a>
                            </div>

                            <div class="col-sm-6 me-mobile-btn">
                                <a class="me-btn me-btn-right" href="#contactSlicetop">CONTACT US</a>
                            </div>

                        </div>
                    </div>

				</div>

				<!-- CONTACT -->

				<!-- Title section -->
				<section class="slice"  id="contactSlicetop" id="bookJob" >
					<div class="container">
						<div class="row">
						<div class="col-sm-12">
							<h4 class="heading-title">Contact us</h4>
							<h2 class="subTitle"> We service across Auckland including Mt Wellington,
								Remuera and Pakuranga.</h2>
						</div>
				</section>

				<!-- Google Map Container -->
				<div id="paralaxSlice3" data-stellar-background-ratio="0.5">
					<div class="maskParent google-map" id="frameContainer">
						<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d816853.9009704663!2d174.27795535022352!3d-36.89428216876842!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x6d0d49727334059f%3A0x737add1e9b433dd1!2sMethod+Electrical!5e0!3m2!1sen!2snz!4v1564290872898!5m2!1sen!2snz" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
					</div>
				</div>

				<!-- Contact Form and Side Panel -->
				<section class="slice"  id="contactSlice" >
					<div class="container">
						<div class="row">

							<!-- Side Panel -->
							<div class="col-sm-4 margin-top-c">
								<h4>Address:</h4>
								<address>
									136c Marua Road<br/>
									Ellerslie<br/>
									Auckland<br/>
								</address>
								<h4>Phone:</h4>
								<address>
									<i class="icon-phone"></i>0800 22 333 0<br/>
								</address>
								<h4>Mobile:</h4>
								<address>
									<i class="icon-mobile"></i>022 0635 830<br/>
								</address>
								<h4>Email:</h4>
								<address>
									<i class="icon-mail"></i><a href="mailto:info@methodelectrical.co.nz">info@methodelectrical.co.nz</a><br/>
								</address><br>
								<img src="images/method-electrical-logo-s.png" class="img-responsive" alt="Mt Wellington Master Electrician Auckland">
							</div>
							<!-- end side panel -->

							<!-- Form Fields -->
							<div class="col-sm-8">
								<div class="span12" id="contact-page">
									<form role="form" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>" id="contactform">
									<fieldset>
										<h4 class="heading-title">Send Us a Message</h4>

					          <?php if(isset($hasError)) { //If errors are found ?>
					            <p class="alert alert-danger">Please check if you've filled all the fields with valid information and try again. Thank you.</p>
					          <?php } ?>

          					<?php if(isset($emailSent) && $emailSent == true) { //If email is sent ?>
            				<script>
            					function scrollTo(hash) {
									  		location.hash = "#contactSlicetop";
									  	}
									  </script>

									  <!-- Success Message -->
						  			<div class="alert alert-success">
				              <p><strong>Message Successfully Sent!</strong></p>
				              <p>Thank you for using our contact form <strong><?php echo $name;?></strong>. Your email was successfully sent and we&rsquo;ll be in touch with you soon.</p>
				            </div>
				          	<?php } ?>

										<!-- Name -->
					          <div class="form-group" id="contact-page">
					            <label for="name">Your Name<span class="help-required">*</span></label>
					            <input type="text" name="contactname" id="contactname" value="" class="form-control required" role="input" aria-required="true" />
					          </div>

										<!-- Phone -->
					          <div class="form-group" id="contact-page">
					            <label for="phone">Your Phone Number<span class="help-required">*</span></label>
					            <input type="text" name="phone" id="phone" value="" class="form-control required" role="input" aria-required="true" />
					          </div>

										<!-- Email -->
					          <div class="form-group" id="contact-page">
					            <label for="email">Your Email<span class="help-required">*</span></label>
					            <input type="text" name="email" id="email" value="" class="form-control required email" role="input" aria-required="true" />
					          </div>

										<!-- AntiSpam Field -->
										<input type="text" name="antiSpam" autofill="off" class="antiSpam">

										<!-- Message -->
					          <div class="form-group" id="contact-page">
					            <label for="message">Message<span class="help-required">*</span></label>
					            <textarea rows="8" name="message" id="message" class="form-control required" role="textbox" aria-required="true"></textarea>
					          </div>

										<!-- Send button -->
					          <div class="actions">
					            <input type="submit" value="Send Your Message" name="submit" id="submitButton" class="btn btn-primary" title="Click here to submit your message!"/>
											<img src="images/trustmarks/method-electrical-master-electricians.jpg" class="trust-btm" alt="New Zealand Practicing Licence for Registered Electrical Service Technician" style="margin-left: 5%; margin-top: 25px; width: 150px;" height="62px" width="135px">
											<img src="images/trustmarks/method-electrical-workmanship.jpg" style="width: 130px; margin-top: -3px;"  class="trust-btm" alt="New Zealand Practicing Licence for Registered Electrical Service Technician" width="75px">
					          </div>

        					</fieldset>
      						</form>
								</div>
							</div> <!-- end form fields -->
						</div> <!-- end row for whole form -->
					</div> <!-- end container -->
				</section>

				<!-- FOOTER -->

				<section  id="footerRights">
					<div class="container">
						<div class="row">
							<div class="col-sm-6">
								<p>Copyright © 2015 Method Electrical</p>
							</div>
							<div class="col-sm-3">
								<p><i class="fa fa-phone fa-lg"></i>&nbsp;&nbsp;&nbsp;For enquiries call 0800 22 333 0</p>
							</div>
							<div class="col-sm-3">
								<p><i class="fa fa-map-marker fa-lg"></i>&nbsp;&nbsp;&nbsp;Lunn Ave, Mt Wellington, Auckland</p>
							</div>
						</div>
					</div>
				</section>
				<!-- End footer -->
		</div> <!-- global wrapper -->
		<!-- End Document
		================================================== -->
		<script type="text/javascript" src="js-plugin/respond/respond.min.js"></script>

		<!-- third party plugins  -->
		<script type="text/javascript" src="bootstrap/js/bootstrap.js"></script>
		<script type="text/javascript" src="js-plugin/easing/jquery.easing.1.3.js"></script>
		<script type="text/javascript" src="js-plugin/neko-contact-ajax-plugin/js/jquery.form.js"></script>
		<script type="text/javascript" src="js-plugin/neko-contact-ajax-plugin/js/jquery.validate.min.js"></script>
		<script type="text/javascript" src="js-plugin/parallax/js/jquery.scrollTo-1.4.3.1-min.js"></script>
		<script type="text/javascript" src="js-plugin/parallax/js/jquery.localscroll-1.2.7-min.js"></script>
		<script type="text/javascript" src="js-plugin/parallax/js/jquery.stellar.min.js"></script>
		<script type="text/javascript" src="js-plugin/pageSlide/jquery.pageslide-custom.js"></script> <!-- this makes the mobile menu to hide on click -->

		<!-- Deleted for Google Maps Issue -->
		<!-- <script type="text/javascript" src="js/custom.js"></script> -->
		<!-- End Document <script type="text/javascript" src="js/mapload.js"></script> -->

		<script>


jQuery(".btn-primary").on("click", function() {
    gtag('event', 'contact', {
        event_category: 'contact',
        event_action: 'submit'
    });
    console.log('form-tracking');
});


jQuery("a[href*=\"tel:\"]").on("click", function() {
    gtag('event', 'clicks', {
        event_category: 'phone',
        event_action: 'clicks'
    });
    console.log('phone-tracking');
});

jQuery("a[href*=\"mailto:\"]").on("click", function() {
    gtag('event', 'clicks', {
        event_category: 'email',
        event_action: 'clicks'
    });
    console.log('email-tracking');
});
</script>
	</body>
	</html>
