<?php include('header.php');?>

			<!-- ================================
			///// Begin page header section /////
			================================= -->
			<section id="page-header-secion" class="alter-heading">

				<!-- Begin page header image 
				===============================
				* Use class "parallax" to enable parallax effect.
				-->
				<div class="page-header-image parallax bg-image" style="background-image: url(assets/img/headings/heading-6.jpg); background-position: 50% 70%;"></div>
				<!-- End page header image -->

				<!-- Element cover -->
				<div class="cover page-header-cover"></div>

				<!-- Begin page header info -->
				<div class="container page-header-content no-padding max-width-800 text-center">
					<div class="row">
						<div class="col-lg-12">

							<h1 class="album-title">Yash Photography</h1>
						 

						</div> <!-- /.col -->
					</div> <!-- /.row -->
				</div> 
				<!-- End page header info -->

			</section>
			<!-- End page header section -->


		 
			<!-- ===============================================
			///// Begin content section (portfolio single) /////
			================================================ -->
			<section id="content-section" class="portfolio-single portfolio-single-2">

				<!-- Begin content wrap -->
				<div class="content-wrap">

					<div class="container full-width"> <!-- Use class "max-width-1200" or "full-width" -->
						<div class="row">

							<div class="col-left col-md-6 col-lg-8 f-height">

								<!-- Begin gallery
								=================== 
								* Use classes "hover-center", "hover-boxed", "hover-dark", "hover-simple" to change album single item hover variations.
								-->
								<div id="gallery" class="lightgallery f-height hover-center hover-boxed">


									<!-- Begin content carousel (https://owlcarousel2.github.io/OwlCarousel2/)
									====================================================================
									* Use class "nav-outside" for outside nav.
									* Use class "nav-outside-top" for outside top nav.
									* Use class "nav-rounded" for rounded nav.
									* Use class "dots-outside" for outside dots.
									* Use class "dots-left" or "dots-right" to align dots.
									* Use class "dots-rounded" for rounded dots.
									* Use class "owl-mousewheel" to enable mousewheel support.
									* Available carousel data attributes:
											data-items="5".......................(items visible on desktop)
											data-tablet-landscape="4"............(items visible on mobiles)
											data-tablet-portrait="3".............(items visible on mobiles)
											data-mobile-landscape="2"............(items visible on tablets)
											data-mobile-portrait="1".............(items visible on tablets)
											data-loop="true".....................(true/false)
											data-margin="10".....................(space between items)
											data-center="true"...................(true/false)
											data-start-position="0"..............(item start position)
											data-animate-in="fadeIn".............(more animations: http://daneden.github.io/animate.css/)
											data-animate-out="fadeOut"...........(more animations: http://daneden.github.io/animate.css/)
											data-mouse-drag="false"..............(true/false)
											data-touch-drag="false"..............(true/false)
											data-autoheight="true"...............(true/false)
											data-autoplay="true".................(true/false)
											data-autoplay-timeout="5000".........(milliseconds)
											data-autoplay-hover-pause="true".....(true/false)
											data-autoplay-speed="800"............(milliseconds)
											data-drag-end-speed="800"............(milliseconds)
											data-lazy-load="true"................(true/false)
											data-nav="true"......................(true/false)
											data-nav-speed="800".................(milliseconds)
											data-dots="false"....................(true/false)
											data-dots-speed="800"................(milliseconds)
									-->
									<?php
										$photo_details_id = $_GET['photo_details_id'];
										$photo_details_query = mysql_query("select * from photo_details where photo_details_id = ".$photo_details_id." order by photo_details_id asc");
										if(mysql_num_rows($photo_details_query)>0){	
										while($photo_details_row=mysql_fetch_array($photo_details_query)){
											$photo_id = $photo_details_row['photo_id'];
										}
										}
										$photo_cnt_query = mysql_query("select * from photo_details where photo_id = ".$photo_id."");
										$photo_cnt = mysql_num_rows($photo_cnt_query);
										$photo_query = mysql_query("select * from photo inner join customer on customer.customer_code=photo.customer_code inner join photo_category on photo_category.photo_category_id=photo.photo_category_id inner join function_category on function_category.function_category_id=photo.function_category_id where photo.photo_id = ".$photo_id." and photo.status = 'yes' order by photo.photo_id asc");
										if(mysql_num_rows($photo_query)>0){	
										while($photo_row=mysql_fetch_array($photo_query)){
										$cus_name = $photo_row['name'];
										$function_category_name = $photo_row['function_category_name'];
										$photo_category_name = $photo_row['photo_category_name'];
										}
										}
										
									?>	
									<div class="owl-carousel dots-rounded dots-outside nav-rounded" data-items="1" data-margin="6" data-nav="true" data-animate-in="fadeIn" data-animate-out="fadeOut">
										
										<?php
										$photo_details_query = mysql_query("select * from photo_details where photo_details_id = ".$photo_details_id." order by photo_details_id asc");
										if(mysql_num_rows($photo_details_query)>0){	
										while($photo_details_row=mysql_fetch_array($photo_details_query)){
										$url = $photo_details_row['url'];
										?>
										<!-- Begin album single item -->
										<div class="album-single-item">
											<div class="full-cover bg-image" style="background-image: url(<?php echo $base_url; ?>admin/uploads/photo/<?php echo $url; ?>); background-position: 50% 25%;"></div>
											<!-- Begin item cover -->
											<div class="asi-cover">
												<a class="asi-link lg-trigger" href="<?php echo $base_url; ?>admin/uploads/photo/<?php echo $url; ?>" data-exthumbnail="<?php echo $base_url; ?>admin/uploads/photo/<?php echo $url; ?>" data-sub-html="<h4><?php echo $cus_name; ?></h4> <p>Yash Photography, One of the best candid photographers & wedding cinematographers based in Tamil Nadu.</p>">
													<div class="asi-info">
														<h2 class="asi-title">Yash Photography</h2>
														<h5 class="asi-sub-title">Madurai</h5>
													</div>
												</a>
												<!-- Begin add to favorites button -->
												<div class="favorite-btn">
													<div class="fav-inner">
														<div class="icon-heart">
															<span class="icon-heart-empty"></span>
															<span class="icon-heart-filled"></span>
														</div>
													</div>
													<div class="fav-count"></div>
												</div>
												<!-- End add to favorites button -->
											</div>
											<!-- End item cover -->
										</div>
										<!-- End album single item -->
										<?php
										}
										}
										?>
										<?php
										$photo_details_query = mysql_query("select * from photo_details where photo_id = ".$photo_id." and photo_details_id != ".$photo_details_id." order by photo_details_id asc");
										if(mysql_num_rows($photo_details_query)>0){	
										while($photo_details_row=mysql_fetch_array($photo_details_query)){
										$url = $photo_details_row['url'];
										?>
										<!-- Begin album single item -->
										<div class="album-single-item">
											<div class="full-cover bg-image" style="background-image: url(<?php echo $base_url; ?>admin/uploads/photo/<?php echo $url; ?>); background-position: 50% 25%;"></div>
											<!-- Begin item cover -->
											<div class="asi-cover">
												<a class="asi-link lg-trigger" href="<?php echo $base_url; ?>admin/uploads/photo/<?php echo $url; ?>" data-exthumbnail="<?php echo $base_url; ?>admin/uploads/photo/<?php echo $url; ?>" data-sub-html="<h4><?php echo $cus_name; ?></h4> <p>Yash Photography, One of the best candid photographers & wedding cinematographers based in Tamil Nadu.</p>">
													<div class="asi-info">
														<h2 class="asi-title">Yash Photography</h2>
														<h5 class="asi-sub-title">Madurai</h5>
													</div>
												</a>
												<!-- Begin add to favorites button -->
												<div class="favorite-btn">
													<div class="fav-inner">
														<div class="icon-heart">
															<span class="icon-heart-empty"></span>
															<span class="icon-heart-filled"></span>
														</div>
													</div>
													<div class="fav-count"></div>
												</div>
												<!-- End add to favorites button -->
											</div>
											<!-- End item cover -->
										</div>
										<!-- End album single item -->
										<?php
										}
										}
										?>
										

									</div>
									<!-- End content carousel -->

								</div>
								<!-- End gallery -->

							</div> <!-- /.col -->

							<div class="col-right col-md-6 col-lg-4 f-height">

								<!-- Begin portfolio-info -->
								<div class="portfolio-info">
									<div class="portfolio-info-inner">
									
										<h1 class="portfolio-title">About Project:</h1>

										<!-- Begin portfolio meta -->
										<div class="album-meta">
											<span class="photos-count"><?php echo $photo_cnt; ?> Photos</span>
											<!--<span class="photos-views">563 Views</span>-->
										</div>
										<!-- End portfolio meta -->

										<!-- Begin author -->
										<div class="author">
											<a href="#" class="author-avatar bg-image" style="background-image: url(assets/img/author.jpg); background-position: 50% 50%;"></a>
											<a href="#" class="author-info">- Author: Yash Photography</a>
										</div>
										<!-- End author -->

										<!-- Begin portfolio description -->
										<div class="album-description margin-top-20">
											<div class="al-desc-inner">
												<p class="p">Yash Photography, One of the best candid photographers & wedding cinematographers based in Tamil Nadu. We have been in this field for more than 20 years.</p>

												<!-- Begin description toggle (hidden by default) -->
												<div class="al-desc-toggle">
													<p class="p"> Ours is not a regular typical photography, As a candid photographer & wedding cinematographers we photograph the deepest sense & feelings of the family… </p>
												</div>
												<!-- End description toggle -->
											</div>

											<!-- Begin doggle trigger -->
											<div class="al-desc-toggle-trigger">
												<span class="al-desc-more"><i class="fas fa-chevron-down"></i> More</span>
												<span class="al-desc-less"><i class="fas fa-chevron-up"></i> Less</span>
											</div>
											<!-- End doggle trigger -->
										</div>
										<!-- End portfolio description -->

										<!-- Begin portfolio atr -->
										<div class="portfolio-atr margin-top-30">
											<ul class="list-unstyled">
												<li>
													<h4 class="head">Client:</h4>
													<span class="info"><?php echo $cus_name; ?>(<?php echo $function_category_name; ?>)</span>
												</li>

												<li>
													<h4 class="head">Website:</h4>
													<span class="info"><a target="_blank" href="#"> www.yashphotography.com </a></span>
												</li>

												<li>
													<h4 class="head">Category:</h4>
													<span class="info"><a href="#"><?php echo $photo_category_name; ?></a></span>
												</li>

												<!-- Begin portfolio share -->
												<li class="portfolio-share">
													<h4 class="head">Share:</h4>
													<span class="info"><a href="#0" title="Share to Facebook"><i class="fab fa-facebook-f"></i></a></span>
													<span class="info"><a href="#0" title="Share to Twitter"><i class="fab fa-twitter"></i></a></span>
													<span class="info"><a href="#0" title="Share to Google Plus"><i class="fab fa-google-plus-g"></i></a></span>
													<span class="info"><a href="#0" title="Share to Pinterest"><i class="fab fa-pinterest-p"></i></a></span>
													<span class="info"><a href="#0" title="Share to Instagram"><i class="fab fa-instagram"></i></a></span>
												</li>
												<!-- End portfolio share -->

											</ul>
										</div>
										<!-- End portfolio atr -->

									</div> <!-- /.portfolio-info-inner -->

									<!-- Begin portfolio info bottom -->
									<div class="portfolio-info-bottom">

									 

									</div>
									<!-- End portfolio info bottom -->
								</div>
								<!-- End portfolio-info -->

							</div> <!-- /.col -->

						</div> <!-- /.row -->
					</div> <!-- /.container -->

				</div>
				<!-- End content wrap -->

			</section>
			<!-- End content section -->
<?php include('footer.php');?>