View file www/includes/inc_golod.php

File size: 247B
<?php

if($golod>0)
{
--$golod;
mysql_query("update users set golod='".$golod."' where id='".$id."';");
}
else
{
--$health;
mysql_query("update users set health='".$health."' where id='".$id."';");
print $lang['golod_warning'];
}

?>