You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and `structure_id` < 1000000000000000000) and (`structure_id` % 1000000000000...' at line 11
fetch_all(

array (
  0 => '
			SELECT
				id,
				name_1 as name,
				name_id,
				url,
				structure_id,
        image_url
			FROM
				category
			WHERE
				type="NEWS" and portal_id="#default" and ((`structure_id` >  and `structure_id` < 1000000000000000000) and (`structure_id` % 10000000000000000=0)) 
			ORDER BY
				structure_id
			',
)
) at packages/frontend/modules/News/db.php:98,
get_category(
array (
  0 => 'type="NEWS" and portal_id="#default" and ((`structure_id` >  and `structure_id` < 1000000000000000000) and (`structure_id` % 10000000000000000=0)) ',
)
) at packages/frontend/modules/News/forms/list.php:24,
on_draw() at cache/pages/tin-tuc.cache.php:716,
run() at index.php:20

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and `structure_id` < 1000000000000000000) and news.portal_id="#default" ...' at line 22
fetch_all(

array (
  0 => '
			SELECT
				news.id
        ,news.name_id
				,news.publish
				,news.front_page
				,news.status
				,news.position
				,news.user_id
				,news.small_thumb_url
				,news.time
				,news.hitcount
				,news.name_1 as name
				,news.brief_1 as brief
				,news.description_1 as description
				,category.name_id as category_name_id
				,category.name_1 as category_name
				,category.structure_id
			FROM
				news
				INNER JOIN category on category.id = news.category_id
			WHERE
				news.type="NEWS" and news.publish=1 and news.status!="HIDE" and (`structure_id` >=  and `structure_id` < 1000000000000000000)
				and news.portal_id="#default"
                ORDER BY news.position DESC,news.id DESC
                LIMIT 0,15
		',
)
) at packages/frontend/modules/News/db.php:27,
get_news(
array (
  0 => 'news.type="NEWS" and news.publish=1 and news.status!="HIDE" and (`structure_id` >=  and `structure_id` < 1000000000000000000)',
  1 => 15,
)
) at packages/frontend/modules/News/forms/list.php:33,
on_draw() at cache/pages/tin-tuc.cache.php:716,
run() at index.php:20

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and `structure_id` < 1000000000000000000)' at line 7
fetch(

array (
  0 => '
			SELECT
				count(*) as acount
			FROM
				news
				inner join category on news.category_id = category.id
			WHERE
				news.type="NEWS" and news.publish=1 and news.status!="HIDE" and (`structure_id` >=  and `structure_id` < 1000000000000000000)
		',
)
) at packages/frontend/modules/News/db.php:79,
get_total_item(
array (
  0 => 'news.type="NEWS" and news.publish=1 and news.status!="HIDE" and (`structure_id` >=  and `structure_id` < 1000000000000000000)',
)
) at packages/frontend/modules/News/forms/list.php:40,
on_draw() at cache/pages/tin-tuc.cache.php:716,
run() at index.php:20

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and `structure_id` < 1000000000000000000) and news.portal_id="#default" ...' at line 23
fetch_all(

array (
  0 => '
			SELECT
				news.id
        ,news.name_id
				,news.publish
				,news.front_page
				,news.status
				,news.position
				,news.user_id
				,news.image_url
				,news.small_thumb_url 
				,news.time
				,news.hitcount
				,news.name_1 as name
				,news.brief_1 as brief
				,news.description_1 as description
				,category.name_1 as category_name
				,category.structure_id
				,category.name_id as category_name_id
			FROM
				news
				INNER JOIN category on category.id = news.category_id
			WHERE
				news.type="NEWS" and news.publish=1 and news.status!="HIDE" and (`structure_id` >=  and `structure_id` < 1000000000000000000)
				and news.portal_id="#default"
                ORDER BY news.position DESC,news.id DESC
                LIMIT
				0,15
		',
)
) at packages/frontend/modules/News/db.php:64,
get_total_news(
array (
  0 => 'news.type="NEWS" and news.publish=1 and news.status!="HIDE" and (`structure_id` >=  and `structure_id` < 1000000000000000000)',
  1 => 15,
)
) at packages/frontend/modules/News/forms/list.php:42,
on_draw() at cache/pages/tin-tuc.cache.php:716,
run() at index.php:20

Tin tức