
­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
<?php
include "../login/landing_api.php";

$usr = $_POST['usr'];
$pwd = $_POST['pwd'];

$auth = authuser($usr,$pwd);

if($auth == 0){
 
 $newURL = 'https://funlandksa.com/luckywheel/admin/login.php?reason=2';

header('Location: '.$newURL);   
    
}else{

    $newURL = 'https://funlandksa.com/luckywheel/admin/portal/';

header('Location: '.$newURL);
    
}

?>