<?php include_once 'include/main.inc.php'; ?>
<?php $hover = "awards_achivements" ?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Awards Achivements</title>
    <?php include "app_top.php"; ?>
</head>

<body>

    <?php include "app_header.php"; ?>


    <div class="heading_banner" style="background-image: url(designer/images/gallery-banner.jpg)">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 text-center">
                    <h1 class="cat_title">Awards Achivements</h1>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
    </div>

    <div class="inner_breadcrumb hidden_xs">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <ul class="breadcrumb">
                        <li><a href="<?=site_url;?>" title="Home">Home</a></li>
                        <li class="active">Awards Achivements</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>


    <section class="gallery_page">
        <div class="container">
            <h2 class="title_2">Awards Achivements</h2>
            <div class="clearfix"></div>
            <div class="row">
            <?php                
                $awdPhotosQuery = mysqli_query($GLOBALS['dbconn'], "SELECT id, title, achivement_image FROM `tbl_achivements` ORDER BY achivement_order");        

                while($row = mysqli_fetch_assoc($awdPhotosQuery)){                    
                    $rowImg=getImage($row['achivement_image'], 415, 415, trim($row['title']).$row['id'],"/uploaded-files/achivements/");
                    $rowImgFull= getImage($row['achivement_image'], 1080, 1080, trim($row['title']).$row['id'],"/uploaded-files/achivements/"); 
                ?>                                
                    <div class="col-xxl-4 col-xl-4 col-lg-4 col-md-4 col-sm-6 col-12">
                        <div class="gallery_item">
                            <a class="hover_effect h_yellow" data-fancybox="photo-gallery" href="<?=$rowImgFull?>">
                                <img src="<?=$rowImg?>" alt="<?=$row['title']?>" title="<?=$row['title']?>">
                            </a>
                            <div class="gallery_item_info">
                                <h3 class="title_h3"><?=$row['title']?></h3>
                            </div>
                        </div>
                    </div>

                <?php } ?>

             

            </div>
        </div>
    </section>
    <?php include "app_testimonials.php"; ?>
    <?php include "app_clients.php"; ?>
    <?php include "app_footer.php"; ?>
    <?php include "app_bottom.php"; ?>
</body>

</html>