<style type="text/css">#recaptcha_response_field { min-height:0px; }</style>
<section class="no-margin">
        <iframe width="100%" height="200" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.co.in/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=GIDC+Vatwa,+Ahmedabad,+Gujarat&amp;aq=0&amp;oq=GIDC+Vatva,+Ahmedabad,+Gujarat&amp;sll=22.966454,72.635765&amp;sspn=0.020468,0.038581&amp;ie=UTF8&amp;hq=&amp;hnear=GIDC+Vatwa,+Ahmedabad,+Gujarat&amp;t=m&amp;z=13&amp;ll=22.969619,72.641726&amp;output=embed"></iframe>
    </section>

    <section id="contact-page" class="container">
        <div class="row-fluid">

            <div class="span8">
                <h4>Contact Form</h4>
                <?php if(@$error=="captcha") 
				{ ?>
					<div style="font-size:20px;" class="alert alert-danger" role="alert">You entered wrong captcha.</div>
				<?php }
				else if(@$error=="mail fail")
				{ ?>
					<div style="font-size:20px;" class="alert alert-danger" role="alert">We are facing some technical issues, Please try again.</div>
			<?php	}
			else if(@$error=="mail sent")
				{ ?>
					<div style="font-size:20px;" class="alert alert-success" role="alert">Inquiry sent successfully.</div>
			<?php	}
				?>
				
				<div class="status alert alert-success" style="display: none"></div>

                <form id="main-contact-form" class="" name="contact-form" method="post" action="<?php echo base_url(); ?>home/sendmail">
                  <div class="row-fluid">
                    <div class="span5">
                        <label>First Name</label>
                        <input type="text" name="firstname" class="input-block-level" required="required" value="<?php echo @$firstname; ?>" placeholder="Your First Name">
                        <label>Last Name</label>
                        <input type="text" name="lastname" class="input-block-level" required="required"  value="<?php echo @$lastname; ?>" placeholder="Your Last Name">
                        <label>Email Address</label>
                        <input type="text" name="email" class="input-block-level" required="required"  value="<?php echo @$email; ?>" placeholder="Your Email Address">
						<label>Mobile</label>
                        <input type="text" name="mobile" class="input-block-level" required="required"  value="<?php echo @$mobile; ?>" placeholder="Your Mobile">
						<label>Company</label>
                        <input type="text" name="company" class="input-block-level"  value="<?php echo @$company; ?>" placeholder="Your Company">
						<label>Website</label>
                        <input type="text" name="website" class="input-block-level"  value="<?php echo @$website; ?>" placeholder="Your Website">
                    </div>
                    <div class="span7">
                        <label>Message</label>
                        <textarea name="message" id="message" required="required" class="input-block-level" rows="8"><?php if(@$message) { echo $message; } elseif(@$product_name) { echo "I would like learn more about ".$product_name.". Could you please send me more details including specifications, possible options, availability and prices at the earliest?"; } ?></textarea>
						<label>Country</label>
                        <input type="text" name="country" class="input-block-level" required="required" placeholder="Your Country" value="India" disabled>
						<label>City</label>
                        <input type="text" name="city" class="input-block-level" required="required"  value="<?php echo @$city; ?>" placeholder="Your City">
						<label>Enter the code</label>
						<input type="text" name="captcha" style="width:63%" class="input-block-level" required="required" placeholder="Type the code displayed right side" pattern="\d*"><img style="margin-bottom: 11px; height: 45px; margin-left: 20px;" src="<?php echo base_url(); ?>captcha.php">                   
					</div>

                </div>
                <button type="submit" style="margin-top:15px;" class="btn btn-primary btn-large pull-right">Send Inquiry</button>
                <p> </p>

            </form>
        </div>

        <div class="span3">
            <h4>Our Address</h4>
            <p>
                <i class="icon-map-marker pull-left"></i> &nbsp;&nbsp;FF-1, Kailash Nagar Estate,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Opp. Punjab National Bank,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Opp. New Telephone Exchange,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;G.I.D.C., Vatva,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ahmedabad, Gujarat.
            </p>
            <p>
                <i class="icon-envelope"></i>&nbsp;info@energyhydraulic.in <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sales@energyhydraulic.in
            </p>
            <p>
                <i class="icon-phone"></i> &nbsp;9998850488
            </p>
            <p>
                <i class="icon-globe"></i> &nbsp;www.energyhydraulic.in
            </p>
        </div>

    </div>

</section>
