Şuanki Dizin: /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/bkp/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/bkp/book-quantity-report.php |
<link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css"> <!-- Ionicons --> <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css"> <!-- DataTables --> <link rel="stylesheet" href="plugins/datatables-bs4/css/dataTables.bootstrap4.css"> <!-- Theme style --> <link rel="stylesheet" href="dist/css/adminlte.min.css"> <!-- Google Font: Source Sans Pro --> <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet"> <?php require_once('header.php'); require_once('header-left-section.php'); $success_flag =0; if(isset($_GET['delete_id'])) { $del_id = $_GET['delete_id']; if($db->delete_book_details($del_id)) { $success_flag = 1; } } ?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1>BOOK DETAILS REPORT</h1> </div> </div> </div><!-- /.container-fluid --> </section> <div class="card"> <div class="card-header"> <h3 class="card-title">Book Details Table</h3> </div> <?php if($success_flag==1) { ?> <div class="alert alert-success"> <span class="alert-link">Success ! </span>Books Deleted Successfully. </div> <?php } ?> <!-- /.card-header --> <div class="card-body" style="overflow-x:auto;"> <table id="example1" class="table table-bordered table-striped"> <thead> <tr> <th>Sr.No</th> <th>Book Details</th> <th>Volume</th> <th>Source</th> <th>Bill No. </th> <th>Cost</th> <th>Date</th> <th>Call_no(Class_No.)</th> <th>Call_no(Book_No.)</th> <th>Date</th> <th>Time</th> <th>Action</th> </tr> </thead> <tbody> <?php $book_record =""; $data = array(); $data = $db->get_books_details($acd_year); if(!empty($data)) { $counter = 0; foreach($data as $record) { $res_id = $data[$counter][0]; $res_volume = $data[$counter][1]; $source = $data[$counter][2]; $bill_no = $data[$counter][3]; $brought_date = $data[$counter][4]; $cost = $data[$counter][5]; $call_class_no = $data[$counter][6]; $call_book_no = $data[$counter][7]; $date = $data[$counter][8]; $time = $data[$counter][9]; $acd_year = $data[$counter][10]; $book_id = $data[$counter][11]; $book_details = array(); $book_details = $db->get_all_books_info_by_id($book_id,$acd_year); if(!empty($book_details)) { $id = $book_details[0]; $accession_no = $book_details[1]; $author = $book_details[2]; $title = $book_details[3]; $edition = $book_details[4]; if($author!="" || $title!="" || $edition!="") { $book_record = $title."-".$author."-".$edition; } } ?> <tr> <td><?php echo $counter+1; ?></td> <td><?php echo $book_record; ?></td> <td><?php echo $res_volume; ?></td> <td><?php echo $source; ?></td> <td><?php echo $bill_no; ?></td> <td><?php echo $cost; ?></td> <td><?php echo $brought_date; ?></td> <td><?php echo $call_class_no; ?></td> <td><?php echo $call_book_no; ?></td> <td><?php echo $date; ?></td> <td><?php echo $time; ?></td> <td> <a class="btn btn-info btn-sm" href="edit-books-details.php?edit_id=<?php echo $res_id; ?>&book_id=<?php echo $book_id; ?>"> <i class="fas fa-pencil-alt"> </i> Edit </a> <a class="btn btn-danger btn-sm" href="<?php echo $_SERVER['PHP_SELF']."?delete_id=".$res_id; ?>" onclick="return confirm('Are you Sure to Delete This record?');" > <i class="fas fa-trash"> </i> Delete </a> </td> </tr> <?php $counter++; } } else { ?> <tr> <td colspan="20">Books Record Not Available</td> </tr> <?php } ?> <tbody> </table> </div> <!-- /.card-body --> </div> <!-- /.card --> </div> </div> </section> <?php require_once('footer.php'); ?> <script src="plugins/jquery/jquery.min.js"></script> <!-- Bootstrap 4 --> <script src="plugins/bootstrap/js/bootstrap.bundle.min.js"></script> <!-- DataTables --> <script src="plugins/datatables/jquery.dataTables.js"></script> <script src="plugins/datatables-bs4/js/dataTables.bootstrap4.js"></script> <!-- AdminLTE App --> <script src="dist/js/adminlte.min.js"></script> <!-- AdminLTE for demo purposes --> <script src="dist/js/demo.js"></script> <script> $(function () { $("#example1").DataTable(); $('#example2').DataTable({ "paging": true, "lengthChange": false, "searching": false, "ordering": true, "info": true, "autoWidth": false, }); }); </script>
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4