 <!--HEADER-SECTION-->
 <?php $this->load->view('header_front'); ?>
    	<?php
					//code to show contsct info
		foreach($footer_data as $contactinfo)
		{
		$address=$contactinfo->Address;
		$email=$contactinfo->email;
		$mobile=$contactinfo->mobile;
		$phone=$contactinfo->phone1;
	    }
		?>
    <!--HEADER-SECTION-->

    <!--CONTENT-AREA-->
	<div class="content-section">

            <!--WELCOME-JNJ-->
            <div class="section-welcome">

                <div class="container">
                <div class="nav-welcome">
                	<ol class="breadcrumb">
					    <li><a href="<?php echo base_url();?>">Home</a></li>
					   <li><a href="<?php echo base_url();?>front_end/contactus">Contact Us</a></li>
                    </ol>
                    <a class="menubtn" href="#"><i class="fa fa-bars"></i></a>
                </div>

                    <div class="gradient">
                        <div class="row">

                            <div class="col-md-3">
                                <div class="main-heading">
                                    <h1>Contact<br>JNJ</h1>
                                </div>
                                <div class="aboutus-image">
                                	<img src="<?php echo base_url();?>assets_front/images/chair.png" alt="image">
                                </div>
                            </div>

                            <div class="col-md-9 form">
                                <div class="map-section">
                                <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d9939.429132522406!2d-0.3634361685999725!3d51.47913389728292!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x80ce64fcefc11d9d!2sJob+N+Job+UK+Ltd!5e0!3m2!1sen!2s!4v1470209843623" width="600" height="450" frameborder="0" style="border:0; color:#d5d5d5; background:#000
                                " allowfullscreen></iframe>
                                </div>

                                <div class="map-adders-section">
                                	<div class="col-md-4">
                                    	<div class="contact-map">
                                        	<i class="fa fa-map-marker" aria-hidden="true"></i>
                                            <span><?php echo $address;?></span>
                                        </div>
                                    </div>

                                    <div class="col-md-4">
                                    	<div class="contact-map">
                                        	<i class="fa fa-envelope-o" aria-hidden="true"></i>
                                            <span><?php echo $email;?></span>
                                        </div>
                                    </div>

                                    <div class="col-md-4">
                                    	<div class="contact-map">
                                        	<i class="fa fa-phone" aria-hidden="true"></i>
                                            <span>M: <?php echo $mobile;?> <br>T:<?php echo $phone;?></span>
                                        </div>
                                    </div>
                                </div>
                       <form name="contactus" id="contactus" method="post" onsubmit="return contact_us()" action="<?php echo base_url();?>front_end/contact_us">
                                <div class="form-contact-section">
                               	 <h4>Get in touch with us</h4>
								  <p style="color:#FF0000;text-align: center;"> <?php echo $this->session->flashdata('mesage_contactus');?></p>
                                	<div class="row">
                                		<ul class="froms-section">

                                            <li class="col-md-6">
                                            <input type="text" name="name" id="name" class="form-control"  aria-describedby="emailHelp" placeholder="Your Name" onkeypress="return alphaOnly(event)"></br>
											<span class="reg_error"><?php echo form_error('name'); ?></span>
                                            </li>
                                            <li class="col-md-6">
                         <input type="text" name="email" id="emails" class="form-control"  aria-describedby="emailHelp" placeholder="Email"></br>
											<span class="reg_error"><?php echo form_error('email'); ?></span>
                                            </li>
                                            <li class="col-md-6">
                                                <select class="form-control" id="category" name="category">
                                                  <option value="">Select Category</option>
                                                  <option value="Bussiness">Business</option>
                                                  <option value="About Job">About Job</option>
                                                  <option value="About Account">About Account</option>
                                                </select></br>
												<span class="reg_error"><?php echo form_error('category'); ?></span>
                                             </li>
										    <li class="col-md-6">
                    <input type="text" name="subject" id="subject" class="form-control"  aria-describedby="Subject" placeholder="Subject">
					</br>
					<span class="reg_error"><?php echo form_error('subject'); ?></span>
                                            </li>
                                              <li class="col-md-12">
                                             	<textarea id="exampleTextarea" name="message" class="form-control" rows="3" placeholder="Message"></textarea>
                                             </br>
					<span class="reg_error"><?php echo form_error('message'); ?></span>
											 </li>
                                    	</ul>
                                     </div>
                                     <button type="submit" class="btn btn-primary">Send</button>
                                </div>
								</form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

	<!--CONTENT-AREA-->
	<?php $this->load->view('footer_front');?>