Your IP : 216.73.216.171


Current Path : /home/ereika83/www/wp-content/plugins/sfwd-lms/includes/reports/templates/
Upload File :
Current File : /home/ereika83/www/wp-content/plugins/sfwd-lms/includes/reports/templates/ld-propanel-full-page.php

<?php
/**
 * Template Name: ProPanel Full Page
 *
 * This template can be used to display all the LearnDash ProPanel widgets on a single front-end page. This template will only load the needed
 * styles and scripts used for the widget output and will not conflict with theme or other plugins.
 *
 * Usage:
 * By default this template is available by URL. For example http://www.your-site.com/?ld_propanel
 *
 * @since 4.17.0
 * @version 4.17.0
 *
 * @package LearnDash
 */

defined( 'ABSPATH' ) || exit;
?>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />

		<title><?php esc_html_e( 'LearnDash Reports', 'learndash' ); ?></title>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<?php
		wp_print_styles();
		wp_print_scripts();
		?>
	</head>

	<body class="ld-propanel-full-page">

		<div class="columnsContainer">

			<div class="leftColumn">
			<?php
			if ( ( is_user_logged_in() ) && ( ( learndash_is_group_leader_user() ) || ( learndash_is_admin_user() ) || ( current_user_can( 'propanel_widgets' ) ) )
			&& ( apply_filters( 'ld_propanel_shortcode_show', 'reporting', get_current_user_id() ) ) ) {
				?>
				<h2><?php esc_html_e( 'LearnDash Reporting', 'learndash' ); ?></h2>
				<?php echo do_shortcode( '[ld_propanel widget="reporting"]' ); ?>
			<?php } ?>

			<?php
			if ( ( is_user_logged_in() ) && ( ( learndash_is_group_leader_user() ) || ( learndash_is_admin_user() ) || ( current_user_can( 'propanel_widgets' ) ) )
			&& ( apply_filters( 'ld_propanel_shortcode_show', 'activity', get_current_user_id() ) ) ) {
				?>
				<h2><?php esc_html_e( 'LearnDash Activity Report', 'learndash' ); ?></h2>
				<?php echo do_shortcode( '[ld_propanel widget="activity"]' ); ?>
			<?php } ?>
			</div>

			<div class="rightColumn">
			<?php if ( ( is_user_logged_in() ) && ( ( learndash_is_group_leader_user() ) || ( learndash_is_admin_user() ) ) ) { ?>
				<h2><?php esc_html_e( 'LearnDash Reports Overview', 'learndash' ); ?></h2>
				<?php echo do_shortcode( '[ld_propanel widget="overview"]' ); ?>
			<?php } ?>

			<?php
			if ( ( is_user_logged_in() ) && ( ( learndash_is_group_leader_user() ) || ( learndash_is_admin_user() ) || ( current_user_can( 'propanel_widgets' ) ) )
			&& ( apply_filters( 'ld_propanel_shortcode_show', 'filtering', get_current_user_id() ) ) ) {
				?>
				<h2><?php esc_html_e( 'LearnDash Report Filters', 'learndash' ); ?></h2>
				<?php echo do_shortcode( '[ld_propanel widget="filtering"]' ); ?>
			<?php } ?>

			<?php
			if ( ( is_user_logged_in() ) && ( ( learndash_is_group_leader_user() ) || ( learndash_is_admin_user() ) || ( current_user_can( 'propanel_widgets' ) ) )
			&& ( apply_filters( 'ld_propanel_shortcode_show', 'progress_chart', get_current_user_id() ) ) ) {
				?>
				<h2><?php esc_html_e( 'LearnDash Progress Chart', 'learndash' ); ?></h2>
				<?php echo do_shortcode( '[ld_propanel widget="progress_chart"]' ); ?>
			<?php } ?>
			</div>
		</div>

	<?php
	/*
	?>
	<footer>
		</footer>
	<?php */
	?>
	<?php
		wp_print_footer_scripts();
	?>
	</body>
</html>
<?php ref: https:;// codepen.io/johnstonian/pen/guhid cspell:disable-line ?>