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/5/ |
Upload File : |
<!-- Off-Canvas Wrapper--> <style type="text/css"> </style> <div class="offcanvas-wrapper"> <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"> <!-- Widget Categories--> <!-- <section class="widget widget-categories"> <h3 class="widget-title">Kategori</h3> <ul> <li><a href="#">Daftar Obat</a><span>(24)</span></li> <li><a href="#">Daftar Penyakit</a><span>(5)</span></li> <li><a href="#">Artikel Kesehatan</a><span>(12)</span></li> <li><a href="#">Cari Rumah Sakit</a><span>(7)</span></li> <li><a href="#">Tanya Dokter</a><span>(3)</span></li> </ul> </section> <!-- Widget Featured Posts--> <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> <!-- Widget Tags--> <!-- <section class="widget widget-tags"> <h3 class="widget-title">Popular Tags</h3> <a class="tag" href="#">#kesehatan</a> <a class="tag" href="#">#fashion</a> <a class="tag" href="#">#obat</a> <span class="tag active">#penyakit</span> <a class="tag" href="#">#dokter</a> </section> --> </aside> <?php foreach ($banners as $banner) : ?> <?php if($banner->position == 'blog left'): ?> <div style="margin-bottom: 10px;"> <a href="<?= $banner->banner_link; ?>"><img src="<?= base_url() . 'uploads/banners/' . $banner->image; ?>"></a> </div> <?php endif; ?> <?php endforeach; ?> </div> <!-- Sidebar --> <!-- Blog Posts--> <div class="col-xl-6 col-lg-4 order-lg-2 order-1"> <?php foreach ($blogs as $blog) : ?> <!-- Post--> <article class="row"> <div class="col-md-12 blog-post"> <a class="post-thumb" href="<?= base_url() . 'blog/' . $blog->alias; ?>"> <img src="<?= base_url() . 'uploads/blog/' . $blog->image1; ?>" alt="Post"> </a> <h3 class="post-title"> <?php if($this->session->userdata('site_lang') == 'english') : ?> <a href="<?= base_url() . 'blog/' . $blog->alias_en; ?>"><?= $blog->blog_en; ?></a> <?php else : ?> <a href="<?= base_url() . 'blog/' . $blog->alias; ?>"><?= $blog->blog; ?></a> <?php endif; ?> </h3> <p> <?php //get publish date, and change to dd-mm--yy format $publish_date = date('d M Y', strtotime($blog->publish_date)); ?> <i class="icon-clock"></i><a href="<?= base_url() . 'blog/' . $blog->alias; ?>" style="text-decoration: none;"> <?= $publish_date; ?></a> <!-- <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> <?php if($this->session->userdata('site_lang') == 'english') { $output = strlen($blog->description_en) > 200 ? substr($blog->description_en,0,200)."..." : $blog->description_en; } else { $output = strlen($blog->description) > 200 ? substr($blog->description,0,200)."..." : $blog->description; } ?> <?php echo ucfirst($output); ?> <a href='<?= base_url() . 'blog/' . $blog->alias; ?>' class='text-medium'><?= ucwords(lang('readmore')); ?></a> </p> </div> </article> <?php endforeach; ?> <!-- NEW ARCTICLE POST --> <!-- Pagination--> <!-- <nav class="pagination"> <div class="column"> <ul class="pages"> <li class="active"><a href="#">1</a></li> <li><a href="#">2</a></li> <li><a href="#">3</a></li> <li><a href="#">4</a></li> <li>...</li> <li><a href="#">12</a></li> </ul> </div> </nav> --> </div> <!-- Blog Posts--> <!-- Side banner --> <div class="col-xl-3 col-lg-4 order-lg-3 order-2" style=""> <aside class="sidebar"> <?php foreach ($banners as $banner) : ?> <?php if($banner->position == 'blog right'): ?> <div style="margin-bottom: 10px;"> <a href="<?= $banner->banner_link; ?>"><img src="<?= base_url() . 'uploads/banners/' . $banner->image; ?>"></a> </div> <?php endif; ?> <?php endforeach; ?> </aside> </div> <!-- Side banner --> </div> </div>