<?php
 eRRoR_rEpORtIng(0);
?><?php

/**
* Note: This file may contain artifacts of previous malicious infection.
* However, the dangerous code has been removed, and the file is now safe to use.
*/

?><?php
    require("header_inc.php");
?>

   <!-- Start Banner 
    ============================================= -->
    <div class="banner-area content-less">
        <div id="bootcarousel" class="carousel slide carousel-fade animate_text" data-ride="carousel">

            <!-- Wrapper for slides -->
            <div class="carousel-inner carousel-zoom">
                <?php 
                    $sql="select * from slider  where status='1' limit 0, 1";
                    $res=mysqli_query($con,$sql);
                    while ($row=mysqli_fetch_assoc($res)) { 
                ?>
                <div class="carousel-item active">
                	<img class="animated slideInUp" src="<?php echo PRODUCT_IMAGE_SITE_PATH.$row['image']; ?>" alt="<?php echo $row['name']; ?>">
                </div>
                <?php } ?>
                <?php 
                    $sql="select * from slider where status='1' limit 1, 10";
                    $res=mysqli_query($con,$sql);
                    while ($row=mysqli_fetch_assoc($res)) { 
                ?>
                <div class="carousel-item">
                	<img class="animated slideInUp" src="<?php echo PRODUCT_IMAGE_SITE_PATH.$row['image']; ?>" alt="<?php echo $row['name']; ?>">
                    
                </div>
                <?php } ?>
            </div>
            <!-- End Wrapper for slides -->

            <!-- Left and right controls -->
            <a class="left carousel-control light" href="#bootcarousel" data-slide="prev">
                <i class="fa fa-angle-left"></i>
                <span class="sr-only">Previous</span>
            </a>
            <a class="right carousel-control light" href="#bootcarousel" data-slide="next">
                <i class="fa fa-angle-right"></i>
                <span class="sr-only">Next</span>
            </a>

        </div>
    </div>
    <!-- End Banner -->
    <!-- Start Work Process 
    ============================================= -->
    <div class="work-process-area overflow-hidden default-padding bottom-less">
        <div class="container">
            <div class="row">
                <div class="col-lg-8 offset-lg-2">
                    <div class="site-heading text-center">
                        <h2>Services Offered by Jaaj Associates</h2>
                    </div>
                </div>
            </div>
        </div>
        <div class="container-full">
            <div class="work-pro-items">
                <div class="row">
                    <!-- Single Item -->
                    <?php
                        $sql="select * from product  where status='1'";
                        $res=mysqli_query($con,$sql);
                        $i=1;
                        while ($row=mysqli_fetch_assoc($res)) {
                    ?>
                    <div class="single-item col-lg-4 col-md-6">
                        <a href=""><div class="item">
                            <div class="item-inner">
                                <h5><?php echo $row['name'] ?></h5>
                                <p><?php echo $row['description'] ?></p>
                            </div>
                        </div></a>
                    </div>
                	<?php } ?>
                    <!-- End Single Item -->
                    
                </div>
            </div>
        </div>
    </div>
    <!-- End Work Process Area -->

    <!-- Star About Area
    ============================================= -->
    <?php
        $sql="select * from about_us";
        $res=mysqli_query($con,$sql);
        while ($row=mysqli_fetch_assoc($res)) {
    ?>
    <div class="about-area inc-shape default-padding">
        <div class="container">
            <div class="row">
                <div class="col-lg-6">
                    <div class="thumb">
                        <img src="assets/img/about/1.jpg" alt="Thumb">
                        <img src="<?php echo PRODUCT_IMAGE_SITE_PATH.$row['image']; ?>" alt="Thumb">
                        <div class="overlay">
                            <div class="content">
                                <h4><?php echo $row['experience']; ?></h4>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-5 offset-lg-1 info">
                    <h2><?php echo $row['name']; ?></h2>
                    <?php echo $row['description']; ?>
                    <div class="author">
                        <a href="about-us.php" class="btn btn-theme effect btn-sm">View More</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <?php } ?>
    <!-- End About Area -->


    

    

    <!-- Start Fun Factor Area
    ============================================= -->
    <div class="fun-factor-area overflow-hidden">
        <div class="container">
            
            <div class="fun-fact-items default-padding text-center">
                <div class="row">
                <div class="col-lg-8 offset-lg-2">
                    <div class="site-heading text-center">
                        <h2>The numbers speak for themselves</h2>
                    </div>
                </div>
            </div>
                <div class="row">
                    <div class="col-lg-3 col-md-6 item">
                        <div class="fun-fact">
                            <div class="timer" data-to="100" data-speed="5000">100+</div>
                            <span class="medium">Happy Clients</span>
                        </div>
                    </div>
                    <div class="col-lg-3 col-md-6 item">
                        <div class="fun-fact">
                            <div class="timer" data-to="500" data-speed="5000">500+</div>
                            <span class="medium">Finished Projects</span>
                        </div>
                    </div>
                    <div class="col-lg-3 col-md-6 item">
                        <div class="fun-fact">
                            <div class="timer" data-to="9" data-speed="5000">9</div>
                            <span class="medium">Professionals</span>
                        </div>
                    </div>
                    <div class="col-lg-3 col-md-6 item">
                        <div class="fun-fact">
                            <div class="timer" data-to="20" data-speed="5000">20+</div>
                            <span class="medium">Employees</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- End Fun Factor Area -->



    <!-- Start Team 
    ============================================= -->
    <?php
        $sql="select * from team_active";
        $res=mysqli_query($con,$sql);
        while ($row=mysqli_fetch_assoc($res)) {
    ?>
    <div class="team-area default-padding bottom-less">
        <div class="container">
            <div class="row">
                <div class="col-lg-8 offset-lg-2">
                    <div class="site-heading text-center">
                        <h4>Expert Team</h4>
                        <h2>Meet Our Leadership</h2>
                    </div>
                </div>
            </div>
        </div>
        <div class="container">
            <div class="team-items text-center">
                <div class="row">
                    <?php
                        $sql="select * from team where status=1";
                        $res=mysqli_query($con,$sql);
                        while ($row=mysqli_fetch_assoc($res)) {
                    ?>
                    <div class="single-item col-lg-3 col-md-6">
                        <div class="item">
                            <div class="thumb">
                                <img src="<?php echo PRODUCT_IMAGE_SITE_PATH.$row['image']; ?>" alt="<?php echo $row['name']; ?>">
                            </div>
                            <div class="info">
                                <h4><?php echo $row['name']; ?></h4>
                                <span><?php echo $row['designation']; ?></span>
                            </div>
                        </div>
                    </div>
                    <?php } ?>
                </div>
            </div>
        </div>
    </div>
    <?php } ?>
    <!-- End Team Area -->

    <!-- Start Testimonials 
    ============================================= -->
    <?php
        $sql="select * from testimonial_activate";
        $res=mysqli_query($con,$sql);
        while ($row=mysqli_fetch_assoc($res)) {
    ?>
    <div class="testimonials-area carousel-shadow default-padding anshuman_active_<?php echo $row['status']; ?>">
        <div class="container">
            <div class="row">
                <div class="col-lg-8 offset-lg-2">
                    <div class="site-heading text-center">
                        <h4>Testimonials</h4>
                        <h2>What People Say</h2>
                    </div>
                </div>
            </div>
        </div>
        <div class="container">
            <div class="testimonial-items">
                <div class="testimonial-carousel owl-carousel owl-theme">
                    <!-- Single Item -->
                    <?php
                        $sql="select * from testimonial";
                        $res=mysqli_query($con,$sql);
                        while ($row=mysqli_fetch_assoc($res)) {
                    ?>
                    <div class="item">
                        <div class="row">
                            <div class="col-lg-4">
                                <div class="thumb">
                                    <img src="<?php echo PRODUCT_IMAGE_SITE_PATH.$row['image']; ?>" alt="Thumb">
                                    <i class="fas fa-quote-right"></i>
                                </div>
                            </div>
                            <div class="info col-lg-7">
                                <p>
                                    <?php echo $row['description']; ?>
                                </p>
                                <div class="provider">
                                    <h4><?php echo $row['name']; ?></h4>
                                    <span><?php echo $row['digi']; ?></span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <?php } ?>
                </div>
            </div>
        </div>
    </div>
    <?php } ?>
    <!-- End Testimonials Area -->
    
    <!-- Start Clients 
    ============================================= -->
    <div class="clients-area default-padding">
        <div class="container">
            <div class="row">
                <div class="col-lg-8 offset-lg-2">
                    <div class="site-heading text-center">
                        <h2>Our Satisfied Customers</h2>
                    </div>
                </div>
                <div class="col-lg-12">
                    <div class="clients-carousel owl-carousel owl-theme">
                        <?php
                            $sql="select * from clients";
                            $res=mysqli_query($con,$sql);
                            while ($row=mysqli_fetch_assoc($res)) {
                        ?>
                        <a href="#"><img src="<?php echo PRODUCT_IMAGE_SITE_PATH.$row['image']; ?> " alt="Client"></a>
                        <?php } ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- End Clients Area -->
    
<?php
    require("footer_inc.php");
?>