Server IP : 162.240.98.243 / Your IP : 18.227.190.54 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])) { PatientManager::createinhouse("$_POST[ivid]","$_POST[hospitalid]","$_POST[scope]","$_POST[sample_urgent]","$_POST[sample_urgent_duration]","$_POST[sample_normal]","$_POST[sample_normal_duration]","$_POST[report_urgent]","$_POST[report_urgent_duration]","$_POST[report_normal]","$_POST[report_normal_duration]","$_POST[rate]","$_POST[entered_by]"); } ?> <?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 list_Investigation where ivid='$_GET[ivid]'"; $qsqlpatient1 = mysqli_query($con,$sqlpatient1); if($rsn = mysqli_fetch_array($qsqlpatient1)) { echo " <form name='signup' method='post'> <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%'> Name of Investigation: </td> <td width='50%'><input type='hidden' name='ivid' value='$rsn[ivid]'><input type='hidden' name='hospitalid' value='$rs[entered_by]'>$rsn[Investigation]</td> "; } } ?> </tr> <tr> <td width='50%'> Scope : </td> <td width='50%'><select name='scope'> <option value='' disabled selected>Type of 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%'> Collect Sample (Urgent) : </td> </td> <td><input type='number' name='sample_urgent' placeholder='Time'> <br> <select name='sample_urgent_duration'> <option value='' disabled selected>TAT Duration </option> <option value='Minute'>Minute</option> <option value='Hours'>Hours</option> <option value='Days'>Days</option> </select></td> </tr> <tr> <td width='50%'> Collect Sample (Normal) : </td> </td> <td><input type='number' name='sample_normal' placeholder='Time'><br> <select name='sample_normal_duration'> <option value='' disabled selected>TAT 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 (Urgent) : </td> </td> <td><input type='number' name='report_urgent' placeholder='Time'><br> <select name='report_urgent_duration'> <option value='' disabled selected>TAT 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' placeholder='Time'><br> <select name='report_normal_duration'> <option value='' disabled selected>TAT 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' name='rate'></td> </tr> </table> <table id='example2' class='table table-bordered table-hover'> <tr> <td><button type="submit" name="signup">Create</butoon> </tr> </table> </div> </form> <html> <head> <style> .center { border: 1px solid grey; text-align:; } h2 { color: #4287f5; } </style> </head> <body> </body> </html> <script> function scopeload(drid) { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { document.getElementById("divdr").innerHTML = this.responseText; } }; xmlhttp.open("GET","loadscope.php?drid="+drid,true); xmlhttp.send(); } </script>