Server IP : 162.240.98.243 / Your IP : 3.128.94.255 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"); require_once('../DBManager.php'); require_once('../LoginManager.php'); require_once("../patientmanager.php"); $narayan=LoginManager::currentUser(); $usertype=LoginManager::getUserTypeByuname("$narayan"); if(isset($_POST[FFPTransfusion])) { PatientManager::FFPTransfusion("$_GET[prescriptionid]","$_GET[patientid]","$_POST[FFPTransfusion]","$_POST[entered_by]"); } ?> <?php include("dbconnection.php"); if(isset($_GET[delid])) { $sql ="DELETE FROM FFPTransfusion WHERE id='$_GET[delid]'"; $qsql=mysqli_query($con,$sql); if(mysqli_affected_rows($con) == 1) { $sql1 ="DELETE FROM patient_invace WHERE pagetype='$_GET[delid]'"; $qsql1=mysqli_query($con,$sql1); if(mysqli_affected_rows($con) == 1) { echo "<script>alert('Deleted successfully..');</script>"; } } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content="Dashboard"> <meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina"> <title>Echo </title> <body> <h3><i class="fa fa-angle-right"></i> </h3> <form name="FFPTransfusion" method="post"> <button style="height:30px;width:200px" value="Done" name="FFPTransfusion" type="submit"><i class="fa fa-plus"></i> FFPTransfusion Done</button> </form> <style> form{ margin: 20px 0; } form input, button{ padding: 5px; } table{ width: 100%; margin-bottom: 20px; border-collapse: collapse; } table, th, td{ border: 1px solid #cdcdcd; } table th, table td{ padding: 10px; text-align: left; } <style> table{ border: solid 1px gray; width: 100%; } </style> </head> <div id="container"> <table border="1"> <tbody> <tr> <th><div align="center">Timing </div></th> <th><div align="center">Performed </div></th> <th><div align="center">Created By</div></th> <th><div align="center">Action</div></th> </tr> </tbody> <?php include("dbconnection.php"); require_once('../DBManager.php'); require_once('../LoginManager.php'); $sql4 ="SELECT * FROM FFPTransfusion WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'"; $qsql4 = mysqli_query($con,$sql4); while($rp = mysqli_fetch_array($qsql4)) { $sql1 ="SELECT * FROM site_users WHERE userno='$rp[entered_by]'"; $qsql1 = mysqli_query($con,$sql1); while($re = mysqli_fetch_array($qsql1)) { echo " <tbody> <tr> <td> $rp[created_at]</td> <td> $rp[FFPTransfusion]</td> <td> $re[name]</td> <td><a href='edit_showCatheterization.php?prescriptionid=$rp[prescriptionid]&patientid=$rp[patientid]&id=$rp[id]'><i class='fa fa-pencil-square-o' aria-hidden='true' style='font-size:20px;'></i></a> | <a href='nursingrecodstest.php?prescriptionid=$rp[prescriptionid]&patientid=$rp[patientid]&delid=$rp[id]'><i class='fa fa-trash-o' aria-hidden='true' style='font-size:20px; color:red;'></i></a></td> </tr> "; } } ?> </tbody> <tfoot> </tfoot> </table> </div>