select * from site inner join site_alias on site.SiteId = site_alias.SiteId where ( site_alias.Domain='www.gdlabpattaya.com' or site_alias.Domain='www.www.gdlabpattaya.com' )
mysqli_result Object ( [current_field] => 0 [field_count] => 21 [lengths] => [num_rows] => 1 [type] => 0 ) GD Lab Pattaya select * from page where SiteId='29' and NameUrl='sitemap.xml'
mysqli_result Object ( [current_field] => 0 [field_count] => 11 [lengths] => [num_rows] => 0 [type] => 0 ) select * from section where ((Pin='1') or ((Page='0' and TemplateDetail='0'))) and Site='29' and Status>0 order by Area,SortRow,SortColumn,SortSection
mysqli_result Object ( [current_field] => 0 [field_count] => 36 [lengths] => [num_rows] => 8 [type] => 0 )