<?php include('header.php');?>

<section class="inner-section single-banner">
	<div class="container">
		<h2><?=$page;?></h2>
		<ol class="breadcrumb">
			<li class="breadcrumb-item"><a href="<?=base_url();?>">Home</a></li>
			<li class="breadcrumb-item active" aria-current="page"><?=$page;?></li>
		</ol>
	</div>
</section>

<section class="inner-section about-company">
	<div class="container">
        <div class="row">
               <div class="col-lg-10 mx-auto">
                  <div class="row no-gutters">
                     <div class="col-md-12">
                        <div class="card card-body">
                           <div class="widget">
                              <div class="section-header">
                                 <h3 class="mb-3">
                                    Career
                                 </h3>
                                 <p class=" text-justify mb-3">
                                     Fill your details and upload your CV and we shall get back to you within 72 hours and we shall offer you a job "if available" after seeing your CV and telephonic interview. <span>Best Wishes <strong><?=$base_name;?></strong></span>
                                 </p>
                              </div>
                              
                    <form action="<?=base_url('career/enquiry');?>" method="post" enctype='multipart/form-data'>
                                 <div class="row">
                                    <div class="col-sm-6 col-12">
                                       <div class="form-group">
                                          <label class="control-label">Full Name <span class="required">*</span></label>
                                         <input type="text" class="form-control border-form-control" name="name" value="">
                            
									  </div>
                                    </div>
                                    <div class="col-sm-6 col-12">
                                       <div class="form-group">
                                          <label class="control-label">Email Address <span class="required">*</span></label>
                                       <input type="email" class="form-control border-form-control" name="email" value="" >
                            
									  </div>
                                    </div>
                                
                                    <div class="col-sm-6 col-12">
                                       <div class="form-group">
                                          <label class="control-label">Phone <span class="required">*</span></label>
                                         <input type="tel" class="form-control border-form-control" onkeypress="return isNumberKey(event)" maxlength="10" name="phone" value="">
                           
									  </div>
                                    </div>
                                    
                               
                                    <div class="col-sm-6 col-12">
                                       <div class="form-group">
                                          <label class="control-label">State <span class="required">*</span></label>
										    <select onchange="getdt()" id="states" name="state" class="form-control border-form-control" style="width:100%;">
    											<option value=""></option>
                                                <option value="" selected>Select State</option>
                                                <?php  
                                                if(isset($state)){                          
                                                    foreach ($state as $row) {
                                                    ?>
                                                    <option value="<?php echo $row['state']; ?>"><?php echo $row['state']; ?></option>   
                                                    <?php 
                                                    }
                                                }
                                                ?>                         
                                            </select>
                                       </div>
                                    </div>
                                    <div class="col-sm-6 col-12">
                                       <div class="form-group">
                                          <label class="control-label">City <span class="required">*</span></label>
                                          <select name="district" id="district" class="form-control border-form-control"  style="width:100%;">
                                       
                                    </select> 
                                       </div>
                                    </div>
                                
                                    <div class="col-sm-6 col-12">
                                       <div class="form-group">
                                          <label class="control-label">Upload Your CV<span class="required">*</span></label>
                                        <input type="file" class="form-control" name="img" value="" accept="application/msword, application/vnd.ms-powerpoint,text/plain, application/pdf">
                           
									  </div>
                                    </div>
                                   
                                 </div>
                                 <!--<div class="row">
                                    <div class="col-sm-12">
                                       <div class="form-group">
                                          <label class="control-label">Address <span class="required">*</span></label>
										       <textarea name="cust_address" class="form-control border-form-control" cols="30" rows="10" style="height:70px;"></textarea>
                           
                                       </div>
                                    </div>
                                 </div>-->
                                 <div class="row">
                                    <div class="col-sm-12">
                                      <button type="submit" name="career" class="btn float-md-end btn-danger"> Submit </button>
                                    </div>
                                 </div>
                              </form>
                           </div>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </section>
      
      
    <script>  
        function getdt(){
            var state = $("#states").val();
            $.ajax({
                url:"<?=base_url('career/get_district');?>",
                type:"POST",
                data:{state:state},
                // dataType: 'json',
                success:function(data)
                {
                    $("#district").html(data);
                }
            })
        }      
    </script> 
     <?php require('footer.php');?>