<?php $this->load->view('security'); ?>
<?php $this->load->view('header'); ?>
            <!-- sidebar menu -->
<?php $this->load->view('left_bar'); ?>      
<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 Setting</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_setting" method="post" name="form1" enctype="multipart/form-data">
<?php 
foreach($query as $val)
{
?>
<input type="hidden" value="<?php echo $val->web_icon; ?>" name="old_icon" id="old_icon" >
<input type="hidden" value="<?php echo $val->web_logo; ?>" name="old_logo" id="old_logo" >
 <input type="hidden" value="<?php echo $val->setting_id; ?>" name="setting_id" id="setting_id" >
 <input type="hidden" value="<?php echo $val->banner_image; ?>" name="old_banner_image" id="old_banner_image" >
                      <div class="form-group">
					  <p style="color:#FF0000;text-align: center;"> <?php echo $this->session->flashdata('sucess_msg');?></p>
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Web Site Title</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<input type="text" name="web_title" id="web_title" class="form-control col-md-7 col-xs-12" value="<?php echo $val->web_title;?>"/>
                        </div>
                      </div>
					    <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Web Site Icon</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						  <input type="file" name="web_icon" id="web_icon"  class="form-control" placeholder="Uplaod Web Icon"></br>
						  <?php
						  if($val->web_icon=='')
						  {?>
						  <img src="<?php echo base_url();?>assets/images/notice.png" width="30" height="30" />
                        <?php }
						else
						{?>
						 <img src="<?php echo base_url();?>assets/upload/<?=$val->web_icon;?>" width="30" height="30" />
						<?php }
						?>
						</div>
                      </div>
					     <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Web Site Logo</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						  <input type="file" name="web_logo" id="web_logo"  class="form-control" placeholder="Uplaod Web Icon"></br>
						 
						    <?php
						  if($val->web_logo=='')
						  {?>
						  <img src="<?php echo base_url();?>assets/images/notice.png" width="400" height="80"/>
                        <?php }
						else
						{?>
						 <img src="<?php echo base_url();?>assets/upload/<?=$val->web_logo;?>" width="400" height="80" />
						<?php }
						?>
						 Upload Image (W:1611px*H:245px)
                        </div>
                      </div>
					     <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Banner Image</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						  <input type="file" name="banner_image" id="banner_image"  class="form-control" placeholder="Uplaod Banner Image"></br>
						  
						    <?php
						  if($val->banner_image=='')
						  {?>
						  <img src="<?php echo base_url();?>assets/images/notice.png" width="500" height="200"/>
                        <?php }
						else
						{?>
						 <img src="<?php echo base_url();?>assets/upload/<?=$val->banner_image;?>" width="500" height="200" />
						<?php }
						?>
                        </div>
                      </div>
					    <div class="form-group">
					   <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name"><b>Social Media</b></label>
                       
                      </div>
					   <div class="form-group">
					   <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Facebook</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<input type="text" name="facebook" id="facebook" class="form-control col-md-7 col-xs-12" value="<?php echo $val->facebook;?>"/>
                        </div>
                      </div>
					  
					  
					   <div class="form-group">
					   <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Twitter</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<input type="text" name="twitter" id="twitter" class="form-control col-md-7 col-xs-12" value="<?php echo $val->twitter;?>"/>
                        </div>
                      </div>
					   <div class="form-group">
					   <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Gmail</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<input type="text" name="gmail" id="gmail" class="form-control col-md-7 col-xs-12" value="<?php echo $val->gmail;?>"/>
                        </div>
                      </div>
					  <div class="form-group">
					   <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Youtube</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<input type="text" name="youtube" id="youtube" class="form-control col-md-7 col-xs-12" value="<?php echo $val->youtube;?>"/>
                        </div>
                      </div>
					  <div class="form-group">
					   <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">linkedin</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<input type="text" name="linkedin" id="linkedin" class="form-control col-md-7 col-xs-12" value="<?php echo $val->linkedin;?>"/>
                        </div>
                      </div>
					    <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Footer Copy Right Text</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<input type="text" name="copy_right" id="copy_right" class="form-control col-md-7 col-xs-12" value="<?php echo $val->copy_right;?>"/>
                        </div>
                      </div>
					   <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Footer About Section</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
<textarea name="footer_about" id="footer_about" class="ckeditor"><?php echo $val->footer_about; ?></textarea>
                        </div>
                      </div>
					   <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name"><strong>Contact Us Info</strong></label>
                      </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">
<input type="text" name="Address" id="Address" class="form-control col-md-7 col-xs-12" value="<?php echo $val->Address;?>"/>
                        </div>
                      </div>
					   <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Phone</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						<input type="text" name="phone1" id="phone1" class="form-control col-md-7 col-xs-12" value="<?php echo $val->phone1;?>"/>
		
                        </div>
                      </div>
					     <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Res Phone</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						<input type="text" name="phone2" id="phone2" class="form-control col-md-7 col-xs-12" value="<?php echo $val->phone2;?>"/>
		
                        </div>
                      </div>
					  <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">Mobile</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						<input type="text" name="mobile" id="mobile" class="form-control col-md-7 col-xs-12" value="<?php echo $val->mobile;?>"/>
                        </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="email" id="email" class="form-control col-md-7 col-xs-12" value="<?php echo $val->email;?>"/>
                        </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</button>
                        </div>
                      </div>
					  <?php
}
?>
                    </form>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
     

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


