<?php 
 $this->load->view('header_frontinner'); 
 $this->load->view('security_front'); 
 foreach($footer_data1 as $val_profile)
 {
 $can_image=$val_profile->image;
 }
?>
  <div class="dashboard-section">
            	<div class="container">
				<div class="section-welcome nav-welcome">
                    <a class="menubtn" href="#"><i class="fa fa-bars"></i></a>
                </div>
                	<div class="row margin-top-45">
                    	<!--<div class="candtate-section">
                        	<h2>Online Recruitment&nbsp;<span>and</span><br> 
Employment Solutions <span>for</span> Employers</h2>
                        </div>-->
                       	<div class="col-md-3 margin-top-45">
                                <div class="candtate-lift-section">
                                	<h3>Company Logo</h3>
                                    <span>&nbsp;</span>
                                </div>
                                <div class="company-section margin-top-0">
                                    <!--<div class="company-logo-section">
									<?php
if($can_image!='')
{?>
		 <a href="#"><img src="<?php echo base_url();?>assets/upload/<?php echo $can_image;?>"/></a>
										<?php }
										else
										{?>
		 <a href="#"><img src="<?php echo base_url();?>assets_front/images/JNJUKWebLogo.png" alt="" ></a>								
										<?php }
										?>
                                    </div>-->
									<div class="add-logo-rights">
                                    	<?php
if($can_image!='')
{?>
		 <a href="#"><img src="<?php echo base_url();?>assets/upload/<?php echo $can_image;?>"  id="addjoblogo"/></a>
										<?php }
										else
										{?>
		 <a href="#"><img src="<?php echo base_url();?>assets_front/images/JNJUKWebLogo23.png" alt="logo-image" id="addjoblogo" ></a>								
										<?php }
										?>
                                </div>
									
									<!--<div class="candidate-picture margin-bottom-15" style="text-align:justify;">
