MySQL server has gone away
fetch(

array (
  0 => 'select * from announcement where status!="HIDE" and end_time>=1788411499 order by id DESC',
)
) at packages/frontend/modules/Banner/forms/list.php:20,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1216,
run() at index.php:151

MySQL server has gone away
fetch_all(

array (
  0 => '
			select
				advertisment.id,
				media.name_1 as name,
				media.url,
				media.image_url,
				media.height,
				media.width
			from
				media
				inner join advertisment on advertisment.item_id=media.id
			where
				advertisment.region = "adv-slides"
				and advertisment.start_time<"1788497899" 
				and advertisment.end_time>"1788497899"
				and type="ADVERTISMENT"
				and portal_id="#duk"
			order by
				advertisment.position
			limit 
				0,5
		',
)
) at packages/backend/modules/Advertisment/forms/list.php:39,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1217,
run() at index.php:151

MySQL server has gone away
fetch(

array (
  0 => 'select title_1 as page_name from page where id = 10300 and name<>"trang-chu"',
)
) at packages/frontend/modules/HomeMenu/forms/list.php:11,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1218,
run() at index.php:151

MySQL server has gone away
structure_id(

array (
  0 => 'category',
  1 => '890',
)
) at packages/frontend/modules/ExamplePath/db.php:14,
get_path(
array (
  0 => '890',
  1 => ' and structure_id != 1000000000000000000',
)
) at packages/frontend/modules/ExamplePath/forms/list.php:14,
parse_layout(
array (
  0 => 'list',
  1 => 
  array (
    'page_name' => NULL,
  ),
)
) at packages/frontend/modules/HomeMenu/forms/list.php:13,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1218,
run() at index.php:151

MySQL server has gone away
fetch_all(

array (
  0 => '
			SELECT 
				id, name_1 as name,type, name_id
			FROM
				category
			WHERE
				portal_id="#duk" 
				and name_id != "danh-muc-goc"
				and (FIND_IN_SET(`structure_id`,"0,")>0)
				 and structure_id != 1000000000000000000
			ORDER BY
				structure_id
		',
)
) at packages/frontend/modules/ExamplePath/db.php:18,
get_path(
array (
  0 => '890',
  1 => ' and structure_id != 1000000000000000000',
)
) at packages/frontend/modules/ExamplePath/forms/list.php:14,
parse_layout(
array (
  0 => 'list',
  1 => 
  array (
    'page_name' => NULL,
  ),
)
) at packages/frontend/modules/HomeMenu/forms/list.php:13,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1218,
run() at index.php:151
Đăng nhập

