Server IP : 162.240.98.243 / Your IP : 52.14.240.252 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 session_start(); require_once("../LoginManager.php"); require_once("../DBManager.php"); include("dbconnection.php"); include("dashboarddocument.php"); include("header.php"); ?> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <?php session_start(); include("dbconnection.php"); require_once('../DBManager.php'); require_once('../patientmanager.php'); if(isset($_POST[handover])) { PatientManager::handover2("$_GET[prescriptionid]","$_GET[patientid]","$_POST[Nursinggivern_Instruction]","$_POST[entered_by]"); } ?> <table id="example2" class="table table-bordered table-hover"> <tr> <th>Created</th> <th>Instruction</th> </tr> <?php $sql ="SELECT * FROM drnote WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'"; $qsql = mysqli_query($con,$sql); while($rs4 = mysqli_fetch_array($qsql)) { echo " <tr> <td><b>Towords :</b> Doctor Instruction <br><b>By :</b>"; $sqldoctor= "SELECT * FROM site_users WHERE userno='$rs4[entered_by]'"; $qsqldoctor = mysqli_query($con,$sqldoctor); while($rsdoctor = mysqli_fetch_array($qsqldoctor)) { echo" $rsdoctor[name] <br>"; }echo" <b>AT :</b>$rs4[created_at]</td> <td> $rs4[Nursing_Instruction]</td> </tr> "; } ?> <?php $sql ="SELECT * FROM handover WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'"; $qsql = mysqli_query($con,$sql); while($rs4 = mysqli_fetch_array($qsql)) { echo" <tr> <td><b>Towords :</b> Nursing Handover<br><b>By :</b>"; $sqldoctor= "SELECT * FROM site_users WHERE userno='$rs4[entered_by]'"; $qsqldoctor = mysqli_query($con,$sqldoctor); while($rsdoctor = mysqli_fetch_array($qsqldoctor)) { echo" $rsdoctor[name] <br>"; }echo" <b>AT :</b>$rs4[created_at]</td> <td> $rs4[Nursinggivern_Instruction]</td> </tr> "; } ?> </table> <p> </p> <div style = "display:none;" id = "loaderImg"> <div class="loader"> </div> </div> <form name="handover" method="post" id="myForm" enctype="multipart/form-data"> <label>Instruction</label> <textarea name="Nursinggivern_Instruction" rows="3"> </textarea><input type='submit' name='handover' value='Submit'> </form> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#myForm').submit(function() { $('#loaderImg').show(); return true; }); }); </script> <style> #loaderImg { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; border: 10px solid grey; border-radius: 50%; border-top: 10px solid black; width: 100px; height: 100px; animation: spin 1s linear infinite; } @keyframes spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } </style>