Server IP : 162.240.98.243 / Your IP : 18.226.34.25 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/ |
Upload File : |
<?php include("dbconnection.php"); require_once('../DBManager.php'); require_once('../patientmanager.php'); include("header.php"); include("dashboarddocument.php"); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content="Dashboard"> <meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina"> <title>In House Patient</title> <body> <h3><i class="fa fa-angle-right"></i> Medication Order</h3> <style> form{ margin: 20px 0; } form input, button{ padding: 5px; } table{ width: 100%; margin-bottom: 20px; border-collapse: collapse; } table, th, td{ border: 1px solid #cdcdcd; } table th, table td{ padding: 10px; text-align: left; } <style> table{ border: solid 1px gray; width: 100%; } </style> </head> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <section class="container"> <h3><input type="search" class="light-table-filter" data-table="order-table" placeholder="Search"></h3> <div id="container"> <table border="1" class="order-table"> <tbody> <tr> <th><div align="center">Date – time </div></th> <th><div align="center">Name Of Medicine</div></th> <th><div align="center">Dose</div></th> <th><div align="center">UHID</div></th> <th><div align="center">Action </div></th> </tr> </tbody> <?php include("dbconnection.php"); require_once('../DBManager.php'); require_once('../LoginManager.php'); $sql6 ="SELECT * FROM medicinede WHERE id='$_GET[id]'"; $qsql6 = mysqli_query($con,$sql6); while($rs1 = mysqli_fetch_array($qsql6)) { echo " <tbody> <tr> <td> $rs1[created_at]</td> <td> $rs1[DRUGS]</td> <td> $rs1[Dose]</td> <td> $rs1[patientid]</td> <td><a href='medicineingive.php?id=$rs1[id]'>View</td> </tr> "; } ?> </tbody> <tfoot> </tfoot> </table> </div> <?php if(isset($_SESSION[doctorid])) { ?> <hr> <table> <tr> <td> <div align="center"><strong><a href="prescription.php?patientid=<?php echo $_GET[patientid]; ?>&appid=<?php echo $rsappointment[appointmentid]; ?>">Add Prescription records</a></strong></div> </td> </tr> </table> <script> $(function () { $("#example1").DataTable({ "responsive": true, "autoWidth": false, }); $('#example2').DataTable({ "paging": true, "lengthChange": false, "searching": false, "ordering": true, "info": true, "autoWidth": false, "responsive": true, }); }); </script> <?php } ?>