var elem = document.getElementById('se-pre-con');
elem.parentNode.removeChild(elem);
";
if(!defined('GAME'))
{
die();
}
if($u->info['align']==7) {
if($u->error!='')
{
echo ''.$u->error.'
';
}
$vu = array(0,0,0,0,0,0,0);
//Абилки $item_neytral
$item_neytral = array(
"" => array(
//array(5050,1,0,0,0,'tr_s1=10|tr_s2=10|tr_s3=10|tr_s4=25|onlyOne=1|oneType=74|tr_align=7|noremont=1|musor=1|srok=86400|nosale=1|sudba=1',1),
array(4943,1,0,0,0,'usefromfile=1|musor=1|noremont=1|sudba=1|tr_align=7|srok=86400|nosale=1|sudba=1',1)
),
);
$vi = array(
);
?>
Абилки:
(Чтобы забрать предмет просто нажмите на его изображение)
'на сегодня',1 => ' всего');
while($i < count($item_neytral[$neytral_panel])) {
if($item_neytral[$neytral_panel][$i][1]>0) {
$itm = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "'.$item_neytral[$neytral_panel][$i][0].'" LIMIT 1'));
if(isset($itm['id'])) {
$vix = 0;
if($item_neytral[$neytral_panel][$i][4] == 0) {
$vix = $u->testAction('`uid` = "'.$u->info['id'].'" AND `time`>='.strtotime('now 00:00:00').' AND `vars` = "dark_itm'.$itm['id'].'"',2);
$vix = $vix[0];
}else{
$vix = $u->testAction('`uid` = "'.$u->info['id'].'" AND `time`>='.$vt['timeUse'].' AND `vars` = "dark_itm'.$itm['id'].'" ',2);
$vix = $vix[0];
}
if($item_neytral[$neytral_panel][$i][1]-$vix > 0) {
if(isset($_GET['take_item_neytral_panel']) && $_GET['take_item_neytral_panel'] == $itm['id']) {
$nitm = $u->addItem($itm['id'],$u->info['id'],$item_neytral[$neytral_panel][$i][5]);
if($item_neytral[$neytral_panel][6]>0) {
}
$u->addAction(time(),'dark_itm'.$itm['id'],'');
echo 'Предмет "'.$itm['name'].'" перемещен к Вам в инвентарь!
';
}
}
$seet0 = '';
//Вывод предметов
$seet0 .= ' ';
if($item_neytral[$neytral_panel][$i][1]-$vix > 0) {
$seet0 = ''.$seet0.'';
}else{
$seet0 = ''.$seet0.'';
}
$seet .= $seet0;
}
}
$i++;
}
}
echo $seet;
?>