<?php if (!empty($recommands['Tour A']) || !empty($recommands['Tour B']) || !empty($recommands['Tour C']) || !empty($recommands['Tour D'])) { ?>


<h2 style="text-align: center;">Get Inspired with Some Popular Itineraries</h2>

<div class="table-responsive">
    <table class="hotels">
    <tbody>
    <tr>

        <?php if (!empty($recommands['Tour A'])) { ?>
           
                <td class="nextarticle">
                    <a href="<?php echo $recommands['Tour A']->ic_url; ?>" rel="nofollow">
                        <img src="https://data.chinahighlights.com/grey.gif" loader="lazy"
                             originalsrc="<?php echo $recommands['Tour A']->mobile_photo; ?>"
                             class="img-responsive"
                             alt="<?php echo $recommands['Tour A']->ic_title; ?>">
                    </a>
                    <div class="nextarticlename">
                        <a href="<?php echo $recommands['Tour A']->ic_url; ?>"><?php echo $recommands['Tour A']->ic_title; ?></a>
                    </div>
                </td>
           
        <?php } ?>


        <?php if (!empty($recommands['Tour B'])) { ?>
            
                <td class="nextarticle">
                    <a href="<?php echo $recommands['Tour B']->ic_url; ?>" rel="nofollow">
                        <img src="https://data.chinahighlights.com/grey.gif" loader="lazy"
                             originalsrc="<?php echo $recommands['Tour B']->mobile_photo; ?>"
                             class="img-responsive"
                             alt="<?php echo $recommands['Tour B']->ic_title; ?>">
                    </a>
                    <div class="nextarticlename">
                        <a href="<?php echo $recommands['Tour B']->ic_url; ?>"><?php echo $recommands['Tour B']->ic_title; ?></a>
                    </div>
                </td>
          
        <?php } ?>

        <?php if (!empty($recommands['Tour C'])) { ?>
            
                <td class="nextarticle">
                    <a href="<?php echo $recommands['Tour C']->ic_url; ?>" rel="nofollow">
                        <img src="https://data.chinahighlights.com/grey.gif" loader="lazy"
                             originalsrc="<?php echo $recommands['Tour C']->mobile_photo; ?>"
                             class="img-responsive"
                             alt="<?php echo $recommands['Tour C']->ic_title; ?>">
                    </a>
                    <div class="nextarticlename">
                        <a href="<?php echo $recommands['Tour C']->ic_url; ?>"><?php echo $recommands['Tour C']->ic_title; ?></a>
                    </div>
                </td>
           
        <?php } ?>

        <?php if (!empty($recommands['Tour D'])) { ?>
            
                <td class="nextarticle">
                    <a href="<?php echo $recommands['Tour D']->ic_url; ?>" rel="nofollow">
                        <img src="https://data.chinahighlights.com/grey.gif" loader="lazy"
                             originalsrc="<?php echo $recommands['Tour D']->mobile_photo; ?>"
                             class="img-responsive"
                             alt="<?php echo $recommands['Tour D']->ic_title; ?>">
                    </a>
                    <div class="nextarticlename">
                        <a href="<?php echo $recommands['Tour D']->ic_url; ?>"><?php echo $recommands['Tour D']->ic_title; ?></a>
                    </div>
                </td>
            
        <?php } ?>

       
    </tr>
</tbody>
</table>
</div>


<?php } ?>



<?php if (!empty($recommands['Article A']) || !empty($recommands['Article B']) || !empty($recommands['Article C']) || !empty($recommands['Article D'])) { ?>

    <h2 style="text-align: center; ">More Travel Ideas and Inspiration</h2>
    
    <div class="table-responsive">
        <table class="hotels">
        <tbody>
        <tr>
           
            <?php if (!empty($recommands['Article A'])) { ?>
                
                    <td class="nextarticle">
                        <a href="<?php echo $recommands['Article A']->ic_url; ?>" rel="nofollow">
                            <img src="https://data.chinahighlights.com/grey.gif" loader="lazy"
                                 originalsrc="<?php echo empty($recommands['Article A']->mobile_photo) ? $recommands['Article A']->ic_photo_img : $recommands['Article A']->mobile_photo; ?>"
                                 class="img-responsive" alt="<?php echo $recommands['Article A']->ic_title; ?>">
                        </a>
                        <div class="nextarticlename">
                            <a href="<?php echo $recommands['Article A']->ic_url; ?>"> <?php echo $recommands['Article A']->ic_title; ?> </a>
                        </div>
                    </td>
               
            <?php } ?>

            <?php if (!empty($recommands['Article B'])) { ?>
                
                    <td class="nextarticle">
                        <a href="<?php echo $recommands['Article B']->ic_url; ?>" rel="nofollow">
                            <img src="https://data.chinahighlights.com/grey.gif" loader="lazy"
                                 originalsrc="<?php echo empty($recommands['Article B']->mobile_photo) ? $recommands['Article B']->ic_photo_img : $recommands['Article B']->mobile_photo; ?>"
                                 class="img-responsive" alt="<?php echo $recommands['Article B']->ic_title; ?>">
                        </a>
                        <div class="nextarticlename">
                            <a href="<?php echo $recommands['Article B']->ic_url; ?>"> <?php echo $recommands['Article B']->ic_title; ?> </a>
                        </div>
                    </td>
              
            <?php } ?>

            <?php if (!empty($recommands['Article C'])) { ?>
                
                    <td class="nextarticle">
                        <a href="<?php echo $recommands['Article C']->ic_url; ?>" rel="nofollow">
                            <img src="https://data.chinahighlights.com/grey.gif" loader="lazy"
                                 originalsrc="<?php echo empty($recommands['Article C']->mobile_photo) ? $recommands['Article C']->ic_photo_img : $recommands['Article C']->mobile_photo; ?>"
                                 class="img-responsive" alt="<?php echo $recommands['Article C']->ic_title; ?>">
                        </a>
                        <div class="nextarticlename">
                            <a href="<?php echo $recommands['Article C']->ic_url; ?>"> <?php echo $recommands['Article C']->ic_title; ?> </a>
                        </div>
                    </td>
               
            <?php } ?>

            <?php if (!empty($recommands['Article D'])) { ?>
                
                    <td class="nextarticle">
                        <a href="<?php echo $recommands['Article D']->ic_url; ?>" rel="nofollow">
                            <img src="https://data.chinahighlights.com/grey.gif" loader="lazy"
                                 originalsrc="<?php echo empty($recommands['Article D']->mobile_photo) ? $recommands['Article D']->ic_photo_img : $recommands['Article D']->mobile_photo; ?>"
                                 class="img-responsive" alt="<?php echo $recommands['Article D']->ic_title; ?>">
                        </a>
                        <div class="nextarticlename">
                            <a href="<?php echo $recommands['Article D']->ic_url; ?>"> <?php echo $recommands['Article D']->ic_title; ?> </a>
                        </div>
                    </td>
                
            <?php } ?>

           
        </tr>
    </tbody>
    </table>
    </div>
<?php } ?>
