string(94) "SELECT COUNT(DISTINCT p.ID) count_arts FROM webpagecache AS p WHERE 1=1 AND p.ParentID=9447 " string(753) "/* articles_DBGetList() */ SELECT DISTINCT p.ID AS cf_id , p.title , p.Subtitle , p.MetaDescription AS meta_description , p.RelativeURL AS canonical_url , p.RelativeURL AS relative_url , p.PublishStart , p.ListImage_URL AS listimage , p.ListImage_Caption AS listimage_caption , p.ListImage_Credit AS listimage_credit , CASE WHEN i.Width>i.Height THEN '' ELSE 'tall' END AS listimage_orientation , p.Abstract AS art_abs , p.AuthorString AS author , p.AuthorString AS author_list , p.IsPartnerContent , i.Height , i.Width FROM webpagecache AS p LEFT JOIN cmsimages AS i ON p.ListImage_ID=i.ci_cf_id WHERE p.PageTypeID IN (3,4,5,7,8,11,14,15) AND p.ParentID=9447 ORDER BY p.publishstart DESC LIMIT 0, 20 "