HEX
Server: LiteSpeed
System: Linux l24.yourwebhosting.net 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: turkishi (1582)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/self/root/proc/self/cwd/wp-content/themes/kidzieo/theme-parts/course/course-style-1.php
<?php 
	$course_id	= get_the_ID();
	
	$course		= LP_Global::course();
?>
<div class="post-item">
	<div class="pbmit-featured-container">
		<?php pbmit_get_featured_data( array( 'size' => 'pbmit-img-740x450' ) ); ?>
	</div>
	<div class="pbminfotech-box-content">
		<div class="pbminfotech-box-content-inner">
			<div class="pbmit-meta-cat-wrapper pbmit-meta-line">
				<div class="pbmit-meta-category"><?php echo get_the_term_list( get_the_ID(), 'course_category', '', ', ' ); ?></div>
			</div>
			<h3 class="pbmit-post-title"><a href="<?php the_permalink(); ?>"><?php echo pbmit_esc_kses( get_the_title() ); ?></a></h3>
			<?php if( has_excerpt() ) : ?>
				<div class="pbmit-course-content"><?php the_excerpt(); ?></div>
			<?php endif; ?>
			<div class="pbmit-meta-wrapper">
				<div class="pbmit-meta-lessons-wrapper d-flex align-items-center justify-content-between">
					<div class="pbmit-meta pbmit-meta-duration pbmit-meta-line">
						<?php  $course = LP_Global::course();?>
						<div class="pbminfotech-duration-wrap">
							<i class="pbmit-base-icon-scalable-1"></i>	
							<?php echo learn_press_get_post_translated_duration( get_the_ID(), esc_html__( 'Lifetime access', 'kidzieo' ) ); ?>
						</div>
					</div>
					<div class="pbmit-meta pbmit-meta-student pbmit-meta-line">
						<span class="value">
							<i class="pbmit-base-icon-children-1"></i>
							<?php 
								$students = $course->count_students(); ?>
							<span class="lesson-value">
								<?php echo wp_kses_post($students);?>
							</span>
							<span class="label"><?php esc_html_e( 'Kids', 'kidzieo' ); ?></span>
						</span>	
					</div>
					<div class="pbmit-meta pbmit-meta-lessons pbmit-meta-line">
						<span class="value">
							<i class="pbmit-base-icon-book"></i>
							<?php 
								$couser_get = $course->get_curriculum_items('lp_lesson') ? count( $course->get_curriculum_items('lp_lesson') ) : 0; ?>								
							<span class="lesson-value">
								<?php echo wp_kses_post($couser_get);?>
							</span>
							<span class="label"><?php esc_html_e( 'lesson', 'kidzieo' ); ?></span>
						</span>	
					</div> 
				</div>
			</div>
		</div>
		<div class="pbmit-course-wrapper d-flex align-items-center justify-content-between">
			<div class="pbmit-meta pbmit-meta-auther pbmit-meta-line d-flex align-items-center">
				<?php echo pbmit_esc_kses( $course->get_instructor()->get_profile_picture() ) ; ?>	
				<div class="pbmit-auther-info">
					<?php echo pbmit_esc_kses( $course->get_instructor_html() ); ?>
					<label><?php esc_html_e( 'Instructor', 'kidzieo' ); ?></label>
				</div>			
			</div>			
			<div class="pbminfotech-price-wrap">
				<span class="pbmit-course-sale-price"><?php echo pbmit_esc_kses($course->get_price_html()); ?></span>
				<span class="pbmit-course-price"><?php echo pbmit_esc_kses($course->get_regular_price_html()); ?></span>
			</div>
		</div>
	</div>
</div>