<div class="page">__N____N__    <?php includeContainer('header'); ?>__N____N__      <section id="sectionimage" contenteditable="true">__N__        <div class="">__N__          <div class="swiper-wrapper text-center" style="transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;">__N__            <div class="swiper-slide swiper-slide-active" style="height: 200px; background-image: url('medias/image/__WEBSITE_KEY__/background_sunset.jpg'); background-size: cover;">__N__              <div class="swiper-slide-caption">__N__                <div class="container">__N__                  <div class="row justify-content-sm-center">__N__                    <div class="col-md-11 col-lg-10">__N__                      <div class="text-white text-uppercase jumbotron-custom border-modern fadeInUp animated" data-caption-animate="fadeInUp" data-caption-delay="0s">The latest news...</span>__N__                      </div>__N__                    </div>__N__                  </div>__N__                </div>__N__              </div>__N__            </div>__N__        </div>__N__      </section>__N____N____N__        <section id="sectionnews" contenteditable="true" class="section-50 section-md-50 section-md-bottom-50">__N__            <div><br><div class="text-align: center">__N__            <!--<h2>The latest news...</h2><br><br><br> -->__N__            <?php __N__            $weblangs->load("main");__N__            $fuser = new User($db);__N__            $arrayofblogs = $websitepage->fetchAll($website->id, 'DESC', 'date_creation', 5, 0, array('type_container'=>'blogpost', 'status'=>1, 'lang'=>'null,'.$websitepage->lang));__N__            foreach($arrayofblogs as $blog)__N__            {__N__                print '<div class="row justify-content-sm-center row-40">';__N__                print '<div class="container blog-box d-xl-inline-block margin-lr-30" style="padding: 20px; box-shadow: -1px 0px 10px 0px rgba(65, 65, 65, 0.12); transition: .3s all ease;">';__N__                            print '<a class="centpercent" href="'.$blog->pageurl.'.php">';__N__                            print '<div class="post-boxed-img-wrap"><img src="'.($blog->image ? 'viewimage.php?modulepart=medias&file='.str_replace('template-corporate', $website->ref, $blog->image) : 'medias/image/'.$website->ref.'/calendar.svg"').'" alt="" width="120"></div>';__N__                            print '<div class="post-boxed-caption">';__N__                            print '<div class="post-boxed-title font-weight-bold">'.$blog->title.'</div>';__N__                            print '<ul class="list-inline list-inline-dashed text-uppercase">';__N__                            print '<li>'.dol_print_date($blog->date_creation, 'daytext', 'tzserver', $weblangs).'</li>';__N__                            $fuser->fetch($blog->fk_user_creat);__N__                            print '<li><span>by<span> <span class="text-primary">'.$fuser->firstname.'</span></span></li>';__N__                            print '</ul>';__N__                            print '<span class="nohover">'.$blog->description.'</span>';__N__                            print '</div>';__N__                            //includeContainer($blog->pageurl);__N__                            print '</a>';__N__                print '</div>';__N__                print '</div>';__N__            }__N__            ?>__N__            </div></div>__N__        </section>__N____N__    <br><br>__N____N__    <?php includeContainer('footer'); ?>__N____N__</div>__N__