%PDF-1.4
Directory : /var/www/vhosts/lautnusantara.com/httpdocs/web/app/Views/theme/spirit/module/ |
<?php $dt_artikel = $Artikel_Model->get_data_artikel(false, false, false, 3)->get()->getResultArray(); ?> <section id="blog_part"> <div class="container"> <div class="row text-center"> <div class="section_head blog_head"> <h2 style="text-transform: none;">Tips</h2> <p> </p> </div> </div> <form method="post" enctype="multipart/form-data" action="/detail/artikel"> <div class="row"> <div class="blog_content_part"> <!-- slick slider --> <?php foreach ($dt_artikel as $data): $date = date_create($data['publish_up']); $tgl = date_format($date, "d"); $bln = date_format($date, "M"); ?> <div class="col-md-4 col-sm-6 col-xs-12"> <div class="blog_content"> <div class="blog_img_part"> <!-- slick slide inner --> <div class="img_slide"> <div class="blog_img"> <?php if ($data['url_image'] == '') { ?> <img id="output_image" alt="100%x140" style="padding: 10px; height: 202px; display: block;" src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/PjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjQ4IiBoZWlnaHQ9IjE0MCIgdmlld0JveD0iMCAwIDI0OCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxkZWZzLz48cmVjdCB3aWR0aD0iMjQ4IiBoZWlnaHQ9IjE0MCIgZmlsbD0iI0VFRUVFRSIvPjxnPjx0ZXh0IHg9IjkxLjg0OTk5ODQ3NDEyMTEiIHk9IjcwIiBzdHlsZT0iZmlsbDojQUFBQUFBO2ZvbnQtd2VpZ2h0OmJvbGQ7Zm9udC1mYW1pbHk6QXJpYWwsIEhlbHZldGljYSwgT3BlbiBTYW5zLCBzYW5zLXNlcmlmLCBtb25vc3BhY2U7Zm9udC1zaXplOjEycHQ7ZG9taW5hbnQtYmFzZWxpbmU6Y2VudHJhbCI+MjQ4eDE0MDwvdGV4dD48L2c+PC9zdmc+" data-holder-rendered="true"> <?php } else { ?> <img src="<?= $data['url_image'] ?>" alt="img" height="202px"> <?php } ?> </div> </div> <div class="blog_img_inner"> <div class="blog_date"> <h4> <?= $tgl ?> </h4> <p> <?= $bln ?> </p> </div> <a href="<?= '/detail/artikel/' . $data['id'] . '/' . $data['alias'] ?>" rel="nofollow" aria-label="Tips"><i class="fa fa-link"></i></a> </div> </div> <div class="blog_des" style="min-height: 280px;"> <h3> <?= $data['title'] ?> </h3> <p> <?= $data['introtext'] ?> </p> <input type='hidden' name='artikel_id' value='<?= $data['id'] ?>'> <a href="<?= '/detail/artikel/' . $data['id'] . '/' . $data['alias'] ?>" class="blog_Read" rel="nofollow" aria-label="Read more our tips">Read More<i class="fa fa-arrow-right"></i></a> </div> </div> </div> <?php endforeach; ?> </div> <div style="text-align:center"> <div class="blog_des"> <input type='hidden' name='artikel_id' value=''> <a href="<?= '/daftar/artikel/' ?>" class="blog_Read" rel="nofollow" aria-label="Other Tips">More Tips<i class="fa fa-arrow-right"></i></a> </div> </div> </div> </form> </div> </section>