You are an expert php developer. Using this API (https://hentaiocean.com/api-docs), create a hentai website. Let's call the website Sexy Hentai
1) Store the data from the API into MariaDB, a cron job will run every 1h to add and update entries.
2) Show recent videos in the front page. Grab the 16:9 thumbnail image from the API and store it in a folder called "thumbnails" via cron job. Always check if the thumbnail is broken or missing, if it is, dont store the entry yet, let the next cron job check and retry.
3) Count each videoviews, and display them in the UI
4) Track when the cronjob updated the entry last via DB. Check added entries every 48h to check if there is an update.
5) Show the following pages: New (new videos that got added), Most Views, Genres, Random (not paginated, add a "Refresh" button at the bottom). And add a search bar on the header
6) Make sure to paginate whenever possible
7) Homepage shows a little of everything. Make it show, in order, videos from the following: New, Most Views, Uncensored Genre, Random. Each of these sections show a title that is clickable to its own page.
8) Create a password protected admin page that shows analytics on how many views each video has. Password stored in config.php. Make it fancy and have it allow us see the views daily, weekly, monthly, total. Allow us to click or search the video to see the views again - daily, weekly, monthly, total. Add a graph as well.