System: Windows NT WINDOWS18 10.0 build 17763 (Windows Server 2016) AMD64 | User: IWPD_3544(appclien)

Path: D:\Inetpub\vhosts\appclients.in\fruits-vegitables.nmvm.org\vendor

[Back to List]
<?php 
	error_reporting(0);
	include("include/admin-main.php"); 
    include("include/header.php");
	$obj=new admin();
    $reg_details=$obj->select_objData("register","where ccompany='vendor' AND reg_id='$_SESSION[reg_id]' order by uid DESC");
	$row = mysqli_fetch_array($reg_details);
    @extract($row); 
	
   /* this code is used for inactive */
 if($_REQUEST['action']=='Inactive'){
    if(mysqli_query($con,"update register set status='Inactive' where uid=".$_REQUEST['uid'])){
	?>
<script>
	alert("Registration deactive  successfully");
	window.location.href="<?php echo $_SERVER['HTTP_REFERER'];?>";
	</script>
<?php
	}
	else{
	?>
<script type="text/javascript">
		alert("Error! Data Not Deactive");
		 window.location.href="<?php echo $_SERVER['HTTP_REFERER'];?>";
		</script>
<?php 
	}
}
 /* this code is used for active */
if($_REQUEST['action']=='Active'){
    if(mysqli_query($con,"update register set status='Active' where uid=".$_REQUEST['uid'])){
	?>
<script>
	alert("Registration active successfully");
	window.location.href="<?php echo $_SERVER['HTTP_REFERER'];?>";
	</script>
<?php
	}
	else{
	?>
<script type="text/javascript">
		alert("Error! Data Not Deactive");
		 window.location.href="<?php echo $_SERVER['HTTP_REFERER'];?>";
		</script>
<?php 
	}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" href="img/favicon.png">
<title><?php include("include/title.php")?> | Registration Details</title>
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-reset.css" rel="stylesheet">
<!--external css-->
<link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
<!-- Custom styles for this template -->
<link href="css/style.css" rel="stylesheet">
<link href="css/style-responsive.css" rel="stylesheet" />
<script src="css1/js/jquery.min.js" type="text/javascript"></script>
<script src="css1/js/ddsmoothmenu.js" type="text/javascript"></script>
<script type="text/javascript" src="css1/js/menu.js"></script>
<script src="css1/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script type="text/javascript" src="css1/js/ckeditor/ckeditor.js"></script>
<link href="../css/pro_dropdown_2.css" rel="stylesheet" type="text/css">
</head>
<script type="text/javascript">
				function changeSts(){
                    var msg = confirm('Are Your want to change status');
                    if(!msg){
                        return false;
                    }else {
                        return true;
                    }
					}
                
       </script>
<body>
<?php include 'popup.php';?>
<!--header end-->
<!--sidebar start-->
<?php  include 'menu.php' ?>
<!--sidebar end-->
<!--main content start-->
<section id="main-content">
  <section class="wrapper">
    <!-- page start-->
    <div class="row">
      <div class="col-lg-12">
        <section class="panel">
          <header class="panel-heading"> <b> Profile Details</b> [ <a href="editprofile.php?regId=<?php echo $reg_id;?>">Edit</a> ]</header>
          <table class="table table-striped table-advance table-hover">
            <thead>
                <tr><th>Name</th><td><?php echo $cfname." ".$clname;?>( <b><?php echo $reg_id;?></b> )</td></tr>
                <tr><th>Email</th><td><?php echo $cemail;?></td></tr>
                <tr><th>Phone</th><td><?php echo $ctel; if(!empty($alternateno)) echo " &nbsp; ".$alternateno?></td></tr>
                <tr><th>Date of Reg.</th><td><?php echo date('d-m-Y  H:i:s',$currentDate)?></td></tr>
                <tr><th>Address</th><td style="font-size:13px"><i><?php echo $cadd1;?> , <?php echo $cstate;?> , <?php echo $ccity;?> - <?php echo $cpincode;?></i></td></tr>
				<tr><th>Company Name</th><td><?php echo $companyname?></td></tr>
				<tr><th>GST No.</th><td><?php echo $gstno?></td></tr>
				<tr><th>Addhar Card/PAN Card</th><td><img src="img/<?php echo $addressproof?>" style="height:100px" /></td></tr>
            </thead>
          </table>
        </section>
      </div>
      <!----popup ---->
      <!----end popup  ----->
    </div>
    <!-- page end-->
  </section>
</section>
<!--main content end-->
</section>
<!-- js placed at the end of the document so the pages load faster -->
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script class="include" type="text/javascript" src="js/jquery.dcjqaccordion.2.7.js"></script>
<script src="js/jquery.scrollTo.min.js"></script>
<script src="js/jquery.nicescroll.js" type="text/javascript"></script>
<script src="js/respond.min.js" ></script>
<!--common script for all pages-->
<script src="js/common-scripts.js"></script>
</body>
</html>