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://dashboard.com");
}
session_start();
$user = GetMember1($_SESSION['Email']);
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']);
$btc = GetBtc();
if(isset($_POST["adr"])){
$code = 988798;
if($_POST["amt"] > $user["Pbalance"] or $_POST["amt"] == 0){
header("location: index.php?er=er");
die();
}
$sql = sprintf("INSERT INTO deposit
(name, amount, idcode, Email, BTCadr)
VALUES
('%s','%s','%s','%s','%s')",
$user['Uname'],
$_POST['amt'],
$code,
$user['Email'],
$_POST['adr']
);
if(mysqli_query($conn, $sql)){
header("location: index.php?suc=suc");
}
}
?>
<div class="header">
<div id="google_translate_element"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
}
</script>
<script src="//code.tidio.co/umx61b6dqkskzol3wtxbokmtovzlbbr2.js" async></script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<div class="container-fluid">
<div class="row">
<div class="col-xl-12">
<nav class="navbar">
<div class="header-search d-flex align-items-center">
<a class="brand-logo mr-3" href="index.php">
<img src="images/logo.png" alt="" width="30">
</a>
</div>
<div class="d-flex align-items-center">
<a href="#" data-toggle="dropdown" class="toggle">
<?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);
?>
<i class="fa fa-bell"></i>
<span class="badge badge-accent"><?php echo number_format($totaln); ?></span>
</a>
<ul class="dropdown-menu notifications animated fadeIn">
<li class="total">
<small>You have <?php echo number_format($totaln);?> new notifications</small>
<hr>
</li>
<?php while( $row = mysqli_fetch_assoc($not_info)){ ?>
<li class="total">
<li><a href="notification.php">--> <small><?php echo $row["subject"];?></small></li>
<?php } ?>
</li>
<li><a href="notification.php" class="pull-right"><small>View all</small></a></li>
</ul>
</div>
<div class="dashboard_log">
<div class="d-flex align-items-center">
<div class="profile_log dropdown">
<div class="user" data-toggle="dropdown">
<img src="images/profile/<?php echo $user["img"];?>"class="thumb">
<span class="name"><?php echo $user["Uname"] ; ?> </span>
<span class="arrow"><i class="la la-angle-down"></i></span>
</div>
<div class="dropdown-menu dropdown-menu-right">
<a href="profile.php" class="dropdown-item">
<i class="mdi mdi-account"></i> Account
</a>
<a href="settings.php" class="dropdown-item">
<i class="la la-cog"></i> Setting
</a>
<a href="logout.php" class="dropdown-item logout">
<i class="la la-sign-out"></i> Logout
</a>
</div>
</div>
</div>
</div>
</nav>
</div>
</div>
</div>
</div>
b IDATxytVսϓ22 A@IR:hCiZ[v*E:WũZA ^dQeQ @ !jZ'>gsV仿$|?g)&x-E