<?php
 $actualite=Actualite::get($_REQUEST['cible']);
?>
<!-- <div class="swm-header-placeholder" data-header-d="107" data-header-t="107" data-header-m="80" style="height: 107px;"></div> -->
<div id="swm-sub-header" class="swm-sub-header swm-title-position-title-center" style="background: #18551a!important;">
    <div class="swm-container swm-css-transition">
        <div class="swm-sub-header-title-bc">
            <div class="swm-sub-header-title-wrap">
                <div class="swm-sub-header-title entry-title" ><span style="font-size: 40px;"><?=$actualite->titre?></span></div>
                <div class="clear"></div>
            </div>
            <div class="clear"></div>
        </div>
    </div>
</div>
<div class="swm-main-container swm-site-content swm-css-transition" style="transform: none;">
    <div class="swm-container swm-layout-sidebar-right swm-post-sidebar-page" style="transform: none;">
        <div class="swm-column ">
            <section>
                <div id="swm-item-entries" class="swm-row">
                    <article class="post-entry swm-blog-post post-249 post type-post status-publish format-standard has-post-thumbnail hentry category-web-design tag-designing tag-marketing tag-mobile-apps">
                        <div class="swm-column-gap">
                            <div class="">
                                <div class="swm-post-content">
                                    <div class="swm-post-image">
                                        <div class="swm-post-format">
                                            <figure>
                                                <img
                                                    style="max-height: 1000px;width: auto;"
                                                    src="media/<?=$actualite->image?>"
                                                    class="attachment-swm_image_size_post size-swm_image_size_post wp-post-image"
                                                    alt=""
                                                    srcset="media/<?=$actualite->image?>"
                                                    sizes="(max-width: 807px) 100vw, 807px"
                                                />
                                            </figure>
                                            <div class="clear"></div>
                                        </div>
                                    </div>
                                    <div class="swm-post-content-block">
                                        <div class="swm-post-title-section">
                                            <div class="swm-post-meta">
                                                <ul>
                                                    <li class="swm-post-date">
                                                        <span class="swm-postmeta-text"><i class="far fa-clock-o"></i><?=format_Datedate($actualite->date)?></span> <span class="swm-post-date-line"></span>
                                                        <div class="clear"></div>
                                                    </li>
                                                    <li>
                                                        <span class="swm-postmeta-text"><i class="far fa-user"></i><a><?=$actualite->auteur?></a></span>
                                                    </li>
                                                    <!-- <li>
                                                        <span class="swm-postmeta-text swm-post-comment">
                                                            <i class="far fa-comments"></i><a href="http://bizix.premiumthemes.in/ways-to-make-visitors-fall-in-love-with-your-premium-website/#respond">0 Comments</a>
                                                        </span>
                                                    </li>
                                                    <li><i class="far fa-folder-open"></i><a href="http://bizix.premiumthemes.in/category/web-design/" title="View all posts in Web Design">Web Design</a></li> -->
                                                </ul>
                                                <div class="clear"></div>
                                            </div>
                                            <div class="swm-post-title-content">
                                                <div class="swm-post-title"><h1><?=$actualite->titre?></h1></div>
                                            </div>
                                        </div>
                                        <div class="swm-post-list-content-section swm-post-list-single-content-section">
                                            <div class="swm-post-single-content">
                                                <div data-elementor-type="wp-post" data-elementor-id="249" class="elementor elementor-249" data-elementor-settings="[]">
                                                    <div class="elementor-inner">
                                                        <div class="elementor-section-wrap">
                                                            <section
                                                                class="elementor-element elementor-element-47443713 elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-section elementor-top-section"
                                                                data-id="47443713"
                                                                data-element_type="section"
                                                            >
                                                                <div class="elementor-container elementor-column-gap-no">
                                                                    <div class="elementor-row">
                                                                        <div
                                                                            class="elementor-element elementor-element-ce29f62 elementor-column elementor-col-100 elementor-top-column"
                                                                            data-id="ce29f62"
                                                                            data-element_type="column"
                                                                        >
                                                                            <div class="elementor-column-wrap elementor-element-populated">
                                                                                <div class="elementor-widget-wrap">
                                                                                    <div
                                                                                        class="elementor-element elementor-element-7a6851e3 elementor-widget elementor-widget-text-editor"
                                                                                        data-id="7a6851e3"
                                                                                        data-element_type="widget"
                                                                                        data-widget_type="text-editor.default"
                                                                                    >
                                                                                        <div class="elementor-widget-container">
                                                                                            <div class="elementor-text-editor elementor-clearfix">
                                                                                                <?=$actualite->contenu?>
                                                                                            </div>
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </section>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="clear"></div>
                                                <div class="clear"></div>
                                            </div>
                                            <div class="clear"></div>
                                        </div>
                                        <div class="clear"></div>
                                    </div>
                                </div>
                                <div class="clear"></div>
                            </div>
                        </div>
                        <div class="clear"></div>
                    </article>
                </div>
            </section>
            <div class="swm-tags-pagination-border"></div>
            <div class="swm-post-single-pagination swm-content-color">
                <?php if(isset(Actualite::q()->where("id!=?",$actualite->id)->execute()[0])){ ?>
                <div class="swm-pp-prev swm-next-prev-box">
                    <a href="actu/<?=Actualite::q()->where("id!=?",$actualite->id)->execute()[0]->id?>" class="swm-pp-link-title">
                        <span class="swm-next-prev-text">Post précédent</span><span class="swm-heading-text swm-css-transition"><?=Actualite::q()->where("id!=?",$actualite->id)->execute()[0]->titre?></span>
                    </a>
                    <div class="clear"></div>
                </div>
                <?php } ?>
                <?php if(isset(Actualite::q()->where("id!=?",$actualite->id)->execute()[1])){ ?>
                <div class="swm-pp-next swm-next-prev-box">
                    <a href="actu/<?=Actualite::q()->where("id!=?",$actualite->id)->execute()[1]->id?>" class="swm-pp-link-title">
                        <span class="swm-next-prev-text">Post suivant</span><span class="swm-heading-text swm-css-transition"><?=Actualite::q()->where("id!=?",$actualite->id)->execute()[1]->titre?></span>
                    </a>
                    <div class="clear"></div>
                </div>
                <?php } ?>
                <div class="clear"></div>
            </div>
            <!-- <div class="swm-about-author-box">
                <span class="swm-about-author-left-bg"></span>
                <div class="swm-about-author">
                    <div class="swm-about-author-left-wrap">
                        <a class="swm-about-author-box-img" href="http://bizix.premiumthemes.in/author/bzix20/">
                            <img
                                alt=""
                                src="./Ways to make visitors fall in love with your premium website – Bizix Premium WordPress Theme_files/e853591711e72bd4cfd897809b039fab.jpeg"
                                srcset="http://2.gravatar.com/avatar/e853591711e72bd4cfd897809b039fab?s=296&amp;d=mm&amp;r=g 2x"
                                class="avatar avatar-148 photo"
                                height="148"
                                width="148"
                            />
                        </a>
                    </div>
                    <div class="swm-about-author-biotext">
                        <div class="swm-about-author-title-subtitle"><a class="swm-about-author-name swm-heading-text" href="http://bizix.premiumthemes.in/author/bzix20/">About John Doe</a> <span></span></div>
                        <p>
                            Ac tortor vitae purus faucibus ornare suspenisse sed nisi. Pretium aenean pharetra magna ac placerat vestiulum lectus mau nean vel elit scelerisque mauris pellentesque pulvin mod elementum
                            eleifend quam.
                        </p>
                        <div class="clear"></div>
                        <ul class="swm-post-author-icon">
                            <li>
                                <a href="https://www.facebook.com/" target="_blank"><i class="fab fa-facebook-f"></i></a>
                            </li>
                            <li>
                                <a href="https://twitter.com/" target="_blank"><i class="fab fa-twitter"></i></a>
                            </li>
                            <li>
                                <a href="https://www.pinterest.com/" target="_blank"><i class="fab fa-pinterest"></i></a>
                            </li>
                            <li>
                                <a href="https://www.linkedin.com/" target="_blank"><i class="fab fa-linkedin-in"></i></a>
                            </li>
                        </ul>
                        <div class="clear"></div>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="clear"></div>
            <div class="swm-single-section">
                <div class="clear"></div>
                <div id="respond" class="comment-respond">
                    <h3 id="reply-title" class="comment-reply-title">
                        <span>Leave a Comment</span>
                        <small>
                            <a rel="nofollow" id="cancel-comment-reply-link" href="http://bizix.premiumthemes.in/ways-to-make-visitors-fall-in-love-with-your-premium-website/#respond" style="display: none;">
                                Cancel Comment
                            </a>
                        </small>
                    </h3>
                    <form action="http://bizix.premiumthemes.in/wp-comments-post.php" method="post" id="commentform" class="comment-form">
                        <p class="comment-notes"><span id="email-notes">Your email address will not be published.</span> Required fields are marked <span class="required">*</span></p>
                        <p class="comment-form-author">
                            <label for="author">Name <span class="required">*</span></label>
                            <input id="author" placeholder="Full Name *" name="author" type="text" value="" size="30" maxlength="245" required="required" />
                        </p>
                        <p class="comment-form-email">
                            <label for="email">Email <span class="required">*</span></label>
                            <input id="email" placeholder="Email Address *" name="email" type="text" value="" size="30" maxlength="100" aria-describedby="email-notes" required="required" />
                        </p>
                        <p class="comment-form-comment">
                            <label for="comment">Comment</label> <textarea placeholder="Write Comment" id="comment" name="comment" cols="45" rows="8" maxlength="65525" required="required"></textarea>
                        </p>
                        <p class="form-submit">
                            <input name="submit" type="submit" id="submit" class="submit" value="Post Comment" /> <input type="hidden" name="comment_post_ID" value="249" id="comment_post_ID" />
                            <input type="hidden" name="comment_parent" id="comment_parent" value="0" />
                        </p>
                    </form>
                </div>
                <div class="clear"></div>
            </div> -->
            <div class="clear"></div>
        </div>
    </div>
    <div class="clear"></div>
</div>