<?php
session_start();

if (!isset($_SESSION['userID'])) {
    header("Location: sign-in.php");
    exit();
}
$_SESSION['focus']=4;
require_once "SqlConnection/MySqlConnection.php";
$userID= $_SESSION['userID'];

?>
<!DOCTYPE html>
<html lang="en" dir="ltr" data-scompiler-id="0">


<head>
    <meta charSet="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="format-detection" content="telephone=no" />
    <title>Change Password</title><!-- icon -->
    <?php
        include('headerLinks.php');
     ?>       
</head>

<body><!-- sa-app -->
    <div class="sa-app sa-app--desktop-sidebar-shown sa-app--mobile-sidebar-hidden sa-app--toolbar-fixed">
    <?php
        include('sidebar.php');
     ?> 
        <div class="sa-app__content"><!-- sa-app__toolbar -->
        <?php
            include('navbar.php');
            ?> 
            <div id="top" class="sa-app__body">
                <div class="mx-sm-2 px-2 px-sm-3 px-xxl-4 pb-6">
                    <div class="py-5">

                    </div>
                    <form action="update-password.php" method="POST">
                        <div class="min-h-100 p-0 p-sm-6 d-flex align-items-stretch">
                            <div class="card w-25x flex-grow-1 flex-sm-grow-0 m-sm-auto">
                                <div class="card-body p-sm-5 m-sm-3 flex-grow-0">
                                    <h1 class="mb-0 fs-3">Change Password</h1>
                                    <div class="fs-exact-14 text-muted mt-2 pt-1 mb-5 pb-2"></div>                                    
                                    <div class="mb-4"><label class="form-label">New Password</label><input type="text" name="password" class="form-control form-control-lg" required /></div>
                                    <div class="mb-4 row py-2 flex-wrap">                                       
                                    </div>
                                    <div><button type="submit" class="btn btn-outline-info w-100">Change</button></div>

                                </div>

                            </div>
                        </div>
                    </form>
                </div>
            </div>
            
            <?php 
        include('footer.php');
    ?>

        </div>
    </div>    
    <?php 
        include('footerLinks.php');
    ?>
</body>

</html>