Server IP : 162.240.98.243 / Your IP : 3.137.172.115 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('../patientmanager.php'); include 'workdeskmenu.php'; include 'header.php'; include("dbconnection.php"); if(isset($_POST[signup])) { $sql="UPDATE create_inhouse SET scope='$_POST[scope]',sample_urgent='$_POST[sample_urgent]',sample_urgent_duration='$_POST[sample_urgent_duration]',sample_normal='$_POST[sample_normal]', sample_normal_duration='$_POST[sample_normal_duration]', report_urgent='$_POST[report_urgent]',report_urgent_duration='$_POST[report_urgent_duration]',report_normal='$_POST[report_normal]',sample_normal='$_POST[sample_normal]',sample_normal_duration='$_POST[sample_normal_duration]',report_normal='$_POST[report_normal]',report_normal_duration='$_POST[report_normal_duration]',rate='$_POST[rate]' WHERE ivid='$_GET[ivid]' AND hospitalid='$_POST[hospitalid]'"; if($qsql = mysqli_query($con,$sql)) { echo "<script>alert('Update successfully');</script><script> window.history.go(-2)</script>"; } } ?> <?php include("dbconnection.php"); $narayan=LoginManager::currentUser(); $usertype=LoginManager::getUserTypeByuname("$narayan"); $sql ="SELECT * FROM site_users WHERE userno='$usertype'"; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { $sqlpatient1 = "SELECT * FROM create_inhouse where hospitalid='$rs[entered_by]' AND ivid='$_GET[ivid]'"; $qsqlpatient1 = mysqli_query($con,$sqlpatient1); if($rsn = mysqli_fetch_array($qsqlpatient1)) { echo " <form name='signup' method='post'> <input type='hidden' name='hospitalid' value='$rs[entered_by]'> <div class='content-wrapper'> <!-- Content Header (Page header) --> <section class='content-header'> <div class='center'> <table id='example2' width='100%' class='table table-bordered table-hover'> <tr> <td width='50%'> Scope : </td> <td width='50%'><select name='scope'> <option value='$rsn[scope]'>$rsn[scope]</option> <option value='Inhouse'>Inhouse</option> <option value='Outsource'>Outsource</option> </select></td> </tr> <tr><td width='50%'><h2>TAT</h2></td></tr> <tr> <td width='50%'> Report (Urgent) : </td> </td> <td><input type='number' name='report_urgent' value='$rsn[report_urgent]' placeholder='Time'> <br><select name='report_urgent_duration'> <option value='$rsn[report_urgent_duration]'>$rsn[report_urgent_duration]</option> <option value='Minute'>Minute</option> <option value='Hours'>Hours</option> <option value='Days'>Days</option> </select></td> </tr> <tr> <td width='50%'> Report (Normal) : </td> </td> <td><input type='number' name='report_normal' value='$rsn[report_normal]' placeholder='Time'> <br><select name='report_normal_durationn'> <option value='$rsn[report_normal_duration]'>$rsn[report_normal_duration]</option> <option value='Minute'>Minute</option> <option value='Hours'>Hours</option> <option value='Days'>Days</option> </select></td> </tr> </div> <tr> <td width='50%'> Rate: </td> <td width='50%'><input type='number' value='$rsn[rate]' name='rate'></td> </tr> </table> <table id='example2' class='table table-bordered table-hover'> <tr> "; } } ?> <td><button type="submit" name="signup">Update</butoon> </tr> </table> </div> </form> <html> <head> <style> .center { border: 1px solid grey; text-align:; } h2 { color: #4287f5; } </style> </head> <body> </body> </html>