Skip to content

Add NightFlix PHP video site: public UI, admin panel, assets, and DB schema - #49

Draft
huzely wants to merge 1 commit into
masterfrom
codex/build-fullstack-video-website-project-hxrhpq
Draft

Add NightFlix PHP video site: public UI, admin panel, assets, and DB schema#49
huzely wants to merge 1 commit into
masterfrom
codex/build-fullstack-video-website-project-hxrhpq

Conversation

@huzely

@huzely huzely commented Mar 19, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Provide a lightweight, shared-hosting-friendly PHP video website with an admin dashboard and basic CMS features suitable for cPanel deployments.
  • Replace the prior project readme with documentation for the new NightFlix PHP app and include a default database and seed data.

Description

  • Added full site scaffolding including public pages (public_html/index.php, public_html/video.php, public_html/upload.php, public_html/search.php) and shared includes (includes/config.php, includes/functions.php, includes/header.php, includes/footer.php).
  • Implemented an admin area with authentication and CRUD pages: admin/login.php, admin/logout.php, admin/index.php, admin/videos.php, admin/taxonomy.php, admin/ads.php, admin/announcement.php, admin/settings.php, plus admin/partials/sidebar.php.
  • Added static assets and client behavior: assets/css/style.css for theme/layout and assets/js/main.js for popup ad behavior, plus a repository .gitignore and updated README.md with deploy instructions and defaults.
  • Introduced database schema and seed data in database.sql covering tables for videos, categories, tags, ads, announcements, settings, admin, comments, and view_logs with a default admin account and sample content.

Testing

  • No automated test suite is included in this change and no automated tests were run against the new code.

Codex Task

@coderabbitai

coderabbitai Bot commented Mar 19, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b157916a-36eb-4678-8313-9debde70d3aa

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/build-fullstack-video-website-project-hxrhpq
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can disable poems in the walkthrough.

Disable the reviews.poem setting to disable the poems in the walkthrough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant