<?php $this->load->view('security'); ?>
<?php $this->load->view('header'); ?>
            <!-- sidebar menu -->
<?php $this->load->view('left_bar'); ?>           
        <!-- page content -->
        <div class="right_col" role="main">
          <div class="">
            <div class="clearfix"></div>
            <div class="row">
			<div class="col-md-4 col-sm-4 col-xs-12">
              <div class="x_panel tile fixed_height_320 overflow_hidden" style="display:none;">
                <div class="x_title">
                  <h2>N-JOB-N Activity Graph</h2>
                  <ul class="nav navbar-right panel_toolbox">
                    <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
                    </li>
                    <li class="dropdown">
                      <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
                      <ul class="dropdown-menu" role="menu">
                        <li><a href="#">Settings 1</a>
                        </li>
                        <li><a href="#">Settings 2</a>
                        </li>
                      </ul>
                    </li>
                    <li><a class="close-link"><i class="fa fa-close"></i></a>
                    </li>
                  </ul>
                  <div class="clearfix"></div>
                </div>
                <div class="x_content">
                  <table class="" style="width:100%">
                    <tr>
                      <th style="width:37%;">
                        <p></p>
                      </th>
                      <th>
                        <div class="col-lg-7 col-md-7 col-sm-7 col-xs-7">
                          <p class=""></p>
                        </div>
                        <div class="col-lg-5 col-md-5 col-sm-5 col-xs-5">
                          <p class=""></p>
                        </div>
                      </th>
                    </tr>
                    <tr>
                      <td>
                        <canvas id="canvas1" height="140" width="140" style="margin: 15px 10px 10px 0"></canvas>
                      </td>
                      <td>
                        <table class="tile_info">
                          <tr>
                            <td>
                              <p><i class="fa fa-square blue"></i>Total Jobs</p>
                            </td>
                            <td>30%</td>
                          </tr>
                          <tr>
                            <td>
                              <p><i class="fa fa-square green"></i>Active Jobs</p>
                            </td>
                            <td>10%</td>
                          </tr>
                          <tr>
                            <td>
                              <p><i class="fa fa-square purple"></i>Short Listed Jobs</p>
                            </td>
                            <td>20%</td>
                          </tr>
                          <tr>
                            <td>
                              <p><i class="fa fa-square aero"></i>Total Candidate's</p>
                            </td>
                            <td>15%</td>
                          </tr>
                          <tr>
                            <td>
                              <p><i class="fa fa-square red"></i>Total Recruiter's</p>
                            </td>
                            <td>30%</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </div>
              </div>
            </div>
              <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2 >Add Job</h2>
                    
                    <div class="clearfix"></div>
                  </div>
				  <?php  echo validation_errors(); ?>
                  <div class="x_content">
     <br />
<form id="demo-form2" data-parsley-validate class="form-horizontal form-label-left" action="<?php base_url();?>add_job_details" method="post" name="loginform" onSubmit="return add_job_details()"  enctype="multipart/form-data">

                      <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">Company Name*</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
         <input type="text"  name="company_name" id="company_name" placeholder="Enter Company Name"  class="form-control col-md-7 col-xs-12">
                        </div>
                      </div>
                      <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Company Logo*</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                       <input type="file" name="image" id="image" class="form-control" placeholder="Uplaod Company Logo">
					   Upload Image (W:221px*H:115px)
					    </div>
                      </div>
					  
					  <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Job Title*</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						<input type="text"  name="job_title" id="job_title" placeholder="Enter Job Title"  class="form-control col-md-7 col-xs-12">
                        </div>
                      </div>
					  <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Job Description*</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<textarea name="job_des" id="job_des"  class="ckeditor">Jobs Details.......</textarea>
                        </div>
                      </div>
					<div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Job Type*</label>
    <div class="col-md-6 col-sm-6 col-xs-12">
	<select name="job_type" class="form-control" id="job_type" >
	<option value="5">Full Time</option>
	<option value="4">Part Time</option>
	<option value="2">Contract</option>
	<option value="3">Temporary</option>
	<option value="7">Permanent</option>
	<option value="1">Volunteer</option>
	<option value="6">Other</option></select>
