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