<div class="row mb-4">
    <div class="col-lg-12 col-md-12 mb-md-0">
        <div class="card">
            <div class="card-header pb-0">
                <div class="row">
				<?php
				foreach($proApps as $thisApp)
				{
				?>
				<!-- Start repeat -->
                    <div class="col-lg-6 col-md-6 mt-6 mb-6">
					<div class="card z-index-2 ">
					<div class="card-header p-0 position-relative mt-n4 mx-3 z-index-2 bg-transparent">
					<div class=" shadow-secondary border-radius-lg py-3 pe-1">
					<div id="carousel<?php echo $thisApp['id']; ?>Indicators" class="carousel slide" data-ride="carousel">
					  <ol class="carousel-indicators">
						<li data-target="#carousel<?php echo $thisApp['id']; ?>Indicators" data-slide-to="0" class="active"></li>
						<li data-target="#carousel<?php echo $thisApp['id']; ?>Indicators" data-slide-to="1"></li>
						<li data-target="#carousel<?php echo $thisApp['id']; ?>Indicators" data-slide-to="2"></li>
					  </ol>
					  <div class="carousel-inner">
					  <?php
					  $firstImage = true;
					  foreach($thisApp['images'] as $thisImage)
					  {
						  if($firstImage)
						  {
							  $active = " active";
						  }
						  else
						  {
							   $active = "";
						  }
						  ?>
						   <div class="carousel-item <?php echo $active; ?>">
						  <img class="d-block w-100" src="<?php echo $thisImage; ?>">
						</div>
						  <?php
						  $firstImage = false;
					  }
					  
					  ?>
					  </div>
					  <a class="carousel-control-prev" href="#carousel<?php echo $thisApp['id']; ?>Indicators" role="button" data-slide="prev">
						<span class="carousel-control-prev-icon" aria-hidden="true"></span>
						<span class="sr-only">Previous</span>
					  </a>
					  <a class="carousel-control-next" href="#carousel<?php echo $thisApp['id']; ?>Indicators" role="button" data-slide="next">
						<span class="carousel-control-next-icon" aria-hidden="true"></span>
						<span class="sr-only">Next</span>
					  </a>
					</div>
					</div>
					</div>
					<div class="card-body">
					<h6 class="mb-0 "><?php echo $thisApp['name']; ?></h6>
					<p class="text-sm "><?php echo $thisApp['desc']; ?></p>
					<hr class="dark horizontal">
					<div class="d-flex ">
					<p class="mb-0 text-sm"><?php echo $thisApp['pricehosted']; ?></p>
					</div>
					<div class="d-flex">
					<p class="mb-0 text-sm"><?php echo $thisApp['pricefiles']; ?></p>
					</div>
					<div class="d-flex">
						<a href="">
							<button class="btn btn-success btn-sm mb-0">Get in touch to order or for more info</button>
						</a>					</div>
					</div>
					</div>
					</div>
					<!-- End repeat -->
					<?php
				}
					?>
                </div>
            </div>
            
            </div>
        </div>
    </div>
</div>