',
limit: lim,
page: pg
},
success: function (result, status, xhr) {
if (result.stat === true) {
$('#list_post').html(result.data.list);
$('#pagination_post').html(result.data.pagination);
}
},
error: function (xhr, status, error) {
toastr.error(
this.url + '
' + xhr.responseText,
'ERROR',
{
'closeButton': true,
'timeOut': 0
}
);
}
});
}