</div>
              </div>
					   <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Job Reference</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<input type="text"  name="job_refernce" id="job_refernce" placeholder="Enter Job Company Name"  class="form-control col-md-7 col-xs-12">
                      </div>
                      </div>
      <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Salary Details*</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">

                    <table width="590">
  <tr>
    
    <td width="40"><label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">From</label></td>
   <td width="175"><input type="text"  name="job_salary_from" id="job_salary_from" placeholder="Enter Salary (2,500.00)" onkeyup="javascript:this.value=Comma(this.value);"  class="form-control col-md-7 col-xs-12"></td>
    <td width="27"><label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">To</label></td>
	 <td width="193"><input type="text"  name="job_salary_to" id="job_salary_to" placeholder="Enter Salary (35,000.00)" onkeyup="javascript:this.value=Comma(this.value);"  class="form-control col-md-7 col-xs-12" /></td>
	 <td width="74"><label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Currency</label></td>
	 <td width="53"><select class="form-control col-md-7 col-xs-12" id="exampleSelect1" name="currency" style="width: 60px;">
       <?php
														$querycurrency=$this->db->get('currency');
														$resultscurrency = $querycurrency->result();
														foreach ($resultscurrency as $rowcurrency)
														{?>
       <option value="<?php echo $rowcurrency->skill_id;?>" ><?php echo $rowcurrency->skill_code;?></option>
       <?php }?>
     </select></td>
	 <td width="13">&nbsp;</td>
	 <td width="53"><select class="form-control col-md-7 col-xs-12" id="perday" name="perday" style="width: 100px;">
     <option value="1">Per Day</option>
	 <option value="2">Per Week</option> 
	 <option value="3">Per Annum</option> 
     </select></td>
	 </tr>
  <tr>
    <td colspan="17">
      <input type="checkbox" name="displaySalary" id="displaySalary" value="1"  style="margin-top: -1px;"/>Display Salary figure on the job ad</td>
    </tr>
</table>
                      </div>
              </div>
					  <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Additional Salary Info</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<input type="text"  name="job_salary_info" id="job_salary_info" placeholder="Max 70 characters (incl. basic salary figure)."  class="form-control col-md-7 col-xs-12">
                      </div>
                      </div>
					   <div class="form-group">
                        <label for="last-name" class="col-xs-12 col-sm-3 col-md-3 control-label"><strong>Job Location</strong></label>
                        
                      </div>
					  
					  	
					  <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Country*</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">

<input type="text"  name="job_location_id" id="job_location_id" placeholder="Enter Country Name" class="form-control"/>
                      </div>
                      </div>
					  <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name" >State</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">


							<input type="text"  name="state" id="state_dropdown" placeholder="Enter Country Name" class="form-control"/>
<span id="state_loader"></span>
                      </div>
                      </div>
					  <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">City</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
							<input type="text"  name="city" id="city_dropdown" placeholder="Enter Country Name" class="form-control"/>
<span id="city_loader"></span>
                      </div>
                      </div>
					  <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Postal Code</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<input type="text"  name="job_postalcode" id="job_postalcode" placeholder="Enter Postal code"  class="form-control col-md-7 col-xs-12">
                      </div>
                      </div>
			  <div class="form-group">
                <label for="last-name" class="col-xs-12 col-sm-3 col-md-3 control-label"><strong>Information About Job</strong></label>
                </div>
					  <div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Gender</label>
<div class="col-md-6 col-sm-6 col-xs-12">
	<select name="gender" class="form-control" id="gender">
	<option value="1">Male</option>
	<option value="2">Female</option>
	  <option value="3">Doesn't matter</option>
</select>
</div>
              </div>
			  	  <div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Min Experience</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<select class="form-control col-md-7 col-xs-12" name="exp" id="exp">
<option class="black" value="">Select Min Experience</option>
<option class="black" value="555">Fresh</option>
<option class="black" value="233">Less than 1 Year</option>
<?php
for($i=1;$i<=35;$i++)
{?>
<option class="black" value="<?php echo $i ?>"><?php echo $i ?> Years</option>
<?php }?>
<option class="black" value="36">More than 35 Years</option>
</select>
</div>
              </div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Max Experience</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<select class="form-control col-md-7 col-xs-12" name="exp1" id="exp1">
<option class="black" value="">Select Max Experience</option>
<option class="black" value="555">Fresh</option>
<option class="black" value="233">Less than 1 Year</option>
<?php
for($i=1;$i<=35;$i++)
{?>
<option class="black" value="<?php echo $i ?>"><?php echo $i ?> Years</option>
<?php }?>
<option class="black" value="36">More than 35 Years</option>
</select>
</div>
              </div>
			  <div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Career Level*</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<select class="form-control col-md-7 col-xs-12" name="carLevel" id="carLevel">
<option  value="1">Not Applicable</option>
<option  value="2">Internship/Apprenticeship/Graduate</option>
<option  value="3" selected="">Entry Level/Associate</option>
<option  value="4">Mid-Senior Level</option>
<option  value="5">Director</option>
<option  value="6">Executive</option>
</select>
</div>
              </div>
			    <div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Total Positions*</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<select class="form-control col-md-7 col-xs-12" name="total_postions" id="total_postions">
<?php
for($p=1;$p<=30;$p++)
{?>
<option  value="<?php echo $p ;?>"><?php echo $p ;?> Postions</option>
<?php }?>
</select>
</div>
</div>
		    <div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Job Shift</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<select class="form-control col-md-7 col-xs-12" name="job_shift" id="job_shift">
<option value="">Select</option>
<option  value="1">First Shift (Day)</option>
<option  value="2">Night Shift (Night)</option>
</select>
</div>
</div>
	    <div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Age</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<select class="form-control col-md-7 col-xs-12" style="width:30%" name="fage" id="fage">