<?php
if($can_image!='')
{?>
<img src="<?php echo base_url();?>assets/upload/<?php echo $can_image;?>" alt="Img" class="img-responsive img-circle">										
<?php }
else
{?>
<img src="<?php echo base_url();?>assets_front/images/JNJUKWebLogo.png" alt="Img" class="img-responsive img-circle" style="border:none!important;">	
<?php }
?>

                                    </div>-->
									
                                    <div class="logo-company margin-top-20">
                                    	<span>gif, jpg or png file format</span>
			<form name="upload_image" id="upload_image" action="<?php echo base_url();?>front_end/upload_companlogo" method="post" enctype="multipart/form-data">
							<input type="file" id="image" name="image"/> 
									</form>
                                        <a href="#" id="select_logo" title="Change Company logo">Change logo</a>
                                    </div>
                                    <div class="account-admin-section margin-top-30" style="border:none;">
                                    	<!--<h5>Account admin</h5>-->
                                       <!--<ul class="admin-section margin-top-20">
                                            <li><a href="<?php echo base_url();?>front_end/reports"><i class="fa fa-line-chart" aria-hidden="true"></i>Account Activity</a></li>
                                            <li><a href="<?php echo base_url();?>front_end/manage_users"><i class="fa fa-user-plus" aria-hidden="true"></i>Add User</a></li>
                                        </ul>-->
                                    </div>
                                </div>
                            </div>
                            
                            <div class="col-md-9 margin-top-45 mobile-space">
                            	<div class="welcome-right-section">
                                <!--	<h6>JOB N JOB</h6>-->
                                    <p>Welcome&nbsp;<span><?php if($this->session->userdata('logged')) 
{?><?php echo $this->session->userdata('fname').' '.$this->session->userdata('lname');?><?php }?></span></p>
                                    <!--<input type="button" value="Post a Job" onclick="window.location='<?php echo base_url();?>front_end/addjob';">-->
                                </div>
                                <div class="dashboard-adds margin-top-40" style="border-bottom:none;">
                                    <!--<div class="your-section">
                                        <h3>Your Job Posts</h3>
                                    
                                    </div>-->
									<div class="row">
                                    	<ul class="adds-events-section margin-top-20">
                                        	<li class="col-md-4 mobile-space">
                                            	<div class="remaining">
                                                    <div class="remaining-section">
                                                        <img src="<?php echo base_url();?>assets_front/images/reports.png" alt="image">
                                                        <h5>Activity Reports</h5>
                                                    </div>
                                                </div>
                                                 <div class="viw-section">
                                                   <a href="<?php echo base_url();?>front_end/reports">
                                                    <i class="fa fa-chevron-circle-right" aria-hidden="true"></i></a>
                                                 </div>
                                            </li>
                                            <li class="col-md-4 mobile-space">
                                            	<div class="remaining">
                                                    <div class="remaining-section">
                                                     <img src="<?php echo base_url();?>assets_front/images/user.png" alt="image">
                                                        <h5>Add User</h5>
                                                    </div>
                                                </div>
                                                 <div class="viw-section">
                                                    <a href="<?php echo base_url();?>front_end/manage_users">
                                                    <i class="fa fa-chevron-circle-right" aria-hidden="true"></i></a>
                                                 </div>
                                            </li>
                                            <li class="col-md-4">
                                            	<div class="remaining">
                                                    <div class="remaining-section">
                                                     <img src="<?php echo base_url();?>assets_front/images/search.png" alt="image">
                                                        <h5>Search For Candidates</h5>
                                                    </div>
                                                </div>
                                                 <div class="viw-section">
                                                    <a href="<?php echo base_url();?>front_end/browse_candidates">
                                                    <i class="fa fa-chevron-circle-right" aria-hidden="true"></i></a>
                                                 </div>
                                            </li>
                                            
                                        </ul>
                                        <!--<div class="col-md-12 buttenbg-section margin-top-30">
                                        	<input type="button" value="Manage Ads">
                                        </div>-->
                                    </div>
                                    <!--<div class="row">
                                    	<ul class="adds-events-section margin-top-20">
                                        	<li class="col-md-4 mobile-space">
                                            	<div class="remaining">
                                                    <div class="remaining-section">
                                                        <i class="fa fa-pie-chart" aria-hidden="true"></i>
                                                        <h5><span>Remaining</span></h5>
                                                    </div>
                                                </div>
                                                 <div class="viw-section">
                                                    <a href="#">View All</a>
                                                    <i class="fa fa-chevron-circle-right" aria-hidden="true"></i>
                                                 </div>
                                            </li>
                                            <li class="col-md-4 mobile-space">
                                            	<div class="remaining">
                                                    <div class="remaining-section">
                                                        <i class="fa fa-signal" aria-hidden="true"></i>
                                                        <h5>
														<?php
						$sel_number_live=mysql_query("select * from njobn_jobdetails where created_by='".$this->session->userdata('user_id')."' AND job_status=1");
						echo mysql_num_rows($sel_number_live);
														?>
														<span>Active</span></h5>
                                                    </div>
                                                </div>
                                                 <div class="viw-section">
                                                    <a href="<?php echo base_url();?>front_end/recruiters">View All</a>
                                                    <i class="fa fa-chevron-circle-right" aria-hidden="true"></i>
                                                 </div>
                                            </li>
                                            <li class="col-md-4">
                                            	<div class="remaining">
                                                    <div class="remaining-section">
                                                        <i class="fa fa-pencil-square-o" aria-hidden="true"></i>
                                                        <h5><?php
						$sel_number_posted=mysql_query("select * from njobn_jobdetails where created_by='".$this->session->userdata('user_id')."'");
						echo mysql_num_rows($sel_number_posted);
														?><span>Posted</span></h5>
                                                    </div>
                                                </div>
                                                 <div class="viw-section">
                                                    <a href="<?php echo base_url();?>front_end/recruiters">View All</a>
                                                    <i class="fa fa-chevron-circle-right" aria-hidden="true"></i>
                                                 </div>
                                            </li>
                                        </ul>
                                        <div class="col-md-12 buttenbg-section margin-top-30">
                                        	<input type="button" value="Manage Job Posts" onclick="window.location='<?php echo base_url();?>front_end/recruiters';">
                                        </div>
                                    </div>-->
                                 </div>
                                <div class="dashboard-adds adds-profil">
                                    <div class="your-section">
                                        <!--<h3>CV Database</h3>-->
                                       <!-- <span>Last billing period:18 Apr 2016 - 17 May 2016 </span>-->
                                    </div>
                                    <div class="row">
                                    	<ul class="adds-events-section margin-top-20">
                                        	<li class="col-md-4 mobile-space">
                                            	<div class="remaining">
                                                    <div class="remaining-section">
                                                      
                                                     <img src="<?php echo base_url();?>assets_front/images/posts.png" alt="image">
                                                      <h5>Manage Job Posts</h5>
                                                    </div>
                                                </div>
                                                 <div class="viw-section">
                                                     <a href="<?php echo base_url();?>front_end/recruiters">
                                                    <i class="fa fa-chevron-circle-right" aria-hidden="true"></i></a>
                                                 </div>
                                            </li>
                                            <li class="col-md-4 mobile-space">
                                            	<div class="remaining">
                                                    <div class="remaining-section">
                                                       <img src="<?php echo base_url();?>assets_front/images/Create.png" alt="image">
                                                       <h5>Create Job Posts</h5>
                                                    </div>
                                                </div>
                                                 <div class="viw-section">
                                                    <a href="<?php echo base_url();?>front_end/addjob">
                                                    <i class="fa fa-chevron-circle-right" aria-hidden="true"></i></a>
                                                 </div>
                                            </li>
                                            <li class="col-md-4 mobile-space">
                                            	<div class="remaining">
                                                    <div class="remaining-section">
                                                       <img src="<?php echo base_url();?>assets_front/images/account .png" alt="image">
                                                       <h5>Account Settings</h5>
                                                    </div>
                                                </div>
                                                 <div class="viw-section">
                                                    <a href="<?php echo base_url();?>front_end/myaccount?myprofile_data=myprofile_data">
                                                    <i class="fa fa-chevron-circle-right" aria-hidden="true"></i></a>
                                                 </div>
                                            </li>
                                        </ul>
                                        
                                        <!--<div class="col-md-12 buttenbg-section margin-top-30">
                                        	<input type="button" value="Search for candidates">
                                        </div>-->
                                    </div>
									<!--<div class="row">
                                    	<ul class="adds-events-section margin-top-20">
                                        	<li class="col-md-4 mobile-space">
                                            	<div class="remaining">
                                                    <div class="remaining-section">
                                                        <i class="fa fa-download" aria-hidden="true"></i>
                                                        <h5><?php
										//code for cv download
										$selc_qyery_down=mysql_query("select * from cv_counters where download_by='".$this->session->userdata('user_id')."'");
										echo mysql_num_rows($selc_qyery_down);
										?><span>Downloaded</span></h5>
                                                    </div>
                                                </div>
                                                 <div class="viw-section">
                                                    <a href="<?php echo base_url();?>front_end/reports">View All</a>
                                                    <i class="fa fa-chevron-circle-right" aria-hidden="true"></i>
                                                 </div>
                                            </li>
                                            <li class="col-md-4 mobile-space">
                                            	<div class="remaining">
                                                    <div class="remaining-section">
                                                        <i class="fa fa-search" aria-hidden="true"></i>
                                                        <h5><span>Searched</span></h5>
                                                    </div>
                                                </div>
                                                 <div class="viw-section">
                                                    <a href="#">View All</a>
                                                    <i class="fa fa-chevron-circle-right" aria-hidden="true"></i>
                                                 </div>
                                            </li>
                                            <li class="col-md-4 mobile-space">
                                            	<div class="remaining">
                                                    <div class="remaining-section">
                                                        <i class="fa fa-eye" aria-hidden="true"></i>
                                                        <h5><?php
										//code for cv download
										$selc_qyery_view=mysql_query("select * from cv_counters where view_by='".$this->session->userdata('user_id')."'");
										echo mysql_num_rows($selc_qyery_view);
										?><span>Viewed</span></h5>
                                                    </div>
                                                </div>
                                                 <div class="viw-section">
                                                    <a href="<?php echo base_url();?>front_end/reports">View All</a>
                                                    <i class="fa fa-chevron-circle-right" aria-hidden="true"></i>
                                                 </div>
                                            </li>
                                        </ul> 
                                        <div class="col-md-12 buttenbg-section margin-top-30">
                               <input type="button" value="Search for Candidates"  onclick="window.location='<?php echo base_url();?>front_end/browse_candidates';">
                                        </div>
                                    </div>-->
                                 </div>
                            </div>
                       </div>
                    </div>
                </div>
            </div></br>

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