MySQL server has gone away
set_setting(

array (
  0 => 'cache',
  1 => '',
)
) at packages/backend/modules/SignIn/forms/sign_in.php:102,
get_sub_regions(
array (
  0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1221,
run() at index.php:151

MySQL server has gone away
set_setting(

array (
  0 => 'cache',
  1 => '',
)
) at packages/backend/modules/SignIn/forms/sign_in.php:102,
get_sub_regions(
array (
  0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1221,
run() at index.php:151

MySQL server has gone away
set_setting(

array (
  0 => 'cache',
  1 => '',
)
) at packages/backend/modules/SignIn/forms/sign_in.php:102,
get_sub_regions(
array (
  0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1221,
run() at index.php:151

MySQL server has gone away
set_setting(

array (
  0 => 'cache',
  1 => '',
)
) at packages/backend/modules/SignIn/forms/sign_in.php:102,
get_sub_regions(
array (
  0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1221,
run() at index.php:151
Nhóm sản phẩm

MySQL server has gone away
set_setting(

array (
  0 => 'cache',
  1 => 'cond = \'status<>"HIDE" and portal_id="\'.PORTAL_ID.\'" and structure_id<>\'.ID_ROOT.\'\';
if(Module::get_setting(\'category_id\'))
{
	if(Module::get_setting(\'category_id\')==\'current\')
	{
		if(URL::get(\'category_id\') and $category = DB::select(\'category\',\'id="\'.URL::get(\'category_id\').\'" and portal_id="\'.PORTAL_ID.\'"\'))
		{
			$root_structure_id = $category[\'structure_id\'];
            $title = $category[\'name_\'.Portal::language()];
			while(IDStructure::level($root_structure_id)>2)
			{
				$root_structure_id = IDStructure::parent($root_structure_id);
                $category_name = DB::select(\'category\',\'structure_id="\'.$root_structure_id.\'" and portal_id="\'.PORTAL_ID.\'"\');
                $title = $category_name[\'name_\'.Portal::language()];
			}
		}
		else
		{
			$root_structure_id = ID_ROOT;
		}
	}
	else
	{
		$root_structure_id = DB::structure_id(\'category\',Module::get_setting(\'category_id\'));
		$this->cond .= \' and \'.IDStructure::child_cond($root_structure_id).\' and id <>\'.Module::get_setting(\'category_id\');
	}
}
else
{
	$root_structure_id = ID_ROOT;
}
if(Module::get_setting(\'level_limit\'))
{
	$this->cond .= \' and \'.IDStructure::direct_child_cond($root_structure_id,Module::get_setting(\'level_limit\')).\' \';
}

if(Module::get_setting(\'data_type\'))
{
	$this->cond .= \' and type="\'.Module::get_setting(\'data_type\').\'"\';	
}
if(Module::get_setting(\'extra_condition\'))
{
	$this->cond .= Module::get_setting(\'extra_condition\');
}
$query = \'select *,name_\'.Portal::language().\' as name from category where \'.$this->cond.\' order by structure_id \';
$this->map[\'categories\'] = DB::fetch_all($query);?>
map[\'categories\']) { Navigation::make_tree($this->map[\'categories\'],$this->map); $this->map[\'str_ul_structure\'] = set_ul_structure($this->map[\'categories\']); } else { $this->map[\'str_ul_structure\'] = \'\'; } ?> map[\'str_ul_structure\']))) {?>
', )
) at packages/frontend/modules/Navigation/forms/list.php:73,
get_sub_regions(
array (
  0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1222,
run() at index.php:151

MySQL server has gone away
set_setting(

array (
  0 => 'cache',
  1 => 'cond = \'status<>"HIDE" and portal_id="\'.PORTAL_ID.\'" and structure_id<>\'.ID_ROOT.\'\';
if(Module::get_setting(\'category_id\'))
{
	if(Module::get_setting(\'category_id\')==\'current\')
	{
		if(URL::get(\'category_id\') and $category = DB::select(\'category\',\'id="\'.URL::get(\'category_id\').\'" and portal_id="\'.PORTAL_ID.\'"\'))
		{
			$root_structure_id = $category[\'structure_id\'];
            $title = $category[\'name_\'.Portal::language()];
			while(IDStructure::level($root_structure_id)>2)
			{
				$root_structure_id = IDStructure::parent($root_structure_id);
                $category_name = DB::select(\'category\',\'structure_id="\'.$root_structure_id.\'" and portal_id="\'.PORTAL_ID.\'"\');
                $title = $category_name[\'name_\'.Portal::language()];
			}
		}
		else
		{
			$root_structure_id = ID_ROOT;
		}
	}
	else
	{
		$root_structure_id = DB::structure_id(\'category\',Module::get_setting(\'category_id\'));
		$this->cond .= \' and \'.IDStructure::child_cond($root_structure_id).\' and id <>\'.Module::get_setting(\'category_id\');
	}
}
else
{
	$root_structure_id = ID_ROOT;
}
if(Module::get_setting(\'level_limit\'))
{
	$this->cond .= \' and \'.IDStructure::direct_child_cond($root_structure_id,Module::get_setting(\'level_limit\')).\' \';
}

if(Module::get_setting(\'data_type\'))
{
	$this->cond .= \' and type="\'.Module::get_setting(\'data_type\').\'"\';	
}
if(Module::get_setting(\'extra_condition\'))
{
	$this->cond .= Module::get_setting(\'extra_condition\');
}
$query = \'select *,name_\'.Portal::language().\' as name from category where \'.$this->cond.\' order by structure_id \';
$this->map[\'categories\'] = DB::fetch_all($query);?>
map[\'categories\']) { Navigation::make_tree($this->map[\'categories\'],$this->map); $this->map[\'str_ul_structure\'] = set_ul_structure($this->map[\'categories\']); } else { $this->map[\'str_ul_structure\'] = \'\'; } ?> map[\'str_ul_structure\']))) {?>
', )
) at packages/frontend/modules/Navigation/forms/list.php:73,
get_sub_regions(
array (
  0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1222,
run() at index.php:151

MySQL server has gone away
set_setting(

array (
  0 => 'cache',
  1 => 'cond = \'status<>"HIDE" and portal_id="\'.PORTAL_ID.\'" and structure_id<>\'.ID_ROOT.\'\';
if(Module::get_setting(\'category_id\'))
{
	if(Module::get_setting(\'category_id\')==\'current\')
	{
		if(URL::get(\'category_id\') and $category = DB::select(\'category\',\'id="\'.URL::get(\'category_id\').\'" and portal_id="\'.PORTAL_ID.\'"\'))
		{
			$root_structure_id = $category[\'structure_id\'];
            $title = $category[\'name_\'.Portal::language()];
			while(IDStructure::level($root_structure_id)>2)
			{
				$root_structure_id = IDStructure::parent($root_structure_id);
                $category_name = DB::select(\'category\',\'structure_id="\'.$root_structure_id.\'" and portal_id="\'.PORTAL_ID.\'"\');
                $title = $category_name[\'name_\'.Portal::language()];
			}
		}
		else
		{
			$root_structure_id = ID_ROOT;
		}
	}
	else
	{
		$root_structure_id = DB::structure_id(\'category\',Module::get_setting(\'category_id\'));
		$this->cond .= \' and \'.IDStructure::child_cond($root_structure_id).\' and id <>\'.Module::get_setting(\'category_id\');
	}
}
else
{
	$root_structure_id = ID_ROOT;
}
if(Module::get_setting(\'level_limit\'))
{
	$this->cond .= \' and \'.IDStructure::direct_child_cond($root_structure_id,Module::get_setting(\'level_limit\')).\' \';
}

if(Module::get_setting(\'data_type\'))
{
	$this->cond .= \' and type="\'.Module::get_setting(\'data_type\').\'"\';	
}
if(Module::get_setting(\'extra_condition\'))
{
	$this->cond .= Module::get_setting(\'extra_condition\');
}
$query = \'select *,name_\'.Portal::language().\' as name from category where \'.$this->cond.\' order by structure_id \';
$this->map[\'categories\'] = DB::fetch_all($query);?>
map[\'categories\']) { Navigation::make_tree($this->map[\'categories\'],$this->map); $this->map[\'str_ul_structure\'] = set_ul_structure($this->map[\'categories\']); } else { $this->map[\'str_ul_structure\'] = \'\'; } ?> map[\'str_ul_structure\']))) {?>
', )
) at packages/frontend/modules/Navigation/forms/list.php:73,
get_sub_regions(
array (
  0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1222,
run() at index.php:151

MySQL server has gone away
structure_id(

array (
  0 => 'category',
  1 => '890',
)
) at packages/frontend/modules/Navigation/forms/list.php(85) : eval()'d code:28,
get_sub_regions(
array (
  0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1222,
run() at index.php:151

MySQL server has gone away
fetch_all(

array (
  0 => 'select *,name_1 as name from category where status<>"HIDE" and portal_id="#duk" and structure_id<>1000000000000000000 and (`structure_id` >=  and `structure_id` < 1000000000000000000) and id <>890 and ((`structure_id` >  and `structure_id` < 1000000000000000000) and (`structure_id` % 10000000000=0))   and type="PRODUCT" order by structure_id ',
)
) at packages/frontend/modules/Navigation/forms/list.php(85) : eval()'d code:50,
get_sub_regions(
array (
  0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1222,
run() at index.php:151

MySQL server has gone away
fetch_all(

array (
  0 => '
			select
				advertisment.id,
				media.name_1 as name,
				media.url,
				media.image_url,
				media.height,
				media.width
			from
				media
				inner join advertisment on advertisment.item_id=media.id
			where
				advertisment.region = "home-left-1"
				and advertisment.start_time<"1788497899" 
				and advertisment.end_time>"1788497899"
				and type="ADVERTISMENT"
				and portal_id="#duk"
			order by
				advertisment.position
			limit 
				0,20
		',
)
) at packages/backend/modules/Advertisment/forms/list.php:39,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1223,
run() at index.php:151

MySQL server has gone away
fetch_all(

array (
  0 => '
			SELECT
				id,
				name_1 as name,
				structure_id,
				icon_url,
				name_id
			FROM
				category
			WHERE
				((`structure_id` > 1020000000000000000 and `structure_id` < 1030000000000000000) and (`structure_id` % 100000000000000=0)) 
			ORDER BY
				category.position desc, id
			LIMIT
				0,4
		',
)
) at packages/frontend/modules/ProductCategory/db.php:21,
get_categories(
array (
  0 => '((`structure_id` > 1020000000000000000 and `structure_id` < 1030000000000000000) and (`structure_id` % 100000000000000=0)) ',
)
) at packages/frontend/modules/ProductCategory/forms/list.php:17,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1225,
run() at index.php:151

MySQL server has gone away
fetch(

array (
  0 => '
			SELECT
				count(*) as acount
			FROM
				product
				inner join category on category.id = product.category_id
			WHERE
				(`structure_id` >= 1020000000000000000 and `structure_id` < 1030000000000000000)
		',
  1 => 'acount',
)
) at packages/frontend/modules/ProductCategory/db.php:56,
get_total(
array (
  0 => '(`structure_id` >= 1020000000000000000 and `structure_id` < 1030000000000000000)',
)
) at packages/frontend/modules/ProductCategory/forms/list.php:35,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1225,
run() at index.php:151

MySQL server has gone away
fetch_all(

array (
  0 => '
			SELECT
				product.id,
				product.name_1 as name,
				image_url,
				small_thumb_url,
				product.name_id,
				product.code,
				product.price,
				product.price_agent
			FROM
				product
				inner join category on category.id = product.category_id
			WHERE
				(`structure_id` >= 1020000000000000000 and `structure_id` < 1030000000000000000)
			ORDER BY
				product.time desc
			LIMIT
				2856,28
		',
)
) at packages/frontend/modules/ProductCategory/db.php:44,
get_products(
array (
  0 => '(`structure_id` >= 1020000000000000000 and `structure_id` < 1030000000000000000)',
  1 => '2856,28',
)
) at packages/frontend/modules/ProductCategory/forms/list.php:40,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1225,
run() at index.php:151
Thông tin đặt hàng

MySQL server has gone away
fetch_all(

array (
  0 => 'select id,name_id,name_1 as name from news where type="CONTENT" and portal_id="#duk" and status="HOME" order by id desc',
)
) at packages/frontend/modules/OrderInfo/forms/list.php:10,
get_sub_regions(
array (
  0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1227,
run() at index.php:151
Tele - Sale

MySQL server has gone away
fetch_all(

array (
  0 => '
			SELECT
				*
			FROM
				support
			WHERE
				1
			ORDER BY
				support.position asc
		',
)
) at packages/frontend/modules/SupportOnline/forms/list.php:36,
get_support() at packages/frontend/modules/SupportOnline/forms/list.php:18,
get_sub_regions(
array (
  0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1228,
run() at index.php:151
Thống kê
Liên kết Web
Quảng cáo

MySQL server has gone away
fetch_all(

array (
  0 => '
			select
				advertisment.id,
				media.name_1 as name,
				media.url,
				media.image_url,
				media.height,
				media.width
			from
				media
				inner join advertisment on advertisment.item_id=media.id
			where
				advertisment.region = "home-right-1"
				and advertisment.start_time<"1788497899" 
				and advertisment.end_time>"1788497899"
				and type="ADVERTISMENT"
				and portal_id="#duk"
			order by
				advertisment.position
			limit 
				0,20
		',
)
) at packages/backend/modules/Advertisment/forms/list.php:39,
get_sub_regions(
array (
  0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1231,
run() at index.php:151

MySQL server has gone away
fetch_all(

array (
  0 => '
			select
				advertisment.id,
				media.name_1 as name,
				media.url,
				media.image_url,
				media.height,
				media.width
			from
				media
				inner join advertisment on advertisment.item_id=media.id
			where
				advertisment.region = "adv-left"
				and advertisment.start_time<"1788497899" 
				and advertisment.end_time>"1788497899"
				and type="ADVERTISMENT"
				and portal_id="#duk"
			order by
				advertisment.position
			limit 
				0,5
		',
)
) at packages/backend/modules/Advertisment/forms/list.php:39,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1239,
run() at index.php:151

MySQL server has gone away
fetch_all(

array (
  0 => '
			select
				advertisment.id,
				media.name_1 as name,
				media.url,
				media.image_url,
				media.height,
				media.width
			from
				media
				inner join advertisment on advertisment.item_id=media.id
			where
				advertisment.region = "adv-right"
				and advertisment.start_time<"1788497899" 
				and advertisment.end_time>"1788497899"
				and type="ADVERTISMENT"
				and portal_id="#duk"
			order by
				advertisment.position
			limit 
				0,5
		',
)
) at packages/backend/modules/Advertisment/forms/list.php:39,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1241,
run() at index.php:151