<?php $this->load->view('header'); ?>
<!-- sidebar menu -->
<?php $this->load->view('left_bar'); ?>
<?php
error_reporting(0);
?>
<!-- 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>Categories</h2>
            <div class="clearfix"></div>
          </div>
          <div class="x_content">
            <table id="datatable-responsive" class="table table-striped table-bordered dt-responsive nowrap" cellspacing="0" width="100%">
              <thead>
                <tr>
                  <th>#</th>
                  <th>Name</th>
                  <th>Details</th>
                  <th>Delete</th>
                  <th>Edit</th>
                  <th>View</th>
                </tr>
              </thead>
              <tbody>
                <?php  
					$no = 1;
foreach($query as $val)
{	
?>
                <tr>
                  <td><?php echo $no;?></td>
                  <td><?php echo $val->blogs_category_title;?></td>
                  <td><?php echo $val->blog_category_details;?></td>
                  <td><a href="<?php echo base_url();?>manage/delete_blog_category?id=<?=$val->blogs_cat_id?>" class="link" onclick="return confirm('Are you sure?');" > <img src="../assets/images/cancel.png" /></a></td>
                  <td><a class="fancybox fancybox.iframe"  href="<?php echo base_url();?>manage/edit_blog_category?id=<?=$val->blogs_cat_id?>" >Edit</a></td>
                  <td><a class="fancybox fancybox.iframe"  href="<?php echo base_url();?>manage/view_blog_category?id=<?=$val->blogs_cat_id?>" >View</a></td>
                </tr>
                <?php
					 $no++;
					}
				
				 ?>
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<?php $this->load->view('footer'); ?>
