Server IP : 192.124.249.33 / Your IP : 66.248.200.33 Web Server : Apache System : Linux 141.134.66.148.host.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els6.x86_64 #1 SMP Fri Sep 13 13:42:20 UTC 2024 x86_64 User : tarangglobal ( 1001) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/tarangglobal/public_html/cyber/admin/ |
Upload File : |
<?php require_once('pdoconfig.php'); if(isset($_REQUEST['email'])) { $email=$_REQUEST['email']; $pass=$_REQUEST['pwd']; if($email=='admin' && $pass=='yajnas') { $_SESSION['poster_type']='admin'; $_SESSION['poster_name']="Admin"; $_SESSION['poster_id']=1; header("location:dashboard.php"); die(); } } ?> <!DOCTYPE html> <html> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="description" content="Materia - Admin Template"> <meta name="keywords" content="materia, webapp, admin, dashboard, template, ui"> <meta name="author" content="solutionportal"> <!-- <base href="/"> --> <title>Admin Login</title> <!-- Icons --> <link rel="stylesheet" href="fonts/ionicons/css/ionicons.min.css"> <link rel="stylesheet" href="fonts/font-awesome/css/font-awesome.min.css"> <!-- Plugins --> <link rel="stylesheet" href="styles/plugins/waves.css"> <link rel="stylesheet" href="styles/plugins/perfect-scrollbar.css"> <!-- Css/Less Stylesheets --> <link rel="stylesheet" href="styles/bootstrap.min.css"> <link rel="stylesheet" href="styles/main.min.css"> <!-- <link href='http://fonts.googleapis.com/css?family=Roboto:400,500,700,300' rel='stylesheet' type='text/css'> --> <!-- Match Media polyfill for IE9 --> <!--[if IE 9]> <script src="scripts/ie/matchMedia.js"></script> <![endif]--> <style> .logo { background-image: url('../images/logobkg3.png'); background-repeat: no-repeat; background-size: 100% 100%; width: 200px; padding: 6px; } .site-head{ /*background: rgba(246, 179, 95, 0.92) !important;*/ } </style> </head> <body id="app" class="app off-canvas body-full" style="background-color:#d2cece"> <header class="site-head" id="site-head" style="top: 0;width: 100%;margin-left: 0;margin-top:0x;display:block;/*background:#c9c9c9;width:100%;float:left;background: url('../images/h4.png');background-repeat:repeat;background-size: cover;*/"> <div class="col-md-3"> <div class="logo" style="background-image:none;"> </div> </div> <div class="col-md-6"> <div style="width: 100%;float: left;text-align: center;font-size: 33px;color: #fff;text-transform: uppercase"><span class="text"> Tarang Global <span class="logo-title2"></span></div> </div> <div class="col-md-3"> </div> </header> <div class="main-container clearfix" style="top:50%;"> <div class="content-container" id="content"> <div class="page page-auth" style="background-color:#d2cece"> <div class="auth-container"> <div class="form-head mb20"> <h1 class="site-logo h2 mb5 mt5 text-center text-uppercase text-bold" style="font-size: 21px"><a href="index.php">Admin LoginP</a></h1> <h5 class="text-normal h5 text-center">Sign In to Dashboard</h5> </div> <div class="col-md-12" style="text-align:center"> <img src="../images/logo.png" title="Your Store" alt="Your Store" style="width: 74px;margin-top: -27px;margin-bottom: 35px;display:none;"> </div> <div class="form-container"> <form method="post" name="c_theForm"> <div class="md-input-container md-float-label"> <input type="text" name="email" id="email" class="md-input"> <label>User Id</label> </div> <div class="md-input-container md-float-label" style="padding-bottom:0px;margin-bottom:10px;"> <input type="password" name="pwd" id="pwd" class="md-input"> <label>Password</label> </div> <div class="col-md-12" style="padding:10px 0px;"> <label class="control-label" style="width:100%;flota:left;text-align:left;">Enter the contents of image</label> <div class="col-md-6" style="padding-left:0px;"> <input id="c_captcha" class="form-control" maxlength="6" name="captcha" size="6" type="text" class="form-control" style="border:1px solid#ddd;"/> </div> <div class="col-md-6"> <img id="captchaimg2" src="captcha.php"><img id="refimg2" onclick="reload()" src="images/clear-refresh.png" style="width: 25px; margin-left: 10px;"> </div> </div> <input id="submit1" class="btn btn-md btn-primary" onclick="c_chk()" type="button" value="LOGIN" style="width:100%;"> </form> </div> </div> <!-- #end signin-container --> </div> </div> <!-- #end content-container --> </div> <!-- #end main-container --> <script src="scripts/vendors.js"></script> <script> if (localStorage.getItem("admin_remember") === null) { document.getElementById("admin_remember").checked = false; $('#email').val(""); $('#pwd').val(""); } else { document.getElementById("admin_remember").checked = true; $('#email').val(localStorage.getItem("admin_email")); $('#pwd').val(localStorage.getItem("admin_pass")); } </script> <script> /*function reload() { $('#refimg').attr('src','images/reload.gif'); //$.get("captcha.php", function(data){ //}); $('#captchaimg').attr('src','captcha.php'); $('#refimg').attr('src','images/clear-refresh.png'); }*/ function reload() { $('#refimg2').attr('src','images/reload.gif'); $('#captchaimg2').attr('src','captcha.php'); $('#refimg2').attr('src','images/clear-refresh.png'); } function c_chk(){ $.get("save.php", function(data){ var c_name = $('#email').val(); var c_pwd = $('#pwd').val(); var c_captcha = $('#c_captcha').val(); //user name if( c_name.length == 0){ err_c_name=false; alert('Please fill user name'); return false; } else{ err_c_name=true; } //pwd if( c_pwd.length == 0){ err_c_pwd=false; alert('Please fill password'); return false; } else{ err_c_pwd=true; } //cpatcha if(data.trim()==c_captcha){ captach_flag=true; } else{ captach_flag=false; } if( c_captcha.length == 0){ err_cap_c=false; alert('Captcha must be filled'); return false; } else if(data.trim()!=c_captcha) { err_cap_c=false; alert('Captcha mismatch'); return false; } else{ if (captach_flag) err_cap_c=true; } if(err_c_pwd && err_c_name && captach_flag){ document.c_theForm.submit(); } return false; }); } </script> </body> </html>Private