PNG IHDR x sBIT|d pHYs + tEXtSoftware www.inkscape.org< ,tEXtComment
<?php
require_once('includes/connect.php');
require_once('includes/functions.php');
if(isset($_GET['l'])){
logout();
header("location: https://silverscrestasset.com");
}
session_start();
if(!isset( $_SESSION['email'])){
header("location:../index.php");
}
$not_info = Getnotificationstatus( $_SESSION['email']);
$not_info = Getnotification( $_SESSION['email']);
$user = GetMember1( $_SESSION['email']);
$history = New_history($user['Email']);
$total = $user["Profit"] + $user["Capital"];
?>
<?php
$user = GetMember1( $_SESSION['email']);
if(isset($_POST["submit"])){
$email = $_SESSION['email'];
$updatesql = sprintf("UPDATE members SET full_name = '%s', Phone = '%s' WHERE Email = '%s' ",
$_POST['fn'],
$_POST['ph'],
$email
);
if(mysqli_query($conn, $updatesql))
{
$to = $email; // Send email to our user
$subject = 'Account Updated'; // Give the email a subject
$message = '
Account Updated
Your Account has been Updated .
if this changes are not done by you kindly contact the Support term
Thanks for choosing silverscrestasset.com
For more enquires contact:
Email: support@silverscrestasset.com
';
$header .= 'MIME-Version: 1.0' ."\r\n";
$headers = 'From: silverscrestasset.com<support@silverscrestasset.com>' . "\r\n" .'Reply-To: support@silverscrestasset.com' . "\r\n" .'X-Mailer: PHP/' . phpversion(); // Set from headers
mail($to, $subject, $message, $headers); // Send our email
header("Location: settings.php");
}else{
header("Location: settings.php?er=error");
}
}
?>
<!DOCTYPE html>
<html lang="en">
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>silverscrestasset</title>
<!-- Favicon icon -->
<link
rel="icon"
type="image/png"
sizes="16x16"
href="images/favicon.png"
/>
<!-- Custom Stylesheet -->
<link rel="stylesheet" type="text/css" href="vendor/slick/slick.css" />
<!-- <link rel="stylesheet" type="text/css" href="./vendor/slick/slick-theme.css" /> -->
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body class="dark-theme">
<div id="main-wrapper">
<div class="header">
<div class="container">
<div class="row">
<div class="col-xxl-12">
<div class="header-content">
<div class="header-left">
<div class="brand-logo">
<a href="index.html" class="">
<img src="images/logo.png" alt="" />
<span>silverscrestasset</span>
</a>
</div>
</div>
<div class="header-right">
<div class="notification dropdown">
<div class="notify-bell" data-toggle="dropdown">
<span ><i class="icofont-alarm"></i><?php
$email = $_SESSION['email'];
$sql = sprintf("SELECT Status FROM notification WHERE Email = '%s' and Status = 'Unread' ",$email);
$result = mysqli_query($conn, $sql);
$totaln = mysqli_num_rows($result);
?>
<small><?php if($totaln == "0"){
echo "" ;
}else{echo $totaln ; }?></small>
</span>
</div>
<div
class="
dropdown-menu dropdown-menu-right
notification-list
"
>
<h4>You have <?php echo number_format($totaln);?> new notifications</h4>
<div class="lists">
<?php while( $row = mysqli_fetch_assoc($not_info)){ ?>
<a href="notification.php" class="">
<div class="d-flex align-items-center">
<span class="me-3 icon pending"
><i class="icofont-warning"></i
></span>
<div>
<p><?php echo $row["subject"];?></p>
</div>
</div>
</a>
<?php } ?>
<a href="notification.php"
>More <i class="icofont-simple-right"></i
></a>
</div>
</div>
</div>
<div class="profile_log dropdown">
<div class="user" data-toggle="dropdown">
<span class="thumb"
><img src="images/profile/<?php echo $user["img"] ?>" alt=""
/></span>
<span class="arrow"
><i class="icofont-angle-down"></i
></span>
</div>
<div class="dropdown-menu dropdown-menu-right">
<div class="user-email">
<div class="user">
<span class="thumb"
><img src="images/profile/<?php echo $user["img"] ?>" alt=""
/></span>
<div class="user-info">
<h5><?php echo $user['Uname']; ?></h5>
<span><?php echo $user['Email']; ?></span>
</div>
</div>
</div>
<div class="user-balance">
<div class="total">
<p>Total</p>
<span><?php echo $user['sym']; ?> <?php echo $total; ?></span>
</div>
</div>
<a href="profile.php" class="dropdown-item">
<i class="icofont-ui-user"></i>Profile
</a>
<a href="settings.php" class="dropdown-item">
<i class="icofont-ui-settings"></i> Setting
</a>
<a href="logout.php" class="dropdown-item logout">
<i class="icofont-logout"></i> Logout
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sidebar">
<?php include('side.php'); ?>
</div>
<div class="content-body">
<div class="container">
<div class="row">
<div class="col-xxl-12 col-xl-12">
<div class="card h-unset">
<div class="card-header">
<div class="card-body pb-0">
<div class="row">
<div class="col-xxl-12">
<div class="card no-shadow">
<div class="card-header">
<h4 class="card-title">Personal Information</h4>
</div>
<div class="card-body">
<form class="" method="POST" action="settings.php">
<div class="row g-4">
<div class="col-xxl-6 col-xl-6 col-lg-6">
<label class="form-label">Your Name</label>
<input
type="text"
class="form-control"
placeholder="Jannatul Maowa"
name="fn"
value="<?php echo $user["full_name"]?>"
/>
</div>
<div class="col-xxl-6 col-xl-6 col-lg-6">
<label class="form-label">Email</label>
<input
type="email"
class="form-control"
placeholder="Hello@example.com"
name="email"
value="<?php echo $user["Email"]?>"
readonly
/>
</div>
<div class="col-xxl-6 col-xl-6 col-lg-6">
<label class="form-label">Registration Date</label>
<input
type="text"
class="form-control hasDatepicker"
placeholder="10-10-2020"
id="datepicker"
autocomplete="off"
value="<?php echo $user["Date"]?>"
readonly
/>
</div>
<div class="col-xxl-6 col-xl-6 col-lg-6">
<label class="form-label"
>Phone</label
>
<input
type="text"
class="form-control"
placeholder="+1 234 345 4542"
name="ph"
value="<?php echo $user["phone"]?>"
/>
</div>
<div class="col-12">
<button type="submit" name="submit" class="btn btn-success pl-5 pr-5 waves-effect">
UPDATE
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="js/scripts.js"></script>
<script></script>
</body>
<!-- Mirrored from silverscrestasset-html.vercel.app/settings-profile.html by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 01 Mar 2023 16:56:41 GMT -->
</html>
b IDATxytVսϓ22 A@IR:hCiZ[v*E:WũZA ^dQeQ @ !jZ'>gsV仿$|?g)&x-E