Guest User

Untitled

a guest
Oct 4th, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.49 KB | None | 0 0
  1. ...
  2. <table id="ucprequests"
  3. class="table table-striped table-no-bordered table-hover"
  4. cellspacing="0" width="100%" style="width:100%">
  5. <thead>
  6. <tr>
  7. <th>№</th>
  8. <th>Name</th>
  9. <th>Account</th>
  10. <th>Time</th>
  11. </tr>
  12. </thead>
  13. <tfoot>
  14. <tr>
  15. <th>№</th>
  16. <th>Name</th>
  17. <th>Account</th>
  18. <th>Time</th>
  19. </tr>
  20. </tfoot>
  21. <tbody>
  22. <tr>
  23. <td colspan="6" class="dataTables_empty">Загрузка данных о
  24. пользователях с сервера
  25. </td>
  26. </tr>
  27. </tbody>
  28. </table>
  29. ...
  30. <script type="text/javascript">
  31. $(document).ready(function () {
  32. $('#ucprequests').DataTable({
  33. "aProcessing": true,
  34. "aServerSide": true,
  35. "ajax": "../admin/server-responce.php",
  36. "pagingType": "full_numbers",
  37. "lengthMenu": [
  38. [10, 25, 50, -1],
  39. [10, 25, 50, "All"]
  40. ],
  41. responsive: true,
  42. "order": [[ 1, "desc" ]],
  43. language: {
  44. "processing": "Подождите...",
  45. "search": "Поиск:",
  46. "info": "Записи с _START_ до _END_ из _TOTAL_ записей",
  47. "infoEmpty": "Записи с 0 до 0 из 0 записей",
  48. "infoFiltered": "(отфильтровано из _MAX_ записей)",
  49. "infoPostFix": "",
  50. "loadingRecords": "Загрузка записей...",
  51. "zeroRecords": "Записи отсутствуют.",
  52. "emptyTable": "В таблице отсутствуют данные",
  53. "paginate":` {
  54. "first": "Первая",
  55. "previous": "Предыдущая",
  56. "next": "Следующая",
  57. "last": "Последняя"
  58. },
  59. "aria": {
  60. "sortAscending": ": активировать для сортировки столбца по возрастанию",
  61. "sortDescending": ": активировать для сортировки столбца по убыванию"
  62. },
  63. "lengthMenu": 'Показать <select>'+
  64. '<option value="10">10</option>'+
  65. '<option value="20">20</option>'+
  66. '<option value="30">30</option>'+
  67. '<option value="40">40</option>'+
  68. '<option value="50">50</option>'+
  69. '</select> заявок'
  70. }
  71. });
  72. </script>
Advertisement
Add Comment
Please, Sign In to add comment