<div class="infopage_ad_content">
    <?php if (!empty($recommands['Content Article A']) || !empty($recommands['Content Article B']) || !empty($recommands['Content Article C']) || !empty($recommands['Content Article D'])) { ?>
        <div class="content_article_title">You might be interested in:</div>    

                    <?php if (!empty($recommands['Content Article A'])) { ?>
                        <div class="infopage_ad">
                            <a href="<?php echo $recommands['Content Article A']->ic_url; ?>"> <img
                                        src="https://data.asiahighlights.com/grey.gif" loader="lazy"
                                        originalsrc="<?php echo $recommands['Content Article A']->desktop_photo; ?>"
                                        class="img-responsive"
                                        alt="<?php echo $recommands['Content Article A']->ic_title; ?>"></a>

                            <div class="content_article_name"><a
                                        href="<?php echo $recommands['Content Article A']->ic_url; ?>"> <?php echo $recommands['Content Article A']->ic_title; ?> </a>
                            </div>
                            <div class="content_article_button"><a
                                        href="<?php echo $recommands['Content Article A']->ic_url; ?>"></a>
                            </div>
                        </div>
                    <?php } ?>

                    <?php if (!empty($recommands['Content Article B'])) { ?>
                        <div class="infopage_ad">
                            <a href="<?php echo $recommands['Content Article B']->ic_url; ?>"> <img
                                        src="https://data.asiahighlights.com/grey.gif" loader="lazy"
                                        originalsrc="<?php echo $recommands['Content Article B']->desktop_photo; ?>"
                                        class="img-responsive"
                                        alt="<?php echo $recommands['Content Article B']->ic_title; ?>"></a>

                            <div class="content_article_name"><a
                                        href="<?php echo $recommands['Content Article B']->ic_url; ?>"> <?php echo $recommands['Content Article B']->ic_title; ?> </a>
                            </div>
                            <div class="content_article_button"><a
                                        href="<?php echo $recommands['Content Article B']->ic_url; ?>"></a>
                            </div>
                        </div>
                    <?php } ?>


                    <?php if (!empty($recommands['Content Article C'])) { ?>
                        <div class="infopage_ad">
                            <a href="<?php echo $recommands['Content Article C']->ic_url; ?>"> <img
                                        src="https://data.asiahighlights.com/grey.gif" loader="lazy"
                                        originalsrc="<?php echo $recommands['Content Article C']->desktop_photo; ?>"
                                        class="img-responsive"
                                        alt="<?php echo $recommands['Content Article C']->ic_title; ?>"></a>

                            <div class="content_article_name"><a
                                        href="<?php echo $recommands['Content Article C']->ic_url; ?>"> <?php echo $recommands['Content Article C']->ic_title; ?> </a>
                            </div>
                            <div class="content_article_button"><a
                                        href="<?php echo $recommands['Content Article C']->ic_url; ?>"></a>
                            </div>
                        </div>
                    <?php } ?>

                    <?php if (!empty($recommands['Content Article D'])) { ?>
                        <div class="infopage_ad hidden-xs">
                            <a href="<?php echo $recommands['Content Article D']->ic_url; ?>"> <img
                                        src="https://data.asiahighlights.com/grey.gif" loader="lazy"
                                        originalsrc="<?php echo $recommands['Content Article D']->desktop_photo; ?>"
                                        class="img-responsive"
                                        alt="<?php echo $recommands['Content Article D']->ic_title; ?>"></a>

                            <div class="content_article_name"><a
                                        href="<?php echo $recommands['Content Article D']->ic_url; ?>"> <?php echo $recommands['Content Article D']->ic_title; ?> </a>
                            </div>
                            <div class="content_article_button"><a
                                        href="<?php echo $recommands['Content Article D']->ic_url; ?>"></a>
                            </div>
                        </div>
                    <?php } ?>


                    <?php if (!empty($recommands['Content Article E'])) { ?>
                        <div class="infopage_ad hidden-xs">
                            <a href="<?php echo $recommands['Content Article E']->ic_url; ?>"> <img
                                        src="https://data.asiahighlights.com/grey.gif" loader="lazy"
                                        originalsrc="<?php echo $recommands['Content Article E']->desktop_photo; ?>"
                                        class="img-responsive"
                                        alt="<?php echo $recommands['Content Article E']->ic_title; ?>"></a>

                            <div class="content_article_name"><a
                                        href="<?php echo $recommands['Content Article E']->ic_url; ?>"> <?php echo $recommands['Content Article E']->ic_title; ?> </a>
                            </div>
                            <div class="content_article_button"><a
                                        href="<?php echo $recommands['Content Article E']->ic_url; ?>"></a>
                            </div>
                        </div>
                    <?php } ?>


                    <?php if (!empty($recommands['Content Article F'])) { ?>
                        <div class="infopage_ad hidden-xs">
                            <a href="<?php echo $recommands['Content Article F']->ic_url; ?>"> <img
                                        src="https://data.asiahighlights.com/grey.gif" loader="lazy"
                                        originalsrc="<?php echo $recommands['Content Article F']->desktop_photo; ?>"
                                        class="img-responsive"
                                        alt="<?php echo $recommands['Content Article F']->ic_title; ?>"></a>

                            <div class="content_article_name"><a
                                        href="<?php echo $recommands['Content Article F']->ic_url; ?>"> <?php echo $recommands['Content Article F']->ic_title; ?> </a>
                            </div>
                            <div class="content_article_button"><a
                                        href="<?php echo $recommands['Content Article F']->ic_url; ?>"></a>
                            </div>
                        </div>
                    <?php } ?>
    <?php } ?>
</div>