<?php
session_start();
if(!isset($_SESSION['userID'])){
  header("location: ../account/login.html");
}

require_once "../SystemController/DbConnection.php";
$db_handle = new Dbconnection();
$id = $_SESSION['userID'];
$user = $db_handle->runBaseQuery("SELECT * FROM customers WHERE id = $id");



?>
<!DOCTYPE html>
<html lang="zxx">


<!-- Mirrored from demo.dashboardpack.com/marketing-html/ by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 29 Jun 2021 09:57:24 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack -->
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
    <title>SpaceX Tesla Investments Trades | Trader's Profile</title>

    <link rel="icon" href="img/logo3.png" type="image/png">
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="css/bootstrap.min.css" />
    <link href="vendors/icons/css/all.min.css" rel="stylesheet" type="text/css"/>
    <!-- themefy CSS -->
    <link rel="stylesheet" href="vendors/themefy_icon/themify-icons.css" />
    <!-- select2 CSS -->
    <link rel="stylesheet" href="vendors/niceselect/css/nice-select.css" />
    <!-- owl carousel CSS -->
    <link rel="stylesheet" href="vendors/owl_carousel/css/owl.carousel.css" />
    <!-- gijgo css -->
    <link rel="stylesheet" href="vendors/gijgo/gijgo.min.css" />
    <!-- font awesome CSS -->
    <link rel="stylesheet" href="vendors/font_awesome/css/all.min.css" />
    <link rel="stylesheet" href="vendors/tagsinput/tagsinput.css" />

    <!-- date picker -->
     <link rel="stylesheet" href="vendors/datepicker/date-picker.css" />
     <!-- scrollabe  -->
     <link rel="stylesheet" href="vendors/scroll/scrollable.css" />
    <!-- datatable CSS -->
    <link rel="stylesheet" href="vendors/datatable/css/jquery.dataTables.min.css" />
    <link rel="stylesheet" href="vendors/datatable/css/responsive.dataTables.min.css" />
    <link rel="stylesheet" href="vendors/datatable/css/buttons.dataTables.min.css" />
    <!-- text editor css -->
    <link rel="stylesheet" href="vendors/text_editor/summernote-bs4.css" />
    <!-- morris css -->
    <link rel="stylesheet" href="vendors/morris/morris.css">
    <!-- metarial icon css -->
    <link rel="stylesheet" href="vendors/material_icon/material-icons.css" />

    <!-- menu css  -->
    <link rel="stylesheet" href="css/metisMenu.css">
    <!-- style CSS -->
    <link rel="stylesheet" href="css/custom.css" />
    <link rel="stylesheet" href="css/style.css" />
    <link rel="stylesheet" href="css/colors/default.css" id="colorSkinCSS">
</head>
<body class="crm_body_bg">
    


<!-- main content part here -->
 
 <!-- sidebar  -->
 <!-- sidebar part here -->
 <nav class="sidebar vertical-scroll  ps-container ps-theme-default ps-active-y">
    <div class="logo d-flex justify-content-between">
        <a href="index.php"><img src="img/logo3.png" alt=""></a>
        <div class="sidebar_close_icon d-lg-none">
           <i class="fa fa-times"></i>
        </div>
    </div>
    <ul id="sidebar_menu">
        <li class="">
          <a class=""  href="index.php"  aria-expanded="false">
          <!-- <i class="fas fa-th"></i> -->
          <div class="icon_menu">
              <!-- <img src="img/menu-icon/dashboard.svg" alt=""> -->
              <i class="fa fa-home" ></i>
          </div>
            <span>Dashboard</span>
          </a>
        </li>
        <li class="">
          <a class=""  href="trade.php"  aria-expanded="false">
          <!-- <i class="fas fa-th"></i> -->
          <div class="icon_menu">
              <!-- <img src="img/menu-icon/dashboard.svg" alt=""> -->
              <i class="fa fa-chart-line" ></i>
          </div>
            <span>Trade</span>
          </a>
        </li>
        <li class="">
          <a class=""  href="fund.php"  aria-expanded="false">
          <!-- <i class="fas fa-th"></i> -->
          <div class="icon_menu">
              <!-- <img src="img/menu-icon/dashboard.svg" alt=""> -->
              <i class="fa fa-money-bill-wave-alt" ></i>
          </div>
            <span>Fund Account</span>
          </a>
        </li>
        <li class="">
          <a class=""  href="withdraw.php"  aria-expanded="false">
          <!-- <i class="fas fa-th"></i> -->
          <div class="icon_menu">
              <!-- <img src="img/menu-icon/dashboard.svg" alt=""> -->
              <i class="fa fa-wallet" ></i>
          </div>
            <span>Withdraw</span>
          </a>
        </li> 
        <li class="">
          <a class=""  href="history.php"  aria-expanded="false">
          <!-- <i class="fas fa-th"></i> -->
          <div class="icon_menu">
              <!-- <img src="img/menu-icon/dashboard.svg" alt=""> -->
              <i class="fa fa-history" ></i>
          </div>
            <span>History</span>
          </a>
        </li>
        <li class="">
          <a class=""  href="upgrade.php"  aria-expanded="false">
          <!-- <i class="fas fa-th"></i> -->
          <div class="icon_menu">
              <!-- <img src="img/menu-icon/dashboard.svg" alt=""> -->
              <i class="fa fa-level-up-alt" ></i>
          </div>
            <span>Account Upgrade</span>
          </a>
        </li>
        <li class="">
          <a class=""  href="profile.php"  aria-expanded="false">
          <!-- <i class="fas fa-th"></i> -->
          <div class="icon_menu">
              <!-- <img src="img/menu-icon/dashboard.svg" alt=""> -->
              <i class="fa fa-user" ></i>
          </div>
            <span>Account Profile</span>
          </a>
        </li> 
        <li class="">
          <a class=""  href="resetpass.php"  aria-expanded="false">
          <!-- <i class="fas fa-th"></i> -->
          <div class="icon_menu">
              <!-- <img src="img/menu-icon/dashboard.svg" alt=""> -->
              <i class="fa fa-key" ></i>
          </div>
            <span>Reset Password</span>
          </a>
        </li>
        <li class="">
          <a class=""  href="../apps/logout.php"  aria-expanded="false">
          <!-- <i class="fas fa-th"></i> -->
          <div class="icon_menu">
              <!-- <img src="img/menu-icon/dashboard.svg" alt=""> -->
              <i class="fa fa-sign-out-alt" ></i>
          </div>
            <span>Log Out</span>
          </a>
        </li>                                                         
    </ul>  
</nav>
<!-- sidebar part end -->
 <!--/ sidebar  -->


<section class="main_content dashboard_part large_header_bg">
        <!-- menu  -->
            <div class="container-fluid no-gutters">
        <div class="row">
            <div class="col-lg-12 p-0 ">
                <div class="header_iner d-flex justify-content-between align-items-center">
                    <div class="sidebar_icon d-lg-none">
                        <i class="fa fa-bars"></i>
                    </div>
                    <div class="serach_field-area d-flex align-items-center">

                    </div>
                    <div class="header_right d-flex justify-content-between align-items-center">
                        <div class="header_notification_warp d-flex align-items-center">
<!--                        <li>
                                <a class="bell_notification_clicker nav-link-notify" href="#"> <img src="img/icon/bell.svg" alt="">
                                </a>
                                <div class="Menu_NOtification_Wrap">
                                    <div class="notification_Header">
                                        <h4>Notifications</h4>
                                    </div>
                                    <div class="Notification_body">
                                        <div class="single_notify d-flex align-items-center">
                                            <div class="notify_content">
                                                <p>Lorem ipsum dolor sit amet</p>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </li> -->
                        </div>
                        <div class="profile_info">
                            <img src="img/sample-qr.png" alt="#">&nbsp;                             <div class="profile_info_iner">
                                <div class="profile_author_name">
                                    <h5>&nbsp;</h5>
                                </div>
                                <div class="profile_info_details">
                                    <a href="profile.php">My Profile </a>
                                    <a href="history.php">Transactions</a>
                                    <a href="../apps/logout.php">Log Out </a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
<script type="text/javascript">window.$crisp=[];window.CRISP_WEBSITE_ID="933bd4cf-0f88-45bb-a9c6-52ecd2f208dc";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();</script>    <!--/ menu  -->
    <div class="main_content_iner ">
        <div class="container-fluid p-0 ">
            <div class="row ">
                <div class="col-lg-12 beaut">
                    <h3>WELCOME </h3><br>
                    <p>ACCOUNT PROFILE</p><br>
                    <div class="row" >
                        <div class="col-3" ></div>
                        <div class="col-6" >
                            <p class="text_shit" >Account Type : <?php echo $user[0]['trading_plan']; ?></p><br>
                            <p class="text_shit" >Username : <?php echo $user[0]['username']; ?></p><br>
                            <p class="text_shit" >First Name : <?php echo $user[0]['firstname']; ?> </p><br>
                            <p class="text_shit" >Last Name : <?php echo $user[0]['surname']; ?></p><br>
                            <p class="text_shit" >Email : <?php echo $user[0]['email']; ?></p><br>                            
                        </div>
                        <div class="col-3" ></div>
                    </div>

                    <a href="resetpass.php">
                        <span class="btn btn-lg btn-primary" >Reset Password</span>
                    </a>
                </div><br>
            </div>
        </div>
    </div>

<!-- footer part -->
<div class="footer_part">
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12">
                <div class="footer_iner text-center">
                    <p>© 2025 <a href="../index.html" >SpaceX Tesla Investments Trades</a> All rights reserved</p>
                </div>
            </div>
        </div>
    </div>
</div></section>
<!-- main content part end -->

<div id="back-top" style="display: none;">
    <a title="Go to Top" href="#">
        <i class="ti-angle-up"></i>
    </a>
</div>

<!-- footer  -->
<script src="js/jquery-3.4.1.min.js"></script>
<!-- popper js -->
<script src="js/popper.min.js"></script>
<!-- bootstarp js -->
<script src="js/bootstrap.min.js"></script>
<!-- sidebar menu  -->
<script src="js/metisMenu.js"></script>
<!-- waypoints js -->
<script src="vendors/count_up/jquery.waypoints.min.js"></script>
<!-- waypoints js -->
<script src="vendors/chartlist/Chart.min.js"></script>
<!-- counterup js -->
<script src="vendors/count_up/jquery.counterup.min.js"></script>

<!-- nice select -->
<script src="vendors/niceselect/js/jquery.nice-select.min.js"></script>
<!-- owl carousel -->
<script src="vendors/owl_carousel/js/owl.carousel.min.js"></script>

<!-- responsive table -->
<script src="vendors/datatable/js/jquery.dataTables.min.js"></script>
<script src="vendors/datatable/js/dataTables.responsive.min.js"></script>
<script src="vendors/datatable/js/dataTables.buttons.min.js"></script>
<script src="vendors/datatable/js/buttons.flash.min.js"></script>
<script src="vendors/datatable/js/jszip.min.js"></script>
<script src="vendors/datatable/js/pdfmake.min.js"></script>
<script src="vendors/datatable/js/vfs_fonts.js"></script>
<script src="vendors/datatable/js/buttons.html5.min.js"></script>
<script src="vendors/datatable/js/buttons.print.min.js"></script>


<script src="js/chart.min.js"></script>
<!-- progressbar js -->
<script src="vendors/progressbar/jquery.barfiller.js"></script>
<!-- tag input -->
<script src="vendors/tagsinput/tagsinput.js"></script>
<!-- text editor js -->
<script src="vendors/text_editor/summernote-bs4.js"></script>
<script src="vendors/am_chart/amcharts.js"></script>

<!-- scrollabe  -->
<script src="vendors/scroll/perfect-scrollbar.min.js"></script>
<script src="vendors/scroll/scrollable-custom.js"></script>


<script src="vendors/chart_am/core.js"></script>
<script src="vendors/chart_am/charts.js"></script>
<script src="vendors/chart_am/animated.js"></script>
<script src="vendors/chart_am/kelly.js"></script>
<script src="vendors/chart_am/chart-custom.js"></script>
<!-- custom js -->
<script src="js/custom.js"></script>
<script src="js/main.js"></script>
</body>

<!-- Mirrored from demo.dashboardpack.com/marketing-html/ by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 29 Jun 2021 09:58:17 GMT -->
</html>
