選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

index.view.php 3.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?php echo $this->partial('Layout/nav'); ?>
  2. <div class="container">
  3. <?php echo $this->partial('User/profile-summary', ['showBottomLink'=>true]); ?>
  4. <?php if($this->user->is(REFERRER_ROLE_ID)): ?>
  5. <div class="row">
  6. <div class="col-lg-12 col-xl-12">
  7. <div class="container-page-wrapper shodowed bordered">
  8. <div class="container-page-container text-center">
  9. <a href="<?php echo $this->helper->setHash('requests/'.time().'/reports/request_status_number/asc/1'); ?>" class="btn btn-primary btn-lg active" role="button" aria-pressed="true"><?php echo _('My Reports'); ?></a>
  10. </div>
  11. </div>
  12. </div>
  13. </div>
  14. <?php endif; ?>
  15. <?php if($this->user->is(APPLICANT_ROLE_ID)): ?>
  16. <?php echo $this->partial('Dashboard/statistics', ['showRoleLabel'=>$this->view->showRoleLabel, 'roleId'=>APPLICANT_ROLE_ID, 'roleLabel'=>_('Requester')]); ?>
  17. <?php endif; ?>
  18. <?php if($this->user->is(GUEST_ROLE_ID)): ?>
  19. <?php echo $this->partial('Dashboard/statistics', ['showRoleLabel'=>$this->view->showRoleLabel, 'roleId'=>GUEST_ROLE_ID, 'roleLabel'=>_('Guest')]); ?>
  20. <?php endif; ?>
  21. <?php if($this->user->is(REFERRER_ROLE_ID)): ?>
  22. <?php echo $this->partial('Dashboard/statistics', ['showRoleLabel'=>$this->view->showRoleLabel, 'roleId'=>REFERRER_ROLE_ID, 'roleLabel'=>_('Requester')]); ?>
  23. <?php endif; ?>
  24. <?php if($this->user->is(MODERATOR_ROLE_ID)): ?>
  25. <?php echo $this->partial('Dashboard/statistics', ['showRoleLabel'=>$this->view->showRoleLabel, 'roleId'=>MODERATOR_ROLE_ID, 'roleLabel'=>_('Moderator')]); ?>
  26. <?php endif; ?>
  27. <?php if($this->user->is(ADMIN_ROLE_ID)): ?>
  28. <?php echo $this->partial('Dashboard/statistics', ['showRoleLabel'=>$this->view->showRoleLabel, 'roleId'=>ADMIN_ROLE_ID, 'roleLabel'=>_('Administrator')]); ?>
  29. <?php endif; ?>
  30. <?php if($this->checkPermissions([2])): ?>
  31. <div class="row">
  32. <div class="col-lg-6 col-xl-6">
  33. <div class="container-page-wrapper shodowed bordered">
  34. <div class="container-page-container">
  35. <h4><?php echo _('Last subscriptions'); ?></h4>
  36. <hr>
  37. <div id="admin-last-subscriptions"><small class="form-text text-muted"><?php echo _('Click Load button to load this content...'); ?></small></div>
  38. <div class="clearfix">
  39. <hr>
  40. <button type="button" class="btn btn-primary float-right btn-sm btn-dash-show-subscrip"><?php echo _('Load'); ?> <span class="icon-spinner11"></span></button>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="col-lg-6 col-xl-6">
  46. <div class="container-page-wrapper shodowed bordered">
  47. <div class="container-page-container">
  48. <h4><?php echo _('Last sessions'); ?></h4>
  49. <hr>
  50. <div id="admin-last-sessions"><small class="form-text text-muted"><?php echo _('Click Load button to load this content...'); ?></small></div>
  51. <div class="clearfix">
  52. <hr>
  53. <button type="button" class="btn btn-primary float-right btn-sm btn-dash-show-sess"><?php echo _('Load'); ?> <span class="icon-spinner11"></span></button>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. <div class="row">
  60. <div class="col-lg-6 col-xl-6">
  61. <div class="container-page-wrapper shodowed bordered">
  62. <div class="container-page-container">
  63. <h4><?php echo _('Last accesses'); ?></h4>
  64. <hr>
  65. <div id="admin-last-accesses"><small class="form-text text-muted"><?php echo _('Click Load button to load this content...'); ?></small></div>
  66. <div class="clearfix">
  67. <hr>
  68. <button type="button" class="btn btn-primary float-right btn-sm btn-dash-show-accesses"><?php echo _('Load'); ?> <span class="icon-spinner11"></span></button>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. <?php endif; ?>
  75. </div>