<?php require_once("header.php");?>

<?php
$fetch_category = mysqli_fetch_array(mysqli_query($connection,"SELECT * FROM `sc_category` WHERE `category_id` = '".$_GET['category_id']."'"));
?>

			<!-- page template area start -->
			<section id="about">
				<div class="container mt-0 pb-0 pt-0">
					<div class="col-lg-12">
				        <div class="row">
				            <h1 class="title mt-5 mb-10" style="text-align:center;"><?php echo stripslashes($fetch_category['category_name']);?></h1>
    				    </div>
    					<div class="row multi-row-clearfix">
    					    <div class="">
    					    <?php
    						$sql_service = "SELECT * FROM `sc_services` WHERE `category_id` = '".$_GET['category_id']."' AND `service_status` = 'Active' ORDER BY `service_id` ASC";
    						$exe_service = mysqli_query($connection,$sql_service);
    						while($arr_service = mysqli_fetch_array($exe_service))
    						{
    						?>	
    							<a href="service-details.php?service_id=<?php echo $arr_service['service_id'];?>" style="color:#333;">
    						    <div class="mb-15 p-10" style="border:1px solid #ccc; border-radius:5px; background:#f1f1f1;">
        						    <p class="mt-0 mb-0 text-left"><?php echo stripslashes($arr_service['service_name']);?></p>
        						    <!--<p>We provide a full range of services related to computer equipment and software.</p>https://globalprana.com/https://alfisgroup.in/services/https://cctvintercom.in/-->
        						    <p><b>&#8377; <?php echo $arr_service['material_installation_cost'];?></b></p>
        						    <p style="color:#888;"><?php echo $arr_service['timing'];?></p>
    						    </div>
    						    </a>
    							<?php
    						}
    						?>
    						</div>
    					</div>
					</div>
				</div>
			</section>
			<!-- page template area end -->
  
<?php require_once("footer.php");?>