<div class="col-md-4 col-sm-6 col-lg-4">
                    <div class="sidebar-wrp">
                        
                        <div class="widget">
                            <h5 itemprop="headline">Berita Update</h5>
                            <div class="rcnt-wrp">
							<?php $p=berita("14", "5" ); foreach($p as $b): if($this->session->userdata('language')=="en"){
					$b_judul=$b->judul_ing;
					$b_isi=strip_tags(substr($b->isi_ing, 0 , 200));
					$b_tgl=$b->tanggal;
				}
				if($this->session->userdata('language')==""){
					$b_judul=$b->judul_ind;
					$b_isi=strip_tags(substr($b->isi_ind, 0 , 200));
					$b_tgl=tgl_indo($b->tanggal);
				}$url=str_replace(" ", "-", $b_judul); 
				?>
                                <div class="rcnt-bx">
									<a class="brd-rd5" href="<?php echo base_url(); ?>index.php/news/detail/<?php echo $b->id."/".$url ; ?>" title="<?php echo $b->judul_ind; ?>" itemprop="url"><img width="100" src="<?php echo base_url(); ?>agung/berita/<?php echo $b->foto ; ?>" alt="<?php echo $b->judul_ind; ?>" itemprop="image"></a>
									<div class="rcnt-inf">
									<h6 itemprop="headline"><a href="blog-detail.html" title="<?php echo $b->judul_ind; ?>" itemprop="url"><?php echo $b->judul_ind; ?></a></h6>
									<span class="theme-clr"><i class="far fa-calendar-alt"></i><?=$b_tgl;?></span>
									</div>
                                    
                                </div>
                <?php endforeach;?>                
                            </div>
                        </div>
                        
                        </div>
                    </div>
                
				
				
				