<?php
/**
 * Стандартный вариант футера.
 * 
 *
 * @author veselka.ua
 * @version 0.1
 *
 * @package veselka_ua/themes
 */

?>
	<footer id="footer" class="affix-sub" itemscope itemtype="http://schema.org/WPFooter">

	<?php
		// Подключение меню футера
		get_template_part('view/footer/_select_menu'); 
	?>

		<div id="footer-content" itemscope itemtype="http://schema.org/Organization">
			<div class="container">
				<div class="row">

					<div class="col-sm-6 col-sm-push-6 col-md-2 col-md-push-0">
						<div id="sprite">
							<a id="sprite-logo" class="sprite-img" href="<?php echo home_url(); ?>" title="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>"><span></span></a>
						</div><!-- /#sprite -->
					</div>

					<div class="col-sm-6 col-sm-pull-6 col-md-3 col-md-pull-0">
						<div id="footer-nav">
							<a href="#" class="modal-show" data-target="#modal-contact-form" role="button" data-toggle="modal" title="<?php echo __('Ask a question', 'spiral' ); ?>">
								<i class="fa fa-question-circle" aria-hidden="true"></i>
								&nbsp;<?php echo __('Ask a question', 'spiral' ); ?>
							</a>
							<a href="#" class="modal-show" data-target="#modal-ask-form" role="button" data-toggle="modal" title="<?php echo __('Ask for call back', 'spiral' ); ?>">
								<i class="fa fa-phone" aria-hidden="true"></i>
								&nbsp;<?php echo __('Request a call', 'spiral' ); ?>
							</a>
							<!--<a href="#" class="modal-show" data-target="#modal-reservation-form" role="button" data-toggle="modal" title="Бронирование номера"><i class="fa fa-calendar" aria-hidden="true"></i> Бронирование</a> -->
						</div><!-- /#footer-nav -->
					</div>

					<div class="clearfix visible-sm-block"></div>

					<div class="col-sm-6 col-md-4">
						<div id="footer-contacts">

						<?php
							if( has_action( 'all_phones_list' ) ) {
								do_action( 'all_phones_list' );
							}
						?>

						<?php
							if( has_action( 'microdata_email' ) ) {
								do_action( 'microdata_email' );
							}
						?>

						<?php
							if( has_action( 'microdata_address' ) ) {
								do_action( 'microdata_address' );
							}
						?>

						</div><!-- /#contacts -->
					</div>

					<div class="col-sm-6 col-md-3">
						<div id="veselka">

							<?php
								if( has_action( 'social_networks_footer' ) ) {
									do_action( 'social_networks_footer' );
								}
							?>

							<a id="veselka-logo" class="sprite-img" href="http://veselka.ua" title="Создание и продвижение сайта" target="_blank"><span></span></a>

						</div><!-- /#veselka -->
					</div>

				</div><!-- /.row -->
			</div><!-- /.container -->
		</div><!-- /#footer-content -->

		<?php get_template_part('view/footer/_footer_footer'); ?>

	</footer><!-- #site-footer -->