<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

STM_LMS_Templates::show_lms_template( 'header' );

$lms_current_user = STM_LMS_User::get_current_user( '', true, true );

do_action( 'stm_lms_template_main' );

$is_instructor = STM_LMS_Instructor::is_instructor();
$tpl           = ( $is_instructor ) ? 'instructor_' : '';

STM_LMS_Templates::show_lms_template( "account/private/{$tpl}parts/settings", compact( 'lms_current_user' ) );

stm_lms_register_style( 'user' );

STM_LMS_Templates::show_lms_template( 'footer' );
