<div class="ulp-watch-list-items-wrapp">
    <?php if ($data ['items']):?>
    <div class="ulp-list-courses-wrapp ulp-wishlist-courses-wrapp">
        <?php foreach ($data['items'] as $course_id => $course_data):?>
            <div class="ulp-list-courses-item-wrapp ulp-watch-list-item ulp-remove-<?php echo $course_id;?>">
					<?php if($course_data['feature_image']):?>
							<div class="ulp-feat-img-wrapp">
                            	<?php if( $course_data['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_data['feature_image'];?>');">
                                <div class="ulp-list-course-wishlist-wrapper"></div>
                                <span class="ulp-list-course-wishlist"><i class="fa-ulp fa-watch_list-ulp ulp-pointer js-remove-watch-list" data-course_id="<?php echo $course_id;?>"></i></span>
                                </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 Ulp_Permalinks::getForCourse($course_id);?>" target="_blank"><?php  echo $course_data['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_data['create_date']);?> / <?php echo  $course_data['total_modules']. " ". __('Modules', 'ulp');?></div>
						</div>
                        <div class="ulp-list-courses-item-wrapp-excerpt">
                        	<?php  echo $course_data['excerpt'];?>
                        </div>
                        <ul class="ulp-list-courses-item-wrapp-third-content">
                        	<li>
                            	<div class="ulp-avatar">
									<img src="<?php echo $course_data['author_image']; ?>" />
                                </div>
                                <label><?php echo __('Teacher ', 'ulp'); ?></label>
                                <strong><?php  echo$course_data['author_name'];?></strong>
                            </li>
                            <li>
                            	<label><?php echo __('Students ', 'ulp'); ?></label>
                                <strong><?php  echo $course_data['number_of_students'] . ' '. __('Students ', 'ulp');;?></strong>
                            </li>
                            <li>
                            	<label><?php echo __('Category ', 'ulp'); ?></label>
                                <strong><?php  echo  $course_data['category'];?></strong>
                            </li>
                        </ul>

					</div>
				</div>
        <?php endforeach;?>
    </div>
	<?php else :?>
        <div class="ulp-additional-message"><?php _e('You have no favorite Courses stored yet!', 'ulp');?></div>
    <?php endif;?>
</div>
