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

	<?php include('include/head.php'); ?>
	<script>
		$(document).ready(function(e){
			$('.scrollup').click(function(){
				$("html, body").animate({ scrollTop: 66 }, 600);
				return false;
			});
			//$(this).animate(function(){
		    $('html, body').animate({
		        scrollTop: $(".body-d").offset().top
		    }, 1000);
		    //});
		});
	</script>
</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(19,"page_title"); }else{ show_web(18,"page_title");} ?><span class="b-down"></span>
						<?php include('include/menu-index.php'); ?>
					</div>
					<div class="main-right-body">
						<div id="tab1" class="content">
							<div class="des-general">
								<div class="title_left"><a href="general-information.php?information=<?php echo '1314'; ?>"><?php if($lang==1){ show_des(13,"title"); }else{ show_des(14,"title");} ?></a></div>
					        	<div id="img_left">
					        		<a href="general-information.php?information=<?php echo '1314'; ?>">
					        			<img src="userfiles/destination/<?php if($lang==1){ show_des(13,"photo"); }else{ show_des(14,"photo"); } ?>" alt="<?php if($lang==1){ show_des(13,"title"); }else{ show_des(14,"title");} ?>">
					        		</a>
					    		</div>
							</div>
							<div class="des-place">
								<div class="title_left"><a href="place-of-interest.php?place=<?php echo '1815' ?>"><?php if($lang==1){ show_des(18,"page_title"); }else{ show_des(15,"page_title");} ?></a></div>
					        	<div id="img_left">
					        		<a href="place-of-interest.php?place=<?php echo '1815' ?>">
					        			<img src="userfiles/destination/<?php if($lang==1){ show_des(18, "photo"); }else{ show_des(15,"photo"); } ?>" alt="<?php if($lang==1){ show_des(18,"page_title"); }else{ show_des(15,"page_title");} ?>">
					        		</a>
					    		</div>
							</div>
							<div class="cls"></div>
						</div><!--/tabs-->
						<?php if($lang==1){ show_web(19,"description"); }else{ show_web(18,"description");} ?>
						<div class="high-light">
							
							<?php
								if($lang==1){	
									$result=$Con->query("SELECT * FROM tbl_tour WHERE language_id=1 AND country_id=4 AND show_to_homepage=1 ORDER  BY order_by ASC LIMIT 3");
									while($row=mysqli_fetch_object($result)){
										$id_en=$row->tour_name_id;
										$country_en=$row->country_id;
							?>
							<div class="high-light-item">
								<a href="#high-<?php echo $id_en; ?>" class="high"><img src="userfiles/tour/<?php echo $row->photo;?>" alt="monk"></a>
								<div class="high-light-title">
									<a href="#high-<?php echo $id_en; ?>" class="high"><?php echo $row->tour_name;?><i class="fa fa-chevron-down"></i></a>
									<div id="high-<?php echo $id_en; ?>" class="high-ex">
										<?php echo $row->highlight_description;?>
										<a href="tour-detail.php?detail=<?php echo $id_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=4 AND show_to_homepage=1 ORDER BY order_by ASC LIMIT 3");
									while($row1=mysqli_fetch_object($result1)){
										$id_gm=$row1->tour_name_id;
										$country_gm=$row1->country_id;
							?>
							<div class="high-light-item">
								<a href="#high-<?php echo $id_gm;?>" class="high"><img src="userfiles/tour/<?php echo $row1->photo; ?>" alt="<?php echo $row1->tour_name; ?>"></a>
								<div class="high-light-title">
									<a href="#high-<?php echo $id_gm;?>" class="high"><?php echo $row1->tour_name; ?><i class="fa fa-chevron-down"></i></a>
									<div id="high-<?php echo $id_gm;?>" class="high-ex">
										
										<?php echo $row1->highlight_description;?>
										<a href="tour-detail.php?detail=<?php echo $id_gm.'&country='.$country_gm;?>" class="b-p">genauer</a>	
									</div>
								</div>
							</div><!--/high-light-item-->
							<?php } } ?>							
						</div><!--/high-light-->
					</div>
				</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>