<?php $__env->startSection('content'); ?>

<section  class="inner-page-desh-pd candidate_dashbroad">
    <div class="container">
        <div class="row">
        	<div class="col-lg-3 col-md-3 col-sm-3 P0">
        		<div class="box_shadow PD text-center">
	        		<div class="apply_job">
	        			<?php if($applyed_job==null): ?>
	        			<a clss="" href="javascript:;" onclick="applyJob('<?php echo e($data[0]->job_id); ?>')"><i class="fa fa-paper-plane"></i> Apply For Job</a>
	        			<?php else: ?>
	        			<a clss="" href="javascript:;"><i class="fa fa-paper-plane"></i> Applied</a>
	        			<?php endif; ?>
	        		</div>
	        	</div>
	        	<div class="box_shadow PD">
	        		<div class="map">
	        			<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3769.867118407127!2d72.84004531437732!3d19.113484555761186!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3be7c9099daee321%3A0xee806d352823428a!2sTogglebytes%20Technologies!5e0!3m2!1sen!2sin!4v1587544593551!5m2!1sen!2sin" width="100%" height="250" frameborder="0" style="border:0;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>
	        			<div class="Profile_location"><i class="fa fa-link" aria-hidden="true"></i> www.abc.com</div>
		                <div class="Profile_location"><i class="fa fa-phone" aria-hidden="true"></i> 1234567890</div>
                        <div class="Profile_location"><i class="fa fa-envelope" aria-hidden="true"></i>  hiren@togglebytes.com</div>                       
	        		</div>
	        	</div>
	        	<div class="box_shadow details_pd">
	        		<div class="day">
	        			<div class="Profile_location"><i class="fa fa-clock-o details_icons" aria-hidden="true"></i> 35 Days</div>
	        		</div>
	        	</div>
	        	<div class="box_shadow details_pd ">
	        		<div class="day">
	        			<div class="Profile_location"><i class="fa fa-search details_icons"></i> 35697 Displayed</div>
	        		</div>
	        	</div>
	        	<div class="box_shadow details_pd">
	        		<div class="day">
	        			<div class="Profile_location"><i class="fa fa-files-o details_icons" aria-hidden="true"></i> 300-500 Application</div>
	        		</div>
	        	</div>
	        	<div class="profile_nav_head">Similar Jobs</div>
	        	<div class="box_shadow similar_job">
	        		<div class="job_num_list">
		        		<div class="day">
		        			<img class="icon_job" src="<?php echo e(url('/')); ?>/accets/frontend/img/01.svg">
		        		</div>
		        		<div class="job_list">	
		        			<span class="Desired_heading">Designer Required</span>
		        			<span class="job_dis">via<a href="#"><span>Trout Design Ltd</span></a></span>
		        			<div class="job-type  MT5"><i class="fa fa-briefcase"></i> Freelance</div>
		        		</div>
		        	</div>
		        	<div class="job_num_list">
		        		<div class="day">
		        			<img class="icon_job" src="<?php echo e(url('/')); ?>/accets/frontend/img/01.svg">
		        		</div>
		        		<div class="job_list">	
		        			<span class="Desired_heading">Designer Required</span>
		        			<span class="job_dis">via<a href="#"><span>Trout Design Ltd</span></a></span>
		        			<div class="job-type  MT5"><i class="fa fa-briefcase"></i> Freelance</div>
		        		</div>
		        	</div>
		        	<div class="job_num_list">
		        		<div class="day">
		        			<img class="icon_job" src="<?php echo e(url('/')); ?>/accets/frontend/img/01.svg">
		        		</div>
		        		<div class="job_list">	
		        			<span class="Desired_heading">Designer Required</span>
		        			<span class="job_dis">via<a href="#"><span>Trout Design Ltd</span></a></span>
		        			<div class="job-type  MT5"><i class="fa fa-briefcase"></i> Freelance</div>
		        		</div>
		        	</div>
	        	</div>
        	</div>
        	<div class="col-lg-9 col-md-9 col-sm-9 PDR0">
    			<div class="col-lg-12 col-md-12 box_shadow P0 Payroll">
    				<div class="col-lg-2 col-md-2 P0">
	    				<div class="day">
		        			<img class="icon_job" src="<?php echo e(url('/')); ?>/accets/frontend/img/01.svg">
		        		</div>
		        	</div>
		        	<div class="col-lg-8 col-md-8 P0">
		        		<div class="profile_des_title"><?php echo e($data[0]->job_title); ?></div>
		        		<div class="col-lg-12 col-md-12">
			        		<span class="Profile_location"><i class="fa fa-map-marker" aria-hidden="true"></i> <?php echo e($data[0]->city_name); ?>, <?php echo e($data[0]->state_name); ?></span>
		        			<span class="Profile_location ML25">
	                            <i class="fa fa-phone" aria-hidden="true"></i> 06565656565 
	                        </span>
	                    </div>
	                    <div class="col-lg-12 col-md-12">
			        		<span class="Profile_location"> <i class="fa fa-envelope" aria-hidden="true"></i> hiren@togglebytes.com</span>
	                    </div>
		        	</div>
		        	<div class="col-lg-2 col-md-2 P0">
		        		<div class="Fav_list text-center ">
			                <a class="btn hurt-btn social-btn adWish" type="button" data-id="<?php echo e($data[0]->job_id); ?>">
			                	<span><i class="fa fa-heart" aria-hidden="true" <?php if($candidate_wish!=null): ?> style="color: red;" <?php endif; ?>></i> </span> 
			                </a>
			            </div>
			            <div class="Profile_location MT10">
			            	<i class="fa fa-clock-o " aria-hidden="true"></i><?php echo e(time_elapsed_string($data[0]->job_created)); ?></div>
		        	</div>
    			</div>
    			<div class="col-lg-12 col-md-12 box_shadow P0 Payroll_Client_details">
    				<div class="col-lg-4 col-md-4 col-sm-4">
    					<div class="job_num_list">
			        		<div class="day">
			        			<i class="fa fa-briefcase details_icons frnt" aria-hidden="true"></i>
			        		</div>
			        		<div class="job_list">	
			        			<span class="Desired_heading">Job Type </span>
			        			<div class="Profile_location"> <?php echo e(($data[0]->job_type=='1') ? 'Permanent':'Contractual'); ?></div>
			        		</div>
			        	</div>
    				</div>
    				<div class="col-lg-4 col-md-4 col-sm-4">
    					<div class="job_num_list">
			        		<div class="day">
			        			<i class="fa fa-building-o details_icons frnt" aria-hidden="true"></i>
			        		</div>
			        		<div class="job_list">	
			        			<span class="Desired_heading">Job Position</span>
			        			<div class="Profile_location"> <?php echo e($data[0]->job_positions); ?></div>
			        		</div>
			        	</div>
    				</div>
    				<div class="col-lg-4 col-md-4 col-sm-4">
    					<div class="job_num_list">
			        		<div class="day">
			        			<i class="fa fa-clock-o details_icons frnt" aria-hidden="true"></i>
			        		</div>
			        		<div class="job_list">	
			        			<span class="Desired_heading">Job Shift</span>
			        			<div class="Profile_location"><?php if($data[0]->job_shift=='1'){echo 'Day';}else if($data[0]->job_shift=='2'){echo 'Night';}else{echo 'Flexible';}?></div>
			        		</div>
			        	</div>
    				</div>
    				<div class="col-lg-4 col-md-4 col-sm-4">
    					<div class="job_num_list">
			        		<div class="day">
			        			<i class="fa fa-industry details_icons frnt" aria-hidden="true"></i>
			        		</div>
			        		<div class="job_list">	
			        			<span class="Desired_heading">Industry</span>
			        			<div class="Profile_location"><?php echo e($data[0]->indu_title); ?></div>
			        		</div>
			        	</div>
    				</div>
    				<div class="col-lg-4 col-md-4 col-sm-4">
    					<div class="job_num_list">
			        		<div class="day">
			        			<i class="fa fa-search details_icons frnt" aria-hidden="true"></i>
			        		</div>
			        		<div class="job_list">	
			        			<span class="Desired_heading">Functional Area </span>
			        			<div class="Profile_location"><?php echo e($data[0]->fun_functional_area); ?></div>
			        		</div>
			        	</div>
    				</div>
    				<div class="col-lg-4 col-md-4 col-sm-4">
    					<div class="job_num_list">
			        		<div class="day">
			        			<i class="fa fa-money details_icons frnt" aria-hidden="true"></i>
			        		</div>
			        		<div class="job_list">	
			        			<span class="Desired_heading">Offered Salary</span>
			        			<div class="Profile_location"> <?php echo e(number_format($data[0]->job_salary_from)); ?> - <?php echo e(number_format($data[0]->job_salary_to)); ?></div>
			        		</div>
			        	</div>
    				</div>
    				<div class="col-lg-4 col-md-4 col-sm-4">
    					<div class="job_num_list">
			        		<div class="day">
			        			<i class="fa fa-venus details_icons frnt" aria-hidden="true"></i>
			        		</div>
			        		<div class="job_list">	
			        			<span class="Desired_heading">Gender</span>
			        			<div class="Profile_location"><?php echo e(($data[0]->job_gender=='1') ? 'Male': 'Female'); ?></div>
			        		</div>
			        	</div>
    				</div>
    				<div class="col-lg-4 col-md-4 col-sm-4">
    					<div class="job_num_list">
			        		<div class="day">
			        			<i class="fa fa-line-chart details_icons frnt" aria-hidden="true"></i>
			        		</div>
			        		<div class="job_list">	
			        			<span class="Desired_heading">Career Level</span>
			        			<div class="Profile_location">
			        				<?php if($data[0]->job_carrer_level=='1'){echo 'Department Head';}else if($data[0]->job_carrer_level=='2'){echo 'Entry Level';}else if($data[0]->job_carrer_level=='3'){echo 'Experienced Professional';}else if($data[0]->job_carrer_level=='4'){echo 'GM / CEO / Country Head / President';}else{echo "Intern/Student";}?>			        				
			        			</div>
			        		</div>
			        	</div>
    				</div>
    				<div class="col-lg-4 col-md-4 col-sm-4">
    					<div class="job_num_list">
			        		<div class="day">
			        			<i class="fa fa-certificate details_icons frnt" aria-hidden="true"></i>
			        		</div>
			        		<div class="job_list">	
			        			<span class="Desired_heading">Experience</span>
			        			<div class="Profile_location"> <?php echo e($data[0]->job_experience); ?> Years</div>
			        		</div>
			        	</div>
    				</div>   			
    				<div class="col-lg-4 col-md-4 col-sm-4">
    					<div class="job_num_list">
			        		<div class="day">
			        			<i class="fa fa-graduation-cap details_icons frnt" aria-hidden="true"></i>
			        		</div>
			        		<div class="job_list">	
			        			<span class="Desired_heading">Qualification</span>
			        			<div class="Profile_location"><?php echo e($data[0]->edu_type); ?></div>
			        		</div>
			        	</div>
    				</div>
    				<div class="col-lg-4 col-md-4"></div>
    				<div class="col-lg-4 col-md-4"></div>
    			</div>
    			<div class="col-lg-12 col-md-12 box_shadow P0 Payroll_Client_details">
    				<div class="Desired_heading">Job Description</div>
    				<div class="Profile_summ"><?php echo e($data[0]->job_description); ?></div>
    			</div>
    			<div class="col-lg-12 col-md-12 box_shadow P0 Payroll_Client_details">
    				<div class="Desired_heading">Required Knowledge, Skills, and Abilities</div>
    				<div>
                        <div class="Desired_heading">Key Skills </div>
                        <div class="key_skills">
                        	<?php $s= explode(',', $data[0]->skills);foreach($s as $val){?>
                            <span class="skills_list"><?php echo e($val); ?></span>
                        	<?php }?>
                        </div>
                     </div>
    			</div>
    		</div>
        </div>
    </div>
</section>
<script type="text/javascript" src="<?php echo e(url('/')); ?>/accets/frontend/js/search_job.js"></script>
<?php 
	function time_elapsed_string($datetime, $full = false)
	{

        date_default_timezone_set("Asia/kolkata");

	    $now = new DateTime;

	    $ago = new DateTime($datetime);

	    $diff = $now->diff($ago);


	    $diff->w = floor($diff->d / 7);

	    $diff->d -= $diff->w * 7;



	    $string = array(

	        'y' => 'year',

	        'm' => 'month',

	        'w' => 'week',

	        'd' => 'day',

	        'h' => 'hour',

	        'i' => 'minute',

	        's' => 'second',

	    );

	    foreach ($string as $k => &$v) {

	        if ($diff->$k) {

	            $v = $diff->$k . ' ' . $v . ($diff->$k > 1 ? 's' : '');

	        } else {

	            unset($string[$k]);

	        }

	    }

	    if (!$full) $string = array_slice($string, 0, 1);


	    return $string ? implode(', ', $string) . ' ago' : 'just now';

	}
?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.frontmaster', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>