[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.221.182.89: ~ $
<?php
/**
 * @package TutorLMS/Templates
 * @version 1.4.3
 */
$product_id = tutor_utils()->get_course_product_id();
$download = new EDD_Download( $product_id );

if ($download->ID) {
	if(!is_user_logged_in()) {
		/**
		 * Add required loggedin class
		 * @since v 1.5.5
		 */
		$button_behavior = edd_get_download_button_behavior( $download->ID );
		$args = apply_filters( 'edd_purchase_link_defaults', array(
			'text'        => $button_behavior == 'direct' ? edd_get_option( 'buy_now_text', esc_html__( 'Buy Now', 'zilom' ) ) : edd_get_option( 'add_to_cart_text', esc_html__( 'Purchase', 'zilom' ) ),
			'style'       => edd_get_option( 'button_style', 'button' ),
			'color'       => edd_get_option( 'checkout_color', 'blue' ),
			'class'       => 'edd-submit cart-required-login'
		) );
		$button_text = edd_currency_filter( edd_format_amount( $download->price ) ) .'&nbsp;&ndash;&nbsp;'. $args['text'];
		$button_class = implode( ' ', array( $args['style'], $args['color'], $args['class'] ) );

		echo '<button class="'.$button_class.'">'.$button_text.'</button>';
	} else {
		echo edd_get_purchase_link( array( 'download_id' => $download->ID ) );
	}
}

Filemanager

Name Type Size Permission Actions
content Folder 0755
add-to-cart-edd.php File 1.13 KB 0644
add-to-cart-woocommerce.php File 2.19 KB 0644
course-author.php File 342 B 0644
course-continue.php File 499 B 0644
course-in-cart.php File 566 B 0644
course-price-edd.php File 895 B 0644
course-price-woocommerce.php File 796 B 0644
course-price.php File 789 B 0644
course.php File 211 B 0644
end_content_wrap.php File 74 B 0644
footer.php File 2.01 KB 0644
header.php File 1.06 KB 0644
loop-after-content.php File 130 B 0644
loop-before-content.php File 130 B 0644
loop-end.php File 137 B 0644
loop-start.php File 1.34 KB 0644
meta.php File 1.31 KB 0644
rating.php File 510 B 0644
start_content_wrap.php File 95 B 0644
title.php File 306 B 0644
tutor-pagination.php File 691 B 0644