<?
define('PROTECTOR', 1);
include('files/db.php');
include($path.'files/auth.php');
include($path.'files/core.php');
$users=mysql_query("SELECT * FROM `users`");
while($us=mysql_fetch_array($users))
{
if($us['arena_bz_kol']<5)
{
$kol1=$us['arena_bz_kol']+1;
mysql_query("UPDATE `users` SET `arena_bz_kol`='".$kol1."' WHERE `id`='".$us['id']."'");
}
}
?>