Server IP : 162.240.98.243 / Your IP : 18.216.88.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/www/login.easenup.in/Pharmacy/ |
Upload File : |
<?php session_start(); require_once('../../DBManager.php'); require_once('../../LoginManager.php'); include 'menu.php'; include 'header.php'; ?> <?php $narayan=LoginManager::currentUser(); $harilal=LoginManager::getUserTypeByuname("$narayan"); $sql ="SELECT * FROM site_users WHERE userno='$harilal'"; $qsql = mysqli_query($con,$sql); if($re = mysqli_fetch_array($qsql)){ if($re['usertype']=='pharma'){ $HR ="SELECT * FROM pharama WHERE pharamaid='$re[userno]'"; $qHR = mysqli_query($con,$HR); while($rHR = mysqli_fetch_array($qHR)) { $countries=$con->query("SELECT * FROM `countries` WHERE country_id='$rHR[Country]'"); $RowCountry=$countries->fetch_assoc(); $States=$con->query("SELECT * FROM `states` WHERE state_id='$rHR[State]'"); $RowStates=$States->fetch_assoc(); $city=$con->query("SELECT * FROM `cities` WHERE city_id='$rHR[Distict]'"); $RowCity=$city->fetch_assoc(); echo " <div class='content-wrapper'> <!-- Content Header (Page header) --> <section class='content-header'> <div class='center'> <table width='100%'> <fieldset><legend>Basic Profile</legend> <tr> <td width='50%'> Employee Id: </td> <td width='50%'>$rHR[pharamaid]</td> </tr> <tr> <td width='50%'> Admin Id : </td> <td width='50%'>$rHR[entered_by]</td> </tr> <tr> <td width='50%'> Contact Number: </td> <td width='50%'>$rHR[numbers]</td> </tr> <tr> <td width='50%'> Name: </td> <td width='50%'>$rHR[Name]</td> </tr> <tr> <td width='50%'> Father's Name: </td> <td width='50%'>$rHR[FathersName]</td> </tr> <tr> <td width='50%'> Gender: </td> <td width='50%'>$rHR[Gender]</td> </tr> <tr> <td width='50%'> Email Id : </td> <td width='50%'>$re[uname]</td> </tr> <tr> <td width='50%'> DOB : </td> <td width='50%'>$rHR[DOB]</td> </tr> <tr> <td width='50%'> Blood Group : </td> <td width='50%'>$rHR[BloodGroup] </td> </tr> <tr> <td width='50%'> Nationality : </td> <td width='50%'>$rHR[Nationality] </td> </tr> <tr> <td width='50%'> Marital Status : </td> <td width='50%'>$rHR[MaritalStatus] </td> </tr> <tr> <td width='50%'> Religion : </td> <td width='50%'>$rHR[Religion] </td> </tr> <tr> <td width='50%'> Aadhaar Number : </td> <td width='50%'>$rHR[AadhaarNumber] </td> </tr> <tr> <td width='50%'> Country : </td> <td width='50%'>$RowCountry[country_name] </td> </tr> <tr> <td width='50%'> State : </td> <td width='50%'>$RowStates[state_name] </td> </tr> <tr> <td width='50%'> Distict : </td> <td width='50%'>$RowCity[city_name] </td> </tr> <tr> <td width='50%'> Pin Code : </td> <td width='50%'>$rHR[PinCode] </td> </tr> <tr> <td width='50%'> Address :</td> <td width='50%'>$rHR[Address] </td> </tr> </table> </fieldset> </div> "; echo "</td></tr>"; } } } ?> <br><br><br> <html> <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> <?php ?> </body> </html>