<?php
include 'header.php';
if (!isset($_SESSION["USER_LOGIN"])){
      echo '<script>window.location.href = "login.php";</script>';
}
  
?>

    <main class="flex-grow-1" style="padding-top: 80px;">
        
        
        <div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header">Profile</div>

                <div class="card-body">
                    
                    <div class="text-center mb-4">
                        <div class="position-relative d-inline-block">
                            <img src="https://ui-avatars.com/api/?name=m+s&amp;color=7F9CF5&amp;background=EBF4FF" 
                                 alt="mike smith" 
                                 class="rounded-circle" 
                                 style="width: 150px; height: 150px; object-fit: cover;">
                        </div>
                        <h4 class="mt-3"><?php echo $name ?></h4>
                        <p class="text-muted"><?php echo $email ?></p>
                    </div>

                    <div class="row">
                        <!--<div class="col-md-6">-->
                        <!--    <div class="mb-3">-->
                        <!--        <label class="form-label fw-bold">Phone</label>-->
                        <!--        <p>1234567890</p>-->
                        <!--    </div>-->
                        <!--</div>-->
                        <!--<div class="col-md-6">-->
                        <!--    <div class="mb-3">-->
                        <!--        <label class="form-label fw-bold">Date of Birth</label>-->
                        <!--        <p>April 12, 1999</p>-->
                        <!--    </div>-->
                        <!--</div>-->
                    </div>

                    <!--<div class="mb-3">-->
                    <!--    <label class="form-label fw-bold">Address</label>-->
                    <!--    <p>sdgsdg</p>-->
                    <!--</div>-->

                    <div class="d-flex justify-content-between mt-4">
                        <!--<a href="http://celebbookingsmeetups.com/profile/edit" class="btn btn-primary">-->
                        <!--    Edit Profile-->
                        <!--</a>-->
                        <a href="password.php" class="btn btn-outline-secondary">
                            Change Password
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
    </main>

   <?php
include 'footer.php';

?>