Rev 19213 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php if(!empty($noti)):?><?php foreach ($noti as $key => $value):?><div style="margin:0px;min-height:60px;font-size:14px;" class="notifi row card <?php if( $value['expired'] == true):?>expired<?php elseif($value["seen"] == true && $value['expired'] == false):?>seen<?php else:?>unseen<?php endif;?>" data-cid ="<?php echo $value["cid"];?>" data-urltype= "<?php echo $value["type"];?>" data-url = "<?php echo $value["url"];?>" data-notificationtype = "<?php echo $value["status"];?>" ><div class="col-xs-12" style="padding:2px;"><div class="row"><div class="col-xs-1" style="padding:0px;font-size:18px;"><?php if($value['expired'] == true):?><span class = "glyphicon glyphicon-ban-circle" style="float:left;margin-top:15%;"></span><?php else:?><span class = "glyphicon glyphicon-bell" style="float:left;margin-top:15%;"></span><?php endif;?></div><div class="col-xs-11" style="padding:0px;"><?php if(isset($value['title']) && !empty($value['title'])):?><div class="text"><?php echo $value['title'];?><span style="float:right;font-size:10px;font-weight:normal;"><?php// echo date('Y-m-d', $value['created']);echo date('d-M', $value['created']/1000);?></span></div><?php endif;?><?php if(isset($value['message']) && !empty($value['message'])):?><div class="message " style="font-size: 13px;"><?php echo $value['message'];?></div><?php endif;?><?php if(isset($value['notification_long_text']) && !empty($value['notification_long_text'])):?><div class="longtext " style="font-size: 11px;"><?php echo $value['notification_long_text'];?></div><?php endif;?></div><!-- <span class = "glyphicon glyphicon-chevron-right" style="float:right;margin-top: 20%;"></span>--></div></div></div><center><hr style="margin:0px;width:97%"></center><?php endforeach;?><?php //if(!$noscrolling):?><p class="text-center"><a class="btn btn-xs btn-default infitescroller" style="color:black;" href="<?php echo $nexturl;?>">Load More</a></p><?php //endif;?><?php endif;?>