Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<? include('lang/tr.php'); include('../ayar.php'); session_start(); require_once("cla..

Decoded Output download

<? include('lang/tr.php'); 
include('../ayar.php'); 
 
session_start(); 
require_once("class.user.php"); 
$login = new USER(); 
 
if($login->is_loggedin()!="") 
{ 
	$login->redirect('panel.php'); 
} 
 
if(isset($_POST['btn-login'])) 
{ 
	$uname = strip_tags($_POST['txt_uname_email']); 
	$umail = strip_tags($_POST['txt_uname_email']); 
	$upass = strip_tags($_POST['txt_password']); 
		 
	if($login->doLogin($uname,$umail,$upass)) 
	{ 
		$login->redirect('panel.php'); 
	} 
	else 
	{ 
		$error = constant('ENTER_ERR'); 
	}	 
} 
?> 
<head> 
  <meta charset="UTF-8"> 
 <head> 
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 
	<!-- BOOTSTRAP STYLES--> 
    <link href="assets/css/bootstrap.css" rel="stylesheet" /> 
     <!-- FONTAWESOME STYLES--> 
    <link href="assets/css/font-awesome.css" rel="stylesheet" /> 
        <!-- CUSTOM STYLES--> 
    <link href="assets/css/login.css" rel="stylesheet" /> 
	<link href="assets/css/custom.css" rel="stylesheet" /> 
     <!-- GOOGLE FONTS--> 
   <link href='https://fonts.googleapis.com/css?family=Barlow+Condensed:400,600&subset=latin-ext' rel='stylesheet' type='text/css' /> 
</head> 
<body> 
 
<div class="signin-form"> 
 
	<div class="container"> 
      
         
       <form class="form-signin" method="post" id="login-form"> 
       
        <h2 class="form-signin-heading"><? echo constant('ADMIN_LOGIN'); ?></h2><hr /> 
         
        <div id="error"> 
        <?php 
			if(isset($error)) 
			{ 
				?> 
                <div class="alert alert-danger"> 
                   <i class="glyphicon glyphicon-warning-sign"></i> &nbsp; <?php echo $error; ?> ! 
                </div> 
                <?php 
			} 
		?> 
        </div> 
         
        <div class="form-group"> 
        <input type="text" class="form-control" name="txt_uname_email" placeholder="Username or E mail ID" required /> 
        <span id="check-e"></span> 
        </div> 
         
        <div class="form-group"> 
        <input type="password" class="form-control" name="txt_password" placeholder="Your Password" /> 
        </div> 
        
     	<hr /> 
         
        <div class="form-group"> 
            <button type="submit" name="btn-login" class="btn btn-default"> 
                	<img src="assets/icon/right_arrow.png" width="24" height="24" alt=""/> &nbsp; <? echo constant('ENTER'); ?> 
            </button> 
        </div>   
      	<br /> 
      </form> 
 
    </div> 
     
</div> 
	<footer><a href="http://www.hayalistan.com" target="_blank"><img src="assets/img/login_logo.png"></a> 
  <p>hayalistan simple cms 1.0</p> 
</footer> 
  <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> 
 
</body> 
</html>

Did this file decode correctly?

Original Code

<? include('lang/tr.php');
include('../ayar.php');

session_start();
require_once("class.user.php");
$login = new USER();

if($login->is_loggedin()!="")
{
	$login->redirect('panel.php');
}

if(isset($_POST['btn-login']))
{
	$uname = strip_tags($_POST['txt_uname_email']);
	$umail = strip_tags($_POST['txt_uname_email']);
	$upass = strip_tags($_POST['txt_password']);
		
	if($login->doLogin($uname,$umail,$upass))
	{
		$login->redirect('panel.php');
	}
	else
	{
		$error = constant('ENTER_ERR');
	}	
}
?>
<head>
  <meta charset="UTF-8">
 <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<!-- BOOTSTRAP STYLES-->
    <link href="assets/css/bootstrap.css" rel="stylesheet" />
     <!-- FONTAWESOME STYLES-->
    <link href="assets/css/font-awesome.css" rel="stylesheet" />
        <!-- CUSTOM STYLES-->
    <link href="assets/css/login.css" rel="stylesheet" />
	<link href="assets/css/custom.css" rel="stylesheet" />
     <!-- GOOGLE FONTS-->
   <link href='https://fonts.googleapis.com/css?family=Barlow+Condensed:400,600&subset=latin-ext' rel='stylesheet' type='text/css' />
</head>
<body>

<div class="signin-form">

	<div class="container">
     
        
       <form class="form-signin" method="post" id="login-form">
      
        <h2 class="form-signin-heading"><? echo constant('ADMIN_LOGIN'); ?></h2><hr />
        
        <div id="error">
        <?php
			if(isset($error))
			{
				?>
                <div class="alert alert-danger">
                   <i class="glyphicon glyphicon-warning-sign"></i> &nbsp; <?php echo $error; ?> !
                </div>
                <?php
			}
		?>
        </div>
        
        <div class="form-group">
        <input type="text" class="form-control" name="txt_uname_email" placeholder="Username or E mail ID" required />
        <span id="check-e"></span>
        </div>
        
        <div class="form-group">
        <input type="password" class="form-control" name="txt_password" placeholder="Your Password" />
        </div>
       
     	<hr />
        
        <div class="form-group">
            <button type="submit" name="btn-login" class="btn btn-default">
                	<img src="assets/icon/right_arrow.png" width="24" height="24" alt=""/> &nbsp; <? echo constant('ENTER'); ?>
            </button>
        </div>  
      	<br />
      </form>

    </div>
    
</div>
	<footer><a href="http://www.hayalistan.com" target="_blank"><img src="assets/img/login_logo.png"></a>
  <p>hayalistan simple cms 1.0</p>
</footer>
  <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>

</body>
</html>

Function Calls

None

Variables

None

Stats

MD5 84314a0e395e95a16ffeffa52c697a8b
Eval Count 0
Decode Time 93 ms