<!DOCTYPE html>
<html lang="en">
<?php
	include('include/session.php');
	include('include/function.php');
	include('include/db.php');
	$slide=1;
?>
<head>
	<meta charset="UTF-8">
	<title><?php if($lang==1){ show_web(2,"site_title");} else{ echo show_web(3,"site_title"); } ?></title>
	<meta name="description" content="<?php if($lang==1){ show_web(2,"site_description");} else{ echo show_web(3,"site_description"); } ?>" />
    <meta name="keywords" content="<?php if($lang==1){ show_web(2,"site_keyword");} else{ echo show_web(3,"site_keyword"); } ?>" />

	<?php include('include/head.php'); ?>
	<script>
		$(document).ready(function(e){
			$('.scrollup').click(function(){
				$("html, body").animate({ scrollTop: 0 }, 600);
				return false;
			});
			//$(this).animate(function(){
		    $('html, body').animate({
		        scrollTop: $(".body-d").offset().top
		    }, 1000);
		    //});
		});
	</script>
	<style>

	</style>
</head>
<body>
		<?php include('include/slide.php'); ?>
	<div id="main">
		<div class="container">
			<?php
				if($lang==1){
			 		include('include/left-en.php'); 
			 	}else{
			 		include('include/left-gm.php');
			 	}
			 ?>

			<div class="main-right">
				<?php include('include/top-place.php'); ?>
				<div class="body-d"></div>
				<div class="main-right-content">
					<div class="titile-welcome"> 
						<?php if($lang==1){ show_web(2,"page_title");} else{ echo show_web(3,"page_title"); } ?><span class="b-down"></span>
						<?php include('include/menu-index.php'); ?>
					</div>
					<div class="main-right-body">
						
						
						<div class="high-light">
							<?php if($lang==1){ show_web(2,"description");} else{ echo show_web(3,"description"); } ?>
							<?php
								if($lang==1){
									$result=$Con->query("SELECT * FROM tbl_tour WHERE language_id=1 AND country_id=1 ORDER BY order_by ASC LIMIT 3");
									while($row=mysqli_fetch_object($result)){
									$detail_en=$row->tour_name_id;
									$country_en=$row->country_id;
								
							?>
							<div class="high-light-item">
								<a href="#high-<?php echo $detail_en;?>" class="high"><img src="userfiles/tour/<?php echo $row->photo;?>" alt="<?php echo  $row->photo;?>"></a>
								<div class="high-light-title">
									<a href="#high-<?php echo $detail_en;?>" class="high"><?php echo $row->tour_name ?><i class="fa fa-chevron-down"></i></a>
									<div id="high-<?php echo $detail_en;?>" class="high-ex">
										<?php echo $row->highlight_description; ?>										
										<a href="tour-detail.php?detail=<?php echo $detail_en.'&country='.$country_en;?>" class="b-p">more detail</a>	
									</div>
								</div>
							</div><!--/high-light-item-->
							<?php 
								}
								 }
								else{
									$result1=$Con->query("SELECT * FROM tbl_tour WHERE language_id=2 AND country_id=1 ORDER BY order_by ASC LIMIT 3");
									while($row1=mysqli_fetch_object($result1)){
										$detail_gm=$row1->tour_name_id;
										$country_gm=$row1->country_id;
							?>

							<div class="high-light-item">
								<a href="#high-<?php echo $detail_gm; ?>" class="high"><img src="userfiles/tour/<?php  echo $row1->photo;?>" alt="<?php  echo $row1->photo;?>"></a>
								<div class="high-light-title">
									<a href="#high-<?php echo $detail_gm; ?>" class="high"><?php echo $row1->tour_name;?><i class="fa fa-chevron-down"></i></a>
									<div id="high-<?php echo $detail_gm; ?>" class="high-ex">
										
										<?php echo $row1->highlight_description;?>
										<a href="tour-detail.php?detail=<?php echo $detail_gm.'&country='.$country_gm;?>" class="b-p">genauer</a>	
									</div>
								</div>
							</div><!--/high-light-item-->
							<?php } } ?>
							</div>							
						</div><!--/high-light-->
					</div>
				</div>
			</div><!--/main-right-->
			<?php include ('include/destination.php'); ?>
			<?php include('include/travel-style.php'); ?>
		</div><!--/container-->
	</div><!--/main-->
	
	<?php include('include/script.php'); ?>
</body>
</html>