403Webshell
Server IP : 69.72.244.102  /  Your IP : 216.73.216.164
Web Server : LiteSpeed
System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : konzalta ( 1271)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/konzalta/public_html/wp-content/plugins/tutor/templates/loop/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/konzalta/public_html/wp-content/plugins/tutor/templates/loop/header.php
<?php
/**
 * Course thumb header
 *
 * @package Tutor\Templates
 * @subpackage CourseLoopPart
 * @author Themeum <support@themeum.com>
 * @link https://themeum.com
 * @since 1.5.8
 */

?>
<?php 
	tutor_course_loop_thumbnail(); 
	$is_enabled_wishlist = tutor_utils()->get_option( 'enable_wishlist', true );
?>
<?php if ( $is_enabled_wishlist ) : ?>
<div class="tutor-course-bookmark">
	<?php
	$course_id      = get_the_ID();
	$is_wish_listed = tutor_utils()->is_wishlisted( $course_id );

	$login_url_attr = '';
	$action_class   = '';

	if ( is_user_logged_in() ) {
		$action_class = apply_filters( 'tutor_wishlist_btn_class', 'tutor-course-wishlist-btn' );
	} else {
		$action_class = apply_filters( 'tutor_popup_login_class', 'tutor-open-login-modal' );

		if ( ! tutor_utils()->get_option( 'enable_tutor_native_login', null, true, true ) ) {
			$login_url_attr = 'data-login_url="' . esc_url( wp_login_url() ) . '"';
		}
	}
	//phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped -- $login_url_attr contain safe data
	echo '<a href="javascript:;" ' . $login_url_attr . ' class="' . esc_attr( $action_class ) . ' save-bookmark-btn tutor-iconic-btn tutor-iconic-btn-secondary" data-course-id="' . esc_attr( $course_id ) . '">
		<i class="' . ( $is_wish_listed ? 'tutor-icon-bookmark-bold' : 'tutor-icon-bookmark-line' ) . '"></i>
	</a>';
	?>
</div>
<?php endif; ?>

Youez - 2016 - github.com/yon3zu
LinuXploit