  <div class="pcoded-main-container">
    <div class="pcoded-content">
        <!-- [ breadcrumb ] start -->
        <div class="page-header">
            <div class="page-block">
                <div class="row align-items-center">
                    <div class="col-md-12">
                        <div class="page-header-title">
                            <h5 class="m-b-10">Bildirimler</h5>
                        </div>
                        <ul class="breadcrumb">
                            <li class="breadcrumb-item"><a href="<?php echo site_url('anasayfa');?>"><i class="feather icon-home"></i></a></li>
                            <li class="breadcrumb-item"><a href="">Bildirimler</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!-- [ breadcrumb ] end -->
        <!-- [ Main Content ] start -->
       
 <div class="row justify-content-center">			  
		<div class="col-md-12">
                <div class="card table-card review-card">
                    <div class="card-header borderless ">
                        <h5>Bildirimler</h5>
                    </div>
					<div class="card-body ">
                      

        <?php 

				
				  foreach($bildirim as $b){ 
				  
					
							
						if ($b['gor']==0)
						{
							 //görüldü yapıyoruz
							 $params = array(
								'gor' =>1,
								);
								$bilid=$b['id'];
								$this->db->where('id',$bilid);
								$this->db->update('bildirim',$params);
						}
				  ?>
	  
                    <a class="list-group-item dropdown-item"  href="<?php echo site_url($b['yon']);?>" role="menuitem" >
                      <div class="media" >
					  
					  
                          <img src="<?php echo site_url('uploads/'. $b['icon']); ?>" class="rounded mr-3" height="48" >
                       
                        
                        <div class="media-body">
						 
                          <h6 class="media-heading" ><?php echo $b['bildirim'];   ?></h6>
                          <time class="media-meta"><?php echo $b['tarih']; ?></time>
						  
                        </div>
                      </div>
                    </a>
					
				<?php
						}
	 		
				?>
				</div>
			</div>
		</div>
	</div>
</div>
</div>

