<?php
/**
 * E-mail template for instructor when his course enrolled.
 *
 * @package TutorPro
 * @subpackage Templates\Email
 *
 * @since 2.0.0
 */

?>
<!DOCTYPE html>
<html>

<head>
	<meta http-equiv="Content-Type" content="text/html charset=UTF-8" />
	<?php require TUTOR()->path . 'templates/email/email_styles.php'; ?>
</head>

<body>
	<div class="tutor-email-body">
		<div class="tutor-email-wrapper" style="background-color: #fff;">


			<?php require TUTOR_PRO()->path . 'templates/email/email_header.php'; ?>
			<div class="tutor-email-content">
				<?php require TUTOR_PRO()->path . 'templates/email/email_heading_content.php'; ?>

				<table class="tutor-email-datatable">
					<tr>
						<td><?php esc_html_e( 'Student Name:', 'tutor-pro' ); ?></td>
						<td><strong>{student_username}</strong></td>
					</tr>
					<tr>
						<td><?php esc_html_e( 'Email Address:', 'tutor-pro' ); ?></td>
						<td><strong>{student_email}</strong></td>
					</tr>
					<tr>
						<td><?php esc_html_e( 'Course Name:', 'tutor-pro' ); ?></td>
						<td><strong>{course_name}</strong></td>
					</tr>
				</table>

				<div class="tutor-email-buttons">
					<a target="_blank" class="tutor-email-button-bordered" href="{dashboard_url}"><?php esc_html_e( 'Go to Dashboard', 'tutor-pro' ); ?></a>
					<?php if ( 'private' !== tutor_utils()->get_option( 'student_public_profile_layout' ) ) : ?>
					<a target="_blank" class="tutor-email-button" href="{profile_url}"><?php esc_html_e( 'See Student Profile', 'tutor-pro' ); ?></a>
					<?php endif; ?>
				</div>

			</div>
			<?php require TUTOR_PRO()->path . 'templates/email/email_footer.php'; ?>
		</div>
	</div>
</body>
</html>

