Server IP : 162.240.98.243 / Your IP : 18.219.71.21 Web Server : Apache System : Linux server.bti.yaw.mybluehostin.me 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : btiyawmy ( 1003) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/btiyawmy/public_html/login.easenup.in/NewAdmin/ |
Upload File : |
<table id="bed_Minor-table" class="table table-striped table-bordered table-hover"> <thead> <tr> <th><strong>SR.NO</strong></th> <th><strong>Bedno</strong></th> <th><strong>Rate </strong></th> <th><strong>Action</strong></th> </tr> </thead> <?php $count='0'; $sqlpatient1 = "SELECT * FROM ward where adminid='$rs[entered_by]' AND ward_type='Major'"; $qsqlpatient1 = mysqli_query($con,$sqlpatient1); while($rsn = mysqli_fetch_array($qsqlpatient1)) { $sqlpatient12 = "SELECT * FROM bedindex where wardid='$rsn[wardid]'"; $qsqlpatient12 = mysqli_query($con,$sqlpatient12); while($rsn12 = mysqli_fetch_array($qsqlpatient12)) { $count++; echo"<tr><td>$count</td><td> <b>$rsn[ward_name]-$rsn12[bedname]</b> </td><td>$rsn12[price]</td>"; echo" <td> "; if (is_numeric($rsn12[price])) { echo "<a href='updatebedindex.php?bedid=$rsn12[bedid]'><i class='fa fa-inr' style='font-size:20px; color:blue'></i></a>"; } else { echo"<a href='updatebedindex.php?bedid=$rsn12[bedid]'> <i class='fa fa-inr' style='font-size:20px;color:red'></i></a> "; } echo"<a href='OT-Wards.php?delid=$rsn12[bedid]'> <i class='fa fa-trash-o' style='font-size:20px;color:red'></i></a> <a href='addbedindex.php?wardid=$rsn[wardid]'> <i class='fa fa-plus-square' style='font-size:20px;color:green'></i> </a> </td> </tr> "; } } ?> </tbody> <tfoot> </tfoot> </table> <!-- basic scripts --> <!--[if !IE]> --> <script src="assets/js/jquery-2.1.4.min.js"></script> <!-- <![endif]--> <!--[if IE]> <script src="assets/js/jquery-1.11.3.min.js"></script> <![endif]--> <!-- page specific plugin scripts --> <script src="assets/js/jquery.dataTables.min.js"></script> <script src="assets/js/jquery.dataTables.bootstrap.min.js"></script> <script src="assets/js/dataTables.buttons.min.js"></script> <script src="assets/js/dataTables.select.min.js"></script> <!-- inline scripts related to this page --> <script type="text/javascript"> jQuery(function($) { //initiate dataTables plugin var myTable = $('#bed_Minor-table') //.wrap("<div class='dataTables_borderWrap' />") //if you are applying horizontal scrolling (sScrollX) .DataTable( { bAutoWidth: false, "aoColumns": [ { "bSortable": false }, null, null, { "bSortable": false } ], "aaSorting": [], //"bProcessing": true, //"bServerSide": true, //"sAjaxSource": "http://127.0.0.1/table.php" , //, //"sScrollY": "200px", //"bPaginate": false, //"sScrollX": "100%", //"sScrollXInner": "120%", //"bScrollCollapse": true, //Note: if you are applying horizontal scrolling (sScrollX) on a ".table-bordered" //you may want to wrap the table inside a "div.dataTables_borderWrap" element //"iDisplayLength": 50 select: { style: 'multi' } } ); }) </script>