<?php
/**
 * Author: little pie
 */

function run($url) {
    // Author: little pie
    // Use file_get_contents to call the URL (non-blocking)
    file_get_contents($url);
}

$baseUrl = "https://big-win.us.cc";

// Author: little pie
$minute = (int) date('i'); // Always run every-minute scripts

// Author: little pie
run("$baseUrl/niyamitakelasa_zehn.php");
sleep(30);

// Author: little pie
run("$baseUrl/niyamitakelasa_zehn.php");
run("$baseUrl/niyamitakelasa.php");
run("$baseUrl/niyamitakelasa_aidudi.php");
run("$baseUrl/niyamitakelasa_kemuru.php");
run("$baseUrl/ktrx.php");

// Author: little pie
// Every 3 minutes
if ($minute % 3 === 0) {
    run("$baseUrl/niyamitakelasa_drei.php");
    run("$baseUrl/niyamitakelasa_aidudi_drei.php");
    run("$baseUrl/niyamitakelasa_kemuru_drei.php");
    run("$baseUrl/ktrx3.php");
}

// Author: little pie
// Every 5 minutes
if ($minute % 5 === 0) {
    run("$baseUrl/niyamitakelasa_funf.php");
    run("$baseUrl/niyamitakelasa_aidudi_funf.php");
    run("$baseUrl/niyamitakelasa_kemuru_funf.php");
    run("$baseUrl/ktrx5.php");
}

// Author: little pie
// Every 10 minutes
if ($minute % 10 === 0) {
    run("$baseUrl/niyamitakelasa_aidudi_zehn.php");
    run("$baseUrl/niyamitakelasa_kemuru_zehn.php");
    run("$baseUrl/ktrx10.php");
}

?>