mysql_query("update `users` set `vip` = '1', `g` = `g` - '100000', `vip_time` = '" . (time() + 86400) . "' where `id` = '".$user['id']."'");