V1rus Private
User / IP
:
216.73.217.108
Host / Server
:
190.92.174.125 / aerosofthealthcare.com
System
:
Linux s3739.bom1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
Cmd
|
Upload
|
Mass Deface
|
Create
|
Sym
:
/
home
/
aerosoft
/
public_html
/
exam
/
Viewing: index.php
<?php include 'config.php'; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Professional Certification Portal</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"> <style> .hero-section { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 100px 0; } .feature-card { transition: transform 0.3s ease; border: none; box-shadow: 0 5px 15px rgba(0,0,0,0.1); } .feature-card:hover { transform: translateY(-10px); } .certificate-badge { position: absolute; top: -10px; right: -10px; background: #ff6b6b; color: white; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-weight: bold; } .stats-section { background: #f8f9fa; padding: 80px 0; } .exam-card { border-left: 4px solid #007bff; } </style> </head> <body> <!-- Navigation --> <nav class="navbar navbar-expand-lg navbar-dark bg-dark"> <div class="container"> <a class="navbar-brand" href="#"> <i class="fas fa-certificate"></i> CertiPro </a> <div class="navbar-nav ms-auto"> <a class="nav-link" href="login.php">Login</a> <a class="nav-link" href="register.php">Register</a> </div> </div> </nav> <!-- Hero Section --> <section class="hero-section text-center"> <div class="container"> <h1 class="display-4 fw-bold mb-4">Advance Your Career with Professional Certifications</h1> <p class="lead mb-4">Join thousands of professionals who have boosted their careers with our industry-recognized certifications</p> <a href="register.php" class="btn btn-light btn-lg px-5 py-3">Start Your Journey</a> </div> </section> <!-- Features Section --> <section class="py-5"> <div class="container"> <div class="row text-center mb-5"> <div class="col-12"> <h2 class="fw-bold">Why Choose Our Certifications?</h2> <p class="text-muted">Industry-recognized credentials that make a difference</p> </div> </div> <div class="row g-4"> <div class="col-md-4"> <div class="card feature-card h-100"> <div class="card-body text-center p-4"> <div class="text-primary mb-3"> <i class="fas fa-rocket fa-3x"></i> </div> <h5 class="card-title">Career Advancement</h5> <p class="card-text">Boost your earning potential and career growth with recognized certifications</p> </div> </div> </div> <div class="col-md-4"> <div class="card feature-card h-100"> <div class="card-body text-center p-4"> <div class="text-success mb-3"> <i class="fas fa-clock fa-3x"></i> </div> <h5 class="card-title">Flexible Learning</h5> <p class="card-text">Take exams at your convenience with our 24/7 available testing platform</p> </div> </div> </div> <div class="col-md-4"> <div class="card feature-card h-100"> <div class="card-body text-center p-4"> <div class="text-warning mb-3"> <i class="fas fa-chart-line fa-3x"></i> </div> <h5 class="card-title">Skill Validation</h5> <p class="card-text">Validate your expertise and stand out in the competitive job market</p> </div> </div> </div> </div> </div> </section> <!-- Available Certifications --> <section class="stats-section"> <div class="container"> <div class="row text-center mb-5"> <div class="col-12"> <h2 class="fw-bold">Professional Certification Programs</h2> <p class="text-muted">Choose from our range of industry-focused certifications</p> </div> </div> <div class="row g-4"> <?php $stmt = $pdo->query("SELECT * FROM categories WHERE is_active = TRUE"); while ($category = $stmt->fetch()) { // Get stats $stmt2 = $pdo->prepare("SELECT COUNT(*) as total_certs FROM certificates c JOIN exams e ON c.exam_id = e.id WHERE e.category_id = ?"); $stmt2->execute([$category['id']]); $certCount = $stmt2->fetch()['total_certs']; ?> <div class="col-md-6 col-lg-4"> <div class="card exam-card h-100 position-relative"> <div class="certificate-badge"> <i class="fas fa-award"></i> </div> <div class="card-body"> <h5 class="card-title"><?php echo $category['name']; ?></h5> <p class="card-text"><?php echo $category['description']; ?></p> <div class="exam-details"> <small class="text-muted"> <i class="fas fa-clock"></i> Duration: <?php echo $category['exam_duration']; ?> mins<br> <i class="fas fa-question-circle"></i> Questions: <?php echo $category['total_questions']; ?><br> <i class="fas fa-trophy"></i> Passing: <?php echo $category['passing_marks']; ?>%<br> <i class="fas fa-users"></i> Certified: <?php echo $certCount; ?> professionals </small> </div> </div> <div class="card-footer bg-transparent"> <a href="register.php" class="btn btn-primary w-100">Get Certified</a> </div> </div> </div> <?php } ?> </div> </div> </section> <!-- Stats Section --> <section class="py-5"> <div class="container"> <div class="row text-center"> <div class="col-md-3 mb-4"> <div class="stat-item"> <h3 class="fw-bold text-primary" id="studentsCount">0</h3> <p class="text-muted">Registered Students</p> </div> </div> <div class="col-md-3 mb-4"> <div class="stat-item"> <h3 class="fw-bold text-success" id="certificatesCount">0</h3> <p class="text-muted">Certificates Issued</p> </div> </div> <div class="col-md-3 mb-4"> <div class="stat-item"> <h3 class="fw-bold text-warning" id="examsCount">0</h3> <p class="text-muted">Exams Conducted</p> </div> </div> <div class="col-md-3 mb-4"> <div class="stat-item"> <h3 class="fw-bold text-info" id="successRate">0%</h3> <p class="text-muted">Success Rate</p> </div> </div> </div> </div> </section> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script> // Animated counter function animateCounter(element, target, duration) { let start = 0; const increment = target / (duration / 16); const timer = setInterval(() => { start += increment; if (start >= target) { element.textContent = target; clearInterval(timer); } else { element.textContent = Math.floor(start); } }, 16); } // Fetch and display stats $(document).ready(function() { $.get('get_stats.php', function(data) { const stats = JSON.parse(data); animateCounter(document.getElementById('studentsCount'), stats.total_students, 2000); animateCounter(document.getElementById('certificatesCount'), stats.total_certificates, 2000); animateCounter(document.getElementById('examsCount'), stats.total_exams, 2000); document.getElementById('successRate').textContent = stats.success_rate + '%'; }); }); </script> </body> </html>
Coded With 💗 by
HanzOFC