<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jpswalsh/academicons/css/academicons.min.css">
<div class="page-header-area">
<div class="container">
<div class="page-header-content">
<h2 class="title"><span class="inner">Profile Details</span></h2>
<ul class="links">
<li><a href="<?php echo site_url($school->school_url); ?>"><?php echo $this->lang->line('home'); ?></a></li>
<li><a href="<?php echo site_url($school->school_url.'/teachers/active'); ?>"><?php echo $this->lang->line('faculty'); ?></a></li>
<li><a href="javascript:void(0);">Profile Details</a></li>
</ul>
</div>
</div>
</div>
<div class="news-details-area">
<div class="container">
<div class="row">
<div class="col-md-4 col-sm-4 faculty-detail-left">
<?php if(isset($profile_detail) && !empty($profile_detail)){ ?>
<div class="single-teacher">
<div class="top">
<div class="img">
<?php if(isset($profile_detail->photo) && !empty($profile_detail->photo)){ ?>
<img src="<?php echo UPLOAD_PATH; ?>teacher-photo/<?php echo $profile_detail->photo; ?>" alt="">
<?php }else{ ?>
<img src="<?php echo IMG_URL; ?>default-user.png" alt="">
<?php } ?>
</div>
<h4><?php echo $profile_detail->name; ?></h4>
<?php if($profile_detail->status==2){ ?>
<h4 style="background-color:yellow;color:red;" class="title">Study Leave</h4>
<?php } ?>
<p>
<span class="inner">
<?php echo $profile_detail->department; ?>
</span>
</p>
<span class="inner" style="font-size:14px">
<?php echo $school->school_name; ?>
</span>
</div>
<ul class="meta">
<!--<li><span class="icon"><i class="fas fa-graduation-cap"></i></span> <?php echo $head_details->phone ? $head_details->phone : ' '; ?></li>-->
<li><span class="icon"><i class="fas fa-phone-volume"></i></span> <?php echo $profile_detail->phone ? $profile_detail->phone : ' '; ?></li>
<li style="word-break: break-all;"><span class="icon"><i class="fas fa-envelope"></i></span> <?php echo $profile_detail->email ? $profile_detail->email : ' '; ?></li>
<li><span class="icon"><i class="fas fa-map-marker-alt"></i></span> <?php echo $profile_detail->present_address ? $profile_detail->present_address : ' '; ?></li>
<li><span class="icon"><i class="fas fa-tint"></i></span> <?php echo $profile_detail->blood_group ? $this->lang->line($profile_detail->blood_group) : ' '; ?></li>
</ul>
<div class="bottom" style="background-color:white;">
<ul class="social">
<?php if($profile_detail->facebook_url){ ?>
<li><a title="Facebook" target="_blank" href="<?php echo $profile_detail->facebook_url; ?>"><i class="fab fa-facebook-f"></i></a></li>
<?php } ?>
<?php if($profile_detail->linkedin_url){ ?>
<li><a title="linkedin" target="_blank" href="<?php echo $profile_detail->linkedin_url; ?>"><i class="fab fa-linkedin-in"></i></a></li>
<?php } ?>
<?php if($profile_detail->twitter_url){ ?>
<li><a title="twitter" target="_blank" href="<?php echo $profile_detail->twitter_url; ?>"><i class="fab fa-twitter"></i></a></li>
<?php } ?>
<?php if($profile_detail->instagram_url){ ?>
<li><a title="instagram" target="_blank" href="<?php echo $profile_detail->instagram_url; ?>"><i class="fab fa-instagram"></i></a></li>
<?php } ?>
<?php if($profile_detail->youtube_url){ ?>
<li><a title="Youtube" target="_blank" href="<?php echo $profile_detail->youtube_url; ?>"><i class="fab fa-youtube"></i></a></li>
<?php } ?>
</ul>
<hr />
<ul class="social">
<?php if($profile_detail->gcholar_url){ ?>
<li><a title="Google Scholar" target="_blank" href="<?php echo $profile_detail->gcholar_url; ?>"><span style="color: #3D46C6;"><i class="ai ai-google-scholar-square ai-2x"></i></span></a></li>
<?php } ?>
<?php if($profile_detail->orchid_url){ ?>
<li><a title="ORCID" target="_blank" href="<?php echo $profile_detail->orchid_url; ?>"><span style="color: #b2c046;"><i class="ai ai-orcid-square ai-2x"></i></span></a></li>
<?php } ?>
<?php if($profile_detail->rgate_url){ ?>
<li><a title="Research Gate" target="_blank" href="<?php echo $profile_detail->rgate_url; ?>"><span style="color: #00CABA;"><i class="ai ai-researchgate-square ai-2x"></i></a></li>
<?php } ?>
<?php if($profile_detail->scopus_url){ ?>
<li><a title="Scopus" target="_blank" href="<?php echo $profile_detail->scopus_url; ?>"><span style="color: #E9711C;"><i class="ai ai-scopus ai-2x"></i></span></a></li>
<?php } ?>
<?php if($profile_detail->academia_url){ ?>
<li><a title="Academia" target="_blank" href="<?php echo $profile_detail->academia_url; ?>"><span style="color: #E9711C;"><i class="ai ai-academia ai-2x"></i></span></a></li>
<?php } ?>
</ul>
<hr />
<?php if($profile_detail->resume){ ?>
<div align="center"><a style="color:white;" target="_blank" class="btn btn-info btn-lg" href="<?php echo UPLOAD_PATH; ?>/teacher-resume/<?php echo $profile_detail->resume; ?>"><i class="fas fa-cloud-download-alt"></i> Download Resume</a></div>
<?php } ?>
<hr />
<?php if($profile_detail->pinterest_url){ ?>
<div align="center"><a style="color:white;" target="_blank" class="btn btn-info btn-lg" href="<?php echo $profile_detail->pinterest_url; ?>">Web:<?php echo $profile_detail->pinterest_url; ?></a></div>
<?php } ?>
</div>
</div>
</div>
<div class="col-md-8 col-sm-8">
<h5 class="margin-top-10"><b>Short Biography: </b></h5>
<hr />
<p align="justify">
<?php if(isset($profile_detail->short_bio) && !empty($profile_detail->short_bio)){
echo $profile_detail->short_bio;
} else{ ?>
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<p class="text-center"><strong>No short biography is found.</strong></p>
</div>
<?php } ?>
</p>
<br />
<!-- <h5 class="margin-top-10"><b>Research Area: </b></h5>
<hr />
<?php if(isset($researchareas) && !empty($researchareas)){ ?>
<?php foreach($researchareas as $researchareasbj){?>
<a style="color:white;" class="btn btn-info" href="#"><?php echo $researchareasbj->title; ?></a>
<br />
<?php } ?>
<?php } else{ ?>
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<p class="text-center"><strong>No research area is found.</strong></p>
</div>
<?php } ?>-->
<h5 class="margin-top-10"><b>Research Interest: </b></h5>
<hr />
<?php //echo $profile_detail->other_info; ?>
<p align="justify">
<?php if(isset($profile_detail->other_info) && !empty($profile_detail->other_info)){
echo $profile_detail->other_info;
} else{ ?>
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<p class="text-center"><strong>No research interest is found.</strong></p>
</div>
<?php } ?>
</p>
<hr />
<!-- Nav pills -->
<ul class="nav nav-tabs nav-justified" role="tablist">
<li class="nav-item">
<a class="nav-link active" data-toggle="pill" href="#Research_Publication">Research & Publication</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="pill" href="#academic_info">Academic Info</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="pill" href="#experience">Experience & Training</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="pill" href="#Activity">Awards & Membership</a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div id="Research_Publication" class="container tab-pane active"><br>
<?php if(isset($research_type) && !empty($research_type)){ ?>
<?php $type=""; foreach($research_type as $research_typeobj){
?>
<h5 class="margin-top-10"><b><?php echo $research_typeobj->type;?>: </b></h5>
<?php if(isset($research) && !empty($research)){ ?>
<table class="table table-striped">
<tbody>
<?php foreach($research AS $obj ){
$type=$obj->type;
if($type==$research_typeobj->type){
$i=1;
?>
<tr>
<th scope="row">[<?php echo $i; ?>].</th>
<td> <?php echo $obj->title; ?> ,
<?php echo $obj->description; ?>
</td>
</tr>
<?php $i++;} } ?>
</tbody>
</table>
<?php } else{ ?>
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<p class="text-center"><strong><?php echo $this->lang->line('no_data_found'); ?></strong></p>
</div>
<?php } ?>
<?php } }?>
</div>
<div id="academic_info" class="container tab-pane fade"><br>
<h5 class="margin-top-10"><b>Academic Info: </b><br></h5>
<?php if(isset($education) && !empty($education)){ ?>
<table class="table table-striped">
<tbody>
<?php $i=1;foreach($education AS $obj ){
?>
<tr>
<th scope="row">[<?php echo $i; ?>].</th>
<td> <?php echo $obj->exam_name; ?> in <?php echo $obj->subject_group; ?>, <?php echo $obj->passing_year; ?> <br /><?php echo $obj->institute; ?>, <?php echo $obj->country; ?>
</td>
</tr>
<?php $i++;} ?>
</tbody>
</table>
<?php } else{ ?>
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<p class="text-center"><strong><?php echo $this->lang->line('no_data_found'); ?></strong></p>
</div>
<?php } ?>
</div>
<div id="experience" class="container tab-pane fade"><br>
<h5 class="margin-top-10"><b>Experience Info: </b><br></h5>
<?php if(isset($experience) && !empty($experience)){ ?>
<table class="table table-striped">
<!-- <thead>
<tr>
<th>Organization</th>
<th>Designation</th>
<th class="width10per" nowrap="">From Date</th>
<th class="width10per">To Date</th>
</tr>
</thead>-->
<tbody>
<?php $i=1;foreach($experience AS $obj ){
?>
<tr>
<th scope="row">[<?php echo $i; ?>].</th>
<td> <?php echo $obj->designation; ?> , <?php echo $obj->organization; ?>, <?php echo date('M j,Y', strtotime($obj->start_date)); ?> to <?php if($obj->end_date){echo date('M j,Y', strtotime($obj->end_date));} else {echo "Continue";} ?>
</td>
</tr>
<!-- <tr>
<td> <?php echo $obj->organization; ?>
</td>
<td> <?php echo $obj->designation; ?>
</td>
<td> <?php echo date('M j,Y', strtotime($obj->start_date)); ?>
</td>
<td> <?php if($obj->end_date){echo date('M j,Y', strtotime($obj->end_date));} else {echo "Continue";} ?>
</td>
</tr>-->
<?php $i++;} ?>
</tbody>
</table>
<?php } else{ ?>
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<p class="text-center"><strong><?php echo $this->lang->line('no_data_found'); ?></strong></p>
</div>
<?php } ?>
<h5 class="margin-top-10"><b>Training Info: </b><br></h5>
<?php if(isset($training) && !empty($training)){ ?>
<table class="table table-striped">
<!-- <thead>
<tr>
<th>Training Title</th>
<th>Organization</th>
<th>Training Area</th>
<th class="width10per" nowrap="">From Date</th>
<th class="width10per">To Date</th>
</tr>
</thead>-->
<tbody>
<?php $i=1;foreach($training AS $obj ){
?>
<tr>
<th scope="row">[<?php echo $i; ?>].</th>
<td> <?php echo $obj->title; ?> ,
<?php echo $obj->organization; ?> ,
<?php echo date('M j,Y', strtotime($obj->start_date)); ?> to <?php echo date('M j,Y', strtotime($obj->end_date)); ?>
</td>
</tr>
<!-- <tr>
<td> <?php echo $obj->title; ?>
</td>
<td> <?php echo $obj->organization; ?>
</td>
<td> <?php echo $obj->responsibility; ?>
</td>
<td> <?php echo date('M j,Y', strtotime($obj->start_date)); ?>
</td>
<td> <?php if($obj->end_date){echo date('M j,Y', strtotime($obj->end_date));} else {echo "Continue";} ?>
</td>
</tr>-->
<?php $i++;} ?>
</tbody>
</table>
<?php } else{ ?>
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<p class="text-center"><strong><?php echo $this->lang->line('no_data_found'); ?></strong></p>
</div>
<?php } ?>
</div>
<div id="Activity" class="container tab-pane fade"><br>
<h5 class="margin-top-10"><b>Award Info: </b><br></h5>
<?php if(isset($award) && !empty($award)){ ?>
<table class="table table-striped">
<tbody>
<?php $i=1;foreach($award AS $obj ){
?>
<tr>
<th scope="row">[<?php echo $i; ?>].</th>
<td> <?php echo $obj->title; ?>,<?php echo $obj->organization; ?>, <?php echo $obj->duration; ?>
</td>
</tr>
<?php $i++;} ?>
</tbody>
</table>
<?php } else{ ?>
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<p class="text-center"><strong><?php echo $this->lang->line('no_data_found'); ?></strong></p>
</div>
<?php } ?>
<h5 class="margin-top-10"><b>Membership Info: </b><br></h5>
<?php if(isset($membership) && !empty($membership)){ ?>
<table class="table table-striped">
<tbody>
<?php $i=1;foreach($membership AS $obj ){
?>
<tr>
<th scope="row">[<?php echo $i; ?>].</th>
<td> <?php echo $obj->title; ?>,<?php echo $obj->organization; ?>, <?php echo $obj->duration; ?>
</td>
</tr>
<?php $i++;} ?>
</tbody>
</table>
<?php } else{ ?>
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<p class="text-center"><strong><?php echo $this->lang->line('no_data_found'); ?></strong></p>
</div>
<?php } ?>
</div>
</div>
<!-- <h5 class="margin-top-10"><b>Journal publications</h5>
<hr />
<br>
<strong>[1]</strong> N/A
<br>
<strong>Conference publications</strong>
<hr />
<br>
<strong>[1]</strong> N/A
<br>
<h5 class="margin-top-10"><b>Journal Papers: </b></h5><br>
<table class="table publication">
<tbody>
<tr>
<th scope="row">1.</th>
<td> </td>
</tr>
</tbody>
</table>
<h5 class="margin-top-10"><b>Conference Papers: </b></h5><br>
<table class="table publication">
<tbody>
<tr>
<th scope="row">1.</th>
<td> </td>
</tr>
<tr>
<th scope="row">2.</th>
<td> </td>
</tr>
</tbody>
</table>-->
<?php }else{ ?>
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<p class="text-center"><strong><?php echo $this->lang->line('no_data_found'); ?></strong></p>
</div>
<?php } ?>
</div>
</div>
<!--<div class="row">
<div class="col-lg-8 col-12">
<div class="news-details-content">
<?php if(isset($news) && !empty($news)){ ?>
<h2 class="title"><?php echo $news->title; ?></h2>
<div class="banner">
<?php if(isset($news->image) && !empty($news->image)){ ?>
<img src="<?php echo UPLOAD_PATH; ?>news/<?php echo $news->image; ?>" alt="">
<?php }else{ ?>
<img src="<?php echo IMG_URL; ?>news-image.jpg" alt="">
<?php } ?>
</div>
<ul class="meta">
<li><span class="icon"><i class="fas fa-user-circle"></i></span> <?php echo $this->lang->line('by'); ?> / <?php echo $news->name; ?></li>
<li><span class="icon"><i class="fas fa-calendar-alt"></i></span> <?php echo date($this->global_setting->date_format, strtotime($news->date)); ?></li>
</ul>
<p class="text">
<?php echo nl2br($news->news); ?>
</p>
<?php }else{ ?>
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<p class="text-center"><strong><?php echo $this->lang->line('no_data_found'); ?></strong></p>
</div>
<?php } ?>
</div>
</div>
<div class="col-lg-4 col-12">
<div class="sidebar">
<div class="sidebar-widget">
<div class="title-wrapper">
<h2 class="title">
<img src="<?php echo IMG_URL; ?>front/icon/heading-<?php echo $school->theme_name; ?>.png" alt="">
<?php echo $this->lang->line('latest_news'); ?>
</h2>
</div>
<?php if(isset($latest_news) && !empty($latest_news)){ ?>
<?php foreach($latest_news AS $obj ){ ?>
<div class="sw-single-news">
<a href="<?php echo site_url($school->school_url.'/news-detail/'.$obj->id); ?>">
<span class="img">
<?php if(isset($obj->image) && !empty($obj->image)){ ?>
<img src="<?php echo UPLOAD_PATH; ?>news/<?php echo $obj->image; ?>" alt="">
<?php }else{ ?>
<img src="<?php echo IMG_URL; ?>news-image.jpg" alt="">
<?php } ?>
</span>
<span class="content">
<span class="news-title"><?php echo $obj->title; ?></span>
<span class="meta">
<span class="info"><span class="icon"><i class="fas fa-user-circle"></i></span> <?php echo $this->lang->line('by'); ?> / <?php echo $obj->name; ?></span>
<span class="info"><span class="icon"><i class="fas fa-calendar-alt"></i></span> <?php echo date($this->global_setting->date_format, strtotime($obj->date)); ?></span>
</span>
</span>
</a>
</div>
<?php } ?>
<?php } ?>
</div>
</div>
</div>
</div>-->
</div>
</div>