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 //// ?> Bec xenon D1S - orice culoare. Cumpara On-line pret soc
  Incarca... Va rugam asteptati...
Bine ai venit!Intra in cont
 
 

Bec xenon D1S

  • Imagine 1



12 %
discount
Pret initial:
170 Lei
Pret final:
150 Lei
Model:
BECD1S
Producator:
Greutate:
0,3 KGS
Culoare:
Cantitate:



Descriere produs

Bec xenon D1S pentru inlocuirea becului ars a instalatiilor xenon cu care sunt echipate autoturismele din fabrica. Compatibil cu toate modelele de instalatii xenon ce vin din fabrica cu bec D1S sau D1R

Becul xenon D1S are garantie atat la partea electronica cat si la bec.

Culoare bec D1S: 4300k, 6000k, 8000k

Garantie 12 luni


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. le folosesc si par a fi in regula

    Postat de gelu on 14 Feb 2011

    am schimbat becurile originale cu cele prezentate mai sus si nu am avut probleme pana acum(au trecut cam doua luni)becurile inlocuite d1s



Clientii care au vazut acest produs au mai mai fost interesati si de:

Produse relationate

Produse vizualizate