admin_dashboard.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php include 'admin_header.php'; ?>
  2. <div class="content-wrapper">
  3. <section class="content-header">
  4. <h1>
  5. <?=lang::_('Dashboard')?>
  6. <small></small>
  7. </h1>
  8. <ol class="breadcrumb">
  9. <li><a href="/admin"><i class="fa fa-heartbeat"></i> <?=lang::_('Admin')?></a></li>
  10. <li class="active"><?=lang::_('Dashboard')?></li>
  11. </ol>
  12. </section>
  13. <section class="content">
  14. <div class="row">
  15. <?php if ($_SESSION['admin_user']->admin_access_level != '1' && $_SESSION['admin_user']->admin_access_level != '11') : ?>
  16. <?php foreach ($reports as $report) : ?>
  17. <div class="col-xl-3 col-lg-3 col-md-6 col-sm-12 col-xs-12">
  18. <div class="box box-info">
  19. <div class="box-header with-border">
  20. <h3 class="box-title"><?=$report['hotel']?></h3>
  21. </div>
  22. <div class="box-body">
  23. <p>Last month: <strong><?=formatize::currency($report['last_month'])?>,- HUF</strong></p>
  24. <p>Actual month: <strong><?=formatize::currency($report['actual_month'])?>,- HUF</strong></p>
  25. </div>
  26. </div>
  27. </div>
  28. <?php endforeach; ?>
  29. <?php endif; ?>
  30. </div>
  31. </section>
  32. </div>
  33. <?php include 'admin_footer.php'; ?>