View file element_options/element_lost_cron/element_lost_delete_quest.php

File size: 986B
<?php
	require_once '../element_database.php';
	require_once '../../element_function/element_function_standart.php';
	
	
	$query = mysql_query("SELECT `lost_user` FROM `element_quests_user`");
	while($myrrow = mysql_fetch_array($query)) {
		mysql_query("UPDATE `element_quests_user` SET `lost_new` = '0',
													  `lost_vipolneno` = '0',
													  `missions_10` = '0',
													  `labirint_3` = '0',
													  `labirint_all` = '0',
													  `arena_tvt_5` = '0' WHERE `lost_user` = '$myrrow[lost_user]' LIMIT 1");
		deletecache('element_quests_user'.$myrrow['lost_user']);
	}
	
	
// %progdir%\modules\wget\bin\wget.exe -q --no-cache http://elemental.local/element_options/element_lost_cron/element_lost_delete_quest.php -O %progdir%\userdata\temp\temp.txt	
///element_options/element_lost_cron/element_lost_delete_quest.php
// /usr/bin/wget -q -o /dev/null http://godwars.ru/element_options/element_lost_cron/element_lost_delete_quest.php
?>