Rev 19213 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<style>.notifi a:hover{color : black;}.unseen {/* color:#54D199; */}.seen {/* background:#f8f8f8; */color:#828181;}.expired{color:#BBB9B9;}.text{font-weight : bold;}.expiredtext{font-size : 10px;}.notirow{background-color: white;margin: 5px 0 0 0;padding: 5px 5px 0 5px;position:relative;min-height: 30px;}</style><script>// onload=function(){// var e=document.getElementById("refreshed");// if(e.value=="no"){// e.value="yes";// $('.notilist').removeClass('hidden');// $('#loadModal').modal('hide');// }// else{// e.value="no";// location.reload();}// }$(document).ready(function(){// $('#loadModal').modal('show');$('.notifi').click(function(){var cid = $(this).data('cid');var url = $(this).data('url');var urlType = $(this).data('notificationtype');if(urlType!="expired"){// $('#loadModal').modal('show');$.ajax({method: "GET",url: "<?php echo $base_url;?>users/sendseen/"+cid,},'json').done(function(msg){window.location = url;});}});// $('.notifi').click(function(){// if($(this).hasClass('notifi')){// $(this).removeClass('unseen');// }// $.ajax({// method: "POST",// url: "<?php //echo $base_url;?>users/sendseen",// },'json')// .done(function(msg){// });// });$("#go_back").click(function(){window.history.back();});if($('.cscrollselector > .card').length>0) {$('.cscrollselector').jscroll({loadingHtml: '<center><img src="/img/ajax-loader.gif" alt="Loading" /></center>',autoTriggerUntil: 3,padding: 20});}});</script><div class="modal fade" id="loadModal"><div class="modal-dialog"><div class="modal-content"><div class="modal-body"><div class="text-center" id='content-add'><img src="/img/ajax-loader.gif" alt="Loading" /></div></div></div><!-- /.modal-content --></div><!-- /.modal-dialog --></div><!-- <input type="hidden" id="refreshed" value="no"> --><div id= "go_back" class= "cartpagedetails" style="z-index:5;padding:5px;font-size: 15px;"><span style="padding:3px" class="glyphicon glyphicon-arrow-left"></span> <b>Notifications</b></div><div class = "container notilist" style="margin-top: 40px;"><div class="row scroll cscrollselector" ><?php echo $this->element('getnotification');?></div></div><script type="text/javascript" src="/js/jquery.jscroll.min.js?v=<?php echo $staticversion;?>"></script>