$eff=mysql_fetch_array(mysql_query('SELECT `id` FROM `eff_users` WHERE `uid` = "'.$u->info['id'].'" AND `id_eff` = 396 LIMIT 1'));
if(isset($eff['id'])){
mysql_query('UPDATE `eff_users` SET `delete` = "'.time().'" WHERE `uid` = "'.$u->info['id'].'" AND `delete` = "0" AND `id_eff` = "'.$itm['magic_inc'].'"');
$u->addDelo(1,$u->info['id'],'"<font color="maroon">System.inventory</font>": Персонаж использовал эликсир "'.$itm['name'].'" ('.$u->info['id'].') [itm:'.$itm['id'].'].',time(),$u->info['city'],'System.inventory',0,0);
$u->addDelo(1,$u->info['id'],'"<font color="maroon">System.inventory</font>": Персонаж использовал эликсир "'.$itm['name'].'" ('.$u->info['id'].') [itm:'.$itm['id'].'].',time(),$u->info['city'],'System.inventory',0,0);
$eff=mysql_fetch_array(mysql_query('SELECT `id` FROM `eff_users` WHERE `uid` = "'.$u->info['id'].'" AND `id_eff` = 397 LIMIT 1'));
if(isset($eff['id'])){
mysql_query('UPDATE `eff_users` SET `delete` = "'.time().'" WHERE `uid` = "'.$u->info['id'].'" AND `delete` = "0" AND `id_eff` = "'.$itm['magic_inc'].'"');
$u->addDelo(1,$u->info['id'],'"<font color="maroon">System.inventory</font>": Персонаж использовал эликсир "'.$itm['name'].'" ('.$u->info['id'].') [itm:'.$itm['id'].'].',time(),$u->info['city'],'System.inventory',0,0);
$u->addDelo(1,$u->info['id'],'"<font color="maroon">System.inventory</font>": Персонаж использовал эликсир "'.$itm['name'].'" ('.$u->info['id'].') [itm:'.$itm['id'].'].',time(),$u->info['city'],'System.inventory',0,0);
$eff=mysql_fetch_array(mysql_query('SELECT `id` FROM `eff_users` WHERE `uid` = "'.$u->info['id'].'" AND `id_eff` = 398 LIMIT 1'));
if(isset($eff['id'])){
mysql_query('UPDATE `eff_users` SET `delete` = "'.time().'" WHERE `uid` = "'.$u->info['id'].'" AND `delete` = "0" AND `id_eff` = "'.$itm['magic_inc'].'"');
$u->addDelo(1,$u->info['id'],'"<font color="maroon">System.inventory</font>": Персонаж использовал эликсир "'.$itm['name'].'" ('.$u->info['id'].') [itm:'.$itm['id'].'].',time(),$u->info['city'],'System.inventory',0,0);
$u->addDelo(1,$u->info['id'],'"<font color="maroon">System.inventory</font>": Персонаж использовал эликсир "'.$itm['name'].'" ('.$u->info['id'].') [itm:'.$itm['id'].'].',time(),$u->info['city'],'System.inventory',0,0);