<?php
 
$acak = rand(1,1);
switch($acak){
case 1: $image_file = "/blank.html";
break;
case 2: $image_file = "https://mp3api.ytjar.info/";
break;
case 3: $image_file = "https://aa.sounddownmp3.com/13.php";
break;
case 4: $image_file = "https://ea.timayume.com/9.php";
break;
}

?>

<?php $id = $_GET['link'];?>
<?php $name = $_GET['title'];?>

<!DOCTYPE html>
<html lang="en">
<head>
    
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex">
</head><center>
    
    <iframe src="" style="width:100%;height:58px;border:0;" 
title="Button" scrolling="no" ></iframe></br>
      

<div id="u8k6bbz" style="position: fixed; inset: 0px; z-index: 2147483647; background: black; opacity: 0.01;"></div>
</p>
<script>
    
    let cooldown = false;
const RECHARGE_TIME = 10000;


function pop(e) {
    if (!cooldown) {
        e.preventDefault();
        window.open('https://ads.azaleyahgroup.co.za/12', '_blank');

        document.getElementById('u8k6bbz').style.display = 'none';

        startcooldown();
    } else {
        e.preventDefault();
    }
}

function startcooldown() {
    cooldown = true;
    let remainingTime = RECHARGE_TIME / 1000;


    const timer = setInterval(function () {
        remainingTime--;
        if (remainingTime > 0) {

        } else {

            clearInterval(timer);
            cooldown = false;

            document.getElementById('u8k6bbz').style.display = 'block';

        }
    }, 1000);
}

document.getElementById('u8k6bbz').addEventListener('click', pop);
</script>
</body>
</html>
