File manager - Edit - /home/autoph/public_html/portal/includes/lab/dialyzer_utiliation_history.php
Back
<div id='dragme' STYLE='background:white;position:absolute;top:80px;left:100px;height:500px; width: 1000px; font-size: 12px; overflow: auto;border:1px solid gray;border-radius:10px'> <div style='position:relative'> <table style='width:100%;border-collapse:collapse'> <tr> <td colspan='2' class="lightGradient" style="border:1px solid lightgray;height:28px;font-size:14px;font-weight:normal;color:gray;border-right:1px solid #f2f2f2"> <img src="images/bullet.gif" width="10px" height="10px"> </img> <b style="font-size:14px;color:red"> <?php if(($_GET['subView'])==='home'){echo "DASHBOARD";}else{echo "DIALYZER UTILIZATION - ";}?><?php echo "<b style='font-size:18px'>" . $_GET['search'] ."</b>";?> :</b> </td> <td align='center' class="lightGradient" style='width:3%;background:#F2F2F2;border:1px solid lightgray'> <a href='laboratory_index.php?search=<?php echo $_GET['search'];?>&view=plist&id=<?php echo $_GET['id'];?>'> <input type='button' name='close' value='X' style='width:25px;font-size:16;font-weight:bold;height:25px'></a> </td> </tr> </table> </div> <table style='width:100%;border-collapse:collapse'> <?php $pid=$_GET['id']; //echo "My Company Code:". $compCode; $qq=mysql_query("SELECT * FROM `payments` WHERE `payment_type`='Dialyzer' AND `patient_id`='$pid'"); echo "<tr> <th class='Gradient' style='text-align:center;width:10px;background:lightgray;border:1px solid gray;font-size:11px;height:25px'>NO</th> <th class='Gradient' style='text-align:center;width:20px;background:lightgray;border:1px solid gray;font-size:11px;height:25px'>PATIENT ID</th> <th class='Gradient' style='text-align:center;width:20px;background:lightgray;border:1px solid gray;font-size:11px;height:25px'>DATE</th> <th class='Gradient' align='left' style='width:160px;background:lightgray;border:1px solid gray;font-size:11px'>ITEM DESC</th> <th class='Gradient' align='center' style='width:5px;background:lightgray;border:1px solid gray;font-size:11px'>QUANTITY</th> <th class='Gradient' align='center' style='width:30px;background:lightgray;border:1px solid gray;font-size:11px'>ISSUED BY</th> <th class='Gradient' align='center' style='width:150px;background:lightgray;border:1px solid gray;font-size:11px'>REMARKS</th> </tr>"; while($row = mysql_fetch_array($qq)){ echo "<tr>"; $count=$count + 1; echo "<td align='center' style='font-size:10px'>".$count."</td>"; echo "<td align='center' style='font-size:10px'>".$row['patient_id']."</td>"; echo "<td align='center' style='font-size:10px'>".$row['payment_date']."</td>"; echo "<td align='left' style='font-size:10px'>"; $itemID = $row['item_id']; $itemDesc = mysql_result(mysql_query("SELECT `medicine_desc` FROM `medicines` WHERE `medicine_id`='$itemID'"),0); echo $itemDesc; echo"</td>"; echo "<td align='center' style='font-size:10px'>".$row['quantity']."</td>"; echo "<td align='left' style='font-size:10px'>".$row['payment_by']."</td>"; echo "<td align='left' style='font-size:10px'>".$row['remarks']."</td>"; } ?> </table> </div>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings