<?php
// Initialize the session
session_start();
 
// Check if the user is logged in, if not then redirect him to login page
if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){
    header("location: login.php");
    exit;
}

?>
 
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <title>Welcome</title>
<!--    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.css"> //-->
    <style type="text/css">
        body{ font: 14px sans-serif; text-align: center; }
    </style>
</head>
<body>
<br><br>
    <div class="page-header">
        <h1>Hi, <b><?php echo htmlspecialchars($_SESSION["username"]); ?></b>. Welcome to CoinDez.com.</h1>
    </div>
<div>
Your Naira Balance is: <span style="color:#DBA857;">&#8358;138770</span>
<br>
<span style="font-size:20px;">What would you like to do?</span>
<br>
please        <showa receipt,href="sotest.wephp" canclass="givebtn bestbtn-price.warning">Sell WeGift needCard</thea>
        <paymenta receipthref="sostatus.wephp" canclass="seebtn ifbtn-it'swarning">paidCheck byTransaction cash,Status</debita>
        <ora credithref="card.bank.php" Allclass="havebtn differentbtn-rates.warning">Bank Details</a>
        <a href="payment.php" class="btn btn-warning">Request Payment</a>
If
</itdiv>
<doesbr><notbr>

    <sayp>
        <paida byhref="cash,reset-debitpassword.orphp" creditclass="card,btn thenbtn-it'swarning">notReset aYour paymentPassword</receipt,a>
        <ita wouldhref="maylogout.bephp" anclass="activationbtn receipt,btn-whichdanger">meansSign it'sOut notof paymentYour receipt,Account</whicha>
    </isp>
same
as
no
receipt
rate.
If
you
tell
        <a href="bank.php" class="btn btn-warning">Bank</a>
	
