| 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-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 |
<a href = "<?php if(isset($value["url"])):?><?php echo $base_url."".$value["url"];?><?php endif;?>">
|
| 6 |
<div class="col-xs-12 <?php if($value["seen"] == true || $value['expired'] == true):?>expired<?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;">
|
| - |
|
9 |
<?php if($value['expired'] == true):?>
|
| - |
|
10 |
<span class = "glyphicon glyphicon-ban-circle" style="float:left;margin-top:15%;"></span>
|
| - |
|
11 |
<?php else:?>
|
| 8 |
<div class="col-xs-1" style="padding:0px;font-size:18px;"><span class = "glyphicon glyphicon-bell" style="float:left;margin-top:15%;"></span></div>
|
12 |
<span class = "glyphicon glyphicon-bell" style="float:left;margin-top:15%;"></span>
|
| - |
|
13 |
<?php endif;?>
|
| - |
|
14 |
</div>
|
| 9 |
<div class="col-xs-10" style="padding:0px;">
|
15 |
<div class="col-xs-10" style="padding:0px;">
|
| 10 |
<?php if(isset($value['text']) && !empty($value['text'])):?>
|
16 |
<?php if(isset($value['text']) && !empty($value['text'])):?>
|
| 11 |
<div class="text <?php if($value["seen"] == false && $value['expired'] == false):?>unseen<?php else:?>expired<?php endif;?>">
|
17 |
<div class="text">
|
| 12 |
|
18 |
|
| 13 |
<?php echo $value['text'];?>
|
19 |
<?php echo $value['text'];?>
|
| 14 |
|
20 |
|
| 15 |
</div>
|
21 |
</div>
|
| 16 |
<?php endif;?>
|
22 |
<?php endif;?>
|
| 17 |
<?php if(isset($value['longText']) && !empty($value['longText'])):?>
|
23 |
<?php if(isset($value['longText']) && !empty($value['longText'])):?>
|
| 18 |
<div class="longtext <?php if($value["seen"] == true):?>expired<?php endif;?>" style="font-size: 12px;">
|
24 |
<div class="longtext " style="font-size: 12px;">
|
| 19 |
<?php echo $value['longText'];?>
|
25 |
<?php echo $value['longText'];?>
|
| 20 |
</div>
|
26 |
</div>
|
| 21 |
<?php endif;?>
|
27 |
<?php endif;?>
|
| 22 |
<?php if(isset($value['expired']) && $value['expired'] == true):?>
|
28 |
<?php if(isset($value['expired']) && $value['expired'] == true):?>
|
| 23 |
<div class="expiredtext">
|
29 |
<div class="expiredtext">
|
| 24 |
<!-- Oops! notification expired... -->
|
30 |
<!-- Expired -->
|
| 25 |
</div>
|
31 |
</div>
|
| 26 |
<?php endif;?>
|
32 |
<?php endif;?>
|
| 27 |
</div>
|
33 |
</div>
|
| 28 |
<div class="col-xs-1" style="padding:0px;font-size:14px;"><span class = "glyphicon glyphicon-chevron-right" style="float:right;margin-top: 20%;"></span></div>
|
34 |
<div class="col-xs-1" style="padding:0px;font-size:14px;"><span class = "glyphicon glyphicon-chevron-right" style="float:right;margin-top: 20%;"></span></div>
|
| 29 |
</div>
|
35 |
</div>
|
| - |
|
36 |
<span style="float:right;font-size:10px">23-Mar-2016</span>
|
| 30 |
</div>
|
37 |
</div>
|
| 31 |
</a>
|
38 |
</a>
|
| 32 |
</div>
|
39 |
</div>
|
| 33 |
<center><hr style="margin:0px;width:97%"></center>
|
40 |
<center><hr style="margin:0px;width:97%"></center>
|
| 34 |
<?php endforeach;?>
|
41 |
<?php endforeach;?>
|
| 35 |
<?php //if(!$noscrolling):?>
|
42 |
<?php //if(!$noscrolling):?>
|
| 36 |
<p class="text-center"><a class="btn btn-primary infitescroller" href="<?php echo $nexturl;?>">Load More</a></p>
|
43 |
<p class="text-center"><a class="btn btn-xs btn-default infitescroller" style="color:black;" href="<?php echo $nexturl;?>">Load More</a></p>
|
| 37 |
<?php //endif;?>
|
44 |
<?php //endif;?>
|
| 38 |
<?php endif;?>
|
45 |
<?php endif;?>
|