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

<?php
$_SESSION['SERVICE_PAGE'] = basename($_SERVER['REQUEST_URI']);
$fetch_service = mysqli_fetch_array(mysqli_query($connection,"SELECT * FROM `sc_services` WHERE `service_id` = '".$_REQUEST['service_id']."'"));
?>

			<!-- page template area start -->
			<section id="about">
				<div class="container mt-0 pb-0 pt-5">
				    <div class="row">
				        <form action="ack.php" method="GET">
						<input type="hidden" name="hid_service_id" id="hid_service_id" value="<?php echo $_GET['service_id'];?>">
						<div class="col-lg-12">
						    <h4 class="title mt-0 mb-5" style="text-align:left;"><?php echo stripslashes($fetch_service['service_name']);?></h4>
						    <p style="text-lign:left; margin-bottom:5px;"><img class="" alt="" src="../uploads/service/<?php echo $fetch_service['service_photo'];?>" style="height:150px; width:150px;"></p>
						    <?php echo stripslashes($fetch_service['service_details']);?></p>
						    <?php if($fetch_service['material_installation_cost']!="0.00") { ?>
						    <p style="color:#888;">Installation Cost With Material</p>
						    <p><b>&#8377; <?php echo $fetch_service['material_installation_cost'];?></b></p>
						    <?php } ?>
						    <?php if($fetch_service['installation_cost']!="0.00") { ?>
        					<p style="color:#888;">Only Installation Cost</p>
						    <p><b>&#8377; <?php echo $fetch_service['installation_cost'];?></b></p>
						    <?php } ?>
						    <p style="color:#888;">Work Time Duration</p>
        					<p class="mb-10"><b><?php echo $fetch_service['timing'];?></b></p>
        					<?php if($fetch_service['material_installation_cost']!="0.00") { ?>
						    <p><input type="radio" name="chk" value="val1" checked> Installation With Material</p>
						    <?php } ?>
						    <?php if($fetch_service['installation_cost']!="0.00") { ?>
        					<p><input type="radio" name="chk" value="val2"> Only Installation</p>
						    <?php } ?>
						    <p><?php if(isset($_SESSION['USER_ID'])) { ?><button type="submit" class="btn btn-flat btn-theme-colored border-left-theme-color-2-4px mt-10 mb-10" style="width:50%;" name="action" value="order">Book Now</button><?php } else { ?><a class="btn btn-colored btn-theme-colored font-15 mt-10 mb-10" href="user-panel.php" style="width:50%;">Book Now</a><?php } ?></p>
						    <p style="color:#ff0000;">After Booking Pay &#8377; <?php echo $visit_charge;?> Online For Site Visit</p>
						    </div>
						    </form>
						</div>
					</div>
					</form>
				</div>
			</section>
			
			<section id="about">
				<div class="container mt-0 pb-0 pt-5">
					<div class="col-lg-12">
					    <h1 class="title mt-10 mb-10" style="text-align:center;">End-To-End Service Protection</h1>
    					<div class="row multi-row-clearfix">
    					    <div class="">
    							<div class="col-md-4 col-sm-6 col-xs-6 pl-5 pr-5" data-nav="false">
    								<div class="item" style="background:#7e57c2; border-radius:5px;">
    									<div class="mb-10" style="">
    										    <div class="thumb pt-15 pb-10" style="background:#7e57c2; text-align:center; border-radius:5px;">
    											<i class="fa fa-shield" aria-hidden="true" style="color:#fff; font-size:40px;"></i>
    										</div>									<div class="p-0 pt-0 pb-10" style="text-align:center;">
    											<p style="margin-bottom:0; font-size:14px; text-align:center; color:#fff;">6-Months Warranty</p>       		    </div>	
    									</div>
    								</div>
    							</div>
    							<div class="col-md-4 col-sm-6 col-xs-6 pl-5 pr-5" data-nav="false">
    								<div class="item" style="background:#7e57c2; border-radius:5px;">
    									<div class="mb-10" style="">
    										    <div class="thumb pt-15 pb-10" style="background:#7e57c2; text-align:center; border-radius:5px;">
    											<i class="fa fa-exchange" aria-hidden="true" style="color:#fff; font-size:40px;"></i>
    										</div>									<div class="p-0 pt-0 pb-10" style="text-align:center;">
    											<p style="margin-bottom:0; font-size:14px; text-align:center; color:#fff;">Hassle Free Claims</p>           </div>	
    									</div>
    								</div>
    							</div>
    							<div class="col-md-4 col-sm-6 col-xs-6 pl-5 pr-5" data-nav="false">
    								<div class="item" style="background:#7e57c2; border-radius:5px;">
    									<div class="mb-10" style="">
    										    <div class="thumb pt-15 pb-10" style="background:#7e57c2; text-align:center; border-radius:5px;">
    											<i class="fa fa-user" aria-hidden="true" style="color:#fff; font-size:40px;"></i>
    										</div>									<div class="p-0 pt-0 pb-10" style="text-align:center;">
    											<p style="margin-bottom:0; font-size:14px; text-align:center; color:#fff;">Expert Technicians</p>       	</div>	
    									</div>
    								</div>
    							</div>
    							<div class="col-md-4 col-sm-6 col-xs-6 pl-5 pr-5" data-nav="false">
    								<div class="item" style="background:#7e57c2; border-radius:5px;">
    									<div class="mb-10" style="">
    										    <div class="thumb pt-15 pb-10" style="background:#7e57c2; text-align:center; border-radius:5px;">
    											<i class="fa fa-clock-o" aria-hidden="true" style="color:#fff; font-size:40px;"></i>
    										</div>									<div class="p-0 pt-0 pb-10" style="text-align:center;">
    											<p style="margin-bottom:0; font-size:14px; text-align:center; color:#fff;">On Time Service</p>       		    
    									    </div>	
    									</div>
    								</div>
    							</div>
    						</div>
    					</div>
					</div>
				</div>
			</section>
			<!-- page template area end -->
  
<?php require_once("footer.php");?>