| 19099 |
naman |
1 |
<?php if(!empty($noti)):?>
|
|
|
2 |
<?php foreach ($noti as $key => $value):?>
|
|
|
3 |
|
|
|
4 |
<div style="min-height:60px;margin:0px;font-size:14px;" class="notifi row card" data-urltype= "<?php echo $value["type"];?>" data-url = "<?php echo $value["url"];?>" >
|
|
|
5 |
<a href = "<?php if(isset($value["url"])):?><?php echo $base_url."".$value["url"];?><?php endif;?>">
|
| 19105 |
naman |
6 |
<div class="col-xs-12 <?php if( $value['expired'] == true):?>expired<?php elseif($value["seen"] == true && $value['expired'] == false):?>seen<?php endif;?>" style="padding:2px;">
|
| 19099 |
naman |
7 |
<div class="row">
|
| 19105 |
naman |
8 |
<div class="col-xs-1" style="padding:0px;font-size:18px;">
|
|
|
9 |
<?php if($value['expired'] == true):?>
|
|
|
10 |
<span class = "glyphicon glyphicon-ban-circle" style="float:left;margin-top:15%;"></span>
|
|
|
11 |
<?php else:?>
|
|
|
12 |
<span class = "glyphicon glyphicon-bell" style="float:left;margin-top:15%;"></span>
|
|
|
13 |
<?php endif;?>
|
|
|
14 |
</div>
|
| 19099 |
naman |
15 |
<div class="col-xs-10" style="padding:0px;">
|
|
|
16 |
<?php if(isset($value['text']) && !empty($value['text'])):?>
|
| 19105 |
naman |
17 |
<div class="text">
|
| 19099 |
naman |
18 |
|
|
|
19 |
<?php echo $value['text'];?>
|
|
|
20 |
|
|
|
21 |
</div>
|
|
|
22 |
<?php endif;?>
|
| 19128 |
naman |
23 |
<?php if(isset($value['message']) && !empty($value['message'])):?>
|
| 19129 |
naman |
24 |
<div class="message " style="font-size: 13px;">
|
| 19128 |
naman |
25 |
<?php echo $value['message'];?>
|
|
|
26 |
</div>
|
|
|
27 |
<?php endif;?>
|
|
|
28 |
|
| 19099 |
naman |
29 |
<?php if(isset($value['longText']) && !empty($value['longText'])):?>
|
| 19129 |
naman |
30 |
<div class="longtext " style="font-size: 11px;">
|
| 19099 |
naman |
31 |
<?php echo $value['longText'];?>
|
|
|
32 |
</div>
|
|
|
33 |
<?php endif;?>
|
|
|
34 |
<?php if(isset($value['expired']) && $value['expired'] == true):?>
|
|
|
35 |
<div class="expiredtext">
|
| 19105 |
naman |
36 |
<!-- Expired -->
|
| 19099 |
naman |
37 |
</div>
|
|
|
38 |
<?php endif;?>
|
|
|
39 |
</div>
|
| 19129 |
naman |
40 |
<div class="col-xs-1" style="padding:0px;">
|
|
|
41 |
<span style="float:right;font-size:10px">23-Mar</span>
|
| 19128 |
naman |
42 |
<!-- <span class = "glyphicon glyphicon-chevron-right" style="float:right;margin-top: 20%;"></span>-->
|
|
|
43 |
</div>
|
| 19099 |
naman |
44 |
</div>
|
| 19129 |
naman |
45 |
|
| 19099 |
naman |
46 |
</div>
|
|
|
47 |
</a>
|
|
|
48 |
</div>
|
|
|
49 |
<center><hr style="margin:0px;width:97%"></center>
|
|
|
50 |
<?php endforeach;?>
|
|
|
51 |
<?php //if(!$noscrolling):?>
|
| 19105 |
naman |
52 |
<p class="text-center"><a class="btn btn-xs btn-default infitescroller" style="color:black;" href="<?php echo $nexturl;?>">Load More</a></p>
|
| 19099 |
naman |
53 |
<?php //endif;?>
|
|
|
54 |
<?php endif;?>
|