php //// FILTER FUNCTIONS //// $nf = getfgroups(); $GLOBALS['filters'] = array(); foreach($nf as $nfk => $nfv){ $GLOBALS['filters']['0'][] = array('gid' => $nfk, 'gname' => $nfv , 'gopts' => getgopts($nfk)); } function findfgname($name){ $query = "SELECT * FROM [|PREFIX|]filter_groups WHERE `gname`='".$name."' LIMIT 1"; $result = $GLOBALS['ISC_CLASS_DB']->Query($query); while ($row = $GLOBALS['ISC_CLASS_DB']->Fetch($result)) { $fgname = $row['gname']; } if(isset($fgname)){ return $fgname; } } function findoname($name, $gid){ $query = "SELECT * FROM [|PREFIX|]filter_group_options WHERE `oname`='".$name."' AND `gid`='".$gid."' LIMIT 1"; $result = $GLOBALS['ISC_CLASS_DB']->Query($query); while ($row = $GLOBALS['ISC_CLASS_DB']->Fetch($result)) { $oname = $row['oname']; } if(isset($oname)){ return $oname; } } function getfoname($gid, $oid){ $query = "SELECT * FROM [|PREFIX|]filter_group_options WHERE `oid`='".$oid."' AND `gid`='".$gid."' LIMIT 1"; $result = $GLOBALS['ISC_CLASS_DB']->Query($query); while ($row = $GLOBALS['ISC_CLASS_DB']->Fetch($result)) { $foname = $row['oname']; } if(isset($foname)){ return $foname; } } function getfgname($id){ $query = "SELECT * FROM [|PREFIX|]filter_groups WHERE `gid`='".$id."' LIMIT 1"; $result = $GLOBALS['ISC_CLASS_DB']->Query($query); while ($row = $GLOBALS['ISC_CLASS_DB']->Fetch($result)) { $fgname = $row['gname']; } if(isset($fgname)){ return $fgname; } } function getfgid($name){ $query = "SELECT * FROM [|PREFIX|]filter_groups WHERE `gname`='".$name."' LIMIT 1"; $result = $GLOBALS['ISC_CLASS_DB']->Query($query); while ($row = $GLOBALS['ISC_CLASS_DB']->Fetch($result)) { $fgid = $row['gid']; } if(isset($fgid)){ return $fgid; } } function getoptid($oname, $gid){ $query = "SELECT * FROM [|PREFIX|]filter_group_options WHERE `oname`='".$oname."' AND `gid`='".$gid."' LIMIT 1"; $result = $GLOBALS['ISC_CLASS_DB']->Query($query); while ($row = $GLOBALS['ISC_CLASS_DB']->Fetch($result)) { $optid = $row['oid']; } if(isset($optid)){ return $optid; } } function getfgroups(){ $fgroups = array(); $query = "SELECT * FROM [|PREFIX|]filter_groups"; $result = $GLOBALS['ISC_CLASS_DB']->Query($query); while ($row = $GLOBALS['ISC_CLASS_DB']->Fetch($result)) { $fgroups[$row['gid']] = $row['gname']; } if(isset($fgroups)){ return $fgroups; } } function getgopts($gid){ $fgopts = array(); $query = "SELECT * FROM [|PREFIX|]filter_group_options WHERE `gid`='".$gid."'"; $result = $GLOBALS['ISC_CLASS_DB']->Query($query); while ($row = $GLOBALS['ISC_CLASS_DB']->Fetch($result)) { $fgopts[$row['oid']] = $row['oname']; } if(isset($fgopts)){ return $fgopts; } } //////// NEW /* function getfoname($gid, $oid){ foreach($GLOBALS['filters'] as $filter){ if($filter['gid'] == $gid){ $foname = $filter['gopts'][$oid]; } } if(isset($foname)){ return $foname; } } function getfgname($id){ foreach($GLOBALS['filters'] as $filter){ if($filter['gid'] == $id){ $fgname = $filter['gname']; } } return $fgname; } function getgopts($gid){ $fgopts = array(); foreach($GLOBALS['filters'] as $filter){ if($filter['gid'] == $gid){ $fgopts = $filter['gopts']; } } return $fgopts; } */ if(isset($_POST['fload']) && $_POST['fload'] == 'fgroups'){ $fgroups = getfgroups(); $fg = array(); foreach($fgroups as $k => $v){ $fg[] = array('gid' => $k, 'gname' => $v, 'gopts' => getgopts($k)); } if($fg){ header('Cache-Control: no-cache, must-revalidate'); header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); header('Content-type: application/json'); echo json_encode($fg); } exit; } if(isset($_POST['fload']) && $_POST['fload'] == 'fopts'){ $gid = $_POST['gid']; $filteroptions = array(); header('Cache-Control: no-cache, must-revalidate'); header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); header('Content-type: application/json'); $filteroptions = array('gid' =>$gid, 'opts' => getgopts($gid)); if($filteroptions){ echo json_encode($filteroptions); } exit; } if(isset($_POST['addfiltru']) && $_POST['addfiltru'] == 'adauga'){ $fgname = $_POST['fgname']; if($fgname){ if(findfgname($fgname) == $fgname){ echo 'duplicate'; }else{ $query = "INSERT INTO [|PREFIX|]filter_groups (gname) VALUES ('".$fgname."');"; $result = $GLOBALS['ISC_CLASS_DB']->Query($query); echo $result; } } exit; } if(isset($_POST['addfiltru']) && $_POST['addfiltru'] == 'getid'){ $fgname = $_POST['fgname']; $id = getfgid($fgname); if($id){ echo $id; } exit; } if(isset($_POST['addoptiune']) && $_POST['addoptiune'] == 'adauga'){ $oname = $_POST['oname']; $gid = $_POST['gid']; if($oname && $gid){ if(findoname($oname, $gid) == $oname){ echo 'duplicate'; }else{ $query = "INSERT INTO [|PREFIX|]filter_group_options (oname, gid) VALUES ('".$oname."','".$gid."');"; $result = $GLOBALS['ISC_CLASS_DB']->Query($query); echo $result; } } exit; } if(isset($_POST['addoptiune']) && $_POST['addoptiune'] == 'getid'){ $oname = $_POST['oname']; $gid = $_POST['gid']; $id = getoptid($oname, $gid); if($id){ echo $id; } exit; } //// FILTER FUNCTIONS //// ?> Lumini de zi super luminoase. Vezi COB0415mm
  Incarca... Va rugam asteptati...
Bine ai venit!Intra in cont
 
 

Daylight slim superpower 14cm

  • Imagine 1
  • Imagine 2
  • Imagine 3



44 %
discount
Pret initial:
99 Lei
Pret final:
55 Lei
Model:
CT04COB-14cm
Producator:
Greutate:
0,5 KGS
Cantitate:



Descriere produs

Daylight slim superpower CT04 - COB.

    Placuta luminoasa tehnologie led de ultima generatie se poate aplica oriunde in interiorul masinii in fata masinii sau sub masina deoarece este complet waterproof. Pot fi folosite si in casa pentru iluminat diverse (exemplu iluminat acvariu pesti, sub dulapurile din bucatarie sau trepte)

    Detalii : 

  • Leduri durabile in timp
  • Iluminare puternica 
  • Usor de montat
  • Universale
  • Rezistente la apa
  • Masura: 140 x 16 mm
  • Consum redus de energie
  • Leduri luminoase cu peste 50.000 ore durata de viata
  • Leduri de ultima generatie culoare 6000k- 6700k 
  • Durata de viata mai mare datorita protectiei impotriva caldurii !
  • Vin cu banda dublu adeziva marca 3M

cob-daylight-lumini-de-zi-sub-apa.jpg


Scrieti-va parerea dumneavoastra despre acest produs

Nu ne puneti intrebari aici nu veti primi nici un raspuns folositi formularul din pagina de contact sau cel din dreapta jos. Aici puteti scrie o parere despre acest produs.

La acest produs nu exista inca comentarii. Fi primul care isi spune parerea despre acest produs!


Produse vizualizate