Blog-Author List

Blog-Author List
<% var i = 1; list.forEach(function(data) { %> <% i++; }) %>
Image Author Name Email Status Action
<%= data.authorName %> <% if (data.status == 'active') { %> <%= data.status %> <% } else { %> <%= data.status %> <% } %>
<% if (list && list.length < 1) { %>
Sorry! No Result Found

We've searched more than 150+ Customers We did not find any Customers for you search.

<% } %>
<% if (listCount > 0) { %>
Showing <% if (((currentPage - 1) * pageSize) + 1 == listCount) { %> <%= listCount %> <% } else { %> <%= ((currentPage - 1) * pageSize) + 1 %> to <%= currentPage == pageCount ? listCount : (currentPage * pageSize) %> <% } %> of <%= listCount %> entries
<% if (currentPage > 1) { %> Previous <% } else { %> Previous <% } %>
    <% for (var j = 1; j <= pageCount; j++) { %> <% if (j >= currentPage - 2 && j <= currentPage + 2) { %> <% if (currentPage == j) { %>
  • <%= j %>
  • <% } else { %>
  • <%= j %>
  • <% } %> <% } %> <% } %>
<% if (currentPage < pageCount) { %> Next <% } else { %> Next <% } %>
<% } %>