<div class="ulp-course-enroll-wrapp" id="<?php echo 'ulp_enroll_box_course_' . $data['course_id'];?>">

	<?php if (empty($data['already_enrolled'])):?>

		<?php if ($data['user_can_enroll']):?>

				<div class="ulp-enroll-course-the-button" data-cid="<?php echo $data['course_id'];?>" id="<?php echo 'enroll_course_' . $data['course_id'];?>" ><?php _e('Enroll', 'ulp');?></div>

		<?php else:?>

				<div class="ulp-enroll-course-the-button-disabled" ><?php _e('Enroll', 'ulp');?></div>

				<div class="ulp-course-enroll-message-danger"><?php echo stripslashes($data['reason']);?></div>

		<?php endif;?>

	<?php else:?>

		<div class="ulp-course-enroll-message-success"><?php _e('Already Enrolled', 'ulp');?></div>

	<?php endif;?>

</div>

