<div class="page-banner">
    <img src="<?php echo base_url(); ?>assets/user/img/award-banner.webp" class="w-100" alt="award img">
    <div class="page-text">
        <h1 class="heading2">OUR AWARDS</h1>
        <ul class="d-flex justify-content-center list-unstyled">
            <li><a href="<?php echo base_url(); ?>">HOME</a></li>
            <li>></li>
            <li>ABOUT US</li>
            <li>></li>
            <li>AWARDS</li>
        </ul>
        <div class="line"></div>
    </div>
</div>
<div class="award">
    <div class="container">
        <?php if(isset($award) && $award){ foreach($award as $key => $value){ ?>
            <div class="row justify-content-center">
                <div class="col-lg-9">
                    <div class="award-inner">
                        <div class="award-img mb-3">
                            <?php if($value['image']!=''){ ?>
                              <img src="<?php echo base_url($value['image']); ?>" class="w-100" alt="john tan img">
                            <?php }else{ ?>
                              <!-- <img src="<?php //echo base_url(); ?>assets/user/img/award-img.webp" class="w-100" alt="award img"> -->
                            <?php } ?>
                        </div>
                        <div class="row justify-content-between">
                            <div class="col-lg-5 col-md-6">
                                <div class="award-text">
                                    <span class="year"><?php echo $value['year']; ?></span>
                                    <h4 class="esmond-title"><?php echo $value['name']; ?></h4>
                                    <a href="<?php echo $value['link']; ?>" class="btn btn-link d-none d-md-block">VIEW PROJECT</a>
                                </div>
                            </div>
                            <div class="col-lg-5 col-md-6">
                                <div class="garden-text pt-4">
                                    <!-- <h5 class="garden-title">FANTASY GARDEN CATEGORY</h5>
                                    <ul class="list-unstyled">
                                        <li>
                                            <p>Fantasy Garden Category</p>
                                        </li>
                                        <li>
                                            <p>Entry : Dare To Dream</p>
                                        </li>
                                        <li>
                                            <p>Designer : John Tan & Raymond Toh</p>
                                        </li>
                                        <li>
                                            <p>Implementing Partner : Esmond Landscape And Horticultural Pte Ltd</p>
                                        </li>
                                    </ul> -->
                                    <?php echo $value['description']; ?>
                                    <a href="<?php echo $value['link']; ?>" class="btn btn-link d-md-none mt-2">VIEW PROJECT</a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <hr>
            </div>
        <?php } } ?>
        <!-- <div class="row justify-content-center">
            <div class="col-12 text-center mt-md-5 mt-4">
                <a href="#" class="btn btn-link text-decoration-underline">Load More</a>
            </div>
        </div> -->
    </div>
</div>