<?php
@mysql_connect('localhost', 'tankon', '385331581631vbnvb');
@mysql_select_db('tankon');
@mysql_set_charset('utf8');
$tanks_code = mysql_fetch_array(mysql_query("SELECT * FROM `tanks` WHERE `id_u`='".$user['id']."'"));
$benz=$tanks_code['fuel'];
$user=mysql_fetch_array(mysql_query("SELECT * FROM `user`"));
mysql_query("UPDATE `tanks_tournament_users` SET `fuel`=`fuel`+'25' where `fuel` < '500' AND `vkl`='0' AND `twofuel`='0'");
mysql_query("UPDATE `tanks_tournament_users` SET `fuel`=`fuel`+'50' where `fuel` < '500' AND `vkl`='0' AND `twofuel`='1'");
mysql_query("UPDATE `tanks_wartournament_users` SET `fuel`=`fuel`+'25' where `fuel` < '500' AND `vkl`='0' AND `twofuel`='0'");
mysql_query("UPDATE `tanks_wartournament_users` SET `fuel`=`fuel`+'50' where `fuel` < '500' AND `vkl`='0' AND `twofuel`='1'");
?>