2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 |
SELECT v.ID, v.ObjectID, v.type, v.publishDate, v.timesPlayed, v.featured, vm.title, vm.description, CONCAT("videos/video/",v.ID) as address FROM bn_videos v LEFT JOIN bn_videos_meta vm ON vm.VideoID = v.ID WHERE v.enabled = 1 AND v.publishDate <= NOW() AND vm.language_id = 1 ORDER BY v.publishDate DESC, v.publishDate DESC LIMIT 114,6