<?php defined('BASEPATH')or exit('No Direct Access is Allowed');?>
<div class="row row-spec">
                <div class="col-md-12 padding-01">
                <img src="<?=base_url('assets/web/images/contact-us.png');?>" alt="contact-us-tog" class="img-responsive" style="width: 100%;"/>
                </div>
            </div>
            <?php if ($this->session->flashdata('success') == TRUE): ?>
  <div class="alert alert-success"><?php echo $this->session->flashdata('success'); ?></div>
<?php endif; ?>
<?php if ($this->session->flashdata('danger') == TRUE): ?>
  <div class="alert alert-danger alert-dismissible"><?php echo $this->session->flashdata('danger'); ?></div>
<?php endif; ?>
		<div class="custom_content custom">
			<div class="container large">
				<div class="row">
					<div class="col-xs-12 col-sm-6 custom_right1">
						<div class="single_content_left">

							<div class="contact_form">
								<?php echo form_open("contact-us");?>
									    <div class="form-area">


        <br style="clear:both">
                    <h3 style="margin-bottom: 18px; text-align: center;">Contact Form</h3>
					<div class="arrow-right"></div>
					<div class="form-group contact_forms">
    				<div class="form-group contact_forms col-lg-6 col-md-6 col-sm-6">
    				<?php echo form_error('first_name');?>
						<input type="text" class="form-control input-sm" id="name" name="first_name" placeholder="Name" required>
					</div>
					<div class="form-group contact_forms  col-lg-6 col-md-6 col-sm-6">
					<?php echo form_error('last_name');?>
						<input type="text" class="form-control input-sm" id="last Name" name="last_name" placeholder="last Name" required>
					</div>
					</div>
					<div class="form-group contact_forms ">
    				<div class="form-group contact_forms  col-lg-6 col-md-6 col-sm-6">
    				<?php echo form_error('email');?>
						<input type="text" class="form-control input-sm" id="last" name="email" placeholder="Email" required>
					</div>
					<div class="form-group contact_forms  col-lg-6 col-md-6 col-sm-6">
					<?php echo form_error('mobile');?>
						<input type="text" class="form-control input-sm" id="mobile" name="mobile" onkeypress='validate(event)'  placeholder="Mobile Number" maxlength="10" required>
					</div>
					</div>
					<div class="form-group contact_forms ">
					<?php echo form_error('country');?>
					<div class="form-group contact_forms  col-lg-6 col-md-6 col-sm-6">
						<?=form_dropdown('country', $country_list, set_value('country'),array('class'=>'form-control country-select input-sm'));?>

					</div>
					<div class="form-group contact_forms  col-lg-6 col-md-6 col-sm-6">
					<?php echo form_error('zip_code');?>
						<input type="text" class="form-control input-sm" id="zip code" onkeypress='validate(event)' name="zip_code" placeholder="zip code" maxlength="6" required>
					</div>
					</div>
					<div class="form-group contact_forms ">
					<div class="form-group contact_forms  col-lg-6 col-md-6 col-sm-6">
					<?php echo form_error('profile');?>
						<select name="profile" class="form-control country-select input-sm">
                            <option value="" selected="selected">Profile</option>
                            <option value="student">STUDENT</option>
                            <option value="teacher">TEACHER</option>
                            <option value="parent">PARENT</option>
                        </select>
					</div>
					<div class="form-group contact_forms  col-lg-6 col-md-6 col-sm-6">
					<?php echo form_error('date_of_birth');?>
						<input type="text" class="form-control input-sm" id="date" name="subject" placeholder="subject" required>
					</div>
					</div>

                    <div class="form-group contact_forms ">
					<div class="form-group contact_forms  col-lg-12 col-md-12 col-sm-12">
					<?php echo form_error('message');?>
                    <textarea class="form-control input-sm" type="textarea" name="message" id="message" placeholder="Message" maxlength="300" rows="5"></textarea>
                        <!-- <span class="help-block"><p id="characterLeft" class="help-block ">You have reached the limit</p></span>  -->
                    </div>
            </div>
               <!--  <button type="button" id="submit" name="submit" class="btn btn-primary btn btn-default  send-btns">Send message</button> -->
              <?=form_submit(['name'=>'submit','value'=>'Send message','class'=>'btn btn-primary btn btn-default  send-btns',]); ?>
              <?php echo form_close();?>
            </div>
							</div>
						</div><!--end single content left-->
					</div>

					<div class="col-xs-12 col-sm-6 custom_left">
						<div class="sidebar">
							<div class="list_block sidebar_item side_items">
								<h3 style="text-transform: uppercase;margin: 0 0 14px;">Contacts</h3>
								<ul class="contact_info">
									<li><a target="blank" href="https://maps.google.com/?q=116 Phase IV, Udyog Vihar, Sector 18 Gurugram, Haryana 122008"> <i class="fa fa-home contact-home"></i>plot no : 116, First Floor,Near Atlas Chowk,
									Udhyog Vihar, Phase – 4, 122015, Gurugram, Haryana, India </a></li>
									<li><i class="fa fa-envelope contact-home"></i> <a href="mailto:info@theonlinegurukul.com">info@theonlinegurukul.com</a></li>
									<!--  <li><i class="fa fa-phone contact-home"></i> +91- 9811734111, 9811735111</li>-->
									<li><i class="fa fa-globe contact-home"></i> <a href="<?php echo site_url();?>">https://theonlinegurukul.com</a></li>
                  <li><a href="tel:+919899416555"><i class="fa fa-phone"></i> <span>Phone : </span> +91-9899416555, 9899406555</a> </li>
								</ul>
							</div>
							<div class="list_block">
								<h3 style="text-transform: uppercase;margin: 0 0 14px;">HELP DESK</h3>
								<ul class="contact_info">
								<li><strong>Monday-Friday<?php echo nbs(8);?>:   </strong> <?php echo nbs(12);?>10 AM to 8 PM</li>
                <li><strong>Saturday<?php echo nbs(19);?>  :       </strong> <?php echo nbs(12);?>10 AM to 3 PM</li>
                <li><strong>Sunday<?php echo nbs(22);?>    :         </strong> <?php echo nbs(12);?>Closed</li>
								</ul>
							</div><!--end sidebar item-->
						<!-- <div class="list_block socialArea">
								<h3>SOCIAL CONNECT</h3>
								<ul class="list-inline ">
            <li><a href="#"><i class="fa fa-twitter"></i></a></li>
            <li><a href="#"><i class="fa fa-facebook"></i></a></li>
            <li><a href="#"><i class="fa fa-google-plus"></i></a></li>
            <li><a href="#"><i class="fa fa-pinterest-p"></i></a></li>
            <li><a href="#"><i class="fa fa-flickr"></i></a></li>
            <li><a href="#"><i class="fa fa-youtube-play"></i></a></li>
            </ul>
							</div> -->
						</div><!--end sidebar-->
					</div>
				</div><!--end row-->
			</div>
		</div><!--end custom content-->



		<!--<footer class="footer-v1">
  <div class="menuFooter clearfix">
    <div class="container">
      <div class="row clearfix">

        <div class="col-sm-3 col-xs-6">
          <ul class="menuLink">
            <li><a href="about.html">About Royal College</a></li>
            <li><a href="campus.html">About Campus</a></li>
            <li><a href="stuff.html">Staff Members</a></li>
            <li><a href="about.html">Why Choose Us?</a></li>
          </ul>
        </div><!-- col-sm-3 col-xs-6 -->

       <!-- <div class="col-sm-3 col-xs-6 borderLeft">
          <ul class="menuLink">
            <li><a href="course-fullwidth.html">All Courses</a></li>
            <li><a href="buying-steps.html">Admission</a></li>
            <li><a href="photo-gallery3col.html">Photo Gallery</a></li>
            <li><a href="international_students.html">International Students</a></li>
          </ul>
        </div><!-- col-sm-3 col-xs-6 -->

       <!-- <div class="col-sm-3 col-xs-6 borderLeft">
          <div class="footer-address">
            <h5>Location:</h5>
            <address>
              Royal College<br>
              1727 Lombard St.<br>
              San Francisco
            </address>
            <a href="contact-us.html"><span class="place"><i class="fa fa-map-marker"></i>Main Campus</span></a>
          </div>
        </div><!-- col-sm-3 col-xs-6 -->

       <!-- <div class="col-sm-3 col-xs-6 borderLeft">
          <div class="socialArea">
            <h5>Find us on:</h5>
            <ul class="list-inline ">
            <li><a href="#"><i class="fa fa-twitter"></i></a></li>
            <li><a href="#"><i class="fa fa-facebook"></i></a></li>
            <li><a href="#"><i class="fa fa-google-plus"></i></a></li>
            <li><a href="#"><i class="fa fa-pinterest-p"></i></a></li>
            <li><a href="#"><i class="fa fa-flickr"></i></a></li>
            <li><a href="#"><i class="fa fa-youtube-play"></i></a></li>
            </ul>
          </div><!-- social -->
        <!--  <div class="contactNo">
            <h5>Call us on:</h5>
            <h3>012-3434-456768</h3>
          </div><!-- contactNo -->
        <!--</div><!-- col-sm-3 col-xs-6 -->

     <!-- </div><!-- row -->
    <!--</div><!-- container -->
 <!-- </div><!-- menuFooter -->

  <!--<div class="footer clearfix">
    <div class="container">
      <div class="row clearfix">
        <div class="col-sm-6 col-xs-12 copyRight">
          <p>© 2016 Copyright Royal College Bootstrap Template by <a href="http://www.iamabdus.com/">Abdus</a></p>
        </div><!-- col-sm-6 col-xs-12 -->
        <!--<div class="col-sm-6 col-xs-12 privacy_policy">
          <a href="contact-us.html">Contact us</a>
          <a href="privacy-policy.html">Privacy Policy</a>
        </div><!-- col-sm-6 col-xs-12 -->
     <!-- </div><!-- row clearfix -->
    <!--</div><!-- container -->
<!--  </div>
</footer>-->
<div class="contact_map">

      <!-- <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d6996633.738164338!2d-104.57070294113542!3d31.10069597439005!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x864070360b823249%3A0x16eb1c8f1808de3c!2sTexas%2C+USA!5e0!3m2!1sen!2sbd!4v1460121293489" width="100%" height="350" frameborder="0" style="border:0" allowfullscreen></iframe> -->
	<iframe src="https://maps.google.com/maps?q=28.4940200, 77.0798990&z=15&output=embed" width="100%" height="350" frameborder="0" style="border:0"></iframe>
		</div><!--end contact map-->
		<script>function validate(evt) {
	    	   var theEvent = evt || window.event;
	    	   var key = theEvent.keyCode || theEvent.which;
	    	   key = String.fromCharCode( key );
	    	   var regex = /[0-9]|\./;
	    	   if( !regex.test(key) ) {
	    	     theEvent.returnValue = false;
	    	     if(theEvent.preventDefault) theEvent.preventDefault();
	    	   }
	    	 }</script>
