<?php echo lang_key('dbc_top_posts');?>

<?php $limit = 10; $CI = get_instance(); $CI->load->model('post_model'); $query = $CI->post_model->get_all_posts_by_range(0,$limit,'rank','desc'); if($query->num_rows()<=0) { ?>
Oopps, there are no posts :(
<?php } else { foreach ($query->result() as $row) { if($row->posttype=='video') { $detail_link = site_url('video/'.$row->unique_id.'/'.url_title($row->title)); } else { $detail_link = site_url('meme/'.$row->unique_id.'/'.url_title($row->title)); } ?> <?php if($row->need_safety_filter==1 && !is_loggedin()) {?> <?php } else { ?>
<?php echo $row->title;?>
/div> <?php } } } ?>

dbc_featured_posts

Oopps, there are no posts :(

www.textedeiubire.net all rights reserved | Powered by Memento