Server IP : 162.240.98.243 / Your IP : 3.129.45.71 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'); include 'dashboarddocument.php'; include'dbconnection.php'; include'header.php'; if(isset($_POST['update'])) { // $updated_at=date("F d, Y / h:i:s A"); date_default_timezone_set("Asia/Calcutta"); //India time (GMT+5:30) $updated_at= date('d-m-Y H:i:s'); $sql="UPDATE `Systemic_Examination` SET `Systemic_Disease`='$_POST[Systemic_Disease]',`Systemic_Disease_note`='$_POST[Systemic_Disease_note]',`Anesthesia_Events`='$_POST[Anesthesia_Events]',`Anesthesia_Events_note`='$_POST[Anesthesia_Events_note]',`ho_Operations`='$_POST[ho_Operations]',`ho_Operations_note`='$_POST[ho_Operations_note]',`Adverse_Drugs_Reaction`='$_POST[Adverse_Drugs_Reaction]',`Adverse_Drugs_Reaction_note`='$_POST[Adverse_Drugs_Reaction_note]',`DRUG_THERAPY`='$_POST[DRUG_THERAPY]',`DRUG_THERAPY_note`='$_POST[DRUG_THERAPY_note]',`HISTORY_CHEST_PAIN`='$_POST[HISTORY_CHEST_PAIN]',`HISTORY_PALPITATION`='$_POST[HISTORY_PALPITATION]',`HISTORY_HYPERTENTION`='$_POST[HISTORY_HYPERTENTION]',`S1_S2`='$_POST[S1_S2]',`MURMUR`='$_POST[MURMUR]',`ECG_REPORT`='$_POST[ECG_REPORT]',`ENTER_LUNGS`='$_POST[ENTER_LUNGS]',`CREPITATIONS_WHEEZ`='$_POST[CREPITATIONS_WHEEZ]',`HISTORY_COUGH`='$_POST[HISTORY_COUGH]',`HISTORY_BRONCHIAL`='$_POST[HISTORY_BRONCHIAL]',`HISTORY_REPAIRATORY`='$_POST[HISTORY_REPAIRATORY]',`PULMONARY_TEST`='$_POST[PULMONARY_TEST]',`CARDIAO_VASCULAR_note`='$_POST[CARDIAO_VASCULAR_note]',`HISTORY_CONVULSION`='$_POST[HISTORY_CONVULSION]',`HISTORY_TREMOR`='$_POST[HISTORY_TREMOR]',`HISTORY_GI_BLEEDING`='$_POST[HISTORY_GI_BLEEDING]',`NEUROLOGICAL_DISEASE`='$_POST[NEUROLOGICAL_DISEASE]',`CENTRAL_NERVOUS_note`='$_POST[CENTRAL_NERVOUS_note]',`HEART_BURN`='$_POST[HEART_BURN]',`OTHER_DISEASE`='$_POST[OTHER_DISEASE]',`LIVER_FUNCTION_TEST`='$_POST[LIVER_FUNCTION_TEST]',`GASTRO_INTESTINAL_note`='$_POST[GASTRO_INTESTINAL_note]',`HISTORY_DM`='$_POST[HISTORY_DM]',`HISTORY_HYPER`='$_POST[HISTORY_HYPER]',`HARMONAL_ABNORMALITY`='$_POST[HARMONAL_ABNORMALITY]',`ENDOCRINE_SYSTEM_note`='$_POST[ENDOCRINE_SYSTEM_note]',`HISTORY_HAEMATURIA`='$_POST[HISTORY_HAEMATURIA]',`HISTORY_UTI`='$_POST[HISTORY_UTI]',`HISTORY_STD`='$_POST[HISTORY_STD]',`RENAL_PROBLEM`='$_POST[RENAL_PROBLEM]',`GENITO_URINARY_note`='$_POST[GENITO_URINARY_note]',updated_at='$_POST[created_at]' WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND surgeryid='$_GET[surgeryid]'"; $sql1 ="UPDATE save_activity SET created_at='$_POST[created_at]',updated_at='$updated_at' WHERE prescriptionid='$_GET[prescriptionid]' AND userno='$_GET[patientid]' AND discription='Intial Assessment<br>Covid 19 Checklist<br>Doc.no-'"; if($qsql = mysqli_query($con,$sql)) { if($qsql = mysqli_query($con,$sql1)) { echo "<script>alert('Update successfully');</script><script>window.history.go(-2)</script>;</script>"; } }else { echo "Sorry, there was an error uploading your file."; } } ?> <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> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <style> .center { border: 1px solid grey; text-align:; } .center2 { border: 5px solid grey; text-align:; } </style> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <form name='' method='POST'> <div class='center'> <table id='example2' class='table table-bordered table-hover'> <?php $sql ="SELECT * FROM Systemic_Examination WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND surgeryid='$_GET[surgeryid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo" <tr><td width='50%'> Date & Time</td><td width='100%' colspan=3> <input type='text' value='$rs[updated_at]' name='created_at'></td></tr>"; echo " <tr> <th></th> <th>Action</th> <th>Note</th> <tr> <td width='20%'>HISTORY OF Any Systemic Disease</td> <td width='20%'><select name='Systemic_Disease'> <option value='$rs[Systemic_Disease]' >$rs[Systemic_Disease]</option> <option value='Yes'>Yes</option> <option value='No'>No</option> </select></td> <td width='60%'><input name='Systemic_Disease_note' value='$rs[Systemic_Disease_note]' type='text'></td> </tr> <tr> <td width='20%'>HISTORY OF Anesthesia Events</td> <td width='20%'><select name='Anesthesia_Events'> <option value='$rs[Anesthesia_Events]' >$rs[Anesthesia_Events]</option> <option value='Yes'>Yes</option> <option value='No'>No</option> </select></td> <td width='60%'><input name='Anesthesia_Events_note' value='$rs[Anesthesia_Events_note]' type='text'></td> </tr> <tr> <td width='20%'>HISTORY OF Operations/SURGERY </td> <td width='20%'><select name='ho_Operations'> <option value='$rs[ho_Operations]' >$rs[ho_Operations]</option> <option value='Yes'>Yes</option> <option value='No'>No</option> </select></td> <td width='60%'><input name='ho_Operations_note' value='$rs[ho_Operations_note]' type='text'></td> </tr> <tr> <tr> <td width='20%'>History of Adverse Drugs Reaction </td> <td width='20%'><select name='Adverse_Drugs_Reaction'> ";?> <option value='Yes' <?php echo $row['Adverse_Drugs_Reaction'] == 'Yes' ? 'selected':''; ?>>Yes</option> <option value='No' <?php echo $row['Adverse_Drugs_Reaction'] == 'No' ? 'selected':''; ?>>No</option> <?php echo "</select></td> <td width='60%'><input name='Adverse_Drugs_Reaction_note' value='$rs[Adverse_Drugs_Reaction_note]' type='text'></td> </tr> <tr> <td width='20%'>HISTORY OF DRUG THERAPY </td> <td width='20%'><select name='DRUG_THERAPY'> ";?> <option value='Yes' <?php echo $rs['DRUG_THERAPY'] == 'Yes' ? 'selected':''; ?>>Yes</option> <option value='No' <?php echo $rs['DRUG_THERAPY'] == 'No' ? 'selected':''; ?>>No</option> <?php echo " </select></td> <td width='60%'><input name='DRUG_THERAPY_note' value='$rs[DRUG_THERAPY_note]' type='text'></td> </tr> </table> <table id='example2' class='table table-bordered table-hover'> <div class='center' style='background:#1e73be;color:#ffffff;'> <h5 align='center'>SYSTEMIC EXAMINATION </h5> </table> <table id='example2' class='table table-bordered table-hover'> <p><tr><td><span style='font-size: 15px'>CARDIAO VASCULAR SYSTEM </span> </td></tr></p> </table> <table id='example2' class='table table-bordered table-hover'> <tr><td><span style='font-size: 20px'>HISTORY OF CHEST PAIN </span></h3></td><td> "?><?php if($rs[HISTORY_CHEST_PAIN] == 'on'){ echo "<label class='switch'><input type='checkbox' name='HISTORY_CHEST_PAIN' checked> <span class='slider'></span> </label>"; } else{ echo "<label class='switch'><input type='checkbox' name='HISTORY_CHEST_PAIN'> <span class='slider'></span> </label>"; } ?><?php echo " </td> </tr> <tr> <td><span style='font-size: 20px'>HISTORY OF PALPITATION </span></h3></td><td> "; ?> <?php if($rs[HISTORY_CHEST_PAIN] == 'on'){ echo "<label class='switch'> <input type='checkbox' value='$rs[HISTORY_PALPITATION]' name='HISTORY_PALPITATION' checked> <span class='slider'></span> </label> "; } else { echo "<label class='switch'> <input type='checkbox' value='$rs[HISTORY_PALPITATION]' name='HISTORY_PALPITATION'> <span class='slider'></span> </label> "; }?> <?php echo "</td> </tr> <tr><td><span style='font-size: 20px'>HISTORY OF HYPERTENTION </span></h3></td><td>"; ?> <?php if($rs[HISTORY_HYPERTENTION] == 'on'){ echo "<label class='switch'> <input type='checkbox' value='$rs[HISTORY_HYPERTENTION]' name='HISTORY_HYPERTENTION' checked> <span class='slider'></span> </label> "; } else { echo "<label class='switch'> <input type='checkbox' value='$rs[HISTORY_HYPERTENTION]' name='HISTORY_HYPERTENTION'> <span class='slider'></span> </label> "; }?> <?php echo " </td> </tr> <tr> <td><span style='font-size: 20px'>S1 &S2 </span></h3></td><td> <select name='S1_S2'>"; ?> <option value='Not Applicable'<?php echo $rs['S1_S2'] == 'Not Applicable' ? 'selected':''; ?> >Not Applicable </option> <option value='NORMAL'<?php echo $rs['S1_S2'] == 'NORMAL' ? 'selected':''; ?>>NORMAL</option> <option value='ABNORMAL'<?php echo $rs['S1_S2'] == 'ABNORMAL' ? 'selected':''; ?>>ABNORMAL </option> <?php echo "</select> </td> </tr> <tr> <td><span style='font-size: 20px'>MURMUR </span></h3></td><td> <select name='MURMUR'>"; ?> <option value='Not Applicable'<?php echo $rs['MURMUR'] == 'Not Applicable' ? 'selected':''; ?> >Not Applicable </option> <option value='PRESENT'<?php echo $rs['MURMUR'] == 'PRESENT' ? 'selected':''; ?>>PRESENT</option> <option value='ABSENT'<?php echo $rs['MURMUR'] == 'ABSENT' ? 'selected':''; ?>>ABSENT</option> <?php echo "</select> </td> </tr> <tr> <td><span style='font-size: 20px'>ECG REPORT</span></h3></td><td> <select name='ECG_REPORT'>"; ?> <option value='Not Applicable'<?php echo $rs[ECG_REPORT] == 'Not Applicable' ? 'selected':''; ?> >Not Applicable </option> <option value='PRESENT'<?php echo $rs[ECG_REPORT] == 'PRESENT' ? 'selected':''; ?>>PRESENT</option> <option value='ABSENT'<?php echo $rs[ECG_REPORT] == 'ABSENT' ? 'selected':''; ?>>ABSENT</option> <?php echo "</select> </td> </tr> <tr> <td><span style='font-size: 20px'>Note</span></td><td><textarea id='w3review' name='CARDIAO_VASCULAR_note' rows='2' cols='70'>$rs[CARDIAO_VASCULAR_note]</textarea></td> </tr> </table> <table id='example2' class='table table-bordered table-hover'> <p><tr><td><span style='font-size: 15px'>RESPIRATORY SYSTEM </span> </td></tr></p> </table> <table id='example2' class='table table-bordered table-hover'> <tr> <td><span style='font-size: 20px'>B/L AIR ENTER IN LUNGS </span></h3></td><td> ";?> <?php if($rs[ENTER_LUNGS] == 'on'){ echo "<label class='switch'> <input type='checkbox' name='ENTER_LUNGS' checked> <span class='slider'></span> </label> "; } else { echo "<label class='switch'> <input type='checkbox' name='ENTER_LUNGS'> <span class='slider'></span> </label> "; } ?> <?php echo " </td> </tr> <tr> <td><span style='font-size: 20px'>CREPITATIONS / WHEEZ </span></h3></td><td> "; ?> <?php if($rs[CREPITATIONS_WHEEZ] == 'on'){ echo " <label class='switch'> <input type='checkbox' name='CREPITATIONS_WHEEZ' checked> <span class='slider'></span> </label> "; } else { echo " <label class='switch'> <input type='checkbox' name='CREPITATIONS_WHEEZ'> <span class='slider'></span> </label> "; } ?> <?php echo " </td> </tr> <tr> <td><span style='font-size: 20px'>HISTORY OF COUGH / BRONCHISOSM </span></h3></td><td> "; ?> <?php if($rs[HISTORY_COUGH] == 'on'){ echo "<label class='switch'> <input type='checkbox' name='HISTORY_COUGH' checked> <span class='slider'></span> </label> </td> "; } else { echo "<label class='switch'> <input type='checkbox' name='HISTORY_COUGH'> <span class='slider'></span> </label> </td> <td><span style='font-size: 20px'>HISTORY OF BRONCHIAL ANTHMA </span></h3></td><td>"; } ?> <?php echo " </td> </tr> <tr> <td><span style='font-size: 20px'>HISTORY OF BRONCHIAL ANTHMA </span></h3></td><td> "; ?> <?php if($rs[HISTORY_BRONCHIAL] == 'on'){ echo " <label class='switch'> <input type='checkbox' name='HISTORY_BRONCHIAL' checked> <span class='slider'></span> </label> "; } else { echo " <label class='switch'> <input type='checkbox' name='HISTORY_BRONCHIAL'> <span class='slider'></span> </label> "; } ?> <?php echo " </td> </tr> <tr> <td><span style='font-size: 20px'>HISTORY OF REPAIRATORY DISEASES </span></h3></td><td> ";?> <?php if($rs[HISTORY_REPAIRATORY] == 'on'){ echo " <label class='switch'> <input type='checkbox' name='HISTORY_REPAIRATORY' checked> <span class='slider'></span> </label> "; } else { echo " <label class='switch'> <input type='checkbox' name='HISTORY_REPAIRATORY'> <span class='slider'></span> </label> "; } ?> <?php echo " </td> </tr> <tr> <td><span style='font-size: 20px'>PULMONARY FUNCTION TEST </span></td><td><select name='PULMONARY_TEST'> "; ?> <option value='Not Applicable'<?php echo $rs[PULMONARY_TEST] == 'Not Applicable' ? 'selected':''; ?> >Not Applicable </option> <option value='PRESENT'<?php echo $rs[PULMONARY_TEST] == 'PRESENT' ? 'selected':''; ?>>PRESENT</option> <option value='ABSENT'<?php echo $rs[PULMONARY_TEST] == 'ABSENT' ? 'selected':''; ?>>ABSENT</option> <?php echo " </select> </td> </tr> <tr> <td><span style='font-size: 20px'>Note</span></td><td><textarea id='w3review' name='respiratory_system_note' rows='2' cols='70'>$rs[respiratory_system_note]</textarea></td> </tr> </div> </table> <table id='example2' class='table table-bordered table-hover'> <p><tr><td><span style='font-size: 15px'>CENTRAL NERVOUS SYSTEM </span> </td></tr></p> </table> <table id='example2' class='table table-bordered table-hover'> <tr><td><span style='font-size: 20px'>HISTORY OF CONVULSION / FITS </span></h3></td><td> "; ?> <?php if($rs[HISTORY_CONVULSION] == 'on'){ echo " <label class='switch'> <input type='checkbox' name='HISTORY_CONVULSION' checked> <span class='slider'></span> </label> "; } else { echo " <label class='switch'> <input type='checkbox' name='HISTORY_CONVULSION'> <span class='slider'></span> </label> "; } ?> <?php echo " </td> </tr> <tr> <td><span style='font-size: 20px'>HISTORY OF TREMOR </span></h3></td><td> "; ?> <?php if($rs[HISTORY_TREMOR] == 'on'){ echo " <label class='switch'> <input type='checkbox' name='HISTORY_TREMOR' checked> <span class='slider'></span> </label> "; } else { echo"<label class='switch'> <input type='checkbox' name='HISTORY_TREMOR'> <span class='slider'></span> </label> "; } ?> <?php echo " </td> </tr> <tr><td><span style='font-size: 20px'>HISTORY OF GI BLEEDING </span></h3></td><td> ";?><?php if($rs[HISTORY_GI_BLEEDING] == 'on'){ echo "<label class='switch'> <input type='checkbox' name='HISTORY_GI_BLEEDING' checked> <span class='slider'></span> </label> "; } else { echo "<label class='switch'> <input type='checkbox' name='HISTORY_GI_BLEEDING'> <span class='slider'></span> </label> "; }?> <?php echo " </td> </tr> <tr> <td><span style='font-size: 20px'>HISTORY OF ANY NEUROLOGICAL DISEASE </span></h3></td><td> "; ?> <?php if($rs[HISTORY_GI_BLEEDING] == 'on'){ echo" <label class='switch'> <input type='checkbox' name='NEUROLOGICAL_DISEASE' checked> <span class='slider'></span> </label> "; } else{ echo" <label class='switch'> <input type='checkbox' name='NEUROLOGICAL_DISEASE'> <span class='slider'></span> </label> "; } ?> <?php echo " </td> </tr> <tr> <td><span style='font-size: 20px'>Note</span></td><td><textarea id='w3review' name='CENTRAL_NERVOUS_note' rows='2' cols='70'>$rs[CENTRAL_NERVOUS_note]</textarea></td> </tr> </table> <table id='example2' class='table table-bordered table-hover'> <p><tr><td><span style='font-size: 15px'>GASTRO INTESTINAL SYSTEM </span> </td></tr></p> </table> <table id='example2' class='table table-bordered table-hover'> <tr><td><span style='font-size: 20px'>H/O/ACIDITY / HEART BURN </span></h3></td><td> "; ?> <?php if($rs[HISTORY_GI_BLEEDING] == 'on'){ echo" <label class='switch'> <input type='checkbox' name='HEART_BURN' checked> <span class='slider'></span> </label> "; } else { echo" <label class='switch'> <input type='checkbox' name='HEART_BURN'> <span class='slider'></span> </label> "; } ?> <?php echo" </td> </tr> <tr> <td><span style='font-size: 20px'>HISTORY OF ANY OTHER DISEASE </span></h3></td><td> "; ?> <?php if($rs[HISTORY_GI_BLEEDING] == 'on'){ echo" <label class='switch'> <input type='checkbox' name='OTHER_DISEASE' checked> <span class='slider'></span> </label> "; } else{ echo" <label class='switch'> <input type='checkbox' name='OTHER_DISEASE'> <span class='slider'></span> </label> "; } ?> <?php echo" </td> </tr> <tr> <td><span style='font-size: 20px'>LIVER FUNCTION TEST </span></h3></td><td><select name='LIVER_FUNCTION_TEST'>"; ?> <option value='Not Applicable'<?php echo $rs[LIVER_FUNCTION_TEST] == 'Not Applicable' ? 'selected':''; ?> >Not Applicable </option> <option value='PRESENT'<?php echo $rs[LIVER_FUNCTION_TEST] == 'PRESENT' ? 'selected':''; ?>>PRESENT</option> <option value='ABSENT'<?php echo $rs[LIVER_FUNCTION_TEST] == 'ABSENT' ? 'selected':''; ?>>ABSENT</option> <?php echo" </select> </td> </tr> <tr> <td><span style='font-size: 20px'>Note</span></td><td><textarea id='w3review' name='GASTRO_INTESTINAL_note' rows='2' cols='70'>$rs[GASTRO_INTESTINAL_note]</textarea></td> </tr> </table> <table id='example2' class='table table-bordered table-hover'> <p><tr><td><span style='font-size: 15px'> ENDOCRINE SYSTEM </span> </td></tr></p> </table> <table id='example2' class='table table-bordered table-hover'> <tr><td><span style='font-size: 20px'>HISTORY OF DM </span></h3></td><td> "; ?> <?php if($rs[HISTORY_DM] == 'on'){ echo" <label class='switch'> <input type='checkbox' name='HISTORY_DM' checked> <span class='slider'></span> </label> "; } else{ echo" <label class='switch'> <input type='checkbox' name='HISTORY_DM'> <span class='slider'></span> </label> "; } ?> <?php echo" </td> </tr> <tr> <td><span style='font-size: 20px'>HISTORY OF HYPER / HYPO THYROIDISM </span></h3></td><td> "; ?> <?php if($rs[HISTORY_HYPER] == 'on'){ echo" <label class='switch'> <input type='checkbox' name='HISTORY_HYPER' checked> <span class='slider'></span> </label> "; } else { echo" <label class='switch'> <input type='checkbox' name='HISTORY_HYPER'> <span class='slider'></span> </label> "; } ?> <?php echo" </td> </tr> <tr><td><span style='font-size: 20px'>HISTORY OF ANY OTHER HARMONAL ABNORMALITY </span></h3></td><td> "; ?> <?php if($rs[HARMONAL_ABNORMALITY] == 'on'){ echo" <label class='switch'> <input type='checkbox' name='HARMONAL_ABNORMALITY' checked> <span class='slider'></span> </label> "; } else{ echo" <label class='switch'> <input type='checkbox' name='HARMONAL_ABNORMALITY'> <span class='slider'></span> </label> "; } ?> <?php echo" </td> </tr> <tr> <td><span style='font-size: 20px'>Note</span></td><td><textarea id='w3review' rows='2' name='ENDOCRINE_SYSTEM_note' cols='70'>$rs[ENDOCRINE_SYSTEM_note]</textarea></td> </tr> </table> <table id='example2' class='table table-bordered table-hover'> <p><tr><td><span style='font-size: 15px'> GENITO URINARY SYSTEM </span> </td></tr></p> </table> <table id='example2' class='table table-bordered table-hover'> <tr><td><span style='font-size: 20px'>HISTORY OF HAEMATURIA</span></h3></td><td> "; ?> <?php if($rs[HISTORY_HAEMATURIA] == 'on'){ echo" <label class='switch'> <input type='checkbox' name='HISTORY_HAEMATURIA' checked> <span class='slider'></span> </label> "; } else{ echo" <label class='switch'> <input type='checkbox' name='HISTORY_HAEMATURIA'> <span class='slider'></span> </label> "; } ?> <?php echo" </td> </tr> <tr> <td><span style='font-size: 20px'>HISTORY OF UTI </span></h3></td><td> "; ?><?php if($rs[HISTORY_UTI] == 'on'){ echo" <label class='switch'> <input type='checkbox' name='HISTORY_UTI' checked> <span class='slider'></span> </label> "; } else{ echo" <label class='switch'> <input type='checkbox' name='HISTORY_UTI'> <span class='slider'></span> </label> "; } ?><?php echo" </td> </tr> <tr> <td><span style='font-size: 20px'>HISTORY OF STD </span></h3></td><td> ";?> <?php if($rs[HISTORY_STD] == 'on'){ echo" <label class='switch'> <input type='checkbox' name='HISTORY_STD' checked> <span class='slider'></span> </label> "; } else{ echo" <label class='switch'> <input type='checkbox' name='HISTORY_STD'> <span class='slider'></span> </label> "; } ?> <?php echo" </td> </tr> <tr> <td><span style='font-size: 20px'>HISTORY OF RENAL PROBLEM </span></h3></td><td> "; ?> <?php if($rs[RENAL_PROBLEM] == 'on'){ echo" <label class='switch'> <input type='checkbox' name='RENAL_PROBLEM' checked> <span class='slider'></span> </label> "; } else{ echo" <label class='switch'> <input type='checkbox' name='RENAL_PROBLEM'> <span class='slider'></span> </label> "; } ?> <?php echo" </td> </tr> <tr> <td><span style='font-size: 20px'>Note</span></td><td><textarea id='w3review' rows='2' name='GENITO_URINARY_note' cols='70'>$rs[GENITO_URINARY_note]</textarea></td> </tr> </table> <input type='submit' name='update' Value='Update'> <?php "; } ?> </table> </form> </div>