| Server IP : 152.53.162.115 / Your IP : 216.73.217.85 Web Server : Apache/2 System : Linux host 6.12.0-55.40.1.el10_0.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 21 05:54:51 EDT 2025 x86_64 User : pbshosting ( 1005) PHP Version : 8.3.30 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/pbshosting/domains/arunshekarfilms.com/private_html/adminpanel/ |
Upload File : |
<?php
require_once('db.php');
?>
<!DOCTYPE HTML>
<html>
<head>
<title>Modern an Admin Panel Category Flat Bootstrap Responsive Website Template | Login :: w3layouts</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Modern Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css" rel='stylesheet' type='text/css' />
<!-- Custom CSS -->
<link href="css/style.css" rel='stylesheet' type='text/css' />
<link href="css/font-awesome.css" rel="stylesheet">
<!-- jQuery -->
<script src="js/jquery.min.js"></script>
<!----webfonts--->
<link href='//fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,900' rel='stylesheet' type='text/css'>
<!---//webfonts--->
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
</head>
<body id="login">
<div class="login-logo">
<h3 style="color:black">Admin</h3>
</div>
<h2 class="form-heading">Change Password</h2>
<div class="app-cam">
<form action="" method="POST" >
<input type="text" class="text" name="email" value="email" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'email';}">
<input type="text" class="text" name="newpass" value="newpass" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'newpass';}">
<input type="password" value="confirmpass" name="confirmpass" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'confirmpass';}">
<div class="submit"><input type="submit" name="submit" onclick="myFunction()" value="Change Password"></div>
<ul class="new">
<li class="new_right"><p class="sign"><a href="register.php"> Sign Up</a></p></li>
<div class="clearfix"></div>
</ul>
<?php
if(isset($_POST['submit']))
{
$email=$_POST['email'];
$new=$_POST['newpass'];
$password=$_POST['confirmpass'];
if($new==$password)
{
$sql=mysqli_query($con,"update `admin` set `password`='$password' where `email`='$email'") or die(mysqli_error());
if($sql)
echo "Thank you your password hass been successfully changed";
else
echo "error";
}
}
?>
</form>
</div>
<div class="copy_layout login">
<p>Copyright © 2015 Modern. All Rights Reserved | Design by <a href="http://w3layouts.com/" target="_blank">W3layouts</a> </p>
</div>
</body>
</html>