Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 18.191.11.237
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
www /
wwwroot /
jdcpatala.org /
payroll /
libs /
[ HOME SHELL ]
Name
Size
Permission
Action
admin
[ DIR ]
drwxr-xr-x
assets
[ DIR ]
drwxr-xr-x
assets1
[ DIR ]
drwxr-xr-x
includes
[ DIR ]
drwxr-xr-x
captcha.php
370
B
-rw-r--r--
change-password.php
4.34
KB
-rw-r--r--
check_availability.php
798
B
-rw-r--r--
dashboard.php
2.42
KB
-rw-r--r--
getBookRecord.php
3.34
KB
-rw-r--r--
index.php
2.85
KB
-rw-r--r--
issued-books.php
5.83
KB
-rw-r--r--
logout.php
376
B
-rw-r--r--
my-profile.php
4.59
KB
-rw-r--r--
opac.php
18.38
KB
-rw-r--r--
signup.php
5.43
KB
-rw-r--r--
studentid.txt
6
B
-rw-r--r--
user-forgot-password.php
4.31
KB
-rw-r--r--
userLogin.php
2.85
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : issued-books.php
<?php session_start(); error_reporting(0); include('includes/config.php'); if(strlen($_SESSION['login'])==0) { header('location:index.php'); } else{ if(isset($_GET['del'])) { $id=$_GET['del']; $sql = "delete from tblbooks WHERE id=:id"; $query = $dbh->prepare($sql); $query -> bindParam(':id',$id, PDO::PARAM_STR); $query -> execute(); $_SESSION['delmsg']="Category deleted scuccessfully "; header('location:manage-books.php'); } ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> <meta name="description" content="" /> <meta name="author" content="" /> <title>Online Library Management System | Manage Issued Books</title> <!-- BOOTSTRAP CORE STYLE --> <link href="assets/css/bootstrap.css" rel="stylesheet" /> <!-- FONT AWESOME STYLE --> <link href="assets/css/font-awesome.css" rel="stylesheet" /> <!-- DATATABLE STYLE --> <link href="assets/js/dataTables/dataTables.bootstrap.css" rel="stylesheet" /> <!-- CUSTOM STYLE --> <link href="assets/css/style.css" rel="stylesheet" /> <!-- GOOGLE FONT --> <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' /> </head> <body> <!------MENU SECTION START--> <?php include('includes/header.php');?> <!-- MENU SECTION END--> <div class="content-wrapper"> <div class="container"> <div class="row pad-botm"> <div class="col-md-12"> <h4 class="header-line">Manage Issued Books</h4> </div> <div class="row"> <div class="col-md-12"> <!-- Advanced Tables --> <div class="panel panel-default"> <div class="panel-heading"> Issued Books </div> <div class="panel-body"> <div class="table-responsive"> <table class="table table-striped table-bordered table-hover" id="dataTables-example"> <thead> <tr> <th>#</th> <th>Book Name</th> <th>ISBN </th> <th>Issued Date</th> <th>Return Date</th> <th>Fine in(USD)</th> </tr> </thead> <tbody> <?php $sid=$_SESSION['stdid']; $sql="SELECT tblbooks.BookName,tblbooks.ISBNNumber,tblissuedbookdetails.IssuesDate,tblissuedbookdetails.ReturnDate,tblissuedbookdetails.id as rid,tblissuedbookdetails.fine from tblissuedbookdetails join tblstudents on tblstudents.StudentId=tblissuedbookdetails.StudentId join tblbooks on tblbooks.id=tblissuedbookdetails.BookId where tblstudents.StudentId=:sid order by tblissuedbookdetails.id desc"; $query = $dbh -> prepare($sql); $query-> bindParam(':sid', $sid, PDO::PARAM_STR); $query->execute(); $results=$query->fetchAll(PDO::FETCH_OBJ); $cnt=1; if($query->rowCount() > 0) { foreach($results as $result) { ?> <tr class="odd gradeX"> <td class="center"><?php echo htmlentities($cnt);?></td> <td class="center"><?php echo htmlentities($result->BookName);?></td> <td class="center"><?php echo htmlentities($result->ISBNNumber);?></td> <td class="center"><?php echo htmlentities($result->IssuesDate);?></td> <td class="center"><?php if($result->ReturnDate=="") {?> <span style="color:red"> <?php echo htmlentities("Not Return Yet"); ?> </span> <?php } else { echo htmlentities($result->ReturnDate); } ?></td> <td class="center"><?php echo htmlentities($result->fine);?></td> </tr> <?php $cnt=$cnt+1;}} ?> </tbody> </table> </div> </div> </div> <!--End Advanced Tables --> </div> </div> </div> </div> </div> <!-- CONTENT-WRAPPER SECTION END--> <?php include('includes/footer.php');?> <!-- FOOTER SECTION END--> <!-- JAVASCRIPT FILES PLACED AT THE BOTTOM TO REDUCE THE LOADING TIME --> <!-- CORE JQUERY --> <script src="assets/js/jquery-1.10.2.js"></script> <!-- BOOTSTRAP SCRIPTS --> <script src="assets/js/bootstrap.js"></script> <!-- DATATABLE SCRIPTS --> <script src="assets/js/dataTables/jquery.dataTables.js"></script> <script src="assets/js/dataTables/dataTables.bootstrap.js"></script> <!-- CUSTOM SCRIPTS --> <script src="assets/js/custom.js"></script> </body> </html> <?php } ?>
Close