Server IP : 162.240.98.243 / Your IP : 18.220.111.87 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('../LoginManager.php'); include 'menu.php'; include 'header.php'; ?> <?php $narayan=LoginManager::currentUser(); $usertype=LoginManager::getUserTypeByuname("$narayan"); $sql ="SELECT * FROM manpower WHERE adminid='$usertype'"; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { echo " <div class='content-wrapper'> <!-- Content Header (Page header) --> <section class='content-header'> <div class='center'> <table width='100%'> <fieldset><legend>Manpower</legend> <span><a href='hospital_manpower_edit.php'>Edit</a></span> <tr> <td width='50%'> Number of RMO/duty doctors: </td> <td width='50%'>$rs[RMO]</td> </tr> <tr> <td width='50%'> Number of paramedic staff : </td> <td width='50%'>$rs[paramedic]</td> </tr> <tr> <td width='50%'> Number of non-paramedic staff: </td> <td width='50%'>$rs[nonparametric]</td> </tr> </table> </fieldset> </div> "; echo "</td></tr>"; } ?> <head> <style> .center { border: 1px solid grey; text-align:; } table { border-collapse: separate; border-spacing: 0 15px; } th { background-color: #4287f5; color: white; } th, td { width: 150px; padding: 5px; } h2 { color: #4287f5; } </style> </head> <body> </body> </html>