prepare("select * from SavedVideo where AuthorId like '$search' LIMIT ".strval($offset*20).", 20"); $stmt->execute(); $videos = $stmt->fetchAll(); foreach($videos as $video) { if(strlen($name) == 0) { $name = $video["AuthorTitle"]; echo "

".htmlspecialchars($name)."

"; echo "Add To Downloader
"; } $class = "class=\"bg-danger\""; if(strlen(video_exists($video["Id"],"PreMuxed")) > 0) $class = ""; echo "".htmlspecialchars($video["Title"]).""; echo "
"; } } ?>