Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

usersAccessLogs.view.php 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php echo $this->partial('Layout/nav'); ?>
  2. <div class="container">
  3. <div class="container-page-wrapper">
  4. <div class="container-page-container">
  5. <h1><?php echo $this->actionTitle; ?></h1>
  6. <hr>
  7. <?php //debug($this->view->accesses); ?>
  8. <?php if(is_array($this->view->accesses) && !empty($this->view->accesses)): ?>
  9. <div class="table-overflow">
  10. <table class="table table-hover">
  11. <thead class="thead-light">
  12. <tr>
  13. <th><?php echo _('Username'); ?></th>
  14. <th><?php echo _('Surname'); ?></th>
  15. <th><?php echo _('Name'); ?></th>
  16. <th><?php echo _('IP'); ?></th>
  17. <th><?php echo _('GMT date'); ?></th>
  18. <th><?php echo _('Interval'); ?></th>
  19. <th></th>
  20. </tr>
  21. </thead>
  22. <tbody>
  23. <?php foreach($this->view->accesses as $access): ?>
  24. <tr>
  25. <td><?php echo $access['username']; ?></td>
  26. <td><?php echo $access['surname']; ?></td>
  27. <td><?php echo $access['name']; ?></td>
  28. <td><?php echo $access['remote_ip']; ?></td>
  29. <td><?php echo $this->helper->getDateString($access['access_date'], true); ?></td>
  30. <td><?php echo $this->helper->dateIntervalString($access['access_date']); ?></td>
  31. </tr>
  32. <?php endforeach; ?>
  33. </tbody>
  34. </table>
  35. </div>
  36. <?php echo $this->partial('Layout/pagination'); ?>
  37. <?php else: ?>
  38. <?php endif; ?>
  39. </div>
  40. </div>
  41. </div>