$check=mysql_fetch_array(mysql_query('SELECT * FROM `actions` WHERE `uid` = "'.$u->info['id'].'" AND `vars`= "day_korm" AND `time` > "'.$timetest.'"'));
if(!isset($check['id']))
{
mysql_query('UPDATE `users` SET `room`= 9 WHERE `id` = "'.$u->info['id'].'"');
mysql_query('UPDATE `stats` SET `hpNow`= 0 WHERE `id` = "'.$u->info['id'].'"');