<?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>update Job Caegory</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();?>update_jobeidtpage_category" method="post" name="loginform" onSubmit="return add_job_cat()" enctype="multipart/form-data">
					
<?php 
foreach($query as $val)
{
?>
 <input type="hidden" value="<?php echo $val->jobcatimage; ?>" name="old_image" id="old_image">
<input type="hidden" value="<?php echo $val->jobs_category_id; ?>" name="jobs_category_id" id="jobs_category_id" >
                      <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">Category Title*</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
         <input type="text"  name="jobs_category_title" id="jobs_category_title" placeholder="Enter Job Category Title"  value="<?php echo $val->jobs_category_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">Category Details*</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						<textarea name="jobs_category_des" id="jobs_category_des"  class="form-control col-md-7 col-xs-12" placeholder="Enter Job Category Details"><?php echo $val->jobs_category_des;?></textarea>

                        </div>
                      </div>
					    <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Job Category Image</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						<input type="file" name="image" id="image" class="form-control" placeholder="Uplaod Job Category Image/Icon">

                        </div>
                      </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">Update Category</button>
                        </div>
                      </div>
<?php
}
?>
                    </form>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- /page content -->

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


