monitoring_view.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php include 'admin_header.php'; ?>
  2. <div class="content-wrapper">
  3. <section class="content-header">
  4. <h1>
  5. <?=lang::_('QR codes')?>
  6. <small><?=lang::_('Hotel QR codes')?></small>
  7. </h1>
  8. <ol class="breadcrumb">
  9. <li><a href="/admin"><i class="fa fa-users"></i> <?=lang::_('Admin')?></a></li>
  10. <li class="active"><?=lang::_('Hotel QR codes')?></li>
  11. </ol>
  12. </section>
  13. <section class="content">
  14. <div class="box box-info">
  15. <div class="box-header with-border">
  16. <h3 class="box-title"><?=lang::_('Hotel QR codes')?></h3>
  17. <div class="box-tools pull-right">
  18. <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
  19. </div>
  20. </div>
  21. <div class="box-body">
  22. <div class="row">
  23. <table class="table table-bordered table-hover dataTable table-striped data-list">
  24. <thead>
  25. <tr>
  26. <th><?=lang::_('Hotel name')?></th>
  27. <th><?=lang::_('Hotel URL')?></th>
  28. <th>&nbsp;</th>
  29. </tr>
  30. </thead>
  31. <tbody>
  32. <?php foreach ($hotels as $hotel) : ?>
  33. <tr>
  34. <td><?=$hotel['value']?></td>
  35. <td>https://openshop.urbanms.hu/hotel/<?=$hotel['key']?></td>
  36. <td>
  37. <button type="button" onclick="window.open('/qrcode.php?s=qr&d=https://openshop.urbanms.hu/hotel/<?=$hotel['key']?>&sf=8')" class="btn btn-flat btn-xs btn-success"><i class="fa fa-qrcode"></i></button>
  38. </td>
  39. </tr>
  40. <?php endforeach; ?>
  41. </tbody>
  42. <tfoot>
  43. <tr>
  44. <th><?=lang::_('Hotel name')?></th>
  45. <th><?=lang::_('Hotel URL')?></th>
  46. <th>&nbsp;</th>
  47. </tr>
  48. </tfoot>
  49. </table>
  50. </div>
  51. </div>
  52. </div>
  53. </section>
  54. </div>
  55. <?php include 'admin_footer.php'; ?>