<div class="ulp-student-profile-tab-the-title"><?php echo $data ['title'];?></div>
<div class="ulp-student-profile-tab-the-content"><?php echo $data ['content'];?></div>
<div>
    <?php if ($Student->StudentHasCourse()):
	?>
    <div class="ulp-list-courses-wrapp ulp-my-courses-wrapp">
     <?php foreach ($Student->student_courses as $course_id => $course_details): ?>
    	<div class="ulp-list-courses-item-wrapp">
					<?php if($course_details['feature_image']):?>
							<div class="ulp-feat-img-wrapp">
                            	<?php if( $course_details['is_featured']): ?>
                                	<span class="ulp-sale"><span class="ulp-text-sale"><?php _e('Sale', 'ulp');?></span></span>
								<?php endif;?>
                                <div class="ulp-feat-img-single-course" style="min-width:<?php echo Ulp_Global_Settings::get('ulp_multiplecourses_imagesize_width');?>px; height:<?php echo Ulp_Global_Settings::get('ulp_multiplecourses_imagesize_height');?>px; background-image:url('<?php echo $course_details['feature_image'];?>');">
                                </div>
                                
								<!--div class="ulp-course-price"></div-->
                            </div>
					<?php endif;?>
					<div class="ulp-list-courses-item-wrapp-content">
						<div class="ulp-list-courses-item-title">
                        	<a href="<?php  echo $course_details['permalink'];?>" target="_blank"><?php  echo $course_details['title'];?></a>
                            <?php echo do_shortcode("[ulp-course-list-tags course_id={$course_id}]");?>
                        </div>
						<div class="ulp-list-courses-item-wrapp-second-content">
                        	<div><?php echo  ulp_print_date_like_wp($course_details['create_date']);?> / <?php echo  $course_details['total_modules']. " ". __('Modules', 'ulp');?></div>
						</div>
                        <div class="ulp-list-courses-item-wrapp-excerpt">
                        	<?php  echo $course_details['excerpt'];?>
                        </div>
                        <ul class="ulp-list-courses-item-wrapp-third-content">
                        	<li>
                            	<div class="ulp-avatar">
									<img src="<?php echo $course_details['author_image']; ?>" />
                                </div>
                                <label><?php echo __('Teacher ', 'ulp'); ?></label>
                                <strong><?php  echo $course_details['author_name'];?></strong>
                            </li>
                            <li>
                            	<label><?php echo __('Students ', 'ulp'); ?></label>
                                <strong><?php  echo $course_details['number_of_students'] . ' '. __('Students ', 'ulp');;?></strong>
                            </li>
                            <li>
                            	<label><?php echo __('Category ', 'ulp'); ?></label>
                                <strong><?php  echo  $course_details['category'];?></strong>
                            </li>
                        </ul>
						<div class="ulp-progress-wrapp">
								<div class="ulp-float-left"><?php echo  ulp_print_date_like_wp($course_details['start_time']);?></div>
								<div  class="ulp-float-right"><?php echo __('Expires on: ', 'ulp') .  ulp_print_date_like_wp($course_details['end_time']);?></div>
								<div class="clear"></div>
								<div class="ulp-progress-bar">
									<div class="ulp-progress-completed" style="width:<?php echo  $course_details['progress'];?>;"></div>
                                </div>
						</div>
					</div>
				</div>
        <?php endforeach;?>        
    </div>
    <?php else:?>
    <div class="ulp-additional-message"><?php _e('You have no enrolled Courses yet!', 'ulp');?></div>
    <?php endif;?>
</div>
