<div class="banner-slider" style="background-image: url(<?php echo base_url(); ?>public/uploads/<?php echo $portfolio['banner']; ?>)">
	<div class="bg"></div>
	<div class="bannder-table">
		<div class="banner-text">
			<h1><?php echo $portfolio['name']; ?></h1>
		</div>
	</div>
</div>


<div class="single-service-area pt_30 pb_60">
	<div class="container">
		<div class="row">
			<div class="col-lg-9 col-md-8">
				<div class="carousel slide" data-ride="carousel" id="quote-carousel">
					<?php
					$j=0;
					?>

					<div class="carousel-inner">
					
						<div class="item active" style="background-image: url(<?php echo base_url(); ?>public/uploads/<?php echo $portfolio['photo']; ?>)">
							<div class="lightbox-inner">
								<a href="<?php echo base_url(); ?>public/uploads/<?php echo $portfolio['photo']; ?>" data-lightbox="lightbox-item"><i class="fa fa-search-plus"></i></a>
							</div>
						</div>

						<?php						
						foreach ($portfolio_photo as $row) {
							?>
							<div class="item" style="background-image: url(<?php echo base_url(); ?>public/uploads/portfolio_photos/<?php echo $row['photo']; ?>)">
								<div class="lightbox-inner">
									<a href="<?php echo base_url(); ?>public/uploads/portfolio_photos/<?php echo $row['photo']; ?>" data-lightbox="lightbox-item"><i class="fa fa-search-plus"></i></a>
								</div>
							</div>
							<?php
						}
						?>
									
					</div>
					
					<?php if($portfolio_photo_total>=1): ?>
					<ul class="carousel-indicators single-carousel owl-carousel">
					
						<li data-target="#quote-carousel" data-slide-to="0" class="active"><img class="img-responsive" src="<?php echo base_url(); ?>public/uploads/<?php echo $portfolio['photo']; ?>" alt=""></li>

						<?php
						foreach ($portfolio_photo as $row) {
							$j++;
							?>
							<li data-target="#quote-carousel" data-slide-to="<?php echo $j; ?>"><img class="img-responsive" src="<?php echo base_url(); ?>public/uploads/portfolio_photos/<?php echo $row['photo']; ?>" alt=""></li>
							<?php
						}
						?>
									
					</ul>
					<?php endif; ?>
				</div>

				<div class="single-service-text recent-single-text pt_30">
					<h4><?php echo DESCRIPTION; ?></h4>
					<p>
						<?php echo $portfolio['content']; ?>
					</p>
				</div>
				
				<div class="single-service-text recent-single-text pt_10">
					<div class="table-responsive">
						<table class="table table-bordered project-desc">
							<tr>
								<td><h4><?php echo CLIENT_NAME; ?></h4></td>
								<td><?php echo $portfolio['client_name']; ?></td>
							</tr>
							<tr>
								<td><h4><?php echo CLIENT_COMPANY; ?></h4></td>
								<td><?php echo $portfolio['client_company']; ?></td>
							</tr>
							<tr>
								<td><h4><?php echo PROJECT_START_DATE; ?></h4></td>
								<td><?php echo $portfolio['start_date']; ?></td>
							</tr>
							<tr>
								<td><h4><?php echo PROJECT_END_DATE; ?></h4></td>
								<td><?php echo $portfolio['end_date']; ?></td>
							</tr>
						</table>
					</div>
				</div>
				<div class="single-service-text recent-single-text">
					<h4><?php echo CLIENT_COMMENT; ?></h4>
					<div class="client-comment">
						<?php echo $portfolio['client_comment']; ?>
					</div>
				</div>				
			</div>
			
			<div class="col-lg-3 col-md-4">
				<div class="sidebar">
					<div class="sidebar-item category">
						<h3><?php echo PROJECTS; ?></h3>
						<ul>
							<?php
							foreach ($portfolio_order_by_name as $row) {
								?>
								<li><a href="<?php echo base_url(); ?>portfolio/view/<?php echo $row['id']; ?>"><?php echo $row['name']; ?></a></li>
								<?php
							}
							?>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>