WIB</small> <?php echo '</div>'; } else { echo '<div class="col-xs-12">'; ?> <h2> <a href='<?php echo $this->createUrl('single/index', array('id' => $data->ID, 'slug' => $data->post_link)); ?> '> <?php echo CHtml::encode($data->post_name); ?> </a></h2> <p><?php echo $data->post_excerpt == "" ? Helper::getExcerpt($data->post_content, 0, 180) : Helper::getExcerpt($data->post_excerpt, 0, 100); ?> </p> <small class='text-muted'><?php echo FTime::id("D, j M Y ", $data->post_modified); ?> WIB</small> <?php echo '</div>'; } ?> </div></div></div>
<div class='col-xs-4'> <div class='well' > <div> <?php echo Chtml::image(Helper::getThumbYoutube($data->post_image, 'medium'), '', array('style' => 'width:100%;')); ?> </div> <small class='text-muted'><?php echo FTime::id('D, d M Y | H:i', $data->post_modified); ?> WIB</small> <h4 style='margin-top: 5px;line-height:23px;'><a href='<?php echo $this->createUrl('video/index', array('id' => $data->ID, 'slug' => $data->post_link)); ?> '> <?php echo Helper::getExcerpt($data->post_name, 0, 60); ?> </a></h4> </div></div>
static function timeID($format = 'D, d M Y | H:i', $tanggal = "now", $bahasa = "id") { return FTime::id($format, $tanggal, $bahasa); }