HOT

Điện thoại nổi bật

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and `structure_id` < 1000000000000000000) AND 1 AND product.product_status != "3' at line 8
fetch(

array (
  0 => '
            SELECT
				count(*) AS total
			FROM
				product
                LEFT OUTER JOIN category ON product.category_id = category.id
                LEFT OUTER JOIN manufacturer ON manufacturer.id = product.manufacturer_id
			WHERE
				product.status!="HIDE" and category.status!="HIDE" and category.type="PRODUCT" AND (`structure_id` >= 1070200000000000000 and `structure_id` < 1070300000000000000) AND (`structure_id` >=  and `structure_id` < 1000000000000000000) AND 1 AND product.product_status != "3"
        ',
  1 => 'total',
)
) at packages/frontend/modules/ItemsList/db.php:69,
get_total_item(
array (
  0 => 'product.status!="HIDE" and category.status!="HIDE" and category.type="PRODUCT" AND (`structure_id` >= 1070200000000000000 and `structure_id` < 1070300000000000000) AND (`structure_id` >=  and `structure_id` < 1000000000000000000)',
  1 => '1',
)
) at packages/frontend/modules/ItemsList/forms/list.php:142,
get_sub_regions(
array (
  0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(64) : eval()'d code:34,
on_draw() at cache/pages/trang-chu.portal=default.cache.php:2008,
run() at index.php:18

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and `structure_id` < 1000000000000000000) AND product.status ="HOT" AND 1 AND pr' at line 32
fetch_all(

array (
  0 => '
            SELECT
                product.id,
                product.name_id,
                product.name_1 AS name,
                product.status,
                product.image,
                product.image_detail,
                product.position,
                product.price,
                product.price_old,
                product.price_promotion,
                product.os,
                product.function,
                product.color,
                product.hitcount,
                product.promotion_tg,
                product.icon, 
                product.icon_tg,
                product.promotion_km,
                product.icon_km,
                product.is_installment,
                product.interest_rate,
                product.gift,
                product.type,
                category.name_id AS category_name_id,
                manufacturer.name_id AS manufacturer_name_id
            FROM
                product
                LEFT OUTER JOIN category ON product.category_id = category.id
                LEFT OUTER JOIN manufacturer ON manufacturer.id = product.manufacturer_id
            WHERE 
                product.status!="HIDE" and category.status!="HIDE" and category.type="PRODUCT" AND (`structure_id` >= 1070200000000000000 and `structure_id` < 1070300000000000000) AND (`structure_id` >=  and `structure_id` < 1000000000000000000) AND product.status ="HOT" AND 1 AND product.product_status != "3"
            ORDER BY
                product.position DESC,product.id DESC
            LIMIT
                
        ',
)
) at packages/frontend/modules/ItemsList/db.php:47,
get_items(
array (
  0 => 'product.status!="HIDE" and category.status!="HIDE" and category.type="PRODUCT" AND (`structure_id` >= 1070200000000000000 and `structure_id` < 1070300000000000000) AND (`structure_id` >=  and `structure_id` < 1000000000000000000)',
  1 => '="HOT"',
  2 => '1',
  3 => 'product.position DESC,product.id DESC',
  4 => false,
)
) at packages/frontend/modules/ItemsList/forms/list.php:170,
get_sub_regions(
array (
  0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(64) : eval()'d code:34,
on_draw() at cache/pages/trang-chu.portal=default.cache.php:2008,
run() at index.php:18
Warning: Invalid argument supplied for foreach() in /home/huymobile/domains/huymobile.vn/public_html/packages/frontend/modules/ItemsList/db.php on line 50 Warning: Invalid argument supplied for foreach() in /home/huymobile/domains/huymobile.vn/public_html/packages/frontend/modules/ItemsList/forms/list.php on line 171
HOT

Phụ kiện nổi bật

MỚI

TIN CÔNG NGHỆ

ĐỐI TÁC TOÀN DIỆN
TOP