Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /var/www/laciasmara.com/public_html/shop/application/modules/blog/views/1/ |
Upload File : |
<!-- Off-Canvas Wrapper--> <div class="offcanvas-wrapper"> <!-- Page Content--> <div class="container padding-bottom-3x mb-1"> <ul class="breadcrumbs" style="padding-left: 0;"> <li><a href="<?= base_url(); ?>"><?= ucwords(lang('home')); ?></a></li> <li class="separator"> </li> <li>Blog</li> </ul> <div class="row"> <!-- Sidebar --> <div class="col-xl-3 col-lg-4 order-lg-1 order-2"> <aside class="sidebar"> <section class="widget widget-featured-posts"> <h3 class="widget-title"><?= ucwords(lang('featured')); ?></h3> <?php foreach ($featured_blogs as $item) : ?> <!-- Entry--> <div class="entry"> <div class="entry-content"> <h4 class="entry-title"> <?php if($this->session->userdata('site_lang') == 'english') : ?> <a href="<?= base_url() . 'blog/' . $item->alias_en; ?>"><?= $item->blog_en; ?></a> <?php else : ?> <a href="<?= base_url() . 'blog/' . $item->alias; ?>"><?= $item->blog; ?></a> <?php endif; ?> </h4> <?php //get publish date and converto to d M Y $publish_date = date('d M Y', strtotime($item->publish_date)); ?> <span class="entry-meta"><?= $publish_date; ?></span> <!-- <span class="entry-meta">oleh Admin</span> --> </div> </div> <!-- Entry--> <?php endforeach; ?> </section> <section class="widget widget-featured-posts"> <h3 class="widget-title"><?= ucwords(lang('latest')); ?></h3> <!-- Entry--> <?php foreach ($blogs as $item) : ?> <div class="entry"> <div class="entry-content"> <h4 class="entry-title"> <a href=" <?php if($this->session->userdata('site_lang') == 'english') : ?> <?= base_url() . 'blog/' . $item->alias_en; ?> <?php else : ?> <?= base_url() . 'blog/' . $item->alias; ?> <?php endif; ?> " style="text-transform: capitalize;"> <?php if($this->session->userdata('site_lang') == 'english') : ?> <?= $item->blog_en; ?> <?php else : ?> <?= $item->blog; ?> <?php endif; ?> </a> </h4> <?php //get publish date and converto to d M Y $publish_date = date('d M Y', strtotime($item->publish_date)); ?> <span class="entry-meta"><?= $publish_date; ?></span> </div> </div> <?php endforeach; ?> </section> <section class="widget widget-featured-posts"> <h3 class="widget-title">Archive</h3> <?php foreach ($archive as $item) : ?> <!-- Entry--> <div class="entry"> <div class="entry-content"> <h4 class="entry-title"> <a href="<?= base_url().'blog/archive/'.$item['link'];?>"> <?= $item['name'];?> </a> </h4> <!-- <span class="entry-meta">oleh Admin</span> --> </div> </div> <!-- Entry--> <?php endforeach; ?> </section> </aside> </div> <!-- Sidebar --> <!-- Blog Posts--> <div class="col-xl-9 col-lg-8 order-lg-5 order-1"> <!-- NEW ARCTICLE POST --> <!-- Post--> <article class="row"> <div class="col-md-12 blog-post"> <p><img width="100%" src="<?= base_url() . 'uploads/blog/' . $blog->image2; ?>" alt="Post"></p> <br> <h3 class="post-title"><?= $blog->blog; ?></h3> <p> <i class="icon-clock"></i> <?php //get publish date and converto to d M Y $publish_date = date('d M Y', strtotime($blog->publish_date)); ?> <?= $publish_date; ?> <br> <!-- <i class="icon-head"></i> John Doe --> <!-- <i class="icon-tag"></i><a href="#" style="text-decoration: none;"> Artike Kesehatan</a> <i class="icon-speech-bubble"></i><a href="#" style="text-decoration: none;"> 3 Komen</a> --> </p> <?= $blog->description; ?> </div> </article> <!-- NEW ARCTICLE POST --> </div> <!-- Blog Posts--> </div> </div>