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

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

</head>
<body data-online-id="PmuNpzrj9lHbDxji8zZZGD3rnfzbFcQ45gdmKhlHvLuvQCO6l9qhCw=="
      data-route="cashback" 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);
      --desktop-icon-src: url(//d33egg70nrp50s.cloudfront.net/Images/icons/desktop-white.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/navbar.php");
?>

<div class="standard-form-container">
  <div class="tab-menu-background-container">
    <div class="tab-menu-container" data-style="vertical">
            <a href="/mobile/bonus" data-active="false">
                <i data-icon="bonus" style="--image-src: url(//d33egg70nrp50s.cloudfront.net/Images/v-zelma-v2-beta/<?= $config['theme']; ?>/mobile/tabs/bonus.svg?v=20241125);--active-image-src: url(//d33egg70nrp50s.cloudfront.net/Images/v-zelma-v2-beta/<?= $config['theme']; ?>/mobile/tabs/bonus-active.svg?v=20241125);"></i>
                Bonus
            </a>
                    <a href="/mobile/commission" data-active="false">
                <i data-icon="commission" style="--image-src: url(//d33egg70nrp50s.cloudfront.net/Images/v-zelma-v2-beta/<?= $config['theme']; ?>/mobile/tabs/commission.svg?v=20241125);--active-image-src: url(//d33egg70nrp50s.cloudfront.net/Images/v-zelma-v2-beta/<?= $config['theme']; ?>/mobile/tabs/commission-active.svg?v=20241125);"></i>
                Komisi
            </a>
                    <a href="/mobile/cashback" data-active="true">
                <i data-icon="cashback" style="--image-src: url(//d33egg70nrp50s.cloudfront.net/Images/v-zelma-v2-beta/<?= $config['theme']; ?>/mobile/tabs/cashback.svg?v=20241125);--active-image-src: url(//d33egg70nrp50s.cloudfront.net/Images/v-zelma-v2-beta/<?= $config['theme']; ?>/mobile/tabs/cashback-active.svg?v=20241125);"></i>
                Cashback
            </a>
                    <a href="/mobile/combine-promo" data-active="false">
                <i data-icon="combine-promo" style="--image-src: url(//d33egg70nrp50s.cloudfront.net/Images/v-zelma-v2-beta/<?= $config['theme']; ?>/mobile/tabs/combine-promo.svg?v=20241125);--active-image-src: url(//d33egg70nrp50s.cloudfront.net/Images/v-zelma-v2-beta/<?= $config['theme']; ?>/mobile/tabs/combine-promo-active.svg?v=20241125);"></i>
                Promo Gabungan
            </a>
    </div>
</div>
    <div class="claim-filter-container">
        <div class="form-group">
            <label>Kategori</label>
            <select class="form-control" id="promotion_type_select">
                <option value="">Semua</option>
                    <option value="W">Mingguan</option>
            </select>
        </div>
        <div class="form-group">
            <label>Tipe</label>
            <select class="form-control" id="game_type_select">
                <option value="">Semua</option>
                    <option value="Slots">Slots</option>
                    <option value="Arcade">Arcade</option>
                    <option value="Sports">Olahraga</option>
            </select>
        </div>
    </div>
    <div class="standard-form-note claim-note">
        <span>Catatan:</span>
        <ol>
            

<li>Promosi ini tidak bisa dikombinasikan dengan promosi lainnya dan promosi ini bisa kedaluarsa.</li><li>Cek progress promosi dan klaim tidak tersedia dari jam 03:00 - 07:00!</li>
            <li>
    Cashback sedang disimpan selama <strong>30 menit</strong> dari <strong><?= htmlspecialchars((new DateTime($user['created_at']))->setTimezone(new DateTimeZone('Asia/Jakarta'))->format('d-M-Y H:i:s T')); ?></strong>
</li>

        </ol>
    </div>

<div class="claim-item-container claim_item_filter" id="e4e7144b-f76a-4c70-aee3-1b47002cdb7b" data-promotion-type="W" data-game-types="Slots;Arcade">
    <div class="claim-item-type">
        <div>
            Mingguan
        </div>


<div class="expiration-countdown expiration_countdown" data-expiration-date="04-Mar-2025 12:00:00 AM">
    <div data-section="title">
        BERAKHIR PADA
    </div>
    <div data-section="days">
        <div data-value="days">7</div>
        <span>HARI</span>
    </div>
    <div data-section="hours">
        <div data-value="hours">0</div>
        <span>JAM</span>
    </div>
    <div data-section="minutes">
        <div data-value="minutes">48</div>
        <span>MENIT</span>
    </div>
    <div data-section="seconds">
        <div data-value="seconds">11</div>
        <span>DETIK</span>
    </div>
</div>
    </div>
    <div class="claim-item">
        <div class="claim-progress-info">
            <div class="claim-title">
                <div>
                    <strong>BONUS CASHBACK 5% + BONUS ROLLINGAN 0,5% SLOTS &amp; ARCADE</strong>
                </div>
            </div>
            <div class="claim-details">
                    <div>(<?= htmlspecialchars((new DateTime($user['created_at']))->setTimezone(new DateTimeZone('Asia/Jakarta'))->format('d-M-Y H:i:s T')); ?> - 02-Mar-2025 23:59:59 WIB)</div>
                <div>
                    [Gabung Otomatis]  [Rilis Otomatis]
                </div>
            </div>
            <div class="bonus-progress">
                <div class="progress">
                    <div class="progress-bar progress-bar-success" role="progressbar" style="width: 0%"></div>
                </div>
            </div>
            <div class="progress-percentage">
                Jumlah Cashback: <i>0.00</i>
            </div>
        </div>
        <div class="claim-action-container">
            <div class="link-container">
                
                <span class="info-button btn" data-target="#claim-info-modal-6f41dc64-fa62-4f7f-99f7-0f3930da0201" data-toggle="modal">
                    Info
                </span>
            </div>
        </div>
    </div>
    <div class="modal claim-info-modal" id="claim-info-modal-6f41dc64-fa62-4f7f-99f7-0f3930da0201" role="dialog">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">×</span>
                    </button>
                    <h4>
                        BONUS CASHBACK SLOT 5% + ROLLINGAN 0,5% (Gabung Otomatis)
                    </h4>
                </div>
                <div class="modal-body">
                    <div>
                        



<div class="info-section">
    <div class="info-section-title">
        Info cashback
    </div>
    <div class="info-section-row">
        <div class="info-section-label">
            Occurrence Type
        </div>
        <div class="info-section-value">
            Mingguan
        </div>
    </div>
    <div class="info-section-row">
        <div class="info-section-label">
            Permainan
        </div>
        <div class="info-section-value">
            Slots &amp; Arcade
        </div>
    </div>
    <div class="info-section-row">
        <div class="info-section-label">
            Active From
        </div>
        <div class="info-section-value">
            24 Februari 2025
        </div>
    </div>
    <div class="info-section-row">
        <div class="info-section-label">
            Active To
        </div>
        <div class="info-section-value">
            03 Maret 2025
        </div>
    </div>
        <div class="info-section-row">
            <div class="info-section-label">
                Promosi permainan yang didukung
            </div>
            <div class="info-section-value">
                AdvantPlay | AMB Slot | Bigpot | Crowd Play | Dragoonsoft | Fachai | Fun Gaming | Habanero | JDB | Jili | Joker | Live22 | Mario Club | MicroGaming | 9Gaming Slots | ION Slot | PG Soft | Play&#39;n Go | Playstar | Pragmatic Play | CQ9 | Flow Gaming | Funky Games | Real Time Gaming | Slot88 | Spade Gaming | Top Trend Gaming | VPower | Yggdrasil | AdvantPlay Mini Game | Arcadia | Aviator
            </div>
        </div>
</div>

    <div class="info-section">
        <div class="info-section-title">
            PROSES
        </div>
            <div class="info-section-row">
                <div class="info-section-label">
                    WinLoss saat ini
                </div>
                <div class="info-section-value">
                    0.00
                </div>
            </div>
            <div class="info-section-row">
                <div class="info-section-label">
                    Jumlah taruhan saat ini
                </div>
                <div class="info-section-value">
                    0
                </div>
            </div>
    </div>

<div class="info-section">
    <div class="info-section-title">
        PERSYARATAN KLAIM
    </div>
            <div class="info-section-row">
                <div class="info-section-label">
                    Jumlah taruhan minimal yang dibutuhkan.
                </div>
                <div class="info-section-value">
                    30
                </div>
            </div>
            <div class="info-section-row">
                <div class="info-section-label">
                    Jumlah loss minimal yang dibutuhkan.
                </div>
                <div class="info-section-value">
                    0.00
                </div>
            </div>
        <div class="info-section-row">
            <div class="info-section-label">
                Tanggal akhir
            </div>
            <div class="info-section-value">
                03-Mar-2025 00:00:00 WIB
            </div>
        </div>
        <div class="info-section-row">
            <div class="info-section-label">
                Tanggal klaim
            </div>
            <div class="info-section-value">
                04-Mar-2025 00:00:00 WIB
            </div>
        </div>
</div>

    <div class="info-section">
        <div class="info-section-title">
            Informasi tambahan
        </div>
        <div><p>BONUS CASHBACK SLOTS &amp; ARCADE 5% + BONUS KOMISI 0,5%</p><p>1. BONUS CASHBACK 5% DAN BONUS KOMISI 0,5% AKAN DIHITUNG SEMUA TARUHAN SELAMA 1 MINGGU DI SETIAP USER ID MEMBER (SENIN-MINGGU)</p><p>2. BONUS CASHBACK DAN BONUS KOMISI AKAN DIBAGIKAN SETIAP HARI SELASA DAN AKAN LANGSUNG OTOMATIS MASUK KE USER ID MEMBER</p><p>3. APABILA PIHAK <?= $config['title']; ?> MENEMUKAN KECURANGAN YANG DILAKUKAN MEMBER, MAKA BONUS AKAN DINYATAKAN HILANG/HANGUS</p><p>4. BONUS DAPAT BERUBAH SEWAKTU-WAKTU TANPA PEMBERITAHUAN TERLEBIH DAHULU</p><p>5. PROMO INI HANYA BERLAKU PADA GAME SLOTS &amp; ARCADE</p><p>6. SEMUA KEPUTUSAN PIHAK <?= $config['title']; ?> MUTLAK DAN TIDAK DAPAT DIGANGGU GUGAT !!!</p><p>CONTOH PERHITUNGAN BONUS:</p><p>WINLOSE DALAM SEMINGGU (-IDR 1.000.000,-)</p><p>TURNOVER DALAM SEMINGGU IDR 1.000.000,-</p><p>CASHBACK 5% (-IDR 1.000.000,-) X 5% = IDR 50.000,-</p><p>KOMISI 0,5% IDR 1.000.000,- X 0,5% = IDR 5.000,-</p><p>TOTAL BONUS YANG DIDAPATKAN ADALAH IDR 50.000,- + IDR 5.000,- = IDR 55.000,-</p></div>
    </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="claim-item-container claim_item_filter" id="abaa65aa-c7c7-4e3f-9cfa-3ab08515438a" data-promotion-type="W" data-game-types="Sports">
    <div class="claim-item-type">
        <div>
            Mingguan
        </div>


<div class="expiration-countdown expiration_countdown" data-expiration-date="04-Mar-2025 12:00:00 AM">
    <div data-section="title">
        BERAKHIR PADA
    </div>
    <div data-section="days">
        <div data-value="days">7</div>
        <span>HARI</span>
    </div>
    <div data-section="hours">
        <div data-value="hours">0</div>
        <span>JAM</span>
    </div>
    <div data-section="minutes">
        <div data-value="minutes">48</div>
        <span>MENIT</span>
    </div>
    <div data-section="seconds">
        <div data-value="seconds">11</div>
        <span>DETIK</span>
    </div>
</div>
    </div>
    <div class="claim-item">
        <div class="claim-progress-info">
            <div class="claim-title">
                <div>
                    <strong>BONUS CASHBACK SPORTBOOK 5%</strong>
                </div>
            </div>
            <div class="claim-details">
                    <div>(<?= htmlspecialchars((new DateTime($user['created_at']))->setTimezone(new DateTimeZone('Asia/Jakarta'))->format('d-M-Y H:i:s T')); ?> - 02-Mar-2025 23:59:59 WIB)</div>
                <div>
                    [Gabung Otomatis]  [Rilis Otomatis]
                </div>
            </div>
            <div class="bonus-progress">
                <div class="progress">
                    <div class="progress-bar progress-bar-success" role="progressbar" style="width: 0%"></div>
                </div>
            </div>
            <div class="progress-percentage">
                Jumlah Cashback: <i>0.00</i>
            </div>
        </div>
        <div class="claim-action-container">
            <div class="link-container">
                
                <span class="info-button btn" data-target="#claim-info-modal-13942174-c4f4-4e3a-b5a6-92512cbcd044" data-toggle="modal">
                    Info
                </span>
            </div>
        </div>
    </div>
    <div class="modal claim-info-modal" id="claim-info-modal-13942174-c4f4-4e3a-b5a6-92512cbcd044" role="dialog">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">×</span>
                    </button>
                    <h4>
                        BONUS CASHBACK SPORTSBOOK 5% (Gabung Otomatis)
                    </h4>
                </div>
                <div class="modal-body">
                    <div>

<div class="info-section">
    <div class="info-section-title">
        Info cashback
    </div>
    <div class="info-section-row">
        <div class="info-section-label">
            Occurrence Type
        </div>
        <div class="info-section-value">
            Mingguan
        </div>
    </div>
    <div class="info-section-row">
        <div class="info-section-label">
            Permainan
        </div>
        <div class="info-section-value">
            Sports
        </div>
    </div>
    <div class="info-section-row">
        <div class="info-section-label">
            Active From
        </div>
        <div class="info-section-value">
            24 Februari 2025
        </div>
    </div>
    <div class="info-section-row">
        <div class="info-section-label">
            Active To
        </div>
        <div class="info-section-value">
            03 Maret 2025
        </div>
    </div>
        <div class="info-section-row">
            <div class="info-section-label">
                Promosi permainan yang didukung
            </div>
            <div class="info-section-value">
                Saba Sportsbook | Opus | SBO Sportsbook | SBO Virtual Sports | WBet
            </div>
        </div>
</div>

    <div class="info-section">
        <div class="info-section-title">
            PROSES
        </div>
            <div class="info-section-row">
                <div class="info-section-label">
                    WinLoss saat ini
                </div>
                <div class="info-section-value">
                    0.00
                </div>
            </div>
            <div class="info-section-row">
                <div class="info-section-label">
                    Jumlah taruhan saat ini
                </div>
                <div class="info-section-value">
                    0
                </div>
            </div>
    </div>

<div class="info-section">
    <div class="info-section-title">
        PERSYARATAN KLAIM
    </div>
            <div class="info-section-row">
                <div class="info-section-label">
                    Jumlah taruhan minimal yang dibutuhkan.
                </div>
                <div class="info-section-value">
                    5
                </div>
            </div>
            <div class="info-section-row">
                <div class="info-section-label">
                    Jumlah loss minimal yang dibutuhkan.
                </div>
                <div class="info-section-value">
                    0.00
                </div>
            </div>
        <div class="info-section-row">
            <div class="info-section-label">
                Tanggal akhir
            </div>
            <div class="info-section-value">
                03-Mar-2025 00:00:00 WIB
            </div>
        </div>
        <div class="info-section-row">
            <div class="info-section-label">
                Tanggal klaim
            </div>
            <div class="info-section-value">
                04-Mar-2025 00:00:00 WIB
            </div>
        </div>
</div>

    <div class="info-section">
        <div class="info-section-title">
            Informasi tambahan
        </div>
        <div><p>1. BONUS CASHBACK AKAN DIBERIKAN SENILAI 5% DARI TOTAL KEKALAHAN DALAM 1 MINGGU DI SETIAP USER ID MEMBER (SENIN-MINGGU)</p><p>2. BONUS CASHBACK AKAN DIBAGIKAN SETIAP HARI SELASA DAN AKAN LANGSUNG OTOMATIS MASUK KE USER ID MEMBER</p><p>3. APABILA PIHAK <?= $config['title']; ?> MENEMUKAN KECURANGAN YANG DILAKUKAN MEMBER, MAKA BONUS AKAN DINYATAKAN HILANG/HANGUS</p><p>4. BONUS DAPAT BERUBAH SEWAKTU-WAKTU TANPA PEMBERITAHUAN TERLEBIH DAHULU</p><p>5. PROMO INI HANYA BERLAKU PADA GAME SPORTBOOK</p><p>6. SEMUA KEPUTUSAN PIHAK <?= $config['title']; ?> MUTLAK DAN TIDAK DAPAT DIGANGGU GUGAT !!!</p></div>
    </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div></div>

<?php
include(__DIR__.'/layouts/footer.php');
include(__DIR__.'/layouts/sidebar.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-mobile-js' defer></script>
<script src='/bundles/Claims/page-js' defer></script>

<script>
  window.addEventListener('DOMContentLoaded', () => initializeClaims());
</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>
