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 cu led COB super puternice. Super oferta UA-49851130-1
  Incarca... Va rugam asteptati...
Bine ai venit!Intra in cont
 
 

Newsletter


Daylight slim superpower 17cm

  • Imagine 1
  • Imagine 2
  • Imagine 3
  • Imagine 4



40 %
discount
Pret initial:
99 Lei
Pret final:
59 Lei
Model:
CT03COB-17cm
Producator:
Greutate:
5,0 KGS
Cantitate:



Descriere produs

Daylight slim superpower CT03 - 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 : 

  • Street legal
  • Leduri extrem de durabile in timp
  • Iluminare foarte puternica 
  • Foarte usor de montat
  • Universal
  • Waterproof
  • kit de montaj inclus 
  • Masura: 174 x 16 mm
  • Un stil nou certificat cu Emark87R 
  • Consum redus de energie
  • Super - bec Leduri luminoase cu peste 50.000 ore durata de viata
  • Leduri de ultima generatie 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.

  1. excelent

    Postat de Necunoscut on 19 Jan 2015

    foarte tare au o lumina puternica le foloisec pe smart fortwo nu stiu daca se pot aduce si alte culori de ex galben rosu



Produse vizualizate