PATH:
home
/
lab2454c
/
keebchat.com
/
themes
/
default
/
apps
/
cpanel
/
assets
/
publications
/
scripts
<script> "use strict"; $(document).ready(function($) { var _app = $('[data-app="posts"]'); _app.find('a[data-an="pagination"]').on('click',function(event) { event.preventDefault(); event.stopPropagation(); if ($(this).hasClass('disabled') != true) { var _self = $(this); var posts_list = _app.find('[data-an="posts-list"]'); var dir = (($(this).data('dir') == 'prev') ? 'up' : 'down'); var offset_lt = posts_list.find('[data-list-item]').first().data('list-item'); var offset_gt = posts_list.find('[data-list-item]').last().data('list-item'); $.ajax({ url: '<?php echo cl_link("native_api/cpanel/get_posts"); ?>', type: 'GET', dataType: 'json', data: { dir: dir, offset_lt: offset_lt, offset_gt: offset_gt, }, beforeSend: function() { _app.find('a[data-an="pagination"]').removeClass('disabled'); _app.find('[data-an="info-content"]').waitMe({ effect : 'rotation', text : '', bg : 'rgba(255,255,255,0.5)', color : '#1ca1f3', maxSize : '40', waitTime : -1, textPos : 'vertical', fontSize : '', source : '' }); } }).done(function(data) { if (data.status == 200) { posts_list.html(data.html); } else{ _self.addClass('disabled'); } }).always(function() { delay(function() { _app.find('[data-an="info-content"]').waitMe('hide'); }, 1000); }); } else { return false; } }); }); </script>
[+]
..
[-] app_master_script.phtml
[edit]