Hacked By AnonymousFox

Current Path : /home/wxcglxzi/public_html/wp-content/themes/academy/
Upload File :
Current File : //home/wxcglxzi/public_html/wp-content/themes/academy/sidebar-lesson.php

<div class="lesson-options">
	<?php if(ThemexCourse::isMember()) { ?>
	<form action="<?php echo themex_url(); ?>" method="POST">
		<?php if(ThemexLesson::$data['progress']!=0) { ?>
			<?php if(!ThemexCore::checkOption('lesson_retake')) { ?>
			<a href="#" class="button finish-lesson submit-button"><?php _e('Mark Incomplete', 'academy'); ?></a>
			<input type="hidden" name="lesson_action" value="uncomplete_lesson" />
			<input type="hidden" name="course_action" value="uncomplete_course" />
			<?php } ?>
		<?php } else if(ThemexLesson::$data['prerequisite']['progress']!=0) { ?>
			<?php if(is_singular('quiz')) { ?>
			<a href="#quiz_form" class="button submit-button"><span class="button-icon check"></span><?php _e('Complete Quiz', 'academy'); ?></a>		
			<?php } else if(!empty(ThemexLesson::$data['quiz'])) { ?>
			<a href="<?php echo get_permalink(ThemexLesson::$data['quiz']['ID']); ?>" class="button"><span class="button-icon edit"></span><?php _e('Take a Quiz', 'academy'); ?></a>
			<?php } else { ?>
			<a href="#" class="button submit-button"><span class="button-icon check"></span><?php _e('Mark Complete', 'academy'); ?></a>
			<input type="hidden" name="lesson_action" value="complete_lesson" />
			<input type="hidden" name="course_action" value="complete_course" />
			<?php } ?>
		<?php } ?>
		<input type="hidden" name="lesson_id" value="<?php echo ThemexLesson::$data['ID']; ?>" />
		<input type="hidden" name="course_id" value="<?php echo ThemexCourse::$data['ID']; ?>" />
		<input type="hidden" name="nonce" class="nonce" value="<?php echo wp_create_nonce(THEMEX_PREFIX.'nonce'); ?>" />
		<input type="hidden" name="action" class="action" value="<?php echo THEMEX_PREFIX; ?>update_lesson" />
	</form>
	<?php } ?>
	<?php if(ThemexLesson::$data['ID']!=0) { ?>
	<a href="<?php echo get_permalink(ThemexCourse::$data['ID']); ?>" title="<?php _e('Close Lesson', 'academy'); ?>" class="button close-lesson secondary"><span class="button-icon nomargin close"></span></a>
	<?php } ?>
	<?php if($next=ThemexCourse::getAdjacentLesson(ThemexLesson::$data['ID'])) { ?>
	<a href="<?php echo get_permalink($next->ID); ?>" title="<?php _e('Next Lesson', 'academy'); ?>" class="button next-lesson secondary"><span class="button-icon nomargin next"></span></a>
	<?php } ?>
	<?php if($prev=ThemexCourse::getAdjacentLesson(ThemexLesson::$data['ID'], false)) { ?>
	<a href="<?php echo get_permalink($prev->ID); ?>" title="<?php _e('Previous Lesson', 'academy'); ?>" class="button prev-lesson secondary"><span class="button-icon nomargin prev"></span></a>
	<?php } ?>
</div>
<?php
echo do_shortcode(themex_html(ThemexLesson::$data['sidebar']));

if(!empty(ThemexLesson::$data['attachments'])) {
	get_template_part('module', 'attachments');
}

if(!function_exists('dynamic_sidebar') || !dynamic_sidebar('lesson'));

if(!empty(ThemexCourse::$data['lessons'])) {
	get_template_part('module', 'lessons');
}
?>

Hacked By AnonymousFox1.0, Coded By AnonymousFox
Warning: unlink(/tmp/138.201.207.117:802): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1

Warning: unlink(/tmp/142.11.217.94): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1

Warning: unlink(/tmp/142.11.217.94:80): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1

Warning: unlink(/tmp/94.217.11.142:80): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1