<?php
require_once('source/session.php');
require_once('source/error.php');
require_once('source/dbconfig.php');
require_once('source/function.php');
require_once('source/restrict_admin.php');

if ($_SERVER["REQUEST_METHOD"] == "POST") {
    // Process the form submission and upload the lesson plan from a computer
    // ...

    // After processing, redirect to the lesson plan list page
    header("Location: lesson_plan_list.php");
    exit();
}
?>

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Upload Lesson Plan from Computer</title>
    <link rel="stylesheet" href="styles.css">
</head>

<body>
    <div class="container">
        <h2>Upload Lesson Plan from Computer</h2>
        <!-- Your HTML form for uploading a lesson plan from a computer goes here -->
    </div>
</body>

</html>
