Can you please tell me with this line of is doing:
$get_videos = $db->rawQuery("SELECT DISTINCT(v.id), v.* FROM u_paid_videos AS upv LEFT JOIN " . T_VIDEOS . " AS v ON (upv.id_video = v.id) WHERE upv.id_user = {$user->id} ORDER BY upv.id DESC");
and also what this line of code does:
$get = $db->rawQuery('SELECT * FROM '.T_VIDEOS_TRSNS.' t WHERE
paid_id= '.$user->id.' AND (SELECT id FROM '.T_VIDEOS.' WHERE id = t.video_id AND
is_movie!= 1 AND user_id NOT IN ('.implode(",", $pt->blocked_array).')) = video_id '.$rented_movies.' ORDER BY id DESC LIMIT 20');
I look forward to any assistance