Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
home
/
qtdcvxyp
/
public_html
/
sms
/
aa
/
application
/
views
/
admin
/
book
✏️
Editing: getall.php
<?php $currency_symbol = $this->customlib->getSchoolCurrencyFormat(); ?> <div class="content-wrapper"> <section class="content-header"> <h1> <i class="fa fa-book"></i> <?php echo $this->lang->line('library'); ?></h1> </section> <section class="content"> <div class="row"> <!-- left column --> <div class="col-md-12"> <!-- general form elements --> <div class="box box-primary" id="bklist"> <div class="box-header ptbnull"> <h3 class="box-title titlefix"><?php echo $this->lang->line('book_list'); ?></h3><div class="pull-right"> <?php if ($this->rbac->hasPrivilege('books', 'can_add')) { ?> <a href="<?php echo base_url() ?>admin/book"> <button class="btn btn-primary btn-sm" autocomplete="off"><i class="fa fa-plus"></i> <?php echo $this->lang->line('add') . " " . $this->lang->line('book'); ?></button> </a> <?php } ?> </div><!-- /.pull-right --> </div><!-- /.box-header --> <div class="box-body"> <div class="mailbox-controls"> <!-- Check all button --> </div> <div class="mailbox-messages table-responsive"> <table class="table table-striped table-bordered table-hover book-list" data-export-title="<?php echo $this->lang->line('book_list'); ?>"> <thead> <tr> <th><?php echo $this->lang->line('book_title'); ?></th> <th><?php echo $this->lang->line('description'); ?></th> <th><?php echo $this->lang->line('book_no'); ?></th> <th><?php echo $this->lang->line('isbn_no'); ?></th> <th><?php echo $this->lang->line('publisher'); ?> </th> <th><?php echo $this->lang->line('author'); ?> </th> <th><?php echo $this->lang->line('subject'); ?></th> <th><?php echo $this->lang->line('rack_no'); ?></th> <th><?php echo $this->lang->line('qty'); ?></th> <th><?php echo $this->lang->line('available'); ?></th> <th><?php echo $this->lang->line('bookprice'); ?></th> <th><?php echo $this->lang->line('postdate'); ?></th> <th class="no-print text text-right noExport "><?php echo $this->lang->line('action'); ?></th> </tr> </thead> <tbody> </tbody> </table><!-- /.table --> </div><!-- /.mail-box-messages --> </div><!-- /.box-body --> <div class="box-footer"> <div class="mailbox-controls"> <!-- Check all button --> <div class="pull-right"> </div><!-- /.pull-right --> </div> </div> </div> </div><!--/.col (left) --> <!-- right column --> </div> <div class="row"> <!-- left column --> <!-- right column --> <div class="col-md-12"> <!-- Horizontal Form --> <!-- general form elements disabled --> </div><!--/.col (right) --> </div> <!-- /.row --> </section><!-- /.content --> </div><!-- /.content-wrapper --> <script type="text/javascript"> var base_url = '<?php echo base_url() ?>'; function Popup(data) { var frame1 = $('<iframe />'); frame1[0].name = "frame1"; frame1.css({"position": "absolute", "top": "-1000000px"}); $("body").append(frame1); var frameDoc = frame1[0].contentWindow ? frame1[0].contentWindow : frame1[0].contentDocument.document ? frame1[0].contentDocument.document : frame1[0].contentDocument; frameDoc.document.open(); //Create a new HTML document. frameDoc.document.write('<html>'); frameDoc.document.write('<head>'); frameDoc.document.write('<title></title>'); frameDoc.document.write('<link rel="stylesheet" href="' + base_url + 'backend/bootstrap/css/bootstrap.min.css">'); frameDoc.document.write('<link rel="stylesheet" href="' + base_url + 'backend/dist/css/font-awesome.min.css">'); frameDoc.document.write('<link rel="stylesheet" href="' + base_url + 'backend/dist/css/ionicons.min.css">'); frameDoc.document.write('<link rel="stylesheet" href="' + base_url + 'backend/dist/css/AdminLTE.min.css">'); frameDoc.document.write('<link rel="stylesheet" href="' + base_url + 'backend/dist/css/skins/_all-skins.min.css">'); frameDoc.document.write('<link rel="stylesheet" href="' + base_url + 'backend/plugins/iCheck/flat/blue.css">'); frameDoc.document.write('<link rel="stylesheet" href="' + base_url + 'backend/plugins/morris/morris.css">'); frameDoc.document.write('<link rel="stylesheet" href="' + base_url + 'backend/plugins/jvectormap/jquery-jvectormap-1.2.2.css">'); frameDoc.document.write('<link rel="stylesheet" href="' + base_url + 'backend/plugins/datepicker/datepicker3.css">'); frameDoc.document.write('<link rel="stylesheet" href="' + base_url + 'backend/plugins/daterangepicker/daterangepicker-bs3.css">'); frameDoc.document.write('</head>'); frameDoc.document.write('<body>'); frameDoc.document.write(data); frameDoc.document.write('</body>'); frameDoc.document.write('</html>'); frameDoc.document.close(); setTimeout(function () { window.frames["frame1"].focus(); window.frames["frame1"].print(); frame1.remove(); }, 500); return true; } $("#print_div").click(function () { Popup($('#bklist').html()); }); </script> <script> $(document).ready(function() { emptyDatatable('book-list','data'); }); ( function ( $ ) { 'use strict'; $(document).ready(function () { initDatatable('book-list','admin/book/getbooklist',[],[],100); }); } ( jQuery ) ) </script>
💾 Save Changes
❌ Cancel