41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 |
41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 |
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.featured DESC, v.publishDate DESC LIMIT 348,6