[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.218.1.38: ~ $
<?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  3.0.1
 */

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

$course = LP_Global::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
author.php File 1.08 KB 0644
instructor.php File 1.09 KB 0644
loop-begin.php File 351 B 0644
loop-end.php File 347 B 0644
pagination.php File 1.07 KB 0644
price.php File 1.11 KB 0644
students.php File 767 B 0644
thumbnail.php File 838 B 0644