





<div class="ads">
    <?= $settings['faucet_top_ad'] ?>
</div>
<div class="row">
    <div class="col-md-6 col-xl-4 mb-3 mb-xl-3">
        <div class="card mini-stats-wid">
            <div class="card-body">
                <div class="media">
                    <div class="media-body">
                        <?php
                        if ($wait) { ?>
                      <h4 class="lh-1 mb-1 font-weight-bold"><b id="minute"><?= floor($wait / 3600) ?></b>:<b id="second"><?= $wait % 3600 ?> </b> Hours</h4>
                        <?php } else { ?>
                            <h4 class="lh-1 mb-1 font-weight-bold">READY</h4>
                        <?php } ?>
                    </div>

                   <div class="align-self-center">
                <img src="/img/clock.png" draggable="false" width="50px">
              </div>
                </div>
            </div>
        </div>
    </div>

    <div class="col-md-6 col-xl-4 mb-3 mb-xl-3">
        <div class="card mini-stats-wid">
            <div class="card-body">
                <div class="media">
                    <div class="media-body">
                        <p class="lh-1 mb-1 font-weight-bold">+52<?= currency($settings['dailybonus_reward'], $settings['currency_rate']) ?> <sup></sup></p>
                        <p class="mb-0">Reward</p>
                    </div>

                    <div class="align-self-center">
                <img src="/img/token-s.png" draggable="false" width="50px">
              </div>
                </div>
            </div>
        </div>
    </div>
    <div class="col-md-6 col-xl-4 mb-3 mb-xl-3">
        <div class="card mini-stats-wid">
            <div class="card-body">
                <div class="media">
                    <div class="media-body">
                        <p class="lh-1 mb-1 font-weight-bold">+200% Bonus</span> (Free Level Up)</p>
                        <p class="mb-0">Bonus Amount</p>
                    </div>

                   <div class="align-self-center">
                <img src="/img/claims.png" draggable="false" width="50px">
              </div>
                </div>
            </div>
        </div>
    </div>
</div>
	<section class="mail-seccess section">
	<div class="container">
		<div class="row">
			<div class="col-lg-6 offset-lg-3 col-12">
			  <?php
        if (isset($_SESSION['message'])) {
            echo $_SESSION['message'];
        }
        ?>
       
        <?php if ($limit) { ?>
            <div class="alert alert-warning text-center">Daily limit reached, claim from Shortlink Wall to earn energy</div>

        <?php } else if ($wait) { ?>

            <script type="text/javascript">
                var wait = <?= $wait ?> - 1;
            </script>
        <?php } ?>
				<!-- Error Inner -->
				<div class="success-inner">
			
				 <?php if (!$limit && !$wait) { ?>
            <form action="<?= site_url('/dailybonus/verify') ?>" method="POST">
                <input type="hidden" name="<?= $csrf_name ?>" id="token" value="<?= $csrf_hash ?>">
                <input type="hidden" name="token" value="<?= $user['token'] ?>">
                
                <div class="alert text-center alert-fade text-center xalert-simple xalert-primary xalert-dismissible text-left font__family-montserrat font__size-16 font__weight-light brk-library-rendered rendered show"><i class="fas fa-exclamation-circle"></i> GET $30 MONTHLY WHEN YOU CLAIM DAILY BONUS FOR 30 DAYS STREAK!</div>
                        <center>   <div class="holidAds"></div>    </center>
                <center>
                    <?= $captcha_display ?>
                </center><script src='//tags.orquideassp.com/tag/35052'></script>
                <button type="submit" class="btn btn-primary claim-button"><i class="far fa-check-circle"></i> Collect Bonus <?= ($useEnergy) ? ' (-' . $settings['faucet_cost'] . 'energy)' : '' ?></button> <div></div>
                
                
                <ins class="63d13fe8a8bd43bc8d2c5cfa" style="display:inline-block;width:300px;height:250px;"></ins><script>!function(e,n,c,t,o,r,d){!function e(n,c,t,o,r,m,d,s,a){s=c.getElementsByTagName(t)[0],(a=c.createElement(t)).async=!0,a.src="https://"+r[m]+"/js/"+o+".js?v="+d,a.onerror=function(){a.remove(),(m+=1)>=r.length||e(n,c,t,o,r,m)},s.parentNode.insertBefore(a,s)}(window,document,"script","63d13fe8a8bd43bc8d2c5cfa",["cdn.bmcdn5.com"], 0, new Date().getTime())}();</script>
                


            </form>
        <?php } ?>
				</div>
				<!--/ End Error Inner -->
			</div>
		</div>
	</div>
</section>
<style>
.mail-seccess {
    text-align: center;
    background: #222736;
    border-top: 1px solid #eee;
}
.mail-seccess .success-inner {
	display: inline-block;
}
.mail-seccess .success-inner h1 {
	font-size: 100px;
	text-shadow: 3px 5px 2px #3333;
	color: #e7a73c;
	font-weight: 700;
}
.mail-seccess .success-inner h1 span {
	display: block;
	font-size: 25px;
	color: #e7a73c;
	font-weight: 600;
	text-shadow: none;
	margin-top: 20px;
}
.mail-seccess .success-inner p {
	padding: 20px 15px;
	color: #e7a73c;
}
.mail-seccess .success-inner .btn{
	color:#fff;
}
.alert-danger {
    color: #7f3737;
    background-color: #e7a73c;
    border-color: #fcd5d5;
}
</style>

<script>
const countDown = setInterval(() => {
  if (typeof wait !== 'undefined') {
    if (wait == 0) {
      clearInterval(countDown);
      location.href = "";
    }
    let minutes = Math.floor(wait / 3600);
    let seconds = wait % 3600;
    $("#minute").text(minutes);
    $("#second").text(seconds);
    wait -= 1;
  }
}, 1000);

$(document).ready(function () {
  let timer = 6;
  const counter = setInterval(() => {
    if (timer == 0) {
      $(".claim-button").html(
        '<i class="far fa-check-circle"></i> Collect your reward'
      );
      $(".claim-button").removeAttr("disabled");
      clearInterval(counter);
    } else {
      if (timer === 1) {
        $(".claim-button").text(`Please wait ${timer} second`);
      } else {
        $(".claim-button").text(`Please wait ${timer} seconds`);
      }
      --timer;
    }
  }, 1000);
});</script>




<div style="position:fixed;top: 0px;left: 0px;z-index:999999;" id="id4acebe38b35df"><span style="float:right;position: absolute;top: 0; left: 0px; padding: 0px;z-index:1000000;cursor: pointer;" onclick="document.getElementById('id4acebe38b35df').style.display='none';"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#ff0700" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line></svg></span><!-- PixFuture Display Ad Tag -->
<div id="37491x320x50x6469x_ADSLOT13" clickTrack="%%CLICK_URL_ESC%%"></div>
<script async type="text/javascript" src="https://served-by.pixfuture.com/www/delivery/headerbid.js" slot_id="37491x320x50x6469x_ADSLOT13"></script></div>