<option value="">Select</option>
<?php
for($fage=20;$fage<=60;$fage++)
{?>
<option  value="<?php echo $fage ?>"><?php echo 'From'.' '.$fage;?></option>
<?php }?>
</select> 
<select class="form-control col-md-7 col-xs-12" style="width:30%;margin-left: 20px;" name="tage" id="tage">
<option value="">Select</option>
<?php
for($tage=20;$tage<=60;$tage++)
{?>
<option  value="<?php echo $tage;?>"><?php echo 'To'.' '.$tage;?></option>
<?php }?>
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Degree Title</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<select  class="form-control col-md-7 col-xs-12"  name="degreetitle" id="degreetitle">
<option value="">Select</option>
    <option value="1">GCSE/GNVQ/O levels</option>
	<option value="2">A levels/advanced GNVQ</option>
	<option value="3">HND/HNC</option>
	<option value="4">University degree</option>
	<option value="5">Masters degree or higher</option>
	<option value="6">BTEC</option>
	<option value="7">City & Guides</option>
	<option value="8">Diploma</option>
	<option value="9">Senior business or technical qualification</option>
	<option value="10">PhD</option>
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Expiry date*</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<input type="text" name="exp_date" value=""   class="tcal form-control col-md-7 col-xs-12" id="exp_date"  placeholder="mm-dd-yyyy" onfocus="this.placeholder = ''" onblur="this.placeholder = 'mm-dd-yyyy'" style="margin-bottom: 18px;">
                      </div>
                      </div>
					  <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Industry Sectors*</label>
 <div class="col-md-6 col-sm-6 col-xs-12">
<!--<link rel="stylesheet" href="<?php echo base_url();?>assets/docsupport/style.css">
  <link rel="stylesheet" href="<?php echo base_url();?>assets/docsupport/prism.css">-->
  <link rel="stylesheet" href="<?php echo base_url();?>assets/docsupport/chosen.css">
<select name="secters[]" data-placeholder="Choose Industry sectors..." class="chosen-select" multiple="multiple" style="width:525px;"  id="secters" ><option value=""></option>
			 <?php
  $sel_industeries=mysql_query("select * from njobn_jobs_category");
  while($fethch_induteries=mysql_fetch_array($sel_industeries))
	{
	?>
            <option value="<?php echo $fethch_induteries['jobs_category_id'];?>"><?php echo $fethch_induteries['jobs_category_title'];?></option>
     <?php }?>
          
          </select>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>
  <script src="<?php echo base_url();?>assets/docsupport/chosen.jquery.js" type="text/javascript"></script>
  <script src="<?php echo base_url();?>assets/docsupport/prism.js" type="text/javascript" charset="utf-8"></script>
  <script type="text/javascript">
    var config = {
      '.chosen-select'           : {},
      '.chosen-select-deselect'  : {allow_single_deselect:true},
      '.chosen-select-no-single' : {disable_search_threshold:10},
      '.chosen-select-no-results': {no_results_text:'Oops, nothing found!'},
      '.chosen-select-width'     : {width:"95%"}
    }
    for (var selector in config) {
      $(selector).chosen(config[selector]);
    }
  </script>

                      </div>
                      </div>
					  <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Job Status</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                       <select  name="job_status" id="job_status" class="form-control col-md-7 col-xs-12">
						<option value="1">Active</option>
						<option value="2">Deactivate </option>
										</select>
                      </div>
                      </div>
<div class="form-group">
 <label for="last-name" class="col-xs-12 col-sm-3 col-md-3 control-label"><strong>Contact Details</strong></label>
              </div>
					   	<div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">First name*</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<input type="text"  name="job_contact_fname" id="job_contact_fname" placeholder="Enter First Name"  class="form-control col-md-7 col-xs-12">
                      </div>
                      </div>
					  	<div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Last name*</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<input type="text"  name="job_contact_lname" id="job_contact_lname" placeholder="Enter Last Name"  class="form-control col-md-7 col-xs-12">
                      </div>
                      </div>
					  
					  	<div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Email*</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<input type="text"  name="job_contact_email" id="job_contact_email" placeholder="Enter Email"  class="form-control col-md-7 col-xs-12">
                      </div>
                      </div>
					  <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Telephone</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<input type="text"  name="telephone" id="telephone" placeholder="Enter Telephone Number"  class="form-control col-md-7 col-xs-12">
                      </div>
                      </div>
					  
					  <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Address</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
		<textarea name="address" id="address" placeholder="Enter Address" class="form-control col-md-7 col-xs-12"></textarea>
                      </div>
                      </div>
			  <div class="form-group">
 <!--<label for="last-name" class="col-xs-12 col-sm-3 col-md-3 control-label"><strong>Add Telephone and/or Address</strong></label>-->
              </div>
	                  <div class="ln_solid"></div>
                      <div class="form-group">
                        <div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-3">
                          <button type="submit" class="btn btn-success">Add Job</button>
                        </div>
                      </div>
                    </form>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- /page content -->

        <!-- footer content -->

<?php $this->load->view('footer'); ?>


