[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.144.31.187: ~ $
<?php
/**
 * Template for displaying price of course within the loop.
 *
 * This template can be overridden by copying it to yourtheme/learnpress/loop/course/price.php.
 *
 * @author  ThimPress
 * @package  Learnpress/Templates
 * @version  4.0.0
 */

/**
 * Prevent loading this file directly
 */
defined( 'ABSPATH' ) || exit();

$course = learn_press_get_course();
if ( ! $course ) {
	return;
}
$class = ( $course->has_sale_price() ) ? ' has-origin' : '';
if ( $course->is_free() ) {
	$class .= ' free-course';
}
?>

<div class="course-price" itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
	<?php if ( $price_html = $course->get_price_html() ) { ?>
        <div class="value <?php echo $class; ?>" itemprop="price">
			<?php if ( $course->get_origin_price() != $course->get_price() ) { ?>
				<?php $origin_price_html = $course->get_origin_price_html(); ?>
                <span class="course-origin-price"><?php echo $origin_price_html; ?></span>
			<?php } ?>
			<?php echo $price_html; ?>
        </div>
        <meta itemprop="priceCurrency" content="<?php echo learn_press_get_currency(); ?>"/>
	<?php } ?>
</div>

Filemanager

Name Type Size Permission Actions
instructor.php File 776 B 0644
pagination.php File 1.01 KB 0644
price.php File 1.11 KB 0644
students.php File 772 B 0644