Server IP : 162.240.98.243 / Your IP : 3.145.45.5 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/www/login.easenup.in/ |
Upload File : |
<?php session_start(); require_once('../DBManager.php'); require_once('../LoginManager.php'); include 'header.php'; include("dbconnection.php"); ?> <?php include("dbconnection.php"); require_once('../DBManager.php'); require_once('../LoginManager.php'); $narayan=LoginManager::currentUser(); $usertype=LoginManager::getUserTypeByuname("$narayan"); $sql1 ="SELECT * FROM site_users WHERE userno='$usertype'"; $qsql1 = mysqli_query($con,$sql1); while($re = mysqli_fetch_array($qsql1)) { $sql2 ="SELECT * FROM site_users WHERE entered_by='$re[entered_by]' AND usertype='Hospital'"; $qsql2 = mysqli_query($con,$sql2); if($re1 = mysqli_fetch_array($qsql2)) { if(Hospital==$re1[usertype]) { ?> <?php include 'dashboarddocument.php'; ?> <?php } } } ?> <?php include("dbconnection.php"); require_once('../DBManager.php'); require_once('../LoginManager.php'); $narayan=LoginManager::currentUser(); $usertype=LoginManager::getUserTypeByuname("$narayan"); $sql1 ="SELECT * FROM site_users WHERE userno='$usertype'"; $qsql1 = mysqli_query($con,$sql1); while($re = mysqli_fetch_array($qsql1)) { $sql2 ="SELECT * FROM site_users WHERE entered_by='$re[entered_by]' AND usertype='LABORATORY'"; $qsql2 = mysqli_query($con,$sql2); if($re1 = mysqli_fetch_array($qsql2)) { if(LABORATORY==$re1[usertype]) { ?> <?php include 'patient_menu.php'; ?> <?php } } } ?> <?php session_start(); require_once("../patientmanager.php"); require_once("../DBManager.php"); include("dbconnection.php"); include("header.php"); if(isset($_POST[report])) { PatientManager::REPORTGenerated("$_GET[prescriptionid]","$_GET[patientid]","$_POST[requesttestid]","$_POST[Impression]","$_POST[Study_Reveals]","$_POST[Interpretation]","$_POST[entered_by]"); } ?> <style> .center { border: 1px solid grey; text-align:; } </style> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <form name="report" method="post"> <h3 align='center'>Report</h3> <div class='center'> <table id='example2' class='table table-bordered table-hover' width='100%'><tr> <th>Patient Information</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>"; } ?> </table> </div> <br><br> <div class='center'> <table id='example2' class='table table-bordered table-hover'> <tr> <th>Test Description </th> <th>Unit </th> <th>Result </th> <th>Normal Value </th> </tr> <?php session_start(); include("dbconnection.php"); $sql ="SELECT * FROM investigation WHERE prescriptionid='$_GET[prescriptionid]' AND id='$_GET[id]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $sql1 ="SELECT * FROM pathreportfinal WHERE requesttestid='$rs[id]'"; $qsql1 = mysqli_query($con,$sql1); while($rsi = mysqli_fetch_array($qsql1)) { $sql3 ="SELECT * FROM Test_Description_final WHERE testdesid='$rsi[testid]'"; $qsql3 = mysqli_query($con,$sql3); while($rspi = mysqli_fetch_array($qsql3)) { $sql2 ="SELECT * FROM patient WHERE patientid='$rs[patientid]'"; $qsql2 = mysqli_query($con,$sql2); while($rspi1 = mysqli_fetch_array($qsql2)) { echo" <tr> <td>$rspi[Test_Description] </td> <td>$rsi[unit]</td> <td>$rsi[result]</td> <td>";echo"$rsi[min]-$rsi[max] </td> </tr>"; } } } } ?> </table> </DIV> <br><br> <?php include("dbconnection.php"); $sql90 ="SELECT * FROM investigation WHERE prescriptionid='$_GET[prescriptionid]' AND id='$_GET[id]'"; $qsql90 = mysqli_query($con,$sql90); if($rsr = mysqli_fetch_array($qsql90)) { $sql1 ="SELECT * FROM labreports WHERE requesttestid='$rsr[id]'"; $qsql1 = mysqli_query($con,$sql1); while($rh1 = mysqli_fetch_array($qsql1)) { echo" <div class='center'><table id='example2' class='table table-bordered table-hover'> <tr> <td width='50%'> Critical : </td> <td width='50%'>$rh1[marks_critical] </td> </tr> <tr> <td width='50%'> Impression : </td> <td width='50%'>$rh1[Impression] </td> </tr> <tr> <td width='50%'> Study Reveals : </td> <td width='50%'>$rh1[Study_Reveals] </td> </tr> <tr> <td width='50%'> Interpretation : </td> <td width='50%'>$rh1[Interpretation] </td> </tr> </table> <div class='checkbox'> <b>Note</b></div> <div class='checkbox'><ol type='1'><li>Test results released pertain to the specimen submitted .</li> <li>All test results are dependent on the quality of the sample received by the Laboratory .</li> <li>Laboratory investigations are only a tool to facilitate in arriving at a diagnosis and should be clinically correlated by the Referring Physician .</li> <li>Sample repeats are accepted on request of Referring Physician within 7 days post reporting.</li> <li>Report delivery may be delayed due to unforeseen circumstances. Inconvenience is regretted.</li> <li>Certain tests may require further testing at additional cost.</li> </ol> </div> <br> </div> </form> "; } } ?>