![]() |
От: | falcoware | http://free-games-download.falcoware.com |
Дата: | 03.01.20 20:09 | ||
Оценка: | +1 |
// 1% for last 10 games!
include '../falcoware.com/all_game_array.php';
for($iGame = 0; $iGame < 10; $iGame++){
$product_10 = str_replace(".php", "", $game[$iGame]["link"]);
$vendor_id_last10 = get_product_vendor_id($product_10);
$prod_id_10 = get_product_id($product_10);
$time_money = time();
charge ($vendor_id_last10, $add_incred * 0.01, '', REASON_INVITE_VENDOR_PERCENTAGE_LAST10, 0, $country['zone_id'], $country['country_id'], $prod_id_10, $time_money);
}
// 1% for last 10 online-games!
include '../falconline.net/all_game_array.php';
for($iGame = 0; $iGame < 10; $iGame++){
$product_10 = str_replace(".php", "", $game[$iGame]["link"]);
$vendor_id_last10 = get_product_vendor_id($product_10);
$prod_id_10 = get_product_id($product_10);
$time_money = time();
charge ($vendor_id_last10, $add_incred * 0.01, '', REASON_INVITE_VENDOR_PERCENTAGE_LAST10, 0, $country['zone_id'], $country['country_id'], $prod_id_10, $time_money);
}
// Assets!
$asset_ids = file_get_contents("http://assets.falco3d.com/pages/account/get_10_users_with_assets.php");
$IDS = explode("<br>", $asset_ids); //create array separate by new line
for ($i=0; $i < count($IDS); ++$i)
{
if (empty($IDS[$i]))
continue;
$vendor_id_LastAsset = get_product_id("LastAsset");
$vendorAsset = intval($IDS[$i]);
charge ($vendorAsset, $add_incred * 0.01, '', REASON_INVITE_VENDOR_PERCENTAGE_LAST10, 0, $country['zone_id'], $country['country_id'], $vendor_id_LastAsset, $time_money);
}