App name Admin email/phone Razorpay Key ID & Secret--- 📦 DATABASE SCHEMA

(install.php should auto-create) users (id, name, phone, email, password, created_at)admin

(id, username, password)banners (id, image, link)courses (id, title, mrp, price, description,

image, created_at)chapters (id, course_id, title)videos (id, chapter_id, title, filename)orders

(id, user_id, course_id, amount, status, razorpay_order_id, created_at)settings (id,

app_name, razorpay_key, razorpay_secret, support_email, support_phone) install.php

should: Create DB tables Create folders: uploads/banners, uploads/courses, uploads/videos

Insert default admin: admin: admin, pass: 123456 Redirect to login.php--- 🔐 SECURITY &

USER EXPERIENCE Sessions for login (admin/user) Form validation Clean redirects JS to:

Disable text selection Block zoom, right-click Block video downloadCourse access check

(only purchased can watch) No video direct link exposure--- 🎨 UI DESIGN NOTES Theme

color: #0284C7 (Sky Blue), text white on header/footer Tailwind-based UI 16:9

thumbnails/images No hover effects or animations Clean, sharp edges — no borders or

radius Layouts: Home: Banner slider → Latest Courses (horizontal scroll) → Top Courses

(grid) Course detail: Sticky Buy button Admin: Card stats, clean forms, mobile-first grids---

📌 SPECIAL NOTES: All AJAX should be inline (no external JS files) Keep all logic inside

same PHP files No dummy data in install Minimal and optimized file structure Payment must

verify server-side before giving access Custom video player UI Prevent direct file access of

video--- ⚠️ FINAL INSTRUCTION: > 🔒 Note: Don't use React, Next.js or any other

framework.✅ Generate only PHP, HTML, CSS, JS-based complete files of code for this

project .I know it won’t run in this environment. I’ll run it locally.You just generate all the

required code files, folders and page contents correctly.

Comments

Popular posts from this blog