Размер файла: 1.35Kb
<?php
require_once '../element_database.php';
require_once '../../element_function/element_function_standart.php';
$list = quests_list_update(0);
if (count($list) > 0) {
foreach ($list as $key => $value) {
$user_quests = readcache('element_quests_user'.$key);
if (!empty($user_quests)) {
mysql_query("UPDATE `element_quests_user` SET
`lost_new` = '$user_quests[lost_new]',
`lost_vipolneno` = '$user_quests[lost_vipolneno]',
`missions_10` = '$user_quests[missions_10]',
`labirint_3` = '$user_quests[labirint_3]',
`labirint_all` = '$user_quests[labirint_all]',
`arena_tvt_5` = '$user_quests[arena_tvt_5]' WHERE `lost_user` = '$key' LIMIT 1");
unset($user_quests[$key]);
writecache('element_quests_list_update', $user_quests);
}
}
}
// %progdir%\modules\wget\bin\wget.exe -q --no-cache http://elemental.local/element_options/element_lost_cron/element_lost_update_quests_60.php -O %progdir%\userdata\temp\temp.txt
///element_options/element_lost_cron/element_lost_update_quests_60.php
// /usr/bin/wget -q -o /dev/null http://78.46.243.199/element_options/element_lost_cron/element_lost_update_quests_60.php
// /usr/bin/wget -q -o /dev/null http://godwars.ru/element_options/element_lost_cron/element_lost_update_quests.php
?>