Your IP : 3.146.206.87


Current Path : /home/lentoinv/finationglobal.com/account/
Upload File :
Current File : /home/lentoinv/finationglobal.com/account/myprofile.php

<?php
session_start(); ob_start();
?>
<!doctype html>
<html lang="en" dir="ltr">
	<head>

		<!-- META DATA -->
		<meta charset="UTF-8">
		<meta name='viewport' content='width=device-width, initial-scale=1.0, user-scalable=0'>
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="description" content="">
		<meta name="author" content="">
		<meta name="keywords" content="">

		<!-- FAVICON -->
		<link rel="shortcut icon" type="image/x-icon" href="../assets/images/brand/favicon.ico" />

		<!-- TITLE -->
		<title>My Profile</title>

		<!-- BOOTSTRAP CSS -->
		<link id="style" href="../assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" />

		<!-- STYLE CSS -->
		<link href="../assets/css/style.css" rel="stylesheet"/>
		<link href="../assets/css/plugins.css" rel="stylesheet"/>

		<!--- FONT-ICONS CSS -->
		<link href="../assets/css/icons.css" rel="stylesheet"/>

	</head>

	<body class="app sidebar-mini ltr light-mode">

		<!-- GLOBAL-LOADER -->
		<div id="global-loader">
			<img src="../assets/images/loader.svg" class="loader-img" alt="Loader">
		</div>
		<!-- /GLOBAL-LOADER -->

		<!-- PAGE -->
		<div class="page">
			<div class="page-main">

			 <?php include('header.php') ?>

				<!--app-content open-->
				<div class="main-content app-content mt-0">
					<div class="side-app">

						<!-- CONTAINER -->
						<div class="main-container container-fluid">

							<!-- PAGE-HEADER -->
							<div class="page-header">
								<div>
									<h1 class="page-title">My Profile</h1>
									<ol class="breadcrumb">
										<li class="breadcrumb-item"><a href="javascript:void(0);">Home</a></li>
										<li class="breadcrumb-item active" aria-current="page">My Profile</li>
									</ol>
								</div>
								  <?php include('pagebtn.php') ?>
							</div>
							<!-- PAGE-HEADER END -->

							<!-- ROW-1 OPEN -->
							<div class="row">
								<div class="col-xl-4 col-md-12 col-sm-12">
									<div class="card">
										<div class="card-header">
											<div class="card-title">Profile Information</div>
										</div>
										<div class="card-body">
											 <div class="wideget-user-desc d-sm-flex">
                                                            <div class="wideget-user-img">
                                                            	<?php if(!is_null(userName($uid,'photo'))){ ?>
                                                            		 <img class="" src="uploads/<?= userName($uid,'photo') ?>" alt="img">
                                                            		<?php } else{ ?>
                                                                <img class="" src="uploads/user.png" alt="img">
                                                            <?php } ?>
                                                            </div>

												
											</div>
											<hr>
										<table class="table table-bordered">
							<tr><th>Full Name</th><td><?= userName($uid) ?></td></tr>
							<tr><th>Username</th><td><?= userName($uid,'user') ?></td></tr>
							<tr><th>Email</th><td><?= userName($uid,'email') ?></td></tr>
							<tr><th>Phone Number</th><td><?= userName($uid,'phone') ?></td></tr>
							<tr><th>ID Number</th><td>2000<?= $uidx ?></td></tr>
							<tr><th>Sponsor</th><td><?= userName($uid,'sponsor') ?></td></tr>
										</table>	
										
										</div>
										
									</div>
									<div class="card panel-theme">
										<div class="card-header">
											<div class="float-start">
												<h3 class="card-title">Referral Link</h3>
											</div>
											<div class="clearfix"></div>
										</div>
										<div class="card-body no-padding">
											<b>Simple <a  onclick="copyToClipboard('https://finationglobal.com/r/<?= $user ?>')"><i class="fa fa-copy"></i></a></b><br>
											finationglobal.com/r/<?= $user ?><br><br>
											<b>Customizable <a  onclick="copyToClipboard('https://finationglobal.com/account/register?ref=<?= $user
                                 ?>&upline=<?= $user ?>')"><i class="fa fa-copy"></i></a></b><br>
											finationglobal.com/account/register?ref=<?= $user
                                 ?>&upline=<?= $user ?>
										</div>
									</div>
									<div class="card panel-theme">
										<div class="card-header">
											<div class="float-start">
												<h3 class="card-title">Contact Support</h3>
											</div>
											
											<div class="clearfix"></div>
										</div>
										<div class="card-body no-padding">
											<ul class="list-group no-margin">
												<li class="list-group-item"><a href="#"><i class="fa fa-envelope list-contact-icons border text-center br-100"></i> <span class="contact-icons text-dark">support@finationglobal.com</span></a></li>
												
												<li class="list-group-item"><a href="#"><i class="fa fa-phone list-contact-icons border text-center br-100"></i> <span class="contact-icons text-dark">+234 915 782 9282 </span></a></li>
											</ul>
										</div>
									</div>

									<div class="card panel-theme">
										<div class="card-header">
											<div class="float-start">
												<h3 class="card-title">Other Wallet</h3>
											</div>
											
											<div class="clearfix"></div>
										</div>
										<div class="card-body">
										<form method="post">
										<table class="table table-bordered">
										<tr>
            								<td>Naira wallet</td>

            								<td><?php if(userName($uid,'naira')==0){ ?>
												<button type="submit" class="btn btn-success btn-sm" name="ActivateNaira" value="1">Activate Wallet</button>
											<?php }else{ ?>
												<button type="submit" class="btn btn-danger btn-sm" name="ActivateNaira" value="0">De-activate Wallet</button>
											
											<?php } ?>
											<tr>
										</td>
          								</tr>
										</table>
										</form>
																	</div>
									</div>

								</div>
								<div class="col-xl-8 col-md-12 col-sm-12">
									<form method="post" enctype="multipart/form-data">
									<div class="card">
										<div class="card-header">
											<div class="card-title">Update Photograph</div>
										</div>
										<div class="card-body">
											
											
											<div class="form-group">
												<label class="form-label">Select New Photograph</label>
												<input type="file" class="form-control" name="photo">
											</div>
											
										</div>
										<div class="card-footer text-end">
											<button type="submit" class="btn btn-primary" name="UpdatePicture">Update Photograph</button>
										
										</div>
									</div>
								
									<div class="card">
										<div class="card-header">
											<div class="card-title">Update Password</div>
										</div>
										<div class="card-body">
											
											
											<div class="form-group">
												<label class="form-label">Current Password</label>
												<input type="password" class="form-control" value="" name="oldpassword">
											</div>
											<div class="form-group">
												<label class="form-label">New Password</label>
												<input type="password" class="form-control" value="" name="newpassword">
											</div>
											<div class="form-group">
												<label class="form-label">Confirm Password</label>
												<input type="password" class="form-control" value="" name="confpassword">
											</div>
										</div>
										<div class="card-footer text-end">
											<button type="submit" class="btn btn-primary" name="ChangePassword">Update Password</button>
										</div>
								
									
								</div>
								<div class="card">
										<div class="card-header">
											<div class="card-title">Update Account Detaild</div>
										</div>
										<div class="card-body">
											<p>Update your local bank account information for receiving payment</p>
											
											<div class="form-group">
												<label class="form-label">Account Name</label>
												<input type="text" class="form-control" value="<?= userName($uid,'accname') ?>" name="accname">
											</div>
											<div class="form-group">
												<label class="form-label">Account Number</label>
												<input type="number" class="form-control" value="<?= userName($uid,'accountno') ?>" name="accountno">
											</div>
											<div class="form-group">
												<label class="form-label">Bank Name</label>
												<input type="text" class="form-control" value="<?= userName($uid,'bank') ?>" name="bank">
											</div>
											<div class="form-group">
												<label class="form-label">USDT (TRC20) Wallet Address</label>
												<input type="text" class="form-control" value="<?= userName($uid,'wallet') ?>" name="wallet">
											</div>
										</div>
										<div class="card-footer text-end">
											<button type="submit" class="btn btn-primary" name="UpdateBank">Update Payment Methods</button>
										</div>
								
									
								</div>
								</form>
								
								</div>
							</div>
							<!-- ROW-1 CLOSED -->

						
						</div>
					</div>
				</div>
				<!--CONTAINER CLOSED -->
			</div>

			

			<!-- FOOTER -->
		<?php include('footer.php'); ?>
			<!-- FOOTER CLOSED -->
		</div>

		<!-- BACK-TO-TOP -->
		<a href="#top" id="back-to-top"><i class="fa fa-angle-up"></i></a>

		<!-- JQUERY JS -->
		<script src="../assets/js/jquery.min.js"></script>

		<!-- BOOTSTRAP JS -->
		<script src="../assets/plugins/bootstrap/js/popper.min.js"></script>
		<script src="../assets/plugins/bootstrap/js/bootstrap.min.js"></script>

		<!-- SPARKLINE JS-->
		<script src="../assets/js/jquery.sparkline.min.js"></script>

		<!-- CHART-CIRCLE JS-->
		<script src="../assets/js/circle-progress.min.js"></script>

		<!-- INPUT MASK JS-->
		<script src="../assets/plugins/input-mask/jquery.mask.min.js"></script>

        <!-- SIDE-MENU JS -->
        <script src="../assets/plugins/sidemenu/sidemenu.js"></script>

        <!-- Sticky js -->
        <script src="../assets/js/sticky.js"></script>

		<!-- CHARTJS JS -->
		<script src="../assets/plugins/chart/Chart.bundle.js"></script>
		<script src="../assets/plugins/chart/utils.js"></script>

		<!-- SIDEBAR JS -->
		<script src="../assets/plugins/sidebar/sidebar.js"></script>

		<!-- INTERNAL SELECT2 JS -->
		<script src="../assets/plugins/select2/select2.full.min.js"></script>
		<script src="../assets/js/select2.js"></script>

		<!-- Perfect SCROLLBAR JS-->
		<script src="../assets/plugins/p-scroll/perfect-scrollbar.js"></script>
		<script src="../assets/plugins/p-scroll/pscroll.js"></script>
		<script src="../assets/plugins/p-scroll/pscroll-1.js"></script>

        <!-- Color Theme js -->
        <script src="../assets/js/themeColors.js"></script>

        <!-- swither styles js -->
        <script src="../assets/js/swither-styles.js"></script>

        <!-- CUSTOM JS -->
        <script src="../assets/js/custom.js"></script>
        <script type="text/javascript">
        	
   function copyToClipboard(text) {

    var input = document.createElement('input');
    input.setAttribute('value', text);
    document.body.appendChild(input);
    input.select();
    var result = document.execCommand('copy');
    document.body.removeChild(input);
   alert('link copied');
}
        </script>

    </body>
</html>

?>