| Server IP : 127.0.0.1 / Your IP : 216.73.216.48 Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64 User : win 10 ( 0) PHP Version : 8.2.12 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/xamppkk/htdocs-coblaa/ |
Upload File : |
<!doctype html>
<!--
@license
Copyright 2022 Google LLC. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
-->
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Display a GPT-managed rewarded ad." />
<link rel="stylesheet" type="text/css" href="main_css/reward_page.css?v10" />
<title>Coblaa earn rewards</title>
<script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>
<script>
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.defineSlot('/23019847102/gptag_ad', [[300, 250], [320, 480], [336, 280]], 'div-gpt-ad-1730839666494-0').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>
</head>
<span style="display:none;" >
<?php
$user_ip = getenv('REMOTE_ADDR');
$geo = unserialize(file_get_contents("http://www.geoplugin.net/php.gp?ip=$user_ip"));
$city = $geo["geoplugin_city"];
$country = $geo["geoplugin_countryName"];
//echo" mmm $user_ip";
$curr_day = date("d");
$curr_month = date("m");
$curr_year = date("Y");
?>
<input type="text" id="user_ip" value="<?php echo"$user_ip";?>" style="display:none;" />
<input type="text" id="user_city" value="<?php echo"$city";?>" style="display:none;" />
<input type="text" id="user_country" value="<?php echo"$country";?>" style="display:none;" />
<input type="text" id="curr_day" value="<?php echo"$curr_day";?>" style="display:none;" />
<input type="text" id="curr_month" value="<?php echo"$curr_month";?>" style="display:none;" />
<input type="text" id="curr_year" value="<?php echo"$curr_year";?>" style="display:none;" />
<?php
session_start();
include('db.php');
if(isset($_SESSION['my_id']))
{
$user_id = $_SESSION['my_id'];
?>
</span>
<input id="my_id" value="<?php echo $user_id ?>" style="display:none;" />
<input id="my_id" value="<?php echo $sg_edit ?>" style="display:none;" />
<input id="my_id" value="<?php echo $sg_del ?>" style="display:none;" />
<body>
<!--div id="reward_div" class="reward_div">
<span class="reward_span">
<span class="ad_view_lebal" >Watch an ad to receive 2000 coins</span>
<input type="button" id="watchAdButtonYes" class="watchAdButtonYes" value="Yes" />
<input id="noRewardButton" type="button" class="watchAdButtonYes" value="No" />
</span>
</div-->
<div id="reward_counter_output" class="reward_counter_div" style="display:none;"></div>
<div id="main_reward_div" class="main_reward_div">
<!-- /23019847102/gptag_ad -->
<div id='div-gpt-ad-1730839666494-0' style='min-width: 300px; min-height: 250px;'>
<script>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1730839666494-0'); });
</script>
</div>
</div>
<div id="reward_counter_confirmation_div" class="reward_counter_confirmation_div">
<span class="reward_counter_confirmation_span" >
<span class="counter_confirm_lebal" >You have received 1000 coins.</span>
<a href="earn"><button class="reward_count_com_btn" >OK</button></a>
</span>
</div>
<script>
const run_count = document.getElementById("reward_counter_output");
var count1 = 15;
/*cur_timer = setInterval(function() {
count2 = count1 -1;
run_count.innerHTML = count2;
count1 = count2;
}, 1000);*/
const myInterval = setInterval(myTimer, 1000);
function myTimer(){
if(count1 < 1){
myStop();
claim_ad_view_reward(1000);
}else{
count2 = count1 -1;
run_count.innerHTML ='Wait for the count down '+ count2;
count1 = count2;
}
}
function myStop(){
clearInterval(myInterval);
}
function claim_ad_view_reward(cavr)
{
var today = new Date();
var cur_hour = today.getHours();
my_id = document.getElementById('my_id').value;
cur_reward = cavr;
xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET","autopage.php?my_id="+my_id+"&&cur_reward="+cur_reward+"&&cur_hour="+cur_hour+"&&status=insert_ad_view_reward",false);
xmlhttp.send(null);
//document.getElementById('reward_counter_confirmation_div').innerHTML=xmlhttp.responseText;
//document.getElementById('game_nofti_msg').style="display:block;display:flex;justify-content:center;align-items:center;";
// alert('Coin still minting come back later');
//document.getElementById('reward_counter_confirmation_div').style="display:block;display:flex;justify-content:center;align-items:center;";
// document.getElementById('reward_counter_output').style.display="none";
//document.getElementById('main_reward_div').style.display="none";
}
</script>
</body>
<?php
//}
}else{
echo"<script>window.open('login','_self')</script>";
}
?>
</html>