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 != "HIDE" AND categ' at line 10
fetch_all(array (
0 => '
SELECT
product.id,
COUNT(*) AS total
FROM
product
LEFT OUTER JOIN old_product ON product.id = old_product.product_id
LEFT OUTER JOIN category ON product.category_id = category.id
LEFT OUTER JOIN manufacturer ON product.manufacturer_id = manufacturer.id
WHERE
1 AND (`structure_id` >= and `structure_id` < 1000000000000000000) AND product.status != "HIDE" AND category.status!="HIDE" AND category.type="PRODUCT" AND old_product.old_status != "HIDE" AND product.type="1"
GROUP BY
product.id
',
1 => 'total',
)
) at packages/frontend/modules/ItemsListOld/db.php:121,
get_total_item(array (
0 => '1 AND (`structure_id` >= and `structure_id` < 1000000000000000000)',
1 => '!= "HIDE"',
2 => ' AND product.type="1"',
3 => '',
)
) at packages/frontend/modules/ItemsListOld/forms/list.php:114,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(64) : eval()'d code:17,
on_draw() at cache/pages/may-doi-tra.portal=default.cache.php:1565,
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 != "HIDE" AND categ' at line 26
fetch_all(array (
0 => '
SELECT
product.id,
product.name_id,
product.name_1 AS name,
product.status,
product.image,
product.image_detail,
product.image_old,
product.position,
product.price,
product.os,
product.function,
product.color,
product.hitcount,
category.name_id as category_name_id,
manufacturer.name_id as manufacturer_name_id,
MIN(old_product.old_price) AS min_price,
MIN(old_product.old_price_promotion) AS min_price_promotion,
COUNT(old_product.id) AS old_num
FROM
product
LEFT OUTER JOIN old_product ON product.id = old_product.product_id
LEFT OUTER JOIN category ON product.category_id = category.id
LEFT OUTER JOIN manufacturer ON product.manufacturer_id = manufacturer.id
WHERE
1 AND (`structure_id` >= and `structure_id` < 1000000000000000000) AND product.status != "HIDE" AND category.status!="HIDE" AND category.type="PRODUCT" AND old_product.old_status != "HIDE" AND product.type="1"
GROUP BY
product.id
ORDER BY
min_price DESC
LIMIT
1
',
)
) at packages/frontend/modules/ItemsListOld/db.php:85,
get_items(array (
0 => '1 AND (`structure_id` >= and `structure_id` < 1000000000000000000)',
1 => '!= "HIDE"',
2 => ' AND product.type="1"',
3 => 'min_price DESC',
4 => 1,
5 => '',
)
) at packages/frontend/modules/ItemsListOld/forms/list.php:125,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(64) : eval()'d code:17,
on_draw() at cache/pages/may-doi-tra.portal=default.cache.php:1565,
run() at index.php:18
Warning: Invalid argument supplied for foreach() in /home/huymobile/domains/huymobile.vn/public_html/packages/frontend/modules/ItemsListOld/db.php on line 88
Warning: Invalid argument supplied for foreach() in /home/huymobile/domains/huymobile.vn/public_html/packages/frontend/modules/ItemsListOld/forms/list.php on line 126
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 != "HIDE" AND categ' at line 10
fetch_all(array (
0 => '
SELECT
product.id,
COUNT(*) AS total
FROM
product
LEFT OUTER JOIN old_product ON product.id = old_product.product_id
LEFT OUTER JOIN category ON product.category_id = category.id
LEFT OUTER JOIN manufacturer ON product.manufacturer_id = manufacturer.id
WHERE
1 AND (`structure_id` >= and `structure_id` < 1000000000000000000) AND product.status != "HIDE" AND category.status!="HIDE" AND category.type="PRODUCT" AND old_product.old_status != "HIDE" AND old_product.old_status_new = "100"
GROUP BY
product.id
',
1 => 'total',
)
) at packages/frontend/modules/ItemsListOld/db.php:121,
get_total_item(array (
0 => '1 AND (`structure_id` >= and `structure_id` < 1000000000000000000)',
1 => '!= "HIDE"',
2 => ' AND old_product.old_status_new = "100"',
3 => '',
)
) at packages/frontend/modules/ItemsListOld/forms/list.php:114,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(64) : eval()'d code:17,
on_draw() at cache/pages/may-doi-tra.portal=default.cache.php:1566,
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 != "HIDE" AND categ' at line 26
fetch_all(array (
0 => '
SELECT
product.id,
product.name_id,
product.name_1 AS name,
product.status,
product.image,
product.image_detail,
product.image_old,
product.position,
product.price,
product.os,
product.function,
product.color,
product.hitcount,
category.name_id as category_name_id,
manufacturer.name_id as manufacturer_name_id,
MIN(old_product.old_price) AS min_price,
MIN(old_product.old_price_promotion) AS min_price_promotion,
COUNT(old_product.id) AS old_num
FROM
product
LEFT OUTER JOIN old_product ON product.id = old_product.product_id
LEFT OUTER JOIN category ON product.category_id = category.id
LEFT OUTER JOIN manufacturer ON product.manufacturer_id = manufacturer.id
WHERE
1 AND (`structure_id` >= and `structure_id` < 1000000000000000000) AND product.status != "HIDE" AND category.status!="HIDE" AND category.type="PRODUCT" AND old_product.old_status != "HIDE" AND old_product.old_status_new = "100"
GROUP BY
product.id
ORDER BY
min_price DESC
LIMIT
1
',
)
) at packages/frontend/modules/ItemsListOld/db.php:85,
get_items(array (
0 => '1 AND (`structure_id` >= and `structure_id` < 1000000000000000000)',
1 => '!= "HIDE"',
2 => ' AND old_product.old_status_new = "100"',
3 => 'min_price DESC',
4 => 1,
5 => '',
)
) at packages/frontend/modules/ItemsListOld/forms/list.php:125,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(64) : eval()'d code:17,
on_draw() at cache/pages/may-doi-tra.portal=default.cache.php:1566,
run() at index.php:18
Warning: Invalid argument supplied for foreach() in /home/huymobile/domains/huymobile.vn/public_html/packages/frontend/modules/ItemsListOld/db.php on line 88
Warning: Invalid argument supplied for foreach() in /home/huymobile/domains/huymobile.vn/public_html/packages/frontend/modules/ItemsListOld/forms/list.php on line 126
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 != "HIDE" AND categ' at line 10
fetch_all(array (
0 => '
SELECT
product.id,
COUNT(*) AS total
FROM
product
LEFT OUTER JOIN old_product ON product.id = old_product.product_id
LEFT OUTER JOIN category ON product.category_id = category.id
LEFT OUTER JOIN manufacturer ON product.manufacturer_id = manufacturer.id
WHERE
1 AND (`structure_id` >= and `structure_id` < 1000000000000000000) AND product.status != "HIDE" AND category.status!="HIDE" AND category.type="PRODUCT" AND old_product.old_status != "HIDE" AND product.type="2"
GROUP BY
product.id
',
1 => 'total',
)
) at packages/frontend/modules/ItemsListOld/db.php:121,
get_total_item(array (
0 => '1 AND (`structure_id` >= and `structure_id` < 1000000000000000000)',
1 => '!= "HIDE"',
2 => ' AND product.type="2"',
3 => '',
)
) at packages/frontend/modules/ItemsListOld/forms/list.php:114,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(64) : eval()'d code:17,
on_draw() at cache/pages/may-doi-tra.portal=default.cache.php:1567,
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 != "HIDE" AND categ' at line 26
fetch_all(array (
0 => '
SELECT
product.id,
product.name_id,
product.name_1 AS name,
product.status,
product.image,
product.image_detail,
product.image_old,
product.position,
product.price,
product.os,
product.function,
product.color,
product.hitcount,
category.name_id as category_name_id,
manufacturer.name_id as manufacturer_name_id,
MIN(old_product.old_price) AS min_price,
MIN(old_product.old_price_promotion) AS min_price_promotion,
COUNT(old_product.id) AS old_num
FROM
product
LEFT OUTER JOIN old_product ON product.id = old_product.product_id
LEFT OUTER JOIN category ON product.category_id = category.id
LEFT OUTER JOIN manufacturer ON product.manufacturer_id = manufacturer.id
WHERE
1 AND (`structure_id` >= and `structure_id` < 1000000000000000000) AND product.status != "HIDE" AND category.status!="HIDE" AND category.type="PRODUCT" AND old_product.old_status != "HIDE" AND product.type="2"
GROUP BY
product.id
ORDER BY
min_price DESC
LIMIT
1
',
)
) at packages/frontend/modules/ItemsListOld/db.php:85,
get_items(array (
0 => '1 AND (`structure_id` >= and `structure_id` < 1000000000000000000)',
1 => '!= "HIDE"',
2 => ' AND product.type="2"',
3 => 'min_price DESC',
4 => 1,
5 => '',
)
) at packages/frontend/modules/ItemsListOld/forms/list.php:125,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(64) : eval()'d code:17,
on_draw() at cache/pages/may-doi-tra.portal=default.cache.php:1567,
run() at index.php:18
Warning: Invalid argument supplied for foreach() in /home/huymobile/domains/huymobile.vn/public_html/packages/frontend/modules/ItemsListOld/db.php on line 88
Warning: Invalid argument supplied for foreach() in /home/huymobile/domains/huymobile.vn/public_html/packages/frontend/modules/ItemsListOld/forms/list.php on line 126
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 fittings.fitting_status != "3" AND' at line 8
fetch(array (
0 => '
SELECT
count(*) AS total
FROM
fittings
LEFT OUTER JOIN category ON fittings.category_id = category.id
LEFT OUTER JOIN manufacturer ON manufacturer.id = fittings.manufacturer_id
WHERE
fittings.status!="HIDE" and category.status!="HIDE" and category.type="FITTINGS" AND (`structure_id` >= and `structure_id` < 1000000000000000000) AND fittings.fitting_status != "3" AND (fitting_status = "1" || fitting_status = "2") AND (product_str LIKE "%watchcu%")
',
1 => 'total',
)
) at packages/frontend/modules/FittingsList/db.php:67,
get_total_item(array (
0 => 'fittings.status!="HIDE" and category.status!="HIDE" and category.type="FITTINGS" AND (`structure_id` >= and `structure_id` < 1000000000000000000)',
1 => '(fitting_status = "1" || fitting_status = "2") AND (product_str LIKE "%watchcu%")',
)
) at packages/frontend/modules/FittingsList/forms/list.php:101,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(64) : eval()'d code:17,
on_draw() at cache/pages/may-doi-tra.portal=default.cache.php:1568,
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 fittings.status != "HIDE" AND fitt' at line 22
fetch_all(array (
0 => '
SELECT
fittings.id,
fittings.name_id,
fittings.name,
fittings.status,
fittings.image,
fittings.image_detail,
fittings.price_old,
fittings.price,
fittings.price_promotion,
fittings.color,
fittings.icon,
fittings.icon_tg,
fittings.hitcount,
category.name_id AS category_name_id,
manufacturer.name_id AS manufacturer_name_id
FROM
fittings
LEFT OUTER JOIN category ON fittings.category_id = category.id
LEFT OUTER JOIN manufacturer ON manufacturer.id = fittings.manufacturer_id
WHERE
fittings.status!="HIDE" and category.status!="HIDE" and category.type="FITTINGS" AND (`structure_id` >= and `structure_id` < 1000000000000000000) AND fittings.status != "HIDE" AND fittings.fitting_status != "3" AND (fitting_status = "1" || fitting_status = "2") AND (product_str LIKE "%watchcu%")
ORDER BY
fittings.price DESC, fittings.id DESC
LIMIT
',
)
) at packages/frontend/modules/FittingsList/db.php:45,
get_items(array (
0 => 'fittings.status!="HIDE" and category.status!="HIDE" and category.type="FITTINGS" AND (`structure_id` >= and `structure_id` < 1000000000000000000)',
1 => '!= "HIDE"',
2 => '(fitting_status = "1" || fitting_status = "2") AND (product_str LIKE "%watchcu%")',
3 => 'fittings.price DESC, fittings.id DESC',
4 => false,
)
) at packages/frontend/modules/FittingsList/forms/list.php:111,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(64) : eval()'d code:17,
on_draw() at cache/pages/may-doi-tra.portal=default.cache.php:1568,
run() at index.php:18
Warning: Invalid argument supplied for foreach() in /home/huymobile/domains/huymobile.vn/public_html/packages/frontend/modules/FittingsList/db.php on line 48
Warning: Invalid argument supplied for foreach() in /home/huymobile/domains/huymobile.vn/public_html/packages/frontend/modules/FittingsList/forms/list.php on line 112