0 && tep_count_products_in_category_without_sub($category_id) > 0 && $count < 10) { $randInt = rand(1,10); $randStart = $randInt -1; $produkt_query = tep_db_query( "select p.products_image as img from products p ". "LEFT OUTER JOIN products_to_categories ptc ON ". "p.products_id = ptc.products_id ". "WHERE LENGTH(p.products_image) > 0 ". "AND ptc.categories_id = ".$category_id); while($result = tep_db_fetch_array($produkt_query)) { $retun_val = $result['img']; if(rand(1,10) > 8) break; } if(!(tep_not_null($retun_val)) && tep_has_category_subcategories($category_id)) { $retun_val = get_random_cat_image_from_child($category_id,$count); } } else if($category_id > 0 && tep_has_category_subcategories($category_id) && $count < 10) { $retun_val = get_random_cat_image_from_child($category_id,$count); } else { $retun_val = EMPTY_CAT_IMAGE; } return $retun_val; } function get_random_cat_image_from_child($category_id,$count = 0) { $retun_val; $category_query = tep_db_query("select categories_id as ID from ". TABLE_CATEGORIES ." WHERE parent_id = ". $category_id ." LIMIT 0,". rand(1,10) ); while($ids = tep_db_fetch_array($category_query)) { $id = $ids['ID']; $retun_val = get_random_cat_image($id, $count++); if((tep_not_null($retun_val)) && $retun_val != EMPTY_CAT_IMAGE) break; } return $retun_val; } //Changed from osCommerce function tep_count_products_in_category_without_sub($category_id, $include_inactive = false) { $products_count = 0; if ($include_inactive == true) { $products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$category_id . "'"); } else { $products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_id = p2c.products_id and p.products_status = '1' and p2c.categories_id = '" . (int)$category_id . "'"); } $products = tep_db_fetch_array($products_query); return $products['total']; } ?> OUTLET ACCESORIOS VIDEOJUEGO
martes 24 mayo, 2022  |  Usuarios conectados: 0



20140207_transform4
   
    Búsqueda Avanzada
Compras:
0 productos
  Inicio » Catálogo  Condiciones de venta      SalirEntrar    
*** OUTLET ***
Ofertas
Fabricantes
Los Mas Vendidos
Flip Top Case V4-V11 01. Flip Top Case V4-V11
Tarjeta MicroSDHC 4GB SanDisk 02. Tarjeta MicroSDHC 4GB SanDisk
Screen Guard-D 03. Screen Guard-D
Airfoam Pocket-XL *GREEN* 04. Airfoam Pocket-XL *GREEN*
Protective Seal 05. Protective Seal
Airfoam Pocket-XL *YELLOW* 06. Airfoam Pocket-XL *YELLOW*
Rechargeable Lithium Battery Pack 1200mAh 07. Rechargeable Lithium Battery Pack 1200mAh
Memory Stick Pro Duo 8GB SanDisk 08. Memory Stick Pro Duo 8GB SanDisk
Airfoam Pocket-XL *NATURAL WHITE* 09. Airfoam Pocket-XL *NATURAL WHITE*
Multi Hub Double Power Box 4 10. Multi Hub Double Power Box 4
PUNTO DE VENTA AUTORIZADO ICS
A ver que tenemos aquí...
No hay productos en esta categoría.
 
DIVINEO EN EL MUNDO:

Copyright © 2022 OUTLET ACCESORIOS VIDEOJUEGO
CIF B83689752 Inscrita en el R.M. de Madrid, Tomo 19061, Libro 0, Folio 121, Sección 8, Hoja: M-333276, Inscripción 1