<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package bottleup
 */

?>

		</div><!-- #content -->
	</div><!-- #page -->
</div><!-- .site -->
<?php /*$home_url = get_home_url(); $current_user = wp_get_current_user(); $description = get_bloginfo( 'description', 'display' ); */?><!--
<?php /*if (!(is_front_page())) : */?>
	<nav id="main-nav" role="navigation">

		<div class="menu-logo-bottleup">
			<img src="<?php /*echo get_template_directory_uri ()."/images/bottleup-intro-logo.png" */?>" alt="<?php /*bloginfo( 'name' ); echo " | ".$description; */?>" title="<?php /*bloginfo( 'name' ); echo " | ".$description; */?>">
		</div>

		<div class="welcome-user">
			<div class="welcome-user-avatar">
				<?php
/*					$user_ID = get_current_user_id();
								echo  get_avatar( $user_ID, 'thumbnail' );
							*/?>
			</div>
			Hi <?php /*echo $current_user->user_login; */?>
		</div>

		<?php /*wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu' ) ); */?>

		<div class="menu-logo-cchellenic">
			<img src="<?php /*echo get_template_directory_uri ()."/images/cc-hellenic-logo.png" */?>" alt="CC Hellenic" title="CC Hellenic">
		</div>

		<div class="logout-user"><a href="<?php /*echo wp_logout_url($home_url); */?>">Logout</a></div>

	</nav>
--><?php /*endif; */?>

<?php wp_footer(); ?>

<!-- Ajax loading -->
<div id="loading"></div>

<!-- Modal -->
<div id="addChallengeModal" class="modal fade" role="dialog">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal">&times;</button>
				<h4 class="modal-title">Add Challenge</h4>
			</div>
			<div class="modal-body">
				<div class="row form-group">
					<div class="col-xs-12">
						<input id="fe-hashtag" type="text" maxlength="40" placeholder="Challenge title" value="" name="hashtag" class="text acf-is-prepended form-control" autocomplete="off" maxlength="30" required>
					</div>
				</div>
				<div class="row form-group">
					<div class="col-xs-12">
						<textarea id="fe-description" placeholder="Challenge description" rows="3" class="form-control" autocomplete="off" maxlength="140" required></textarea>
					</div>
				</div>

			</div>
			<div class="modal-footer">
				<?php $nonce = wp_create_nonce("save_challenge_nonce"); ?>
				<input type="hidden" value="<?php echo $nonce; ?>" class="nonce">
				<button type="button" class="btn btn-default pull-left" data-dismiss="modal">Close</button>
				<button id="save-challenge" type="button" class="btn btn-primary">Save</button>
			</div>
		</div>

	</div>
</div>


</body>
</html>
