<?php
session_start();
require_once(__DIR__ . '/../../config/db.php');
require_once(__DIR__ . '/../../session.php');
include(__DIR__.'/../layouts/stylesheet.php');
?>

    <link href="/Content/jquery.daterangepicker" rel="stylesheet"/>
    <link href="/Content/zelma-v2-beta-desktop-css" rel="stylesheet"/>
    <link href="/Content/jquery.daterangepicker" rel="stylesheet"/>
    <link href="/Content/Theme/zelma-v2-beta-desktop-<?= $config['theme']; ?>-css" rel="stylesheet"/>

</head>
<body data-online-id="UeT7RcR/Vl8C1o5WiG993UmxqvVuf16QPnArbbWlJiRlh4Cs2WIrsg=="
      style="--expand-icon-src: url(//d33egg70nrp50s.cloudfront.net/Images/icons/expand.gif?v=20241125);
      --collapse-icon-src: url(//d33egg70nrp50s.cloudfront.net/Images/icons/collapse.gif?v=20241125);
      --play-icon-src: url(//d33egg70nrp50s.cloudfront.net/Images/icons/play.png?v=20241125);
      --jquery-ui-444444-src: url(//d33egg70nrp50s.cloudfront.net/Images/jquery-ui/ui-icons_444444_256x240.png?v=20241125);
      --jquery-ui-555555-src: url(//d33egg70nrp50s.cloudfront.net/Images/jquery-ui/ui-icons_555555_256x240.png?v=20241125);
      --jquery-ui-ffffff-src: url(//d33egg70nrp50s.cloudfront.net/Images/jquery-ui/ui-icons_ffffff_256x240.png?v=20241125);
      --jquery-ui-777620-src: url(//d33egg70nrp50s.cloudfront.net/Images/jquery-ui/ui-icons_777620_256x240.png?v=20241125);
      --jquery-ui-cc0000-src: url(//d33egg70nrp50s.cloudfront.net/Images/jquery-ui/ui-icons_cc0000_256x240.png?v=20241125);
      --jquery-ui-777777-src: url(//d33egg70nrp50s.cloudfront.net/Images/jquery-ui/ui-icons_777777_256x240.png?v=20241125);">

    <?php include(__DIR__.'/../layouts/header.php'); ?>
    <?php include(__DIR__.'/../layouts/game-menu.php'); ?>
    </div>

<div class="site-content-container" data-container-background="general">
  <div class="container">
    <div class="row">
      <div class="col-sm-12">
        <div class="standard-container-with-sidebar" data-style="light">
          <div class="standard-side-menu">
            <h4>
              Akun Saya
            </h4>
            <a href="/desktop/deposit" data-active="false">
              Deposit
            </a>
            <a href="/desktop/withdrawal" data-active="false">
              Penarikan
            </a>
            <a href="/desktop/history/consolidate" data-active="false">
              Riwayat Taruhan
            </a>
            <a href="/desktop/history/bonus" data-active="true">
              Riwayat Klaim
            </a>
            <a href="/desktop/bonus" data-active="false">
              Klaim Bonus
            </a>
            <h4>
              Personal Center
            </h4>
            <a href="/desktop/account-summary" data-active="false">
              Akun Saya
            </a>
            <a href="/desktop/profile" data-active="false">
              Ubah Profil
            </a>
            <a href="/desktop/password" data-active="false">
              Ubah Kata Sandi
            </a>
            <a href="/desktop/loyalty/rewards" data-active="false">
              Hadiah Loyalitas
            </a>
            <a href="/desktop/mobile-app" data-active="false">
              Unduh Aplikasi Permainan
            </a>
            <a href="/desktop/bank-account" data-active="false">
              Detail Perbankan
            </a>
            <a href="/desktop/messages/inbox" data-active="false">
              Pesan
            </a>
          </div>

          <div class="standard-form-content">
            <div class="standard-nav-bar reporting-nav-bar">
              <div class="nav-bar-links">
                <a href="/desktop/history/bonus" data-active="false">
                    BONUS
                </a>
                <a href="/desktop/history/commission" data-active="false">
                    KOMISI
                </a>
                <a href="/desktop/history/cashback" data-active="false">
                    CASHBACK
                </a>
                <a href="/desktop/history/combine-promo" data-active="true">
                    PROMO GABUNGAN
                </a>
                <a href="/desktop/history/promotion" data-active="false">
                    PENYESUAIAN
                </a>
              </div>
            </div>

            <div class="standard-reporting-scroll-container">
                <table class="table grid_table">
                  <thead>
                    <tr>
                      <th scope="col">Nama Promosi</th>
                      <th scope="col">Status</th>
                      <th scope="col">Tanggal Mulai (WIB)</th>
                      <th scope="col">Tanggal Selesai (WIB)</th>
                      <th scope="col">Komisi Turnover (total bet)</th>
                      <th scope="col">Jumlah Komisi (persentase</th>
                      <th scope="col">Cashback Winloss (total bet)</th>
                      <th scope="col">Jumlah Cashback (persentase)</th>
                      <th scope="col">Tanggal Rilis (WIB)</th>
                      <th scope="col">Tanggal Lengkap (WIB)</th>
                      <th scope="col">Status</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                    </tr>
                  </tbody>
                </table>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<?php include(__DIR__.'/../layouts/footer.php'); ?>

<div id="popup_modal" class="modal popup-modal" role="dialog" data-title="" aria-label="Popup Modal">
  <div class="modal-dialog">
    <div class="modal-content" style="--desktop-popup-alert-src: url(//d33egg70nrp50s.cloudfront.net/Images/v-zelma-v2-beta/<?= $config['theme']; ?>/desktop/layout/popup/alert.png?v=20241125);;--desktop-popup-notification-src: url(//d33egg70nrp50s.cloudfront.net/Images/v-zelma-v2-beta/<?= $config['theme']; ?>/desktop/layout/popup/notification.png?v=20241125);;--mobile-popup-alert-src: url(//d33egg70nrp50s.cloudfront.net/Images/v-zelma-v2-beta/<?= $config['theme']; ?>/mobile/layout/popup/alert.png?v=20241125);;--mobile-popup-notification-src: url(//d33egg70nrp50s.cloudfront.net/Images/v-zelma-v2-beta/<?= $config['theme']; ?>/mobile/layout/popup/notification.png?v=20241125);;--event-giveaway-popper-src: url(//d33egg70nrp50s.cloudfront.net/Images/giveaway/popper.png?v=20241125);">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">×</span>
        </button>
        <h4 class="modal-title" id="popup_modal_title">
        </h4>
      </div>
      <div class="modal-body" id="popup_modal_body">
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" data-dismiss="modal" id="popup_modal_dismiss_button">
          OK
        </button>
        <button type="button" class="btn btn-secondary" data-dismiss="modal" id="popup_modal_cancel_button" style="display: none">
          Tidak
        </button>
        <button type="button" class="btn btn-primary" id="popup_modal_confirm_button" style="display: none">
          Ya
        </button>
      </div>
    </div>
  </div>
</div>

<script src='/bundles/zelma-v2-beta-desktop-js' defer></script>

<script type="text/javascript">
  window.addEventListener('DOMContentLoaded', () => {
    initializeCurrency({
      conversionRate: 1000,
      locale: "id",
      thousandSeparator: "."
    });
  });
</script>

<script src='/bundles/Reporting/history-page-js' defer></script>

<script type="text/javascript">
  navigator.serviceWorker.getRegistrations().then(registrations => {
    for (const registration of registrations) {
      registration.unregister();
    }
  });
</script>

<div class="search-popup-container" id="search_popup_container"></div>

<script src='/bundles/reserve-js' defer></script>

</body>
</html>