Server IP : 162.240.98.243 / Your IP : 3.129.22.164 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("workdeskmenu.php"); include("header.php"); $Patient_Refferal ="SELECT * FROM patient_referral WHERE id='$_GET[id]'"; $qsql1 = mysqli_query($con,$Patient_Refferal); if($rs12 = mysqli_fetch_array($qsql1)) ?> <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 charset="UTF-8"> <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"; } } function myFunction102() { var checkBox = document.getElementById("myCheck102"); var text = document.getElementById("text102"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } </script> <style> .center { border: 1px solid grey; text-align:; } </style> <?php include 'fileheader.php'; ?> <div class=container> <table id='example2' class='table table-bordered table-hover' width='100%'><tr> <th>Personal Details</th></tr> </table> <div class="row"> <!-- <div class="col-sm-6"><table id='example2' class='table table-bordered table-hover' width='50%'><tr>--> <!-- <td width='50%'> Patient Id:</td><td><?php echo $rs12[patientid]?></td></tr>--> <!-- <tr> <td width='50%'> Prescription Id:</td><td><?php echo $rs12[prescriptionid]?></td>--> <!--</tr></table></div>--> <div class="col-sm-12"> <table id='example2' class='table table-bordered table-hover' width='50%'> <?php $sql ="SELECT * FROM patient WHERE patientid='$rs12[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <tr> <td width='50%'> Full Name : </td> <td width='50%'>$rs[patientname]</td> </tr> <tr> <td width='50%'> Phone : </td> <td width='50%'>$rs[numbers]</td> </tr> <tr> <td width='50%'> DOB: </td> <td width='50%'>$rs[dob]</td> </tr> <tr> <td width='50%'> Sex : </td> <td width='50%'>$rs[gendor]</td> </tr> "; echo "</td></tr>"; } ?> <tr> </table></div> <div class=''> <!-- Content Header (Page header) --> <section class=''> <div class=''> <table id='example2' class='table table-bordered table-hover' width='100%'><tr> <th>Reffered to </th></tr> </table> <table id='example2' class='table table-bordered table-hover' width='100%'> <?php echo"<tr> <td width='50%'> Referral To: </td> <td width='50%'> $rs12[hs_referral]</td></tr> <tr> <td width='50%'> Location: </td> <td width='50%'> $rs12[location] </td></tr> <tr> <td width='50%'> Phone: </td> <td width='50%'> $rs12[Phone]</td></tr> <tr> <td width='50%'> Email Id: </td> <td width='50%'> $rs12[Email]</td></tr> "; ?> </table> </div> <table id='example2' class='table table-bordered table-hover' width='100%'><tr> <th>Reffered From</th></tr> </table> <table id='example2' class='table table-bordered table-hover' width='100%'> <?php $narayan=LoginManager::currentUser(); $usertype=LoginManager::getUserTypeByuname("$narayan"); $sql ="SELECT * FROM site_users WHERE userno='$usertype'"; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { $sql ="SELECT * FROM hco WHERE adminid='$rs[entered_by]'"; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { $sql ="SELECT * FROM admin WHERE id='$rs[adminid]'"; $qsql = mysqli_query($con,$sql); if($ra = mysqli_fetch_array($qsql)) { echo"<tr> <td width='50%'> Referring from: </td> <td width='50%'> $ra[hsname]</td></tr> <tr> <td width='50%'> Location: </td> <td width='50%'> $rs[Street] | $rs[Locality]</td></tr> <tr> <td width='50%'> Phone: </td> <td width='50%'> $ra[numbers]</td></tr> <tr> <td width='50%'> Email Id: </td> <td width='50%'> $ra[EmailID]</td></tr> "; } } } ?> </table> <table id='example2' class='table table-bordered table-hover' width='100%'><tr> <th>Functional Status</th></tr> </table> <table id='example2' class='table table-bordered table-hover' width='100%'> <?php $sql ="SELECT * FROM patient WHERE patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <tr> <td width='50%'> Full Name : </td> <td width='50%'>$rs[patientname]</td> </tr> <tr> <td width='50%'> Phone : </td> <td width='50%'>$rs[numbers]</td> </tr> <tr> <td width='50%'> DOB: </td> <td width='50%'>$rs[dob]</td> </tr> <tr> <td width='50%'> Sex : </td> <td width='50%'>$rs[gendor]</td> </tr> "; echo "</td></tr>"; } ?> <tr> <td width='50%'> Accompanied by care provider : </td> <td width='50%'> <?php echo $rs12['Accompanied']; ?> </td> </tr> <tr> <td width='50%'> Primary Diagnosis : </td> <td width='50%'><?php echo $rs12['Primary_Diagnosis']; ?> </td> </tr> <tr> <td width='50%'> Treatments initiated : </td> <td width='50%'><?php echo $rs12['Treatments_initiated']; ?> </td> </tr> <tr> <td width='50%'> Types of Patient : </td> <td width='50%'><?php echo $rs12['Types_Patient']; ?> </td> </tr> <tr> <td width='50%'> Transportation needs : </td> <td width='50%'><?php echo $rs12['Transportation_needs']; ?></td> </tr> <tr> <td width='50%'> Follow_up_requirements : </td> <td width='50%'><?php echo $rs12['Follow_up_requirements']; ?> </td> </tr> </table> <table id='example2' class='table table-bordered table-hover' width='100%'> <tr> <td width='50%'> Mobility : </td> <td width='50%'><?php echo $rs12['Mobility']; ?></td> </tr> <tr> <td width='50%'> Self-care : </td> <td width='50%'><?php echo $rs12['Self_care']; ?></td> </tr> <tr> <td width='50%'> Cognitive impairment : </td> <td width='50%'><?php echo $rs12['Cognitive_impairment']; ?> </td> </tr> <tr> <td width='50%'> Assistive devices(s) provided : </td> <td width='50%'><?php echo $rs12['Assistive_devices_provide']; ?> </td> </tr> <tr> <td width='50%'> Assistive device(s) required: </td> <td width='50%'><?php echo $rs12['Assistive_required']; ?> </td> </tr> </table> <?php $sql ="SELECT * FROM patient_referral WHERE id='$_GET[id]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $sql1 ="SELECT * FROM site_users WHERE userno='$rs[entered_by]'"; $qsql1 = mysqli_query($con,$sql1); if($rs1 = mysqli_fetch_array($qsql1)) { echo"<h5><b> Created & Updated </b><h5> <table id='example2' class='table table-bordered table-hover'> <tr><td width=50%><b>By :</b>$rs1[name] </b><td width='50%'><b>At :</b> $rs[created_at] </tr>"; } } ?> </table>