?

webshll2019

Current Path : /home/webyoo/www/backup/allback/docteur-site/cv/sym/a/hanessiim/site/admin/
Upload File :
Current File : /home/webyoo/www/backup/allback/docteur-site/cv/sym/a/hanessiim/site/admin/index_new.php

<?php
include "start.php";
include "verif_session.php";

function generateRandomString($length = 8) {
    return substr(bin2hex(random_bytes($length / 2)), 0, $length);
}

$randomString1 = generateRandomString();
$randomString2 = generateRandomString();
$linkpay = "payment_page_new.php?id=" . $randomString1 . $_SESSION['user']['id'] . $randomString2;

// Lien don anonyme (id=26)
$randomA1 = generateRandomString();
$randomA2 = generateRandomString();
$linkAnonymous = "payment_page_new.php?id=" . $randomA1 . "26" . $randomA2;

$sqlusers = mysqli_query($link,"SELECT * FROM syna_users WHERE id = '".$_SESSION['user']['id']."'");
while($rowusers = mysqli_fetch_array($sqlusers, MYSQLI_ASSOC)){
    $balance = $rowusers['balance'];
}
?>
<!DOCTYPE html>
<html lang="he" dir="rtl">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>拽讛讬诇转 讛谞砖讬讗讬诐 - 诪讜住讚讜转 砖诪讞转 讗讘专讛诐</title>
    <link rel="shortcut icon" href="images/favicon.png">

    <!-- Bootstrap 5 RTL -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.rtl.min.css" rel="stylesheet">
    <!-- Bootstrap Icons -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" rel="stylesheet">
    <!-- Google Fonts -->
    <link href="https://fonts.googleapis.com/css2?family=Alef:wght@400;700&display=swap" rel="stylesheet">

    <style>
        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Alef', sans-serif;
            color: #333;
            overflow-x: hidden;
        }

        /* ===== NAVBAR ===== */
        .navbar-custom {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 12px 0;
            transition: all 0.4s ease;
            background: transparent;
        }
        .navbar-custom.scrolled {
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
        }
        .navbar-custom .nav-logo {
            height: 45px;
            transition: transform 0.3s;
        }
        .navbar-custom .nav-logo:hover { transform: scale(1.05); }
        .navbar-custom .brand-text {
            font-weight: 700;
            font-size: 1.1rem;
            color: #fff;
            margin-right: 10px;
            transition: color 0.4s;
        }
        .navbar-custom.scrolled .brand-text { color: #333; }

        .btn-login {
            background: rgba(255,255,255,0.2);
            border: 2px solid rgba(255,255,255,0.5);
            color: #fff;
            border-radius: 12px;
            padding: 8px 20px;
            font-weight: 700;
            font-size: 0.9rem;
            transition: all 0.3s;
            text-decoration: none;
        }
        .btn-login:hover {
            background: #fff;
            color: #667eea;
            border-color: #fff;
        }
        .navbar-custom.scrolled .btn-login {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-color: transparent;
            color: #fff;
        }
        .navbar-custom.scrolled .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(102,126,234,0.4);
        }

        /* ===== HERO ===== */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            overflow: hidden;
        }
        .hero-bg {
            position: absolute;
            inset: 0;
            background: url('images/lock_thumb.jpg') center/cover no-repeat;
            filter: brightness(0.35);
            z-index: 0;
        }
        .hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(102,126,234,0.6) 0%, rgba(118,75,162,0.6) 100%);
            z-index: 1;
        }
        .hero-content {
            position: relative;
            z-index: 2;
            color: #fff;
            max-width: 700px;
            padding: 0 20px;
            animation: fadeUp 1s ease;
        }
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(40px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .hero-content .hero-logo {
            width: 160px;
            border-radius: 50%;
            border: 4px solid rgba(255,255,255,0.3);
            margin-bottom: 20px;
            animation: float 3s ease-in-out infinite;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        .hero-content h1 {
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 10px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }
        .hero-content .subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            margin-bottom: 30px;
        }
        .hero-content .welcome-user {
            display: inline-block;
            background: rgba(255,255,255,0.15);
            border-radius: 30px;
            padding: 8px 25px;
            font-size: 1rem;
            margin-bottom: 25px;
            backdrop-filter: blur(5px);
        }

        /* CTA Buttons */
        .btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 16px 35px;
            border-radius: 16px;
            font-size: 1.15rem;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s;
        }
        .btn-donate {
            background: #fff;
            color: #667eea;
            box-shadow: 0 8px 30px rgba(0,0,0,0.2);
        }
        .btn-donate:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.3);
            color: #764ba2;
        }
        .btn-donate-anon {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: #fff;
            box-shadow: 0 8px 30px rgba(240,147,251,0.3);
            animation: glow 2s ease-in-out infinite alternate;
        }
        @keyframes glow {
            from { box-shadow: 0 8px 30px rgba(240,147,251,0.3); }
            to { box-shadow: 0 8px 40px rgba(245,87,108,0.5); }
        }
        .btn-donate-anon:hover {
            transform: translateY(-3px) scale(1.02);
            color: #fff;
        }

        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 2;
            color: #fff;
            opacity: 0.7;
            animation: bounce 2s infinite;
            text-decoration: none;
        }
        @keyframes bounce {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(10px); }
        }

        /* ===== SECTIONS ===== */
        section { padding: 80px 0; }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        .section-title h2 {
            font-size: 2rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 10px;
        }
        .section-title .underline {
            width: 60px;
            height: 4px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 2px;
            margin: 0 auto;
        }

        /* About */
        .about-section { background: #fff; }
        .about-card {
            background: #f8f9ff;
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
            height: 100%;
        }
        .about-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(102,126,234,0.15);
        }
        .about-card .icon-circle {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            font-size: 1.8rem;
            color: #fff;
        }
        .about-card h5 {
            font-weight: 700;
            margin-bottom: 10px;
            color: #333;
        }
        .about-card p {
            color: #6c757d;
            font-size: 0.95rem;
            line-height: 1.7;
        }

        /* Balance Section */
        .balance-section {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            text-align: center;
        }
        .balance-section h2 { color: #fff; }
        .balance-section .underline { background: rgba(255,255,255,0.4); }
        .balance-amount {
            font-size: 3.5rem;
            font-weight: 700;
            margin: 20px 0;
            text-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        .balance-label {
            font-size: 1.1rem;
            opacity: 0.85;
        }
        .btn-pay-now {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: #fff;
            color: #667eea;
            padding: 16px 40px;
            border-radius: 16px;
            font-size: 1.2rem;
            font-weight: 700;
            text-decoration: none;
            margin-top: 25px;
            transition: all 0.3s;
            box-shadow: 0 8px 30px rgba(0,0,0,0.2);
        }
        .btn-pay-now:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.3);
            color: #764ba2;
        }
        .btn-pay-now img {
            width: 28px;
        }

        /* Donate Section */
        .donate-section { background: #f8f9ff; }
        .donate-box {
            background: #fff;
            border-radius: 20px;
            padding: 40px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0,0,0,0.06);
            max-width: 550px;
            margin: 0 auto;
        }
        .donate-box .heart-icon {
            font-size: 3rem;
            color: #f5576c;
            animation: heartbeat 1.5s ease-in-out infinite;
        }
        @keyframes heartbeat {
            0%, 100% { transform: scale(1); }
            15% { transform: scale(1.15); }
            30% { transform: scale(1); }
            45% { transform: scale(1.1); }
        }
        .donate-box h3 {
            font-weight: 700;
            margin: 15px 0 10px;
        }
        .donate-box p {
            color: #6c757d;
            margin-bottom: 25px;
            line-height: 1.7;
        }
        .btn-donate-big {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: #fff;
            padding: 16px 40px;
            border-radius: 16px;
            font-size: 1.2rem;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s;
            box-shadow: 0 8px 25px rgba(245,87,108,0.3);
        }
        .btn-donate-big:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(245,87,108,0.4);
            color: #fff;
        }

        /* Footer */
        .footer {
            background: #1a1a2e;
            color: #fff;
            padding: 40px 0 20px;
            text-align: center;
        }
        .footer img { width: 80px; margin-bottom: 10px; opacity: 0.8; }
        .footer .footer-name {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 5px;
        }
        .footer .footer-sub {
            color: rgba(255,255,255,0.5);
            font-size: 0.85rem;
        }
        .footer-links {
            margin: 15px 0;
            display: flex;
            justify-content: center;
            gap: 15px;
        }
        .footer-links a {
            color: rgba(255,255,255,0.6);
            font-size: 1.3rem;
            transition: color 0.3s;
        }
        .footer-links a:hover { color: #667eea; }
        .footer hr {
            border-color: rgba(255,255,255,0.1);
            margin: 20px 0;
        }
        .footer .copy {
            color: rgba(255,255,255,0.35);
            font-size: 0.8rem;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            .hero-content h1 { font-size: 2rem; }
            .hero-content .subtitle { font-size: 1rem; }
            .btn-cta { padding: 14px 25px; font-size: 1rem; }
            .balance-amount { font-size: 2.5rem; }
            .navbar-custom .brand-text { display: none; }
        }
    </style>
</head>
<body>

<!-- ===== NAVBAR ===== -->
<nav class="navbar-custom" id="navbar">
    <div class="container d-flex align-items-center justify-content-between">
        <a href="#hero" class="d-flex align-items-center text-decoration-none">
            <img src="images/hanesiim.com.png" class="nav-logo" alt="讛谞砖讬讗讬诐">
            <span class="brand-text">拽讛讬诇转 讛谞砖讬讗讬诐</span>
        </a>
        <a href="/admin" class="btn-login">
            <i class="bi bi-person-circle"></i> 讻谞讬住讛 诇讗讝讜专 讗讬砖讬
        </a>
    </div>
</nav>

<!-- ===== HERO ===== -->
<section class="hero" id="hero">
    <div class="hero-bg"></div>
    <div class="hero-overlay"></div>
    <div class="hero-content">
        <img src="images/hanesiim.com.png" class="hero-logo" alt="讛谞砖讬讗讬诐">
        <h1>讘讬转 讛讻谞住转 讛谞砖讬讗讬诐</h1>
        <div class="subtitle">诪讜住讚讜转 砖诪讞转 讗讘专讛诐</div>
        <div class="welcome-user">
            <i class="bi bi-star-fill" style="color:#ffd700;"></i>
            砖诇讜诐 <?= htmlspecialchars($_SESSION['user']['name']) ?>
        </div>
        <div class="d-flex flex-wrap gap-3 justify-content-center">
            <a href="<?= $linkpay ?>" class="btn-cta btn-donate" target="_blank">
                <i class="bi bi-credit-card"></i> 砖诇诐 讗转 讛讞讜讘 砖诇讬
            </a>
            <a href="<?= $linkAnonymous ?>" class="btn-cta btn-donate-anon" target="_blank">
                <i class="bi bi-heart-fill"></i> 转专讜诪讛 讗谞讜谞讬诪讬转
            </a>
        </div>
    </div>
    <a href="#about" class="scroll-indicator">
        <i class="bi bi-chevron-double-down" style="font-size:1.8rem;"></i>
    </a>
</section>

<!-- ===== ABOUT ===== -->
<section class="about-section" id="about">
    <div class="container">
        <div class="section-title">
            <h2>讗讜讚讜转 讛拽讛讬诇讛</h2>
            <div class="underline"></div>
        </div>
        <div class="row g-4">
            <div class="col-md-4">
                <div class="about-card">
                    <div class="icon-circle"><i class="bi bi-book"></i></div>
                    <h5>转讜专讛 讜转驻讬诇讛</h5>
                    <p>砖讬注讜专讬 转讜专讛 讬讜诪讬讬诐, 转驻讬诇讜转 讘谞讜住讞 注讚讜转 讛诪讝专讞 讜诇讬诪讜讚 讘讞讘专讜转讗 诇讻诇 讛讙讬诇讗讬诐.</p>
                </div>
            </div>
            <div class="col-md-4">
                <div class="about-card">
                    <div class="icon-circle"><i class="bi bi-people"></i></div>
                    <h5>拽讛讬诇讛 讞诪讛</h5>
                    <p>拽讛讬诇讛 诪砖驻讞转讬转 讜诪讗讜讞讚转, 讗讬专讜注讬诐 讜砖诪讞讜转 讬讞讚, 注讝专讛 讛讚讚讬转 讜讞住讚.</p>
                </div>
            </div>
            <div class="col-md-4">
                <div class="about-card">
                    <div class="icon-circle"><i class="bi bi-hand-thumbs-up"></i></div>
                    <h5>爪讚拽讛 讜讞住讚</h5>
                    <p>驻注讬诇讜转 讞住讚 注谞驻讛, 讞诇讜拽转 诪讝讜谉, 住讬讜注 诇诪砖驻讞讜转 谞讝拽拽讜转 讜讙诪讬诇讜转 讞住讚讬诐.</p>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- ===== BALANCE ===== -->
<section class="balance-section" id="balance">
    <div class="container">
        <div class="section-title">
            <h2>讛讬转专讛 砖诇讱</h2>
            <div class="underline"></div>
        </div>
        <div class="balance-label">讛住讻讜诐 讛谞讜转专 诇转砖诇讜诐</div>
        <div class="balance-amount"><?= number_format((float)$balance, 2) ?> 鈧</div>
        <a href="<?= $linkpay ?>" class="btn-pay-now" target="_blank">
            <img src="images/logo_pelecard.png" alt="Pelecard">
            砖诇诐 注讻砖讬讜
        </a>
    </div>
</section>

<!-- ===== ANONYMOUS DONATION ===== -->
<section class="donate-section" id="donate">
    <div class="container">
        <div class="section-title">
            <h2>转专讜诪讛 讗谞讜谞讬诪讬转</h2>
            <div class="underline"></div>
        </div>
        <div class="donate-box">
            <div class="heart-icon"><i class="bi bi-heart-fill"></i></div>
            <h3>转专讜诐 讘诇讬 砖诐, 转讝讻讛 讘讙讚讜诇!</h3>
            <p>
                诪转谉 讘住转专 - 讛爪讚拽讛 讛讙讘讜讛讛 讘讬讜转专.<br>
                转专讜诪转讱 讛讗谞讜谞讬诪讬转 转住讬讬注 诇诪砖驻讞讜转 谞讝拽拽讜转 讜诇驻注讬诇讜讬讜转 讛拽讛讬诇讛.
            </p>
            <a href="<?= $linkAnonymous ?>" class="btn-donate-big" target="_blank">
                <i class="bi bi-heart-fill"></i> 转专讜诐 注讻砖讬讜
            </a>
        </div>
    </div>
</section>

<!-- ===== FOOTER ===== -->
<footer class="footer">
    <div class="container">
        <img src="images/hanesiim.com.png" alt="讛谞砖讬讗讬诐">
        <div class="footer-name">诪讜住讚讜转 砖诪讞转 讗讘专讛诐</div>
        <div class="footer-sub">讘讬转 讛讻谞住转 讛谞砖讬讗讬诐</div>
        <div class="footer-links">
            <a href="#"><i class="bi bi-facebook"></i></a>
            <a href="#"><i class="bi bi-whatsapp"></i></a>
            <a href="#"><i class="bi bi-telephone-fill"></i></a>
        </div>
        <hr>
        <div class="copy">&copy; <?= date('Y') ?> 诪讜住讚讜转 砖诪讞转 讗讘专讛诐 - 讻诇 讛讝讻讜讬讜转 砖诪讜专讜转</div>
    </div>
</footer>

<script>
// Navbar scroll effect
window.addEventListener('scroll', function() {
    const navbar = document.getElementById('navbar');
    if (window.scrollY > 50) {
        navbar.classList.add('scrolled');
    } else {
        navbar.classList.remove('scrolled');
    }
});

// Smooth reveal on scroll
const observer = new IntersectionObserver((entries) => {
    entries.forEach(entry => {
        if (entry.isIntersecting) {
            entry.target.style.opacity = '1';
            entry.target.style.transform = 'translateY(0)';
        }
    });
}, { threshold: 0.1 });

document.querySelectorAll('.about-card, .donate-box, .balance-amount').forEach(el => {
    el.style.opacity = '0';
    el.style.transform = 'translateY(30px)';
    el.style.transition = 'opacity 0.6s ease, transform 0.6s ease';
    observer.observe(el);
});
</script>

</body>
</html>



web shell, Coded By 2019