Server IP : 162.240.98.243 / Your IP : 52.15.111.77 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]"); } ?> <link rel="stylesheet" href="assets/style.css"> <center> <h3 class='code'> Create Treatment</h3> <?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_tretment where trid='$_GET[trid]'"; $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 Treatment/Surgery: </td> <td width='50%'><input type='hidden' name='ivid' value='$rsn[trid]'><input type='hidden' name='hospitalid' value='$rs[entered_by]'>$rsn[tratment]</td> "; } } ?> </tr> <tr> <td width='50%'> Scope : </td> <td width='50%'><select name='scope'> <option value='' disabled >Type of Scope </option> <option value='Available'>Available</option> <option value='Not Available' selected>Not Available</option> </select></td> </tr> <tr> <td width='50%'> Package Rate: </td> <td width='50%'><input type='number' name='rate' value="0" min="0" oninput="validity.valid||(value='');"></td> </tr> <tr> <td width='50%'> Duration of Stay(Days)</td> <td width='50%'><input type='number' name='sample_normal_duration'></td> </tr> <tr> <td width='50%'> Medication : </td> <td width='50%'><select name='report_urgent'> <option value='' disabled selected>Medication </option> <option value='Included'>Included in package</option> <option value='Excluded'>Excluded in package</option> </select></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>