Your IP : 18.221.147.141


Current Path : /home/lentoinv/reloxpropertiesltd.com/
Upload File :
Current File : /home/lentoinv/reloxpropertiesltd.com/profile.php

<?php
session_start(); ob_start();
require_once('includes/headerquery.php');
$pro->loggedIn()
?>
<!doctype html>
<html class="no-js" lang="zxx">

<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>Profile</title>
    <meta name="robots" content="noindex, follow" />
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Place favicon.png in the root directory -->
    <link rel="shortcut icon" href="img/favicon.png" type="image/x-icon" />
    <!-- Font Icons css -->
    <link rel="stylesheet" href="css/font-icons.css">
    <!-- plugins css -->
    <link rel="stylesheet" href="css/plugins.css">
    <!-- Main Stylesheet -->
    <link rel="stylesheet" href="css/style.css">
    <!-- Responsive css -->
    <link rel="stylesheet" href="css/responsive.css">
        <style type="text/css">
        nav li{text-transform: uppercase;}
    </style>
</head>

<body>
    <!--[if lte IE 9]>
        <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
    <![endif]-->

    <!-- Add your site or application content here -->

<!-- Body main wrapper start -->
<div class="body-wrapper">

  <?php include('head.php'); ?>

    <div class="ltn__utilize-overlay"></div>

    <!-- BREADCRUMB AREA START -->
    <div class="ltn__breadcrumb-area text-left bg-overlay-white-30 bg-image p-5"  data-bs-bg="img/bg/14.jpg">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <div class="ltn__breadcrumb-inner">
                        <h1 class="page-title">Account</h1>
                        <div class="ltn__breadcrumb-list">
                            <ul>
                                <li><a href="index.html"><span class="ltn__secondary-color"><i class="fas fa-home"></i></span> Home</a></li>
                                <li>Profile</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- BREADCRUMB AREA END -->





    <!-- LOGIN AREA START -->
 <div class="liton__wishlist-area pb-70">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <!-- PRODUCT TAB AREA START -->
                    <div class="ltn__product-tab-area">
                       
                                    <div class="tab-content">
                                        <div class="tab-pane fade active show" id="liton_tab_1_1">
                                            <div class="ltn__myaccount-tab-content-inner">
                                                  <?php $role =  userName($uid, 'type'); ?>
                                             
                        <div class="ltn__call-to-action-area call-to-action-6 mb-5">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <div class="call-to-action-inner call-to-action-inner-6 ltn__secondary-bg position-relative text-center--- bg-secondary p-3">
                        <div class="coll-to-info text-color-white">
                            <h1><?= $pro->userPack($role) ?></h1>
                            <p>Current Membership</p>
                        </div>
                         <?php if($role<3){ ?>
                        <div class="btn-wrapper">
                            <a class="btn btn-effect-3 btn-white" href="#" data-bs-toggle="modal" data-bs-target="#membership">Upgrade membership<i class="icon-next"></i></a>
                        </div>
                    <?php } ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
                          
                                            </div>



                                             <div class="ltn__category-area ltn__product-gutter section-bg-1--- pb-5 m-0">
        <div class="container">
         
 <form method="POST"> <legend>Profile Data </legend>
                                                        <div class="row mb-50">
                                                            <div class="col-md-6">
                                                                <label>First name:</label>
                                                                <input type="text" disabled value="<?= userName($uid, "firstname") ?>" name="ltn__name">
                                                            </div>
                                                            <div class="col-md-6">
                                                                <label>Last name:</label>
                                                                <input type="text" disabled value="<?= userName($uid, "lastname") ?>" name="ltn__lastname">
                                                            </div>
                                                            <div class="col-md-6">
                                                                <label>Phone Number:</label>
                                                                <input type="text" disabled value="<?= userName($uid, "phone") ?>" name="ltn__lastname" placeholder="Ethan">
                                                            </div>
                                                            <div class="col-md-6">
                                                                <label> Email:</label>
                                                                <input type="email" disabled value="<?= userName($uid, 'email') ?>" name="email" placeholder="example@example.com">
                                                            </div>
                                                        </div>
                                                       
                                                    <?php if(is_null(userName($uid,'bank'))){ ?>
                                                            <legend>Update Bank Account Details</legend>
                                                            <div class="row">
                                                                <div class="col-md-12">
                                                                    <label>Bank Name:</label>
                                                                    <input type="text" name="bank">
                                                                    <label>Account Number:</label>
                                                                    <input type="text" name="acno">
                                                                    <label>Account Name:</label>
                                                                    <input type="text" name="acname">
                                                                </div>
                                                            </div>
                                                  
                                                        <div class="btn-wrapper">
                                                            <button type="submit" name="UpdateBank" class="btn theme-btn-1 btn-effect-1 text-uppercase">Save Changes</button>
                                                        </div>
                                                    <?php }else{ ?>
<legend>Bank Account Details</legend>
                                                            <div class="row">
                                                                <div class="col-md-12">
                                                                    <label>Bank Name:</label>
                                                                    <input type="text" name="bank" value="<?= userName($uid,'bank') ?>" disabled>
                                                                    <label>Account Number:</label>
                                                                    <input type="text" name="acno" value="<?= userName($uid,'accountno') ?>" disabled>
                                                                    <label>Account Name:</label>
                                                                    <input type="text" name="acname" value="<?= userName($uid,'accname') ?>" disabled>
                                                                </div>
                                                            </div>
                                                    <?php } ?>

                                                    <br><br>
                                                            <legend>Change Password </legend>
                                                            <div class="row">
                                                                <div class="col-md-12">
                                                                    <label>Current password:</label>
                                                                    <input type="password" name="pass">
                                                                    <label>New password:</label>
                                                                    <input type="password" name="pass1">
                                                                    <label>Confirm new password:</label>
                                                                    <input type="password" name="pass2">
                                                                </div>
                                                            </div>
                                                  
                                                        <div class="btn-wrapper">
                                                            <button type="submit" name="UpdateUserPass" class="btn theme-btn-1 btn-effect-1 text-uppercase">Save Changes</button>
                                                        </div>
                                                       
                                        
                                                    </form>

                                           
                                        </div>
                                    </div>
                                </div>
                         
                                      
                    </div>
                    <!-- PRODUCT TAB AREA END -->
                </div>
            </div>
        </div>
    </div>
    <!-- LOGIN AREA END -->

  <?php include('foot.php') ?>
  <?php include('modals.php') ?>


</div>
<!-- Body main wrapper end -->

    <!-- All JS Plugins -->
    <script src="js/plugins.js"></script>
    <!-- Main JS -->
    <script src="js/main.js"></script>
  
</body>
</html>


?>