Class tepProduct {
public $productsId;
public $dades = FALSE;
public $model = FALSE;
function __construct($productsId) {
if(empty($productsId)) {
return FALSE;
}
$this->productsId = $productsId;
$this->getDades($productsId);
$this->model = (empty($this->dades['products_model']) ? FALSE : $this->dades['products_model']);
}
public function getDades() {
$sql = 'SELECT * FROM products WHERE products_id = '.$this->productsId;
$rs = Bd::registre($sql);
$this->dades=$rs;
return $rs;
}
}
Viendo del 1 al 10 (de 30 productos nuevos)
Páginas de Resultados: 1
Cubre Sofa Pebrella Ref.: PEBRELLA Fecha Alta: Wednesday 19 July, 2017 Precio: 40,50 €
Cubre Chaise Longue Pebrella Ref.: PEBRELLA Fecha Alta: Wednesday 19 July, 2017 Precio: 72,00 €
Cubre sofá Romani Ref.: Romani Fecha Alta: Tuesday 18 July, 2017 Precio: 38,40 €
Cubre Chaise Longue Romani Ref.: ROMANI Fecha Alta: Tuesday 18 July, 2017 Precio: 65,50 €
Cubre sofá Serpis Ref.: SERPIS Fecha Alta: Friday 03 June, 2016 Precio: 39,90 €
Cubre sofá Sellent Ref.: SELLENT Fecha Alta: Friday 03 June, 2016 Precio: 38,70 €
Cubre Chaise Longue Sellent Ref.: SELLENT Fecha Alta: Friday 03 June, 2016 Precio: 66,60 €
Cubre Chaise Longue Serpis Ref.: SERPIS Fecha Alta: Friday 03 June, 2016 Precio: 70,20 €
Cubre sofá Blasca Ref.: Blasca Fecha Alta: Wednesday 23 December, 2015 Precio: 40,80 €
Cubre Chaise Longue Blasca Ref.: BLASCA Fecha Alta: Wednesday 23 December, 2015 Precio: 72,90 €
Viendo del 1 al 10 (de 30 productos nuevos)
Páginas de Resultados: 1