<!DOCTYPE html>
<html lang="en">
<head>
    <?php include_once("assets/include/head.php")?>
</head>
<body>
    <?php include_once("assets/include/header.php")?>
    <!-- section subbanner started... -->
    <section class="sub-banner">
        <picture>
            <source media="(max-width:767px)" srcset="assets/images/process-mob.webp">
            <source media="(min-width:768px)" srcset="assets/images/process.webp">
            <img src="#" alt="banner-img">
        </picture>
        <nav aria-label="breadcrumb">
            <div class="container">
                <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a href="<?php path();?>">Home</a></li>
                    <li class="breadcrumb-item active" aria-current="page">Process</li>
                </ol>
            </div>
        </nav>
    </section>
    <!-- section subbanner ended... -->
    <!-- process section started... -->
    <section class="process py-40">
        <div class="container">
            <h3 class="title mb-5 text-center">The work <span>Process</span></h3>
            <ul class="process-list">
               <?php
                        $cr=mysqli_query($con,"SELECT * FROM process where status='1' order by id");
                        while($ss=mysqli_fetch_array($cr)){
                        $cid=$ss['id'];
                        $sr=mysqli_query($con,"SELECT * FROM process_content where p_id='$cid' order by id");
                        $rn=mysqli_fetch_array($sr);
                        $data=$rn['description'];
                    ?>
                <li class="process-box">
                    <a href="<?php path(); ?>/processes/<?php echo $ss['slug']; ?>" class="process-box-inner d-block">
                        
                        <div class="process-img">
                            <img src="assets/images/process-img/<?php echo $rn['him']; ?>" class="first" alt="">
                            <img src="assets/images/process-img/<?php echo $rn['him']; ?>" class="second" alt="">
                        </div>
                        <div class="process-content">
                            <h4><?php echo $ss['process_name']; ?></h4>
                            <?php echo $data; ?>
                        </div>
                    </a>
                </li>
                <?php } ?>
            </ul>
        </div>
    </section>
    <!-- process section ended... -->
    <?php include_once("assets/include/footer.php")?>
</body>
</html>