Server IP : 162.240.98.243 / Your IP : 3.141.4.179 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/FO/Patient/ |
Upload File : |
<h3 align='center'>Covid 19 Checklist</h3> <?php $sql ="SELECT * FROM CovidChecklist WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { echo" <h3 align='right'><a href='Edit_CovidChecklist.php?prescriptionid=$rs[prescriptionid]&patientid=$rs[patientid]'><i class='fa fa-pencil-square-o' aria-hidden='true'></i></a></h3>"; } ?> <table id='example2' class='table table-bordered table-hover'> <?php $sql ="SELECT * FROM CovidChecklist WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { if($rs[symptoms_fever] == 'on'){ echo " <tr><td width='50%'>Do you have symptoms such as fever, cough, sneezing, sore throat, fatigue, sense of smell, changes in taste, and body aches?: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Do you have symptoms such as fever, cough, sneezing, sore throat, fatigue, sense of smell, changes in taste, and body aches?: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[difficulty_breathing] == 'on'){ echo " <tr><td width='50%'>Do you have difficulty of breathing?: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Do you have difficulty of breathing?: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[country_days] == 'on'){ echo " <tr><td width='50%'>Have you travelled outside the country in the last 30 days?: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Have you travelled outside the country in the last 30 days?: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[other_cities] == 'on'){ echo " <tr><td width='50%'>Have you traveled to other cities in India in 15 days?: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Have you traveled to other cities in India in 15 days?: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[two_weeks] == 'on'){ echo " <tr><td width='50%'>Were you a Covid-19 positive patient in the last two weeks? or suspect in a case of covid-19 ?: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Were you a Covid-19 positive patient in the last two weeks? or suspect in a case of covid-19 ?: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[health_facility] == 'on'){ echo " <tr><td width='50%'>Have you visited a health care facility in the past two weeks?: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Have you visited a health care facility in the past two weeks?: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } } ?> </table>