<?php
/**
 *
 * @package LZ Restaurant Premium
 */
if (get_theme_mod('aboutus_section_disable') != 'on') {
	?>
	<section id="ht-about-us-section" class="ht-section">
		<div class="">
			<div class="container">
				<div class="wow fadeInUp" data-wow-duration="1s">
					<?php
                    // echo "post id: ". 
					$lz_fitness_aboutus_page_id = get_theme_mod('lz_fitness_aboutus_page');
                    // echo '<br>title '.
					$lz_fitness_aboutus_title = get_theme_mod('lz_fitness_aboutus_title', 'About Us');
					$lz_fitness_aboutus_subTitle = get_theme_mod('lz_fitness_aboutus_subTitle', 'Two or three words');
                    // echo '<br> text '.
					$lz_fitness_aboutus_text = get_theme_mod('lz_fitness_aboutus_text', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi maximus sit amet purus sed feugiat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nunc vel ligula in augue tristique pellentesque a in nibh.<br><br> Fusce Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi maximus sit amet purus sed feugiat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. <br><br><br> Nunc vel ligula in augue tristique pellentesque a in nibh.');
					?>

					<div class="row row-eq-height">
						<div class="col-md-5 col-sm-5">														
							<?php include_once 'section-reservation.php';?>						
						</div>
						<div class="col-md-7 col-sm-7">
							<div class="inside-full-height">
								<div class="spacing">
									<div class="ht-section-title-tagline">
										<div class="ht-section-tagline lz-about-text">
											<?php echo $lz_fitness_aboutus_subTitle; ?>
										</div>
										<h2 class="lz-about-heading ht-section-title"><?php echo!empty($lz_fitness_aboutus_title) ? $lz_fitness_aboutus_title : ''; ?></h2>
										<div class="clearfix"></div>
									</div>
								</div>								
								<div class="ht-content lz-about-text">
									<?php
									if ($lz_fitness_aboutus_text) {
										echo $lz_fitness_aboutus_text;
									} else {
										$args = array(
											'page_id' => absint($lz_fitness_aboutus_page_id)
										);
										$query = new WP_Query($args);
										$query->the_post();
										echo lz_fitness_excerpt(get_the_content(), 350);
									}
									?>

								</div>
								<?php if( get_theme_mod('about_button_display','show' ) == 'show') :
							?>
								<?php
								$abtbtntitle = get_theme_mod('aboutus_abtbtntitle', 'Read More'); 
								$abtbtnlink = get_theme_mod('aboutus_abtbtnlink', 'Button link here');
								?>
								<?php if(!empty($abtbtnlink)){ ?>
									<div class='readmore'><a href="<?php echo $abtbtnlink ?>" title="abtbtnlink"><?php echo ($abtbtntitle);  ?></a></div>
								<?php }?> 
						
							<?php endif ?>

							</div>
							<div class="clearfix"></div>
						</div>
						<div class="clearfix"></div>
					</div>
				</div>
			</div>
		</div>
	</section>
	<?php
} 