Hotline

0978 331 441

SỰ KIỆN SẮP TỚI

ẢNH HOẠT ĐỘNG

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 news.status!="HIDE" and news.id<>' at line 15
fetch_all(

array (
  0 => '
			SELECT
				news.id,
				news.name_7 as name,
				news.brief_7 as brief,
				news.description_7 as description,
				news.image_url,
				news.category_id,
				news.time,
				news.name_id,
				category.name_id as category_name
			FROM
				news
				inner join category on news.category_id=category.id
			WHERE
				news.portal_id="#kb" and (`structure_id` >=  and `structure_id` < 1000000000000000000)  and news.status!="HIDE" and news.id<>
			ORDER BY
				news.position,news.id desc
			LIMIT
				0,10
		',
)
) at packages/frontend/modules/NewsDetail/db.php:77,
get_items(
array (
  0 => 'news.portal_id="#kb" and (`structure_id` >=  and `structure_id` < 1000000000000000000)  and news.status!="HIDE" and news.id<>',
)
) at packages/frontend/modules/NewsDetail/forms/list.php:38,
on_draw() at cache/pages/news-detail.cache.php:674,
run() at index.php:11