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 : /proc/self/root/var/www/vajra.id/public_html/application/modules/blog/views/template2/ |
Upload File : |
<!-- Content Area --> <style> body{ background-image: url('/uploads/bg-vajraid.jpg'); background-repeat: no-repeat; background-attachment: fixed; background-size: cover; } .type-post { box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); border-radius: 15px; transition: 0.3s; align-self: normal; display: grid; grid-template-rows: max-content 280px 1fr; margin-bottom: 6%; } .type-post:hover { box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); transform: scale(1.03); } .blog-masonry-box{ display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); grid-gap: 20px; } .entry-cover-image { display: flex; justify-content: center; border-radius: 15px 15px 0 0; background-color: #F8F8F8; content: ""; opacity: 1; -webkit-transition: all 1s ease 0s; -moz-transition: all 1s ease 0s; -o-transition: all 1s ease 0s; transition: all 1s ease 0s; } .black-hover{ background-color: black; position: absolute; left: 0; right: 0; top: 0; bottom: 0; opacity: 0; } .type-post:hover .black-hover:not(.post-meta) { background: black; opacity: 0.2; } .entry-cover .post-meta a{ padding: 9px; } .entry-cover-image { } .entry-cover-image > a > img { padding: 8px; border-radius: 15px 15px 0 0; object-fit: cover; height: max(20rem, 40vh); } .type-post .entry-content { display: inline-block; max-width: 100%; padding: 0.5em 1.25em; margin-top: 0px; background-color: white; } .type-post .more { background-color: white; border-radius: 0 0 15px 15px; margin-top: -2px; } .type-post .more > a, .type-post .more > a::before { -webkit-transition: all 0.5s ease 0s; -moz-transition: all 0.5s ease 0s; -o-transition: all 0.5s ease 0s; transition: all 0.5s ease 0s; } .type-post .more > a { color: black !important; display: inline-block; font-size: 14px; font-weight: bold; margin: 0.5em 1.5em; letter-spacing: 0.18px; line-height: 2; margin-top: auto; position: relative; text-decoration: none; text-transform: uppercase; animation-duration: 0.6s; bottom: 40%; } .type-post .more > a::before { background-color: #151515; content: ""; left: 0; position: absolute; bottom: 0; height: 2px; width: 100%; } .type-post .more > a:hover { color: #151515; } .type-post:hover .more > a { animation-name: bounceIn; } .type-post .more > a:hover::before { width: 50%; } .type-post .entry-content .entry-header .desc{ display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden !important; text-overflow: ellipsis; } @media (min-width:576px) and (max-width:768px){ .type-post .entry-header .entry-title{ font-size: 16px; } } @media (min-width:769px){ .type-post .entry-header .entry-title{ font-size: 20px; } } </style> <div class="col-lg-9 col-md-6 content-area changeDown"> <!-- Row --> <div class="row blog-masonry-list"> <?php foreach ($blogs as $item) : ?> <?php $blog_category = $this->db->select('category')->from('categories')->where('id_categories',$item->parent)->get()->row()->category; ?> <div class="col-lg-6 col-md-12 col-sm-6 blog-masonry-box"> <div class="type-post" > <div class="entry-cover"> <div class="post-meta"> <span class="post-date"><a href="#" style=""><?=date('d F Y', strtotime($item->publish_date))?></a></span> </div> <div class="black-hover"> </div> <div class="entry-cover-image"> <?php if (!empty($item->image1)): ?> <a href="<?= base_url() . 'blog/get/' . strtolower($item->alias); ?>"><img src="<?=base_url('uploads/blog/'.$item->image1)?>" alt="Post" /></a> <?php else: ?> <?php endif ?> </div> </div> <div class="entry-content"> <div class="entry-header"> <span class="post-category"><a href="<?=base_url('blog/category/'.url_title($blog_category))?>" title="<?=$blog_category?>"> </a></span> <h3 class="entry-title"><a href="<?= base_url() . 'blog/get/' . strtolower($item->alias); ?>" title="<?=$item->blog?>"><?= strtoupper($item->blog) ?></a></h3> <div class="desc"><?= $item->description_en?></div> </div> </div> <div class="more"> <a href="<?= base_url() . 'blog/get/' . strtolower($item->alias); ?>" title="Selengkapnya">Selengkapnya</a> </div> </div> </div> <?php endforeach ?> </div><!-- Row /- --> <!-- Pagination --> <nav class="navigation pagination"> <style type="text/css"> .navigation a{ color: #af1e23 !important } </style> <?php //create pagination... echo $this->pagination->create_links(); ?> </nav> </div><!-- Content Area /- -->