Server IP : 162.240.98.243 / Your IP : 18.217.147.193 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(); include 'dbconnection.php'; require_once("../patientmanager.php"); require_once("../DBManager.php"); if(isset($_POST['Routine_Information'])) { PatientManager::RoutineInformation("$_GET[prescriptionid]","$_GET[patientid]","$_GET[surgeryid]","$_POST[Information_Obtained_from]","$_POST[Date_of_Operative_procedure]","$_POST[Time_of_Operative_procedure]","$_POST[name_Surgeon]","$_POST[Name_of_Anesthetist]","$_POST[Pre_Operative_Diagnosis]","$_POST[Systemic_Disease]","$_POST[Systemic_Disease_note]","$_POST[Anesthesia_Events]","$_POST[Anesthesia_Events_note]","$_POST[ho_Operations]","$_POST[ho_Operations_note]","$_POST[Adverse_Drugs_Reaction]","$_POST[Adverse_Drugs_Reaction_note]","$_POST[DRUG_THERAPY]","$_POST[DRUG_THERAPY_note]","$_POST[Duration_Surgery]","$_POST[WRITTEN_CONSENT]","$_POST[Ward]","$_POST[Bed]","$_POST[entered_by]"); } ?> <!DOCTYPE html> <html lang="en"> <head><meta charset="ibm866"> <style> .switch { position: relative; display: inline-block; width: 90px; height: 34px; } .switch input {display:none;} .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ca2222; -webkit-transition: .4s; transition: .4s; border-radius: 34px; } .slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; -webkit-transition: .4s; transition: .4s; border-radius: 50%; } input:checked + .slider { background-color: #2ab934; } input:focus + .slider { box-shadow: 0 0 1px #2196F3; } input:checked + .slider:before { -webkit-transform: translateX(26px); -ms-transform: translateX(26px); transform: translateX(55px); } /*------ ADDED CSS ---------*/ .slider:after { content:'No'; color: white; display: block; position: absolute; transform: translate(-50%,-50%); top: 50%; left: 50%; font-size: 10px; font-family: Verdana, sans-serif; } input:checked + .slider:after { content:'Yes'; } .center { border: 1px solid grey; text-align:; } </style> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <title>Document</title> <script> function myFunction() { var checkBox = document.getElementById("myCheck"); var text = document.getElementById("text"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction2() { var checkBox = document.getElementById("myCheck2"); var text = document.getElementById("text2"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction3() { var checkBox = document.getElementById("myCheck3"); var text = document.getElementById("text3"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction4() { var checkBox = document.getElementById("myCheck4"); var text = document.getElementById("text4"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } </script> <style> .center { border: 1px solid grey; text-align:; } </style> <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> </head> <body> <div style = "display:none;" id = "loaderImg"> <div class="loader"> </div> </div> <form name="Routine_Information" method="post" id="myForm" > <h2 align="center">Routine Information </h2> <br> <div class="center"> <table id="example2" class="table table-bordered table-hover"> <thead> <tr> <div class='account-details'> <tr><td style="width:29%"><div><h5>Operative Type : </h5> </td></div><td style="width:46%"> <div><select name='Information_Obtained_from'> <option value='' >Operative Type</option> <option value='Routine'>Routine</option> <option value='Emergency'>Emergency</option> </select></div></td></tr> <?php session_start(); require_once('../LoginManager.php'); require_once('../DBManager.php'); $sql ="SELECT * FROM addaspatient WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND typevisit='IPD' OR prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND typevisit='Ipd_Emergency' "; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { { ?> <tr> <td width='50%'> Operating Theater </td><td><select onchange="loadbedva(this.value)" name="Ward"> <option value="" disabled selected>Operating Theater</option> <?php $narayan=LoginManager::currentUser(); $usertype=LoginManager::getUserTypeByuname("$narayan"); $sql1 ="SELECT * FROM site_users WHERE userno='$harilal'"; $qsql1 = mysqli_query($con,$sql1); if($rh1 = mysqli_fetch_array($qsql1)) { $sql2 ="SELECT * FROM ward WHERE adminid='$rh[entered_by]' AND ward_department='3'"; $qsql2 = mysqli_query($con,$sql2); while($rh2 = mysqli_fetch_array($qsql2)) { echo "<option value='$rh2[wardid]'> $rh2[ward_type]-$rh2[ward_name]</option>"; } } ?> </select></td></tr> <tr id="pavnid"> <td width='50%'>Table</td> <td width='50%'> <input type="text" placeholder="Table No." name="Bed"></td> </tr> <?php } } ?> <td><div><h5>Date of Operative procedure : </h5> </td></div><td><div><input name="Date_of_Operative_procedure" type="date"></div></td></tr> <tr><td><div><h5>Expected Sign in of Operative procedure: : </h5> </td></div><td><div><input name="Time_of_Operative_procedure" type="time"></div></td></tr> <tr><td><div><h5>Name of Surgeon: </h5> </td></div><td><div><select name='name_Surgeon' id='select2' required> <option value='' disabled selected>Name of Surgeon</option> "; <?php include("dbconnection.php"); $username = "ventexint@gmail.com"; $apikey = "eebcced9-0ca1-4a6f-940b-c616276e2ec9"; $sendername = "EASNUP"; $narayan=LoginManager::currentUser(); $usertype=LoginManager::getUserTypeByuname("$narayan"); $sql1 ="SELECT * FROM site_users WHERE userno='$usertype'"; $qsql1 = mysqli_query($con,$sql1); if($re = mysqli_fetch_array($qsql1)) { $sqldoctor= "SELECT * FROM site_users WHERE usertype='Doctor' and entered_by='$re[entered_by]'"; $qsqldoctor = mysqli_query($con,$sqldoctor); while($rsdoctor = mysqli_fetch_array($qsqldoctor)) { echo "<option value='$rsdoctor[name]'>$rsdoctor[name]</option>"; } } ?> echo" </td> </select> </div></tr> <tr><td><div><h5>Name of Anesthetist: </h5> </td></div><td><div><select name='Name_of_Anesthetist' id='select2' required> <option value='' disabled selected>Name of Anesthetist</option> "; <?php include("dbconnection.php"); $username = "ventexint@gmail.com"; $apikey = "eebcced9-0ca1-4a6f-940b-c616276e2ec9"; $sendername = "EASNUP"; $narayan=LoginManager::currentUser(); $usertype=LoginManager::getUserTypeByuname("$narayan"); $sql1 ="SELECT * FROM site_users WHERE userno='$usertype'"; $qsql1 = mysqli_query($con,$sql1); if($re = mysqli_fetch_array($qsql1)) { $sqldoctor= "SELECT * FROM site_users WHERE usertype='Doctor' and entered_by='$re[entered_by]'"; $qsqldoctor = mysqli_query($con,$sqldoctor); while($rsdoctor = mysqli_fetch_array($qsqldoctor)) { echo "<option value='$rsdoctor[name]'>$rsdoctor[name]</option>"; } } ?> echo" </td> </select> </div></td></tr> <tr><td><div><h5>Pre-Operative Diagnosis: </h5> </td></div><td><div> <input type="text" placeholder="Pre-Operative Diagnosis" name="Pre_Operative_Diagnosis" onkeyup="this.value = this.value.toUpperCase();"> </div></td></tr> </div> </tr> <tr><td><div><h5>Expected Sign out : </h5> </td></div><td><div> <input placeholder="Duration Surgery" name="Duration_Surgery" type="time"></div></td></tr> </div> </tr> <tr> <td width='50%'>WRITTEN CONSENT </td> <td width='50%'><select name='WRITTEN_CONSENT'> <option value='Unknown' >Unknown</option> <option value='Present'>PRESENT</option> <option value='ABSENT'>ABSENT </option> </select></td> </tr> </tr> </thead> </tbody> <tfoot> </tfoot> </table> </div> <script> function loadbedva(bedid) { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { document.getElementById("pavnid").innerHTML = this.responseText; } }; xmlhttp.open("GET","loadbed.php?bedid="+bedid,true); xmlhttp.send(); } </script> <input type="submit" name="Routine_Information" value="Save"> </form> </body> </html>