SELECT GET_LOCK('14533ae413607392ba3029b923d86795', 300) AS ci_session_lock ?>
SELECT `data` FROM `ml_sessions` WHERE `id` = '1493aa49f6178d18ae34869c07230057cf36e437' AND `ip_address` = '216.73.216.6' ?>
SELECT `username`, `user_id` FROM `ml_users` WHERE `username` = 'vivalaserdisc' LIMIT 1 ?>
SELECT `MV`.`title_id` FROM `ml_movie_titles` `MT` JOIN `ml_movies` `MV` ON `MV`.`title_id` = `MT`.`title_id` WHERE `MV`.`user_id` = 51 GROUP BY `title_id` ?>
SELECT MAX(MV.movie_id) AS movie_id, `MV`.`title_id`, COUNT(MV.title_id) AS title_count, `title`, `prefix`, `year` FROM `ml_movie_titles` `MT` JOIN `ml_movies` `MV` ON `MV`.`title_id` = `MT`.`title_id` WHERE `MV`.`user_id` = 51 GROUP BY `title_id` ORDER BY `title_count` DESC, MAX(date_viewed) DESC LIMIT 10 ?>
Array ( )