Server IP : 162.240.98.243 / Your IP : 3.147.75.3 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('../DBManager.php'); require_once('../LoginManager.php'); require_once('../patientmanager.php'); include 'dashboarddocument.php'; include 'header.php'; if(isset($_POST['signup'])) { PatientManager::surgicalsite("$_POST[prescriptionid]","$_POST[patientid]","$_POST[Operation]","$_POST[dateoperation]","$_POST[Wound_Class]","$_POST[Duration_Operation]","$_POST[Starting_Date]","$_POST[duration]","$_POST[surgical_site_infection]","$_POST[Infection_Site]","$_POST[Sample_Collection]","$_POST[entered_by]"); } ?> <style> .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> <div class='content-wrapper'> <section class='content-header'> <?php $sql ="SELECT * FROM patient WHERE patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $sql1 ="SELECT * FROM request_for_admission_ipd WHERE patientid='$rs[patientid]' AND prescriptionid='$_GET[prescriptionid]'"; $qsql1 = mysqli_query($con,$sql1); while($rsr = mysqli_fetch_array($qsql1)) { echo " <div class='center'> <table id='example2' class='table table-bordered table-hover' width='100%'> <h3 align='center'>Surgical Site Infection Reporting Form</h3> <tr> <td width='50%'> Ward: </td> <td width='50%'>$rsr[Ward]</td> </tr> <tr> <td width='50%'> Date of Admission: </td> <td width='50%'>$rsr[created_at]</td> </tr> <tr> <td width='50%'> Doctor: </td> <td width='50%'>$rsr[Admitted_Under]</td> </tr> <tr> <td width='50%'> Operation: </td> <td width='50%'>$rsr[created_at]</td> </tr> <tr> <td width='50%'> Pt. Name: </td> <td width='50%'>$rs[patientname]</td> </tr> <tr> <td width='50%'> W/O,D/O,S/O. : </td> <td width='50%'>$rs[HusbandName]</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>"; } } ?> <form name="signup" method="post"> <tr> <td width='50%'> Operation: </td> <td width='50%'><input type="text" placeholder="Operation" name="Operation"></td> </tr> <tr> <td width='50%'> Date of Operation: </td> <td width='50%'><input type="date" placeholder="Operation" name="dateoperation"></td> </tr> </table> <label> Wound Class</label> <div class="checkbox"> <input type="radio" name="Wound_Class"><span style="font-size: 17px;"> Clean</span> </div> <div class="checkbox"> <input type="radio" name="Wound_Class"><span style="font-size: 17px;">Contaminated </span> </div> <div class="checkbox"> <input type="radio" name="Wound_Class"><span style="font-size: 17px;">Dirty</span> </div> <label> Duration of Operation</label> <div class="checkbox"> <input type="radio" name="Duration_Operation"><span style="font-size: 17px;"> Urgent</span> </div> <div class="checkbox"> <input type="radio" name="Duration_Operation"><span style="font-size: 17px;">Non-Urgent </span> </div> <div class="checkbox"> <input type="radio" name="Duration_Operation"><span style="font-size: 17px;">Prosthesis/implant</span> </div> <div class="checkbox"> <input type="radio" name="Duration_Operation"><span style="font-size: 17px;">G.i Surgery</span> </div> <h3 align="center">Antibiotics</h3> <div> <label>Starting Date</label><input type="date" name="Starting_Date"> </div> <div> <label>Duration</label><input type="text" placeholder="Duration" name="duration"> </div> <br> <div class="checkbox"> <input type="checkbox" name="surgical_site_infection"><span style="font-size: 17px;">Surgical Site Infection</span> </div> <label> Infection Site</label> <div class="checkbox"> <input type="radio" name="Infection_Site"><span style="font-size: 17px;">Superficial</span> </div> <div class="checkbox"> <input type="radio" name="Infection_Site"><span style="font-size: 17px;">Deep </span> </div> <td width='50%'> Sample Collection: </td> <td width='50%'><input type="text" placeholder="Sample Collection" name="Sample_Collection"></td> </tr> <?php $sql ="SELECT * FROM addaspatient WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <input type='hidden' name='prescriptionid' value='$rs[prescriptionid]'> <input type='hidden' name='patientid' value='$rs[patientid]'> "; } ?> <br> </table> <br> <br> <input type="submit" name="signup" value="Submit"> </form> <script> n = new Date(); y = n.getFullYear(); m = n.getMonth() + 1; d = n.getDate(); document.getElementById("date").innerHTML = m + "/" + d + "/" + y; </script>