Server IP : 162.240.98.243 / Your IP : 18.189.186.109 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('dbconnection.php'); include 'patient_menu.php'; include 'header.php'; $sql ="SELECT * FROM patient WHERE patientid='$_GET[patientid]' AND adNone=''"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <div class='content-wrapper'> <!-- Content Header (Page header) --> <section class='content-header'> <div class='center'> <table width='100%'> <fieldset><legend>Addiction</legend> <tr> <td width='50%'> Alcohol: </td> <td width='50%'>$rs[Alcohol]</td> </tr> <tr> <td width='50%'> Smoking : </td> <td width='50%'>$rs[Smoking]</td> </tr> <tr> <td width='50%'> Tobacco: </td> <td width='50%'>$rs[Tobacco]</td> </tr> </table> </fieldset> </div> "; } ?> <br> <br> <?php $sql ="SELECT * FROM patient WHERE patientid='$_GET[patientid]' AND fmNone=''"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <div class='center'> <table width='100%'> <fieldset><legend>Family History</legend> <tr> <td width='50%'> Diabetes: </td> <td width='50%'>$rs[fmDiabetes]</td> </tr> <tr> <td width='50%'> Thyroid : </td> <td width='50%'>$rs[fmThyroid]</td> </tr> <tr> <td width='50%'> Heart: </td> <td width='50%'>$rs[fmHeart]</td> </tr> <tr> <td width='50%'> Hypertension: </td> <td width='50%'>$rs[fmHypertension]</td> </tr> <tr> <td width='50%'> Depression: </td> <td width='50%'>$rs[fmDepression]</td> </tr> <tr> <td width='50%'> Anemia: </td> <td width='50%'>$rs[fmAnemia]</td> </tr> <tr> <td width='50%'> Thalassemia: </td> <td width='50%'>$rs[fmThalassemia]</td> </tr> <tr> <td width='50%'> HIV: </td> <td width='50%'>$rs[fmHIV]</td> </tr> </table> </fieldset> </div> "; } ?> <br> <br> <?php $sql ="SELECT * FROM patient WHERE patientid='$_GET[patientid]' AND None='on' "; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <div class='center'> <table width='100%'> <tr> <th width='50%'>Medical Condition</th> <th width='50%'>Status</th> </tr> <tr> <td width='50%'> Diabetes </td> <td width='50%'>$rs[Diabetesst]</td> </tr> <tr> <td width='50%'> Thyroid </td> <td width='50%'>$rs[Thyroidst]</td> </tr> <tr> <td width='50%'> PCOD </td> <td width='50%'>$rs[PCODst]</td> </tr> <tr> <td width='50%'> Cholesterol </td> <td width='50%'>$rs[Cholesterolst]</td> </tr> <tr> <td width='50%'> PhysicalInjury </td> <td width='50%'>$rs[PhysicalInjuryst]</td> </tr> <tr> <td width='50%'> HeartCondition </td> <td width='50%'>$rs[HeartConditionst]</td> </tr> <tr> <td width='50%'> Depression </td> <td width='50%'>$rs[Depressionst]</td> </tr> <tr> <td width='50%'> Physicallychallenged </td> <td width='50%'>$rs[Physicallychallengedst]</td> </tr> <tr> <td width='50%'> Mentallychallenged </td> <td width='50%'>$rs[Mentallychallengedst]</td> </tr> <tr> <td width='50%'> TerminallyIll </td> <td width='50%'>$rs[TerminallyIllst]</td> </tr> <tr> <td width='50%'> TerminallyIll </td> <td width='50%'>$rs[TerminallyIll]</td> </tr> </table> </fieldset> </div> "; } ?> <html> <head> <style> .center { border: 1px solid grey; text-align:; } table { border-collapse: separate; border-spacing: 0 15px; } th { background-color: #4287f5; color: white; } th, td { width: 150px; padding: 5px; } h2 { color: #4287f5; } </style> </head> <body> <?php ?> </body> </